dbgcnt name matching bug fix
[official-gcc.git] / libstdc++-v3 / configure
blob13f477ed34b4833f03f20d509278bd910ea116fb
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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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 GLIBCXX_LIBS SECTION_LDFLAGS OPT_LDFLAGS 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=''
463 ac_pwd=`pwd`
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
503 ac_prev=
504 for ac_option
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
509 ac_prev=
510 continue
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
517 case $ac_option in
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 ac_prev=bindir ;;
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522 bindir=$ac_optarg ;;
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
536 --config-cache | -C)
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 ac_prev=datadir ;;
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 | --da=*)
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 case $ac_option in
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 *) ac_optarg=yes ;;
564 esac
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
578 with_gas=yes ;;
580 -help | --help | --hel | --he | -h)
581 ac_init_help=long ;;
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 ac_prev=infodir ;;
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
605 ac_prev=libdir ;;
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
607 libdir=$ac_optarg ;;
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 ac_prev=mandir ;;
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628 mandir=$ac_optarg ;;
630 -nfp | --nfp | --nf)
631 # Obsolete; use --without-fp.
632 with_fp=no ;;
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
636 no_create=yes ;;
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640 no_recursion=yes ;;
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 ac_prev=prefix ;;
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654 prefix=$ac_optarg ;;
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
689 silent=yes ;;
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 ac_prev=sbindir ;;
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 | --sbi=* | --sb=*)
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
700 | --sha | --sh)
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 | --sha=* | --sh=*)
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
709 ac_prev=site ;;
710 -site=* | --site=* | --sit=*)
711 site=$ac_optarg ;;
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 ac_prev=srcdir ;;
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716 srcdir=$ac_optarg ;;
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
731 verbose=yes ;;
733 -version | --version | --versio | --versi | --vers | -V)
734 ac_init_version=: ;;
736 -with-* | --with-*)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 case $ac_option in
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 *) ac_optarg=yes ;;
746 esac
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
758 --x)
759 # Obsolete; use --with-x.
760 with_x=yes ;;
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
781 *=*)
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
789 export $ac_envvar ;;
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
799 esac
800 done
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
812 case $ac_val in
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
816 esac
817 done
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
824 case $ac_val in
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
828 esac
829 done
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
845 cross_compiling=yes
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
870 s/.*/./; q'`
871 srcdir=$ac_confdir
872 if test ! -r $srcdir/$ac_unique_file; then
873 srcdir=..
875 else
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
882 else
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
934 cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
944 Configuration:
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
955 _ACEOF
957 cat <<_ACEOF
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
960 [$ac_default_prefix]
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
962 [PREFIX]
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
984 _ACEOF
986 cat <<\_ACEOF
988 Program names:
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
993 System types:
994 --build=BUILD configure for building on BUILD [guessed]
995 --host=HOST cross-compile to build programs to run on HOST [BUILD]
996 --target=TARGET configure for building compilers for TARGET [HOST]
997 _ACEOF
1000 if test -n "$ac_init_help"; then
1001 case $ac_init_help in
1002 short | recursive ) echo "Configuration of package-unused version-unused:";;
1003 esac
1004 cat <<\_ACEOF
1006 Optional Features:
1007 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1008 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1009 --enable-multilib build many library versions (default)
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing) to the casual installer
1012 --enable-shared[=PKGS]
1013 build shared libraries [default=yes]
1014 --enable-static[=PKGS]
1015 build static libraries [default=yes]
1016 --enable-fast-install[=PKGS]
1017 optimize for fast installation [default=yes]
1018 --disable-libtool-lock avoid locking (might break parallel builds)
1019 --disable-hosted-libstdcxx
1020 only build freestanding C++ runtime support
1021 --enable-sjlj-exceptions
1022 force use of builtin_setjmp for exceptions
1023 [default=auto]
1024 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1025 [default=$is_hosted]
1026 --enable-cstdio=PACKAGE use target-specific I/O package
1027 [default=stdio]
1028 --enable-clocale[=MODEL]
1029 use MODEL for target locale package
1030 [default=auto]
1031 --enable-nls use Native Language Support (default)
1032 --enable-libstdcxx-allocator=KIND
1033 use KIND for target std::allocator base
1034 [default=auto]
1035 --enable-cheaders=KIND construct "C" headers for g++
1036 [default=$c_model]
1037 --enable-long-long enable template specializations for 'long long'
1038 [default=yes]
1039 --enable-wchar_t enable template specializations for 'wchar_t'
1040 [default=yes]
1041 --enable-c99 turns on ISO/IEC 9899:1999 support
1042 [default=yes]
1043 --enable-concept-checks use Boost-derived template checks [default=no]
1044 --enable-libstdcxx-debug-flags=FLAGS
1045 pass compiler FLAGS when building debug library
1046 [default="-g3 -O0"]
1047 --enable-libstdcxx-debug
1048 build extra debug library [default=no]
1049 --enable-cxx-flags=FLAGS
1050 pass compiler FLAGS when building library
1051 [default=]
1052 --enable-fully-dynamic-string
1053 do not put empty strings in per-process static
1054 memory [default=no]
1055 --enable-libstdcxx-time=KIND
1056 use KIND for check type [default=no]
1057 --enable-tls Use thread-local storage [default=yes]
1058 --disable-rpath do not hardcode runtime library paths
1059 --enable-linux-futex use the Linux futex system call
1060 [default=default]
1061 --enable-symvers=STYLE enables symbol versioning of the shared library
1062 [default=yes]
1063 --enable-visibility enables visibility safe usage [default=yes]
1064 --enable-version-specific-runtime-libs
1065 Specify that runtime libraries should be installed
1066 in a compiler-specific directory
1068 Optional Packages:
1069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1071 --with-target-subdir=SUBDIR
1072 configuring in a subdirectory
1073 --with-cross-host=HOST configuring with a cross compiler
1074 --with-newlib assume newlib as a system C library
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1076 both]
1077 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1079 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1080 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1081 --with-system-libunwind use installed libunwind
1082 --with-gxx-include-dir=DIR
1083 installation directory for include files
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CPP C preprocessor
1095 CXXCPP C++ preprocessor
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1100 _ACEOF
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1105 ac_popdir=`pwd`
1106 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107 test -d $ac_dir || continue
1108 ac_builddir=.
1110 if test "$ac_dir" != .; then
1111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115 ac_dir_suffix= ac_top_builddir=
1118 case $srcdir in
1119 .) # No --srcdir option. We are building in place.
1120 ac_srcdir=.
1121 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir=.
1123 else
1124 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125 fi ;;
1126 [\\/]* | ?:[\\/]* ) # Absolute path.
1127 ac_srcdir=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir=$srcdir ;;
1129 *) # Relative path.
1130 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1139 case "$ac_dir" in
1140 .) ac_abs_builddir=`pwd`;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143 esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 case ${ac_top_builddir}. in
1149 .) ac_abs_top_builddir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1157 case $ac_srcdir in
1158 .) ac_abs_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 case $ac_top_srcdir in
1167 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170 esac;;
1171 esac
1173 cd $ac_dir
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu; then
1176 echo
1177 $SHELL $ac_srcdir/configure.gnu --help=recursive
1178 elif test -f $ac_srcdir/configure; then
1179 echo
1180 $SHELL $ac_srcdir/configure --help=recursive
1181 elif test -f $ac_srcdir/configure.ac ||
1182 test -f $ac_srcdir/configure.in; then
1183 echo
1184 $ac_configure --help
1185 else
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 cd $ac_popdir
1189 done
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194 cat <<\_ACEOF
1195 package-unused configure version-unused
1196 generated by GNU Autoconf 2.59
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202 exit 0
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1209 It was created by package-unused $as_me version-unused, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1212 $ $0 $@
1214 _ACEOF
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238 _ASUNAME
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1243 IFS=$as_save_IFS
1244 test -z "$as_dir" && as_dir=.
1245 echo "PATH: $as_dir"
1246 done
1248 } >&5
1250 cat >&5 <<_ACEOF
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1257 _ACEOF
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1272 for ac_arg
1274 case $ac_arg in
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1278 continue ;;
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 esac
1282 case $ac_pass in
1283 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1285 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true; then
1287 ac_must_keep_next=false # Got value, back to normal.
1288 else
1289 case $ac_arg in
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 esac
1298 -* ) ac_must_keep_next=true ;;
1299 esac
1301 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1303 ac_sep=" "
1305 esac
1306 done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1319 echo
1321 cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326 echo
1327 # The following way of writing the cache mishandles newlines in values,
1329 (set) 2>&1 |
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 *ac_space=\ *)
1332 sed -n \
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 sed -n \
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1340 esac;
1342 echo
1344 cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_vars
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1357 if test -n "$ac_subst_files"; then
1358 cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363 echo
1364 for ac_var in $ac_subst_files
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1368 done | sort
1369 echo
1372 if test -s confdefs.h; then
1373 cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378 echo
1379 sed "/^$/d" confdefs.h | sort
1380 echo
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1385 } >&5
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 exit $exit_status
1390 for ac_signal in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1400 # Predefined preprocessor variables.
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE; then
1431 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432 else
1433 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1436 for ac_site_file in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1441 . "$ac_site_file"
1443 done
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451 case $cache_file in
1452 [\\/]* | ?:[\\/]* ) . $cache_file;;
1453 *) . ./$cache_file;;
1454 esac
1456 else
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459 >$cache_file
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468 eval ac_new_set=\$ac_env_${ac_var}_set
1469 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1472 set,)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,set)
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1480 ,);;
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 # differences in whitespace do not lead to failure.
1484 ac_old_val_w=`echo x $ac_old_val`
1485 ac_new_val_w=`echo x $ac_new_val`
1486 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 ac_cache_corrupted=:
1490 else
1491 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1492 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1493 eval $ac_var=\$ac_old_val
1495 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1496 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1497 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1498 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1499 fi;;
1500 esac
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1503 case $ac_new_val in
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1507 esac
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 esac
1513 done
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1517 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1520 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521 { (exit 1); exit 1; }; }
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1560 ac_config_headers="$ac_config_headers config.h"
1563 # This works around the fact that libtool configuration may change LD
1564 # for this particular configuration, but some shells, instead of
1565 # keeping the changes in LD private, export them just because LD is
1566 # exported. Only used at the end of this file.
1567 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1569 # For libtool versioning info, format is CURRENT:REVISION:AGE
1570 libtool_VERSION=6:12:0
1573 # Find the rest of the source tree framework.
1574 # Default to --enable-multilib
1575 # Check whether --enable-multilib or --disable-multilib was given.
1576 if test "${enable_multilib+set}" = set; then
1577 enableval="$enable_multilib"
1578 case "$enableval" in
1579 yes) multilib=yes ;;
1580 no) multilib=no ;;
1581 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1582 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1583 { (exit 1); exit 1; }; } ;;
1584 esac
1585 else
1586 multilib=yes
1589 # We may get other options which we leave undocumented:
1590 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1591 # See config-ml.in if you want the gory details.
1593 if test "$srcdir" = "."; then
1594 if test "$with_target_subdir" != "."; then
1595 multi_basedir="$srcdir/$with_multisrctop../.."
1596 else
1597 multi_basedir="$srcdir/$with_multisrctop.."
1599 else
1600 multi_basedir="$srcdir/.."
1604 # Even if the default multilib is not a cross compilation,
1605 # it may be that some of the other multilibs are.
1606 if test $cross_compiling = no && test $multilib = yes \
1607 && test "x${with_multisubdir}" != x ; then
1608 cross_compiling=maybe
1611 ac_config_commands="$ac_config_commands default-1"
1614 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1616 # You will slowly go insane if you do not grok the following fact: when
1617 # building v3 as part of the compiler, the top-level /target/ becomes the
1618 # library's /host/. configure then causes --target to default to --host,
1619 # exactly like any other package using autoconf. Therefore, 'target' and
1620 # 'host' will always be the same. This makes sense both for native and
1621 # cross compilers, just think about it for a little while. :-)
1623 # Also, if v3 is being configured as part of a cross compiler, the top-level
1624 # configure script will pass the "real" host as $with_cross_host.
1626 # Do not delete or change the following two lines. For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 ac_aux_dir=
1629 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1630 if test -f $ac_dir/install-sh; then
1631 ac_aux_dir=$ac_dir
1632 ac_install_sh="$ac_aux_dir/install-sh -c"
1633 break
1634 elif test -f $ac_dir/install.sh; then
1635 ac_aux_dir=$ac_dir
1636 ac_install_sh="$ac_aux_dir/install.sh -c"
1637 break
1638 elif test -f $ac_dir/shtool; then
1639 ac_aux_dir=$ac_dir
1640 ac_install_sh="$ac_aux_dir/shtool install -c"
1641 break
1643 done
1644 if test -z "$ac_aux_dir"; then
1645 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647 { (exit 1); exit 1; }; }
1649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4 >/dev/null 2>&1 ||
1655 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 ac_cv_build_alias=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666 ac_cv_build_alias=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670 { (exit 1); exit 1; }; }
1671 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1672 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674 { (exit 1); exit 1; }; }
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1679 build=$ac_cv_build
1680 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 else
1690 ac_cv_host_alias=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692 ac_cv_host_alias=$ac_cv_build_alias
1693 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1694 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696 { (exit 1); exit 1; }; }
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1701 host=$ac_cv_host
1702 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 ac_cv_target_alias=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714 ac_cv_target_alias=$ac_cv_host_alias
1715 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target=$ac_cv_target
1724 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732 test "$program_prefix$program_suffix$program_transform_name" = \
1733 NONENONEs,x,x, &&
1734 program_prefix=${target_alias}-
1735 target_alias=${target_alias-$host_alias}
1737 # Handy for debugging:
1738 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1740 if test "$build" != "$host"; then
1741 # We are being configured with some form of cross compiler.
1742 GLIBCXX_IS_NATIVE=false
1743 case "$host","$target" in
1744 # Darwin crosses can use the host system's libraries and headers,
1745 # because of the fat library support. Of course, it must be the
1746 # same version of Darwin on both sides. Allow the user to
1747 # just say --target=foo-darwin without a version number to mean
1748 # "the version on this system".
1749 *-*-darwin*,*-*-darwin*)
1750 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1751 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1752 if test $hostos = $targetos -o $targetos = darwin ; then
1753 GLIBCXX_IS_NATIVE=true
1760 esac
1761 else
1762 GLIBCXX_IS_NATIVE=true
1765 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1766 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1767 # 1.x: minimum required version
1768 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1769 # of other PACKAGE_* variables will, however, and there's nothing
1770 # we can do about that; they come from AC_INIT).
1771 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1772 # file in the top srcdir, etc, etc), so stop complaining.
1773 # no-dependencies: turns off auto dependency generation (just for now)
1774 # -Wall: turns on all automake warnings...
1775 # -Wno-portability: ...except this one, since GNU make is now required.
1776 am__api_version="1.9"
1777 # Find a good install program. We prefer a C program (faster),
1778 # so one script is as good as another. But avoid the broken or
1779 # incompatible versions:
1780 # SysV /etc/install, /usr/sbin/install
1781 # SunOS /usr/etc/install
1782 # IRIX /sbin/install
1783 # AIX /bin/install
1784 # AmigaOS /C/install, which installs bootblocks on floppy discs
1785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1788 # OS/2's system install, which has a completely different semantic
1789 # ./install, which can be erroneously created by make from ./install.sh.
1790 # Reject install programs that cannot install multiple files.
1791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1793 if test -z "$INSTALL"; then
1794 if test "${ac_cv_path_install+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1800 IFS=$as_save_IFS
1801 test -z "$as_dir" && as_dir=.
1802 # Account for people who put trailing slashes in PATH elements.
1803 case $as_dir/ in
1804 ./ | .// | /cC/* | \
1805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807 /usr/ucb/* ) ;;
1809 # OSF1 and SCO ODT 3.0 have their own names for install.
1810 # Don't use installbsd from OSF since it installs stuff as root
1811 # by default.
1812 for ac_prog in ginstall scoinst install; do
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815 if test $ac_prog = install &&
1816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # AIX install. It has an incompatible calling convention.
1819 elif test $ac_prog = install &&
1820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821 # program-specific install script used by HP pwplus--don't use.
1823 else
1824 rm -rf conftest.one conftest.two conftest.dir
1825 echo one > conftest.one
1826 echo two > conftest.two
1827 mkdir conftest.dir
1828 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1829 test -s conftest.one && test -s conftest.two &&
1830 test -s conftest.dir/conftest.one &&
1831 test -s conftest.dir/conftest.two
1832 then
1833 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834 break 3
1838 done
1839 done
1841 esac
1842 done
1844 rm -rf conftest.one conftest.two conftest.dir
1847 if test "${ac_cv_path_install+set}" = set; then
1848 INSTALL=$ac_cv_path_install
1849 else
1850 # As a last resort, use the slow shell script. Don't cache a
1851 # value for INSTALL within a source directory, because that will
1852 # break other packages using the cache if that directory is
1853 # removed, or if the value is a relative name.
1854 INSTALL=$ac_install_sh
1857 echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 echo "${ECHO_T}$INSTALL" >&6
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1868 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments. Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880 if test "$*" = "X"; then
1881 # -L didn't work.
1882 set X `ls -t $srcdir/configure conftest.file`
1884 rm -f conftest.file
1885 if test "$*" != "X $srcdir/configure conftest.file" \
1886 && test "$*" != "X conftest.file $srcdir/configure"; then
1888 # If neither matched, then we have a broken ls. This can happen
1889 # if, for instance, CONFIG_SHELL is bash and it inherits a
1890 # broken ls alias from the environment. This has actually
1891 # happened. Such a system could not be considered "sane".
1892 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1893 alias in your environment" >&5
1894 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&2;}
1896 { (exit 1); exit 1; }; }
1899 test "$2" = conftest.file
1901 then
1902 # Ok.
1904 else
1905 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909 { (exit 1); exit 1; }; }
1911 echo "$as_me:$LINENO: result: yes" >&5
1912 echo "${ECHO_T}yes" >&6
1913 test "$program_prefix" != NONE &&
1914 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1918 # Double any \ or $. echo might interpret backslashes.
1919 # By default was `s,x,x', remove it if useless.
1920 cat <<\_ACEOF >conftest.sed
1921 s/[\\$]/&&/g;s/;s,x,x,$//
1922 _ACEOF
1923 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924 rm conftest.sed
1926 # expand $ac_aux_dir to an absolute path
1927 am_aux_dir=`cd $ac_aux_dir && pwd`
1929 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930 # Use eval to expand $SHELL
1931 if eval "$MISSING --run true"; then
1932 am_missing_run="$MISSING --run "
1933 else
1934 am_missing_run=
1935 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1939 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1940 # We used to keeping the `.' as first argument, in order to
1941 # allow $(mkdir_p) to be used without argument. As in
1942 # $(mkdir_p) $(somedir)
1943 # where $(somedir) is conditionally defined. However this is wrong
1944 # for two reasons:
1945 # 1. if the package is installed by a user who cannot write `.'
1946 # make install will fail,
1947 # 2. the above comment should most certainly read
1948 # $(mkdir_p) $(DESTDIR)$(somedir)
1949 # so it does not work when $(somedir) is undefined and
1950 # $(DESTDIR) is not.
1951 # To support the latter case, we have to write
1952 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1953 # so the `.' trick is pointless.
1954 mkdir_p='mkdir -p --'
1955 else
1956 # On NextStep and OpenStep, the `mkdir' command does not
1957 # recognize any option. It will interpret all options as
1958 # directories to create, and then abort because `.' already
1959 # exists.
1960 for d in ./-p ./--version;
1962 test -d $d && rmdir $d
1963 done
1964 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1965 if test -f "$ac_aux_dir/mkinstalldirs"; then
1966 mkdir_p='$(mkinstalldirs)'
1967 else
1968 mkdir_p='$(install_sh) -d'
1972 for ac_prog in gawk mawk nawk awk
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_AWK+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 if test -n "$AWK"; then
1982 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_AWK="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002 echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6
2004 else
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$AWK" && break
2010 done
2012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018 cat >conftest.make <<\_ACEOF
2019 all:
2020 @echo 'ac_maketemp="$(MAKE)"'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2024 if test -n "$ac_maketemp"; then
2025 eval ac_cv_prog_make_${ac_make}_set=yes
2026 else
2027 eval ac_cv_prog_make_${ac_make}_set=no
2029 rm -f conftest.make
2031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2032 echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6
2034 SET_MAKE=
2035 else
2036 echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2038 SET_MAKE="MAKE=${MAKE-make}"
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2044 am__leading_dot=.
2045 else
2046 am__leading_dot=_
2048 rmdir .tst 2>/dev/null
2050 # test to see if srcdir already configured
2051 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2052 test -f $srcdir/config.status; then
2053 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055 { (exit 1); exit 1; }; }
2058 # test whether we have cygpath
2059 if test -z "$CYGPATH_W"; then
2060 if (cygpath --version) >/dev/null 2>/dev/null; then
2061 CYGPATH_W='cygpath -w'
2062 else
2063 CYGPATH_W=echo
2068 # Define the identity of the package.
2069 PACKAGE='libstdc++'
2070 VERSION='version-unused'
2073 # Some tools Automake needs.
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'. However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096 if test -n "$ac_tool_prefix"; then
2097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104 if test -n "$STRIP"; then
2105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2118 done
2119 done
2123 STRIP=$ac_cv_prog_STRIP
2124 if test -n "$STRIP"; then
2125 echo "$as_me:$LINENO: result: $STRIP" >&5
2126 echo "${ECHO_T}$STRIP" >&6
2127 else
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2133 if test -z "$ac_cv_prog_STRIP"; then
2134 ac_ct_STRIP=$STRIP
2135 # Extract the first word of "strip", so it can be a program name with args.
2136 set dummy strip; ac_word=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142 if test -n "$ac_ct_STRIP"; then
2143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_STRIP="strip"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2156 done
2157 done
2159 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163 if test -n "$ac_ct_STRIP"; then
2164 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165 echo "${ECHO_T}$ac_ct_STRIP" >&6
2166 else
2167 echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2171 STRIP=$ac_ct_STRIP
2172 else
2173 STRIP="$ac_cv_prog_STRIP"
2177 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2179 # We need awk for the "check" target. The system "awk" is bad on
2180 # some platforms.
2181 # Always define AMTAR for backward compatibility.
2183 AMTAR=${AMTAR-"${am_missing_run}tar"}
2185 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2196 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2197 # up critical shell variables.
2199 ac_ext=c
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2206 # On Suns, sometimes $CPP names a directory.
2207 if test -n "$CPP" && test -d "$CPP"; then
2208 CPP=
2210 if test -z "$CPP"; then
2211 if test "${ac_cv_prog_CPP+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214 # Double quotes because CPP needs to be expanded
2215 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2217 ac_preproc_ok=false
2218 for ac_c_preproc_warn_flag in '' yes
2220 # Use a header file that comes with gcc, so configuring glibc
2221 # with a fresh cross-compiler works.
2222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2223 # <limits.h> exists even on freestanding compilers.
2224 # On the NeXT, cc -E runs the code through the compiler's parser,
2225 # not just through cpp. "Syntax error" is here to catch this case.
2226 cat >conftest.$ac_ext <<_ACEOF
2227 /* confdefs.h. */
2228 _ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2232 #ifdef __STDC__
2233 # include <limits.h>
2234 #else
2235 # include <assert.h>
2236 #endif
2237 Syntax error
2238 _ACEOF
2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241 ac_status=$?
2242 grep -v '^ *+' conftest.er1 >conftest.err
2243 rm -f conftest.er1
2244 cat conftest.err >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); } >/dev/null; then
2247 if test -s conftest.err; then
2248 ac_cpp_err=$ac_c_preproc_warn_flag
2249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2250 else
2251 ac_cpp_err=
2253 else
2254 ac_cpp_err=yes
2256 if test -z "$ac_cpp_err"; then
2258 else
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2262 # Broken: fails on valid input.
2263 continue
2265 rm -f conftest.err conftest.$ac_ext
2267 # OK, works on sane cases. Now check whether non-existent headers
2268 # can be detected and how.
2269 cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h. */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2275 #include <ac_nonexistent.h>
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 ac_status=$?
2280 grep -v '^ *+' conftest.er1 >conftest.err
2281 rm -f conftest.er1
2282 cat conftest.err >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev/null; then
2285 if test -s conftest.err; then
2286 ac_cpp_err=$ac_c_preproc_warn_flag
2287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288 else
2289 ac_cpp_err=
2291 else
2292 ac_cpp_err=yes
2294 if test -z "$ac_cpp_err"; then
2295 # Broken: success on invalid input.
2296 continue
2297 else
2298 echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2301 # Passes both tests.
2302 ac_preproc_ok=:
2303 break
2305 rm -f conftest.err conftest.$ac_ext
2307 done
2308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2309 rm -f conftest.err conftest.$ac_ext
2310 if $ac_preproc_ok; then
2311 break
2314 done
2315 ac_cv_prog_CPP=$CPP
2318 CPP=$ac_cv_prog_CPP
2319 else
2320 ac_cv_prog_CPP=$CPP
2322 echo "$as_me:$LINENO: result: $CPP" >&5
2323 echo "${ECHO_T}$CPP" >&6
2324 ac_preproc_ok=false
2325 for ac_c_preproc_warn_flag in '' yes
2327 # Use a header file that comes with gcc, so configuring glibc
2328 # with a fresh cross-compiler works.
2329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2330 # <limits.h> exists even on freestanding compilers.
2331 # On the NeXT, cc -E runs the code through the compiler's parser,
2332 # not just through cpp. "Syntax error" is here to catch this case.
2333 cat >conftest.$ac_ext <<_ACEOF
2334 /* confdefs.h. */
2335 _ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2339 #ifdef __STDC__
2340 # include <limits.h>
2341 #else
2342 # include <assert.h>
2343 #endif
2344 Syntax error
2345 _ACEOF
2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2348 ac_status=$?
2349 grep -v '^ *+' conftest.er1 >conftest.err
2350 rm -f conftest.er1
2351 cat conftest.err >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } >/dev/null; then
2354 if test -s conftest.err; then
2355 ac_cpp_err=$ac_c_preproc_warn_flag
2356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2357 else
2358 ac_cpp_err=
2360 else
2361 ac_cpp_err=yes
2363 if test -z "$ac_cpp_err"; then
2365 else
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2369 # Broken: fails on valid input.
2370 continue
2372 rm -f conftest.err conftest.$ac_ext
2374 # OK, works on sane cases. Now check whether non-existent headers
2375 # can be detected and how.
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2382 #include <ac_nonexistent.h>
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386 ac_status=$?
2387 grep -v '^ *+' conftest.er1 >conftest.err
2388 rm -f conftest.er1
2389 cat conftest.err >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } >/dev/null; then
2392 if test -s conftest.err; then
2393 ac_cpp_err=$ac_c_preproc_warn_flag
2394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395 else
2396 ac_cpp_err=
2398 else
2399 ac_cpp_err=yes
2401 if test -z "$ac_cpp_err"; then
2402 # Broken: success on invalid input.
2403 continue
2404 else
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2408 # Passes both tests.
2409 ac_preproc_ok=:
2410 break
2412 rm -f conftest.err conftest.$ac_ext
2414 done
2415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2416 rm -f conftest.err conftest.$ac_ext
2417 if $ac_preproc_ok; then
2419 else
2420 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }; }
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436 echo "$as_me:$LINENO: checking for egrep" >&5
2437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2438 if test "${ac_cv_prog_egrep+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2442 then ac_cv_prog_egrep='grep -E'
2443 else ac_cv_prog_egrep='egrep'
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2447 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2448 EGREP=$ac_cv_prog_egrep
2452 # Keep these sync'd with the list in Makefile.am. The first provides an
2453 # expandable list at autoconf time; the second provides an expandable list
2454 # (i.e., shell variable) at configure time.
2456 SUBDIRS='include libsupc++ python src doc po testsuite'
2458 # These need to be absolute paths, yet at the same time need to
2459 # canonicalize only relative paths, because then amd will not unmount
2460 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2461 glibcxx_builddir=`${PWDCMD-pwd}`
2462 case $srcdir in
2463 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2464 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2465 esac
2466 toplevel_srcdir=${glibcxx_srcdir}/..
2471 # We use these options to decide which functions to include. They are
2472 # set from the top level.
2474 # Check whether --with-target-subdir or --without-target-subdir was given.
2475 if test "${with_target_subdir+set}" = set; then
2476 withval="$with_target_subdir"
2481 # Check whether --with-cross-host or --without-cross-host was given.
2482 if test "${with_cross_host+set}" = set; then
2483 withval="$with_cross_host"
2488 # Check whether --with-newlib or --without-newlib was given.
2489 if test "${with_newlib+set}" = set; then
2490 withval="$with_newlib"
2494 # We're almost certainly being configured before anything else which uses
2495 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2496 # we not cache the value of CXX that we "discover" here, because it's set
2497 # to something unique for us and libjava. Other target libraries need to
2498 # find CXX for themselves. We yank the rug out from under the normal AC_*
2499 # process by sneakily renaming the cache variable. This also lets us debug
2500 # the value of "our" CXX in postmortems.
2502 # We must also force CXX to /not/ be a precious variable, otherwise the
2503 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2504 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2505 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2506 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2508 # -fno-builtin must be present here so that a non-conflicting form of
2509 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2514 save_CXXFLAGS="$CXXFLAGS"
2515 CXXFLAGS="$CXXFLAGS -fno-builtin"
2516 ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2543 done
2544 done
2548 CC=$ac_cv_prog_CC
2549 if test -n "$CC"; then
2550 echo "$as_me:$LINENO: result: $CC" >&5
2551 echo "${ECHO_T}$CC" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2558 if test -z "$ac_cv_prog_CC"; then
2559 ac_ct_CC=$CC
2560 # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2573 IFS=$as_save_IFS
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_ac_ct_CC="gcc"
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 break 2
2581 done
2582 done
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 echo "${ECHO_T}$ac_ct_CC" >&6
2590 else
2591 echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2595 CC=$ac_ct_CC
2596 else
2597 CC="$ac_cv_prog_CC"
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_CC="${ac_tool_prefix}cc"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2623 done
2624 done
2628 CC=$ac_cv_prog_CC
2629 if test -n "$CC"; then
2630 echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6
2632 else
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2638 if test -z "$ac_cv_prog_CC"; then
2639 ac_ct_CC=$CC
2640 # Extract the first word of "cc", so it can be a program name with args.
2641 set dummy cc; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647 if test -n "$ac_ct_CC"; then
2648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_ac_ct_CC="cc"
2658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 break 2
2661 done
2662 done
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 echo "${ECHO_T}$ac_ct_CC" >&6
2670 else
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2675 CC=$ac_ct_CC
2676 else
2677 CC="$ac_cv_prog_CC"
2681 if test -z "$CC"; then
2682 # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692 ac_prog_rejected=no
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701 ac_prog_rejected=yes
2702 continue
2704 ac_cv_prog_CC="cc"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 break 2
2708 done
2709 done
2711 if test $ac_prog_rejected = yes; then
2712 # We found a bogon in the path, so make sure we never use it.
2713 set dummy $ac_cv_prog_CC
2714 shift
2715 if test $# != 0; then
2716 # We chose a different compiler from the bogus one.
2717 # However, it has the same basename, so the bogon will be chosen
2718 # first if we set CC to just the basename; use the full file name.
2719 shift
2720 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2725 CC=$ac_cv_prog_CC
2726 if test -n "$CC"; then
2727 echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6
2729 else
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in cl
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2752 IFS=$as_save_IFS
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 break 2
2760 done
2761 done
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767 echo "$as_me:$LINENO: result: $CC" >&5
2768 echo "${ECHO_T}$CC" >&6
2769 else
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2774 test -n "$CC" && break
2775 done
2777 if test -z "$CC"; then
2778 ac_ct_CC=$CC
2779 for ac_prog in cl
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else
2788 if test -n "$ac_ct_CC"; then
2789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_ac_ct_CC="$ac_prog"
2799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 break 2
2802 done
2803 done
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6
2811 else
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2816 test -n "$ac_ct_CC" && break
2817 done
2819 CC=$ac_ct_CC
2825 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }; }
2833 # Provide some information about the compiler.
2834 echo "$as_me:$LINENO:" \
2835 "checking for C compiler version" >&5
2836 ac_compiler=`set X $ac_compile; echo $2`
2837 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2838 (eval $ac_compiler --version </dev/null >&5) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2843 (eval $ac_compiler -v </dev/null >&5) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2848 (eval $ac_compiler -V </dev/null >&5) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h. */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2861 main ()
2865 return 0;
2867 _ACEOF
2868 # FIXME: Cleanup?
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870 (eval $ac_link) 2>&5
2871 ac_status=$?
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; then
2874 gcc_no_link=no
2875 else
2876 gcc_no_link=yes
2879 if test x$gcc_no_link = xyes; then
2880 # Setting cross_compile will disable run tests; it will
2881 # also disable AC_CHECK_FILE but that's generally
2882 # correct if we can't link.
2883 cross_compiling=yes
2884 EXEEXT=
2885 else
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2894 main ()
2898 return 0;
2900 _ACEOF
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2905 # of exeext.
2906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2908 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2910 (eval $ac_link_default) 2>&5
2911 ac_status=$?
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # Find the output, starting from the most likely. This scheme is
2915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2916 # resort.
2918 # Be careful to initialize this variable, since it used to be cached.
2919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2920 ac_cv_exeext=
2921 # b.out is created by i960 compilers.
2922 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2924 test -f "$ac_file" || continue
2925 case $ac_file in
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2928 conftest.$ac_ext )
2929 # This is the source file.
2931 [ab].out )
2932 # We found the default executable, but exeext='' is most
2933 # certainly right.
2934 break;;
2935 *.* )
2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937 # FIXME: I believe we export ac_cv_exeext for Libtool,
2938 # but it would be cool to find out if it's true. Does anybody
2939 # maintain Libtool? --akim.
2940 export ac_cv_exeext
2941 break;;
2943 break;;
2944 esac
2945 done
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&2;}
2956 { (exit 77); exit 77; }; }; }
2959 ac_exeext=$ac_cv_exeext
2960 echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6
2963 # Check the compiler produces executables we can run. If not, either
2964 # the compiler is broken, or we cross compile.
2965 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970 if { ac_try='./$ac_file'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 (eval $ac_try) 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2976 cross_compiling=no
2977 else
2978 if test "$cross_compiling" = maybe; then
2979 cross_compiling=yes
2980 else
2981 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot run C compiled programs.
2987 If you meant to cross compile, use \`--host'.
2988 See \`config.log' for more details." >&2;}
2989 { (exit 1); exit 1; }; }; }
2993 echo "$as_me:$LINENO: result: yes" >&5
2994 echo "${ECHO_T}yes" >&6
2996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 # Check the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3003 echo "${ECHO_T}$cross_compiling" >&6
3005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008 (eval $ac_link) 2>&5
3009 ac_status=$?
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 # `rm'.
3016 for ac_file in conftest.exe conftest conftest.*; do
3017 test -f "$ac_file" || continue
3018 case $ac_file in
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 export ac_cv_exeext
3022 break;;
3023 * ) break;;
3024 esac
3025 done
3026 else
3027 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3032 See \`config.log' for more details." >&2;}
3033 { (exit 1); exit 1; }; }; }
3036 rm -f conftest$ac_cv_exeext
3037 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038 echo "${ECHO_T}$ac_cv_exeext" >&6
3040 rm -f conftest.$ac_ext
3041 EXEEXT=$ac_cv_exeext
3042 ac_exeext=$EXEEXT
3044 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3046 if test "${ac_cv_objext+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049 cat >conftest.$ac_ext <<_ACEOF
3050 /* confdefs.h. */
3051 _ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3057 main ()
3061 return 0;
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>&5
3067 ac_status=$?
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; then
3070 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3071 case $ac_file in
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3074 break;;
3075 esac
3076 done
3077 else
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }; }
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3092 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3093 echo "${ECHO_T}$ac_cv_objext" >&6
3094 OBJEXT=$ac_cv_objext
3095 ac_objext=$OBJEXT
3096 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3097 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
3101 cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h. */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3109 main ()
3111 #ifndef __GNUC__
3112 choke me
3113 #endif
3116 return 0;
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121 (eval $ac_compile) 2>conftest.er1
3122 ac_status=$?
3123 grep -v '^ *+' conftest.er1 >conftest.err
3124 rm -f conftest.er1
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -z "$ac_c_werror_flag"
3129 || test ! -s conftest.err'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 (eval $ac_try) 2>&5
3132 ac_status=$?
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; } &&
3135 { ac_try='test -s conftest.$ac_objext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 (eval $ac_try) 2>&5
3138 ac_status=$?
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3141 ac_compiler_gnu=yes
3142 else
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_compiler_gnu=no
3148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3152 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 CFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cc_g+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163 cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h. */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3171 main ()
3175 return 0;
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3181 ac_status=$?
3182 grep -v '^ *+' conftest.er1 >conftest.err
3183 rm -f conftest.er1
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -z "$ac_c_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 (eval $ac_try) 2>&5
3191 ac_status=$?
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5
3197 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3200 ac_cv_prog_cc_g=yes
3201 else
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 ac_cv_prog_cc_g=no
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3215 CFLAGS="-g -O2"
3216 else
3217 CFLAGS="-g"
3219 else
3220 if test "$GCC" = yes; then
3221 CFLAGS="-O2"
3222 else
3223 CFLAGS=
3226 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3227 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3228 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 ac_cv_prog_cc_stdc=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h. */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247 char **p;
3248 int i;
3250 return p[i];
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3254 char *s;
3255 va_list v;
3256 va_start (v,p);
3257 s = g (p, va_arg (v,int));
3258 va_end (v);
3259 return s;
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3263 function prototypes and stuff, but not '\xHH' hex character constants.
3264 These don't provoke an error unfortunately, instead are silently treated
3265 as 'x'. The following induces an error, until -std1 is added to get
3266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3267 array size at least. It's necessary to write '\x00'==0 to get something
3268 that's true only with -std1. */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 int argc;
3276 char **argv;
3278 main ()
3280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3282 return 0;
3284 _ACEOF
3285 # Don't try gcc -ansi; that turns off useful extensions and
3286 # breaks some systems' header files.
3287 # AIX -qlanglvl=ansi
3288 # Ultrix and OSF/1 -std1
3289 # HP-UX 10.20 and later -Ae
3290 # HP-UX older versions -Aa -D_HPUX_SOURCE
3291 # SVR4 -Xc -D__EXTENSIONS__
3292 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3294 CC="$ac_save_CC $ac_arg"
3295 rm -f conftest.$ac_objext
3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297 (eval $ac_compile) 2>conftest.er1
3298 ac_status=$?
3299 grep -v '^ *+' conftest.er1 >conftest.err
3300 rm -f conftest.er1
3301 cat conftest.err >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } &&
3304 { ac_try='test -z "$ac_c_werror_flag"
3305 || test ! -s conftest.err'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 (eval $ac_try) 2>&5
3308 ac_status=$?
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; } &&
3311 { ac_try='test -s conftest.$ac_objext'
3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 (eval $ac_try) 2>&5
3314 ac_status=$?
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; }; then
3317 ac_cv_prog_cc_stdc=$ac_arg
3318 break
3319 else
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3324 rm -f conftest.err conftest.$ac_objext
3325 done
3326 rm -f conftest.$ac_ext conftest.$ac_objext
3327 CC=$ac_save_CC
3331 case "x$ac_cv_prog_cc_stdc" in
3332 x|xno)
3333 echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6 ;;
3336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3338 CC="$CC $ac_cv_prog_cc_stdc" ;;
3339 esac
3341 # Some people use a C++ compiler to compile C. Since we use `exit',
3342 # in C++ we need to declare it. In case someone uses the same compiler
3343 # for both compiling C and C++ we need to have the C++ compiler decide
3344 # the declaration of exit, since it's the most demanding environment.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #ifndef __cplusplus
3347 choke me
3348 #endif
3349 _ACEOF
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352 (eval $ac_compile) 2>conftest.er1
3353 ac_status=$?
3354 grep -v '^ *+' conftest.er1 >conftest.err
3355 rm -f conftest.er1
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } &&
3359 { ac_try='test -z "$ac_c_werror_flag"
3360 || test ! -s conftest.err'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 (eval $ac_try) 2>&5
3363 ac_status=$?
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; } &&
3366 { ac_try='test -s conftest.$ac_objext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 (eval $ac_try) 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3372 for ac_declaration in \
3373 '' \
3374 'extern "C" void std::exit (int) throw (); using std::exit;' \
3375 'extern "C" void std::exit (int); using std::exit;' \
3376 'extern "C" void exit (int) throw ();' \
3377 'extern "C" void exit (int);' \
3378 'void exit (int);'
3380 cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h. */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3386 $ac_declaration
3387 #include <stdlib.h>
3389 main ()
3391 exit (42);
3393 return 0;
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } &&
3405 { ac_try='test -z "$ac_c_werror_flag"
3406 || test ! -s conftest.err'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 (eval $ac_try) 2>&5
3409 ac_status=$?
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; } &&
3412 { ac_try='test -s conftest.$ac_objext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 (eval $ac_try) 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 continue
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 cat >conftest.$ac_ext <<_ACEOF
3427 /* confdefs.h. */
3428 _ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3432 $ac_declaration
3434 main ()
3436 exit (42);
3438 return 0;
3440 _ACEOF
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3444 ac_status=$?
3445 grep -v '^ *+' conftest.er1 >conftest.err
3446 rm -f conftest.er1
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453 (eval $ac_try) 2>&5
3454 ac_status=$?
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 (eval $ac_try) 2>&5
3460 ac_status=$?
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3463 break
3464 else
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3470 done
3471 rm -f conftest*
3472 if test -n "$ac_declaration"; then
3473 echo '#ifdef __cplusplus' >>confdefs.h
3474 echo $ac_declaration >>confdefs.h
3475 echo '#endif' >>confdefs.h
3478 else
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_ext=c
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 ac_ext=cc
3491 ac_cpp='$CXXCPP $CPPFLAGS'
3492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505 if test -n "$CXX"; then
3506 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3524 CXX=$glibcxx_cv_prog_CXX
3525 if test -n "$CXX"; then
3526 echo "$as_me:$LINENO: result: $CXX" >&5
3527 echo "${ECHO_T}$CXX" >&6
3528 else
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3533 test -n "$CXX" && break
3534 done
3536 if test -z "$CXX"; then
3537 ac_ct_CXX=$CXX
3538 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3540 # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547 if test -n "$ac_ct_CXX"; then
3548 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_ac_ct_CXX="$ac_prog"
3558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3567 if test -n "$ac_ct_CXX"; then
3568 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3569 echo "${ECHO_T}$ac_ct_CXX" >&6
3570 else
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3575 test -n "$ac_ct_CXX" && break
3576 done
3577 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3579 CXX=$ac_ct_CXX
3583 # Provide some information about the compiler.
3584 echo "$as_me:$LINENO:" \
3585 "checking for C++ compiler version" >&5
3586 ac_compiler=`set X $ac_compile; echo $2`
3587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588 (eval $ac_compiler --version </dev/null >&5) 2>&5
3589 ac_status=$?
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593 (eval $ac_compiler -v </dev/null >&5) 2>&5
3594 ac_status=$?
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598 (eval $ac_compiler -V </dev/null >&5) 2>&5
3599 ac_status=$?
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }
3603 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3604 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3605 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608 cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h. */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3616 main ()
3618 #ifndef __GNUC__
3619 choke me
3620 #endif
3623 return 0;
3625 _ACEOF
3626 rm -f conftest.$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628 (eval $ac_compile) 2>conftest.er1
3629 ac_status=$?
3630 grep -v '^ *+' conftest.er1 >conftest.err
3631 rm -f conftest.er1
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try='test -z "$ac_cxx_werror_flag"
3636 || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 (eval $ac_try) 2>&5
3639 ac_status=$?
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 (eval $ac_try) 2>&5
3645 ac_status=$?
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_compiler_gnu=yes
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 ac_compiler_gnu=no
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3659 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 CXXFLAGS="-g"
3665 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 if test "${ac_cv_prog_cxx_g+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670 cat >conftest.$ac_ext <<_ACEOF
3671 /* confdefs.h. */
3672 _ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3678 main ()
3682 return 0;
3684 _ACEOF
3685 rm -f conftest.$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687 (eval $ac_compile) 2>conftest.er1
3688 ac_status=$?
3689 grep -v '^ *+' conftest.er1 >conftest.err
3690 rm -f conftest.er1
3691 cat conftest.err >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try='test -z "$ac_cxx_werror_flag"
3695 || test ! -s conftest.err'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 (eval $ac_try) 2>&5
3698 ac_status=$?
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; } &&
3701 { ac_try='test -s conftest.$ac_objext'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 (eval $ac_try) 2>&5
3704 ac_status=$?
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; }; then
3707 ac_cv_prog_cxx_g=yes
3708 else
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3712 ac_cv_prog_cxx_g=no
3714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3718 if test "$ac_test_CXXFLAGS" = set; then
3719 CXXFLAGS=$ac_save_CXXFLAGS
3720 elif test $ac_cv_prog_cxx_g = yes; then
3721 if test "$GXX" = yes; then
3722 CXXFLAGS="-g -O2"
3723 else
3724 CXXFLAGS="-g"
3726 else
3727 if test "$GXX" = yes; then
3728 CXXFLAGS="-O2"
3729 else
3730 CXXFLAGS=
3733 for ac_declaration in \
3734 '' \
3735 'extern "C" void std::exit (int) throw (); using std::exit;' \
3736 'extern "C" void std::exit (int); using std::exit;' \
3737 'extern "C" void exit (int) throw ();' \
3738 'extern "C" void exit (int);' \
3739 'void exit (int);'
3741 cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h. */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3747 $ac_declaration
3748 #include <stdlib.h>
3750 main ()
3752 exit (42);
3754 return 0;
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759 (eval $ac_compile) 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try='test -z "$ac_cxx_werror_flag"
3767 || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 (eval $ac_try) 2>&5
3770 ac_status=$?
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 (eval $ac_try) 2>&5
3776 ac_status=$?
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3780 else
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3784 continue
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h. */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3793 $ac_declaration
3795 main ()
3797 exit (42);
3799 return 0;
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>conftest.er1
3805 ac_status=$?
3806 grep -v '^ *+' conftest.er1 >conftest.err
3807 rm -f conftest.er1
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try='test -z "$ac_cxx_werror_flag"
3812 || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 (eval $ac_try) 2>&5
3815 ac_status=$?
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 (eval $ac_try) 2>&5
3821 ac_status=$?
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 break
3825 else
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834 echo '#ifdef __cplusplus' >>confdefs.h
3835 echo $ac_declaration >>confdefs.h
3836 echo '#endif' >>confdefs.h
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 CXXFLAGS="$save_CXXFLAGS"
3850 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3851 # available). Uncomment the next line to force a particular method.
3852 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3853 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3854 LN_S=$as_ln_s
3855 if test "$LN_S" = "ln -s"; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3860 echo "${ECHO_T}no, using $LN_S" >&6
3863 #LN_S='cp -p'
3865 if test -n "$ac_tool_prefix"; then
3866 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}as; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_AS+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873 if test -n "$AS"; then
3874 ac_cv_prog_AS="$AS" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_AS="${ac_tool_prefix}as"
3884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3892 AS=$ac_cv_prog_AS
3893 if test -n "$AS"; then
3894 echo "$as_me:$LINENO: result: $AS" >&5
3895 echo "${ECHO_T}$AS" >&6
3896 else
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3902 if test -z "$ac_cv_prog_AS"; then
3903 ac_ct_AS=$AS
3904 # Extract the first word of "as", so it can be a program name with args.
3905 set dummy as; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911 if test -n "$ac_ct_AS"; then
3912 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_ac_ct_AS="as"
3922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3930 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3931 if test -n "$ac_ct_AS"; then
3932 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3933 echo "${ECHO_T}$ac_ct_AS" >&6
3934 else
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3939 AS=$ac_ct_AS
3940 else
3941 AS="$ac_cv_prog_AS"
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}ar; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_AR+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952 if test -n "$AR"; then
3953 ac_cv_prog_AR="$AR" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_AR="${ac_tool_prefix}ar"
3963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3971 AR=$ac_cv_prog_AR
3972 if test -n "$AR"; then
3973 echo "$as_me:$LINENO: result: $AR" >&5
3974 echo "${ECHO_T}$AR" >&6
3975 else
3976 echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3981 if test -z "$ac_cv_prog_AR"; then
3982 ac_ct_AR=$AR
3983 # Extract the first word of "ar", so it can be a program name with args.
3984 set dummy ar; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990 if test -n "$ac_ct_AR"; then
3991 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_ac_ct_AR="ar"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4010 if test -n "$ac_ct_AR"; then
4011 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4012 echo "${ECHO_T}$ac_ct_AR" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4018 AR=$ac_ct_AR
4019 else
4020 AR="$ac_cv_prog_AR"
4023 if test -n "$ac_tool_prefix"; then
4024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_RANLIB+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031 if test -n "$RANLIB"; then
4032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4050 RANLIB=$ac_cv_prog_RANLIB
4051 if test -n "$RANLIB"; then
4052 echo "$as_me:$LINENO: result: $RANLIB" >&5
4053 echo "${ECHO_T}$RANLIB" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061 ac_ct_RANLIB=$RANLIB
4062 # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069 if test -n "$ac_ct_RANLIB"; then
4070 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_ac_ct_RANLIB="ranlib"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4083 done
4084 done
4086 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4092 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4098 RANLIB=$ac_ct_RANLIB
4099 else
4100 RANLIB="$ac_cv_prog_RANLIB"
4104 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4105 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4106 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4107 if test "${enable_maintainer_mode+set}" = set; then
4108 enableval="$enable_maintainer_mode"
4109 USE_MAINTAINER_MODE=$enableval
4110 else
4111 USE_MAINTAINER_MODE=no
4113 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4114 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4117 if test $USE_MAINTAINER_MODE = yes; then
4118 MAINTAINER_MODE_TRUE=
4119 MAINTAINER_MODE_FALSE='#'
4120 else
4121 MAINTAINER_MODE_TRUE='#'
4122 MAINTAINER_MODE_FALSE=
4125 MAINT=$MAINTAINER_MODE_TRUE
4129 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4130 # which are themselves conditionally expanded.
4131 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4132 ## other macros from doing the same. This should be automated.) -pme
4134 # Check for uClibc since Linux platforms use different configuration
4135 # directories depending on the C library in use.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4143 #include <stdio.h>
4144 #if __UCLIBC__
4145 _using_uclibc
4146 #endif
4148 _ACEOF
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4151 uclibc=yes
4152 else
4153 uclibc=no
4155 rm -f conftest*
4158 # Find platform-specific directories containing configuration info.
4159 # Also possibly modify flags used elsewhere, as needed by the platform.
4161 . $glibcxx_srcdir/configure.host
4162 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4163 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4164 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4165 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4169 if test "x${with_newlib}" != "xyes"; then
4170 enable_dlopen=yes
4175 case `pwd` in
4176 *\ * | *\ *)
4177 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4178 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4179 esac
4183 macro_version='2.2.6'
4184 macro_revision='1.3012'
4198 ltmain="$ac_aux_dir/ltmain.sh"
4200 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4201 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4202 if test "${lt_cv_path_SED+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205 # Loop through the user's path and test for sed and gsed.
4206 # Then use that list of sed's as ones to test for truncation.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for lt_ac_prog in sed gsed; do
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4215 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4217 done
4218 done
4219 done
4220 IFS=$as_save_IFS
4221 lt_ac_max=0
4222 lt_ac_count=0
4223 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4224 # along with /bin/sed that truncates output.
4225 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4226 test ! -f $lt_ac_sed && continue
4227 cat /dev/null > conftest.in
4228 lt_ac_count=0
4229 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4230 # Check for GNU sed and select it if it is found.
4231 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4232 lt_cv_path_SED=$lt_ac_sed
4233 break
4235 while true; do
4236 cat conftest.in conftest.in >conftest.tmp
4237 mv conftest.tmp conftest.in
4238 cp conftest.in conftest.nl
4239 echo >>conftest.nl
4240 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4241 cmp -s conftest.out conftest.nl || break
4242 # 10000 chars as input seems more than enough
4243 test $lt_ac_count -gt 10 && break
4244 lt_ac_count=`expr $lt_ac_count + 1`
4245 if test $lt_ac_count -gt $lt_ac_max; then
4246 lt_ac_max=$lt_ac_count
4247 lt_cv_path_SED=$lt_ac_sed
4249 done
4250 done
4254 SED=$lt_cv_path_SED
4256 echo "$as_me:$LINENO: result: $SED" >&5
4257 echo "${ECHO_T}$SED" >&6
4259 test -z "$SED" && SED=sed
4260 Xsed="$SED -e 1s/^X//"
4272 echo "$as_me:$LINENO: checking for fgrep" >&5
4273 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4274 if test "${ac_cv_prog_fgrep+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 else
4277 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4278 then ac_cv_prog_fgrep='grep -F'
4279 else ac_cv_prog_fgrep='fgrep'
4282 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4283 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4284 FGREP=$ac_cv_prog_fgrep
4287 test -z "$GREP" && GREP=grep
4307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4308 if test "${with_gnu_ld+set}" = set; then
4309 withval="$with_gnu_ld"
4310 test "$withval" = no || with_gnu_ld=yes
4311 else
4312 with_gnu_ld=no
4314 ac_prog=ld
4315 if test "$GCC" = yes; then
4316 # Check if gcc -print-prog-name=ld gives a path.
4317 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4318 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4319 case $host in
4320 *-*-mingw*)
4321 # gcc leaves a trailing carriage return which upsets mingw
4322 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4324 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4325 esac
4326 case $ac_prog in
4327 # Accept absolute paths.
4328 [\\/]* | ?:[\\/]*)
4329 re_direlt='/[^/][^/]*/\.\./'
4330 # Canonicalize the pathname of ld
4331 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4332 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4333 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4334 done
4335 test -z "$LD" && LD="$ac_prog"
4338 # If it fails, then pretend we aren't using GCC.
4339 ac_prog=ld
4342 # If it is relative, then search for the first ld in PATH.
4343 with_gnu_ld=unknown
4345 esac
4346 elif test "$with_gnu_ld" = yes; then
4347 echo "$as_me:$LINENO: checking for GNU ld" >&5
4348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4349 else
4350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4353 if test "${lt_cv_path_LD+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 else
4356 if test -z "$LD"; then
4357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4358 for ac_dir in $PATH; do
4359 IFS="$lt_save_ifs"
4360 test -z "$ac_dir" && ac_dir=.
4361 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4362 lt_cv_path_LD="$ac_dir/$ac_prog"
4363 # Check to see if the program is GNU ld. I'd rather use --version,
4364 # but apparently some variants of GNU ld only accept -v.
4365 # Break only if it was the GNU/non-GNU ld that we prefer.
4366 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4367 *GNU* | *'with BFD'*)
4368 test "$with_gnu_ld" != no && break
4371 test "$with_gnu_ld" != yes && break
4373 esac
4375 done
4376 IFS="$lt_save_ifs"
4377 else
4378 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4382 LD="$lt_cv_path_LD"
4383 if test -n "$LD"; then
4384 echo "$as_me:$LINENO: result: $LD" >&5
4385 echo "${ECHO_T}$LD" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4390 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4391 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4392 { (exit 1); exit 1; }; }
4393 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4394 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4395 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4399 case `$LD -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 lt_cv_prog_gnu_ld=yes
4404 lt_cv_prog_gnu_ld=no
4406 esac
4408 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4409 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4410 with_gnu_ld=$lt_cv_prog_gnu_ld
4420 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4421 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4422 if test "${lt_cv_path_NM+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 else
4425 if test -n "$NM"; then
4426 # Let the user override the test.
4427 lt_cv_path_NM="$NM"
4428 else
4429 lt_nm_to_check="${ac_tool_prefix}nm"
4430 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4431 lt_nm_to_check="$lt_nm_to_check nm"
4433 for lt_tmp_nm in $lt_nm_to_check; do
4434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4435 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4436 IFS="$lt_save_ifs"
4437 test -z "$ac_dir" && ac_dir=.
4438 tmp_nm="$ac_dir/$lt_tmp_nm"
4439 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4440 # Check to see if the nm accepts a BSD-compat flag.
4441 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4442 # nm: unknown option "B" ignored
4443 # Tru64's nm complains that /dev/null is an invalid object file
4444 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4445 */dev/null* | *'Invalid file or object type'*)
4446 lt_cv_path_NM="$tmp_nm -B"
4447 break
4450 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4451 */dev/null*)
4452 lt_cv_path_NM="$tmp_nm -p"
4453 break
4456 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4457 continue # so that we can try to find one that supports BSD flags
4459 esac
4461 esac
4463 done
4464 IFS="$lt_save_ifs"
4465 done
4466 : ${lt_cv_path_NM=no}
4469 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4470 echo "${ECHO_T}$lt_cv_path_NM" >&6
4471 if test "$lt_cv_path_NM" != "no"; then
4472 NM="$lt_cv_path_NM"
4473 else
4474 # Didn't find any BSD compatible name lister, look for dumpbin.
4475 if test -n "$ac_tool_prefix"; then
4476 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480 echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4482 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 if test -n "$DUMPBIN"; then
4486 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4504 DUMPBIN=$ac_cv_prog_DUMPBIN
4505 if test -n "$DUMPBIN"; then
4506 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4507 echo "${ECHO_T}$DUMPBIN" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4513 test -n "$DUMPBIN" && break
4514 done
4516 if test -z "$DUMPBIN"; then
4517 ac_ct_DUMPBIN=$DUMPBIN
4518 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4520 # Extract the first word of "$ac_prog", so it can be a program name with args.
4521 set dummy $ac_prog; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 else
4527 if test -n "$ac_ct_DUMPBIN"; then
4528 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4533 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2
4541 done
4542 done
4546 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4547 if test -n "$ac_ct_DUMPBIN"; then
4548 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4549 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4550 else
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4555 test -n "$ac_ct_DUMPBIN" && break
4556 done
4557 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4559 DUMPBIN=$ac_ct_DUMPBIN
4563 if test "$DUMPBIN" != ":"; then
4564 NM="$DUMPBIN"
4567 test -z "$NM" && NM=nm
4574 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4575 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4576 if test "${lt_cv_nm_interface+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 else
4579 lt_cv_nm_interface="BSD nm"
4580 echo "int some_variable = 0;" > conftest.$ac_ext
4581 (eval echo "\"\$as_me:4581: $ac_compile\"" >&5)
4582 (eval "$ac_compile" 2>conftest.err)
4583 cat conftest.err >&5
4584 (eval echo "\"\$as_me:4584: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4585 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4586 cat conftest.err >&5
4587 (eval echo "\"\$as_me:4587: output\"" >&5)
4588 cat conftest.out >&5
4589 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4590 lt_cv_nm_interface="MS dumpbin"
4592 rm -f conftest*
4594 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4595 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4597 # find the maximum length of command line arguments
4598 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4599 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4600 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 else
4604 teststring="ABCD"
4606 case $build_os in
4607 msdosdjgpp*)
4608 # On DJGPP, this test can blow up pretty badly due to problems in libc
4609 # (any single argument exceeding 2000 bytes causes a buffer overrun
4610 # during glob expansion). Even if it were fixed, the result of this
4611 # check would be larger than it should be.
4612 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4615 gnu*)
4616 # Under GNU Hurd, this test is not required because there is
4617 # no limit to the length of command line arguments.
4618 # Libtool will interpret -1 as no limit whatsoever
4619 lt_cv_sys_max_cmd_len=-1;
4622 cygwin* | mingw* | cegcc*)
4623 # On Win9x/ME, this test blows up -- it succeeds, but takes
4624 # about 5 minutes as the teststring grows exponentially.
4625 # Worse, since 9x/ME are not pre-emptively multitasking,
4626 # you end up with a "frozen" computer, even though with patience
4627 # the test eventually succeeds (with a max line length of 256k).
4628 # Instead, let's just punt: use the minimum linelength reported by
4629 # all of the supported platforms: 8192 (on NT/2K/XP).
4630 lt_cv_sys_max_cmd_len=8192;
4633 amigaos*)
4634 # On AmigaOS with pdksh, this test takes hours, literally.
4635 # So we just punt and use a minimum line length of 8192.
4636 lt_cv_sys_max_cmd_len=8192;
4639 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4640 # This has been around since 386BSD, at least. Likely further.
4641 if test -x /sbin/sysctl; then
4642 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4643 elif test -x /usr/sbin/sysctl; then
4644 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4645 else
4646 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4648 # And add a safety zone
4649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4653 interix*)
4654 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4655 lt_cv_sys_max_cmd_len=196608
4658 osf*)
4659 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4660 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4661 # nice to cause kernel panics so lets avoid the loop below.
4662 # First set a reasonable default.
4663 lt_cv_sys_max_cmd_len=16384
4665 if test -x /sbin/sysconfig; then
4666 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4667 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4668 esac
4671 sco3.2v5*)
4672 lt_cv_sys_max_cmd_len=102400
4674 sysv5* | sco5v6* | sysv4.2uw2*)
4675 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4676 if test -n "$kargmax"; then
4677 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4678 else
4679 lt_cv_sys_max_cmd_len=32768
4683 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4684 if test -n "$lt_cv_sys_max_cmd_len"; then
4685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4687 else
4688 # Make teststring a little bigger before we do anything with it.
4689 # a 1K string should be a reasonable start.
4690 for i in 1 2 3 4 5 6 7 8 ; do
4691 teststring=$teststring$teststring
4692 done
4693 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4694 # If test is not a shell built-in, we'll probably end up computing a
4695 # maximum length that is only half of the actual maximum length, but
4696 # we can't tell.
4697 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4698 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4699 test $i != 17 # 1/2 MB should be enough
4701 i=`expr $i + 1`
4702 teststring=$teststring$teststring
4703 done
4704 # Only check the string length outside the loop.
4705 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4706 teststring=
4707 # Add a significant safety factor because C++ compilers can tack on
4708 # massive amounts of additional arguments before passing them to the
4709 # linker. It appears as though 1/2 is a usable value.
4710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4713 esac
4717 if test -n $lt_cv_sys_max_cmd_len ; then
4718 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4719 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4720 else
4721 echo "$as_me:$LINENO: result: none" >&5
4722 echo "${ECHO_T}none" >&6
4724 max_cmd_len=$lt_cv_sys_max_cmd_len
4731 : ${CP="cp -f"}
4732 : ${MV="mv -f"}
4733 : ${RM="rm -f"}
4735 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4736 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4737 # Try some XSI features
4738 xsi_shell=no
4739 ( _lt_dummy="a/b/c"
4740 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4741 = c,a/b,, \
4742 && eval 'test $(( 1 + 1 )) -eq 2 \
4743 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4744 && xsi_shell=yes
4745 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4746 echo "${ECHO_T}$xsi_shell" >&6
4749 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4750 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4751 lt_shell_append=no
4752 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4753 >/dev/null 2>&1 \
4754 && lt_shell_append=yes
4755 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4756 echo "${ECHO_T}$lt_shell_append" >&6
4759 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4760 lt_unset=unset
4761 else
4762 lt_unset=false
4769 # test EBCDIC or ASCII
4770 case `echo X|tr X '\101'` in
4771 A) # ASCII based system
4772 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4773 lt_SP2NL='tr \040 \012'
4774 lt_NL2SP='tr \015\012 \040\040'
4776 *) # EBCDIC based system
4777 lt_SP2NL='tr \100 \n'
4778 lt_NL2SP='tr \r\n \100\100'
4780 esac
4790 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4791 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4792 if test "${lt_cv_ld_reload_flag+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 else
4795 lt_cv_ld_reload_flag='-r'
4797 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4798 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4799 reload_flag=$lt_cv_ld_reload_flag
4800 case $reload_flag in
4801 "" | " "*) ;;
4802 *) reload_flag=" $reload_flag" ;;
4803 esac
4804 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4805 case $host_os in
4806 darwin*)
4807 if test "$GCC" = yes; then
4808 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4809 else
4810 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4813 esac
4823 if test -n "$ac_tool_prefix"; then
4824 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4825 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4826 echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4828 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831 if test -n "$OBJDUMP"; then
4832 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4850 OBJDUMP=$ac_cv_prog_OBJDUMP
4851 if test -n "$OBJDUMP"; then
4852 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4853 echo "${ECHO_T}$OBJDUMP" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4860 if test -z "$ac_cv_prog_OBJDUMP"; then
4861 ac_ct_OBJDUMP=$OBJDUMP
4862 # Extract the first word of "objdump", so it can be a program name with args.
4863 set dummy objdump; ac_word=$2
4864 echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4866 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 else
4869 if test -n "$ac_ct_OBJDUMP"; then
4870 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4875 IFS=$as_save_IFS
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 break 2
4883 done
4884 done
4886 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4889 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4890 if test -n "$ac_ct_OBJDUMP"; then
4891 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4892 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4893 else
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4898 OBJDUMP=$ac_ct_OBJDUMP
4899 else
4900 OBJDUMP="$ac_cv_prog_OBJDUMP"
4903 test -z "$OBJDUMP" && OBJDUMP=objdump
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 cegcc)
4967 # use the weaker test based on 'objdump'. See mingw*.
4968 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4969 lt_cv_file_magic_cmd='$OBJDUMP -f'
4972 darwin* | rhapsody*)
4973 lt_cv_deplibs_check_method=pass_all
4976 freebsd* | dragonfly*)
4977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4978 case $host_cpu in
4979 i*86 )
4980 # Not sure whether the presence of OpenBSD here was a mistake.
4981 # Let's accept both of them until this is cleared up.
4982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4983 lt_cv_file_magic_cmd=/usr/bin/file
4984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4986 esac
4987 else
4988 lt_cv_deplibs_check_method=pass_all
4992 gnu*)
4993 lt_cv_deplibs_check_method=pass_all
4996 hpux10.20* | hpux11*)
4997 lt_cv_file_magic_cmd=/usr/bin/file
4998 case $host_cpu in
4999 ia64*)
5000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5003 hppa*64*)
5004 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]'
5005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5009 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5011 esac
5014 interix[3-9]*)
5015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5019 irix5* | irix6* | nonstopux*)
5020 case $LD in
5021 *-32|*"-32 ") libmagic=32-bit;;
5022 *-n32|*"-n32 ") libmagic=N32;;
5023 *-64|*"-64 ") libmagic=64-bit;;
5024 *) libmagic=never-match;;
5025 esac
5026 lt_cv_deplibs_check_method=pass_all
5029 # This must be Linux ELF.
5030 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5031 lt_cv_deplibs_check_method=pass_all
5034 netbsd*)
5035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5037 else
5038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5042 newos6*)
5043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5044 lt_cv_file_magic_cmd=/usr/bin/file
5045 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5048 *nto* | *qnx*)
5049 lt_cv_deplibs_check_method=pass_all
5052 openbsd*)
5053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5055 else
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5060 osf3* | osf4* | osf5*)
5061 lt_cv_deplibs_check_method=pass_all
5064 rdos*)
5065 lt_cv_deplibs_check_method=pass_all
5068 solaris*)
5069 lt_cv_deplibs_check_method=pass_all
5072 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5073 lt_cv_deplibs_check_method=pass_all
5076 sysv4 | sysv4.3*)
5077 case $host_vendor in
5078 motorola)
5079 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]'
5080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5082 ncr)
5083 lt_cv_deplibs_check_method=pass_all
5085 sequent)
5086 lt_cv_file_magic_cmd='/bin/file'
5087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5089 sni)
5090 lt_cv_file_magic_cmd='/bin/file'
5091 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5092 lt_cv_file_magic_test_file=/lib/libc.so
5094 siemens)
5095 lt_cv_deplibs_check_method=pass_all
5098 lt_cv_deplibs_check_method=pass_all
5100 esac
5103 tpf*)
5104 lt_cv_deplibs_check_method=pass_all
5106 esac
5109 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5111 file_magic_cmd=$lt_cv_file_magic_cmd
5112 deplibs_check_method=$lt_cv_deplibs_check_method
5113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ar; ac_word=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_AR+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 else
5134 if test -n "$AR"; then
5135 ac_cv_prog_AR="$AR" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_AR="${ac_tool_prefix}ar"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5153 AR=$ac_cv_prog_AR
5154 if test -n "$AR"; then
5155 echo "$as_me:$LINENO: result: $AR" >&5
5156 echo "${ECHO_T}$AR" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_AR"; then
5164 ac_ct_AR=$AR
5165 # Extract the first word of "ar", so it can be a program name with args.
5166 set dummy ar; ac_word=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172 if test -n "$ac_ct_AR"; then
5173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_AR="ar"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5193 if test -n "$ac_ct_AR"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5195 echo "${ECHO_T}$ac_ct_AR" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 AR=$ac_ct_AR
5202 else
5203 AR="$ac_cv_prog_AR"
5206 test -z "$AR" && AR=ar
5207 test -z "$AR_FLAGS" && AR_FLAGS=cru
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}strip; ac_word=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5246 STRIP=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5257 ac_ct_STRIP=$STRIP
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip; ac_word=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 else
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5294 STRIP=$ac_ct_STRIP
5295 else
5296 STRIP="$ac_cv_prog_STRIP"
5299 test -z "$STRIP" && STRIP=:
5306 if test -n "$ac_tool_prefix"; then
5307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5309 echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5311 if test "${ac_cv_prog_RANLIB+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314 if test -n "$RANLIB"; then
5315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 break 2
5328 done
5329 done
5333 RANLIB=$ac_cv_prog_RANLIB
5334 if test -n "$RANLIB"; then
5335 echo "$as_me:$LINENO: result: $RANLIB" >&5
5336 echo "${ECHO_T}$RANLIB" >&6
5337 else
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5343 if test -z "$ac_cv_prog_RANLIB"; then
5344 ac_ct_RANLIB=$RANLIB
5345 # Extract the first word of "ranlib", so it can be a program name with args.
5346 set dummy ranlib; ac_word=$2
5347 echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$ac_ct_RANLIB"; then
5353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_RANLIB="ranlib"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5373 if test -n "$ac_ct_RANLIB"; then
5374 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5381 RANLIB=$ac_ct_RANLIB
5382 else
5383 RANLIB="$ac_cv_prog_RANLIB"
5386 test -z "$RANLIB" && RANLIB=:
5393 # Determine commands to create old-style static archives.
5394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5395 old_postinstall_cmds='chmod 644 $oldlib'
5396 old_postuninstall_cmds=
5398 if test -n "$RANLIB"; then
5399 case $host_os in
5400 openbsd*)
5401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5404 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5406 esac
5407 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5443 # If no C compiler was specified, use CC.
5444 LTCC=${LTCC-"$CC"}
5446 # If no C compiler flags were specified, use CFLAGS.
5447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5449 # Allow CC to be a program name with arguments.
5450 compiler=$CC
5453 # Check for command to grab the raw symbol name followed by C symbol from nm.
5454 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5455 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5460 # These are sane defaults that work on at least a few old systems.
5461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5463 # Character class describing NM global symbol codes.
5464 symcode='[BCDEGRST]'
5466 # Regexp to match symbols that can be accessed directly from C.
5467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5469 # Define system-specific variables.
5470 case $host_os in
5471 aix*)
5472 symcode='[BCDT]'
5474 cygwin* | mingw* | pw32* | cegcc*)
5475 symcode='[ABCDGISTW]'
5477 hpux*)
5478 if test "$host_cpu" = ia64; then
5479 symcode='[ABCDEGRST]'
5482 irix* | nonstopux*)
5483 symcode='[BCDEGRST]'
5485 osf*)
5486 symcode='[BCDEGQRST]'
5488 solaris*)
5489 symcode='[BDRT]'
5491 sco3.2v5*)
5492 symcode='[DT]'
5494 sysv4.2uw2*)
5495 symcode='[DT]'
5497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5498 symcode='[ABDT]'
5500 sysv4)
5501 symcode='[DFNSTU]'
5503 esac
5505 # If we're using GNU nm, then use its standard symbol codes.
5506 case `$NM -V 2>&1` in
5507 *GNU* | *'with BFD'*)
5508 symcode='[ABCDGIRSTW]' ;;
5509 esac
5511 # Transform an extracted symbol line into a proper C declaration.
5512 # Some systems (esp. on ia64) link data and code symbols differently,
5513 # so use this general approach.
5514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5516 # Transform an extracted symbol line into symbol name and symbol address
5517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5518 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5520 # Handle CRLF in mingw tool chain
5521 opt_cr=
5522 case $build_os in
5523 mingw*)
5524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5526 esac
5528 # Try without a prefix underscore, then with it.
5529 for ac_symprfx in "" "_"; do
5531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5532 symxfrm="\\1 $ac_symprfx\\2 \\2"
5534 # Write the raw and C identifiers.
5535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5536 # Fake it for dumpbin and say T for any non-static function
5537 # and D for any global variable.
5538 # Also find C++ and __fastcall symbols from MSVC++,
5539 # which start with @ or ?.
5540 lt_cv_sys_global_symbol_pipe="$AWK '"\
5541 " {last_section=section; section=\$ 3};"\
5542 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5543 " \$ 0!~/External *\|/{next};"\
5544 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5545 " {if(hide[section]) next};"\
5546 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5547 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5548 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5549 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5550 " ' prfx=^$ac_symprfx"
5551 else
5552 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5555 # Check to see that the pipe works correctly.
5556 pipe_works=no
5558 rm -f conftest*
5559 cat > conftest.$ac_ext <<_LT_EOF
5560 #ifdef __cplusplus
5561 extern "C" {
5562 #endif
5563 char nm_test_var;
5564 void nm_test_func(void);
5565 void nm_test_func(void){}
5566 #ifdef __cplusplus
5568 #endif
5569 int main(){nm_test_var='a';nm_test_func();return(0);}
5570 _LT_EOF
5572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5573 (eval $ac_compile) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; then
5577 # Now try to grab the symbols.
5578 nlist=conftest.nm
5579 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5580 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5581 ac_status=$?
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && test -s "$nlist"; then
5584 # Try sorting and uniquifying the output.
5585 if sort "$nlist" | uniq > "$nlist"T; then
5586 mv -f "$nlist"T "$nlist"
5587 else
5588 rm -f "$nlist"T
5591 # Make sure that we snagged all the symbols we need.
5592 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5593 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5594 cat <<_LT_EOF > conftest.$ac_ext
5595 #ifdef __cplusplus
5596 extern "C" {
5597 #endif
5599 _LT_EOF
5600 # Now generate the symbol file.
5601 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5603 cat <<_LT_EOF >> conftest.$ac_ext
5605 /* The mapping between symbol names and symbols. */
5606 const struct {
5607 const char *name;
5608 void *address;
5610 lt__PROGRAM__LTX_preloaded_symbols[] =
5612 { "@PROGRAM@", (void *) 0 },
5613 _LT_EOF
5614 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5615 cat <<\_LT_EOF >> conftest.$ac_ext
5616 {0, (void *) 0}
5619 /* This works around a problem in FreeBSD linker */
5620 #ifdef FREEBSD_WORKAROUND
5621 static const void *lt_preloaded_setup() {
5622 return lt__PROGRAM__LTX_preloaded_symbols;
5624 #endif
5626 #ifdef __cplusplus
5628 #endif
5629 _LT_EOF
5630 # Now try linking the two files.
5631 mv conftest.$ac_objext conftstm.$ac_objext
5632 lt_save_LIBS="$LIBS"
5633 lt_save_CFLAGS="$CFLAGS"
5634 LIBS="conftstm.$ac_objext"
5635 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>&5
5638 ac_status=$?
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5641 pipe_works=yes
5643 LIBS="$lt_save_LIBS"
5644 CFLAGS="$lt_save_CFLAGS"
5645 else
5646 echo "cannot find nm_test_func in $nlist" >&5
5648 else
5649 echo "cannot find nm_test_var in $nlist" >&5
5651 else
5652 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5654 else
5655 echo "$progname: failed program was:" >&5
5656 cat conftest.$ac_ext >&5
5658 rm -rf conftest* conftst*
5660 # Do not use the global_symbol_pipe unless it works.
5661 if test "$pipe_works" = yes; then
5662 break
5663 else
5664 lt_cv_sys_global_symbol_pipe=
5666 done
5670 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5671 lt_cv_sys_global_symbol_to_cdecl=
5673 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5674 echo "$as_me:$LINENO: result: failed" >&5
5675 echo "${ECHO_T}failed" >&6
5676 else
5677 echo "$as_me:$LINENO: result: ok" >&5
5678 echo "${ECHO_T}ok" >&6
5702 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5703 if test "${enable_libtool_lock+set}" = set; then
5704 enableval="$enable_libtool_lock"
5707 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5709 # Some flags need to be propagated to the compiler or linker for good
5710 # libtool support.
5711 case $host in
5712 ia64-*-hpux*)
5713 # Find out which ABI we are using.
5714 echo 'int i;' > conftest.$ac_ext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5
5717 ac_status=$?
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; then
5720 case `/usr/bin/file conftest.$ac_objext` in
5721 *ELF-32*)
5722 HPUX_IA64_MODE="32"
5724 *ELF-64*)
5725 HPUX_IA64_MODE="64"
5727 esac
5729 rm -rf conftest*
5731 *-*-irix6*)
5732 # Find out which ABI we are using.
5733 echo '#line 5733 "configure"' > conftest.$ac_ext
5734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735 (eval $ac_compile) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; then
5739 if test "$lt_cv_prog_gnu_ld" = yes; then
5740 case `/usr/bin/file conftest.$ac_objext` in
5741 *32-bit*)
5742 LD="${LD-ld} -melf32bsmip"
5744 *N32*)
5745 LD="${LD-ld} -melf32bmipn32"
5747 *64-bit*)
5748 LD="${LD-ld} -melf64bmip"
5750 esac
5751 else
5752 case `/usr/bin/file conftest.$ac_objext` in
5753 *32-bit*)
5754 LD="${LD-ld} -32"
5756 *N32*)
5757 LD="${LD-ld} -n32"
5759 *64-bit*)
5760 LD="${LD-ld} -64"
5762 esac
5765 rm -rf conftest*
5768 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5769 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5770 # Find out which ABI we are using.
5771 echo 'int i;' > conftest.$ac_ext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5773 (eval $ac_compile) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; then
5777 case `/usr/bin/file conftest.o` in
5778 *32-bit*)
5779 case $host in
5780 x86_64-*kfreebsd*-gnu)
5781 LD="${LD-ld} -m elf_i386_fbsd"
5783 x86_64-*linux*)
5784 LD="${LD-ld} -m elf_i386"
5786 ppc64-*linux*|powerpc64-*linux*)
5787 LD="${LD-ld} -m elf32ppclinux"
5789 s390x-*linux*)
5790 LD="${LD-ld} -m elf_s390"
5792 sparc64-*linux*)
5793 LD="${LD-ld} -m elf32_sparc"
5795 esac
5797 *64-bit*)
5798 case $host in
5799 x86_64-*kfreebsd*-gnu)
5800 LD="${LD-ld} -m elf_x86_64_fbsd"
5802 x86_64-*linux*)
5803 LD="${LD-ld} -m elf_x86_64"
5805 ppc*-*linux*|powerpc*-*linux*)
5806 LD="${LD-ld} -m elf64ppc"
5808 s390*-*linux*|s390*-*tpf*)
5809 LD="${LD-ld} -m elf64_s390"
5811 sparc*-*linux*)
5812 LD="${LD-ld} -m elf64_sparc"
5814 esac
5816 esac
5818 rm -rf conftest*
5821 *-*-sco3.2v5*)
5822 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5823 SAVE_CFLAGS="$CFLAGS"
5824 CFLAGS="$CFLAGS -belf"
5825 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5826 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5827 if test "${lt_cv_cc_needs_belf+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 else
5830 ac_ext=c
5831 ac_cpp='$CPP $CPPFLAGS'
5832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5836 if test x$gcc_no_link = xyes; then
5837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5839 { (exit 1); exit 1; }; }
5841 cat >conftest.$ac_ext <<_ACEOF
5842 /* confdefs.h. */
5843 _ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5849 main ()
5853 return 0;
5855 _ACEOF
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>conftest.er1
5859 ac_status=$?
5860 grep -v '^ *+' conftest.er1 >conftest.err
5861 rm -f conftest.er1
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try='test -z "$ac_c_werror_flag"
5866 || test ! -s conftest.err'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; } &&
5872 { ac_try='test -s conftest$ac_exeext'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; }; then
5878 lt_cv_cc_needs_belf=yes
5879 else
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5883 lt_cv_cc_needs_belf=no
5885 rm -f conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5887 ac_ext=c
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5894 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5895 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5896 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5898 CFLAGS="$SAVE_CFLAGS"
5901 sparc*-*solaris*)
5902 # Find out which ABI we are using.
5903 echo 'int i;' > conftest.$ac_ext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5905 (eval $ac_compile) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; then
5909 case `/usr/bin/file conftest.o` in
5910 *64-bit*)
5911 case $lt_cv_prog_gnu_ld in
5912 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5914 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5915 LD="${LD-ld} -64"
5918 esac
5920 esac
5922 rm -rf conftest*
5924 esac
5926 need_locks="$enable_libtool_lock"
5929 case $host_os in
5930 rhapsody* | darwin*)
5931 if test -n "$ac_tool_prefix"; then
5932 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5933 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5934 echo "$as_me:$LINENO: checking for $ac_word" >&5
5935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5936 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 if test -n "$DSYMUTIL"; then
5940 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5958 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5959 if test -n "$DSYMUTIL"; then
5960 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5961 echo "${ECHO_T}$DSYMUTIL" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5968 if test -z "$ac_cv_prog_DSYMUTIL"; then
5969 ac_ct_DSYMUTIL=$DSYMUTIL
5970 # Extract the first word of "dsymutil", so it can be a program name with args.
5971 set dummy dsymutil; ac_word=$2
5972 echo "$as_me:$LINENO: checking for $ac_word" >&5
5973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5974 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 else
5977 if test -n "$ac_ct_DSYMUTIL"; then
5978 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5994 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5997 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5998 if test -n "$ac_ct_DSYMUTIL"; then
5999 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6000 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6006 DSYMUTIL=$ac_ct_DSYMUTIL
6007 else
6008 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6014 echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6016 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 else
6019 if test -n "$NMEDIT"; then
6020 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6038 NMEDIT=$ac_cv_prog_NMEDIT
6039 if test -n "$NMEDIT"; then
6040 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6041 echo "${ECHO_T}$NMEDIT" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6048 if test -z "$ac_cv_prog_NMEDIT"; then
6049 ac_ct_NMEDIT=$NMEDIT
6050 # Extract the first word of "nmedit", so it can be a program name with args.
6051 set dummy nmedit; ac_word=$2
6052 echo "$as_me:$LINENO: checking for $ac_word" >&5
6053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6054 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 else
6057 if test -n "$ac_ct_NMEDIT"; then
6058 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6074 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6077 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6078 if test -n "$ac_ct_NMEDIT"; then
6079 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6080 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6081 else
6082 echo "$as_me:$LINENO: result: no" >&5
6083 echo "${ECHO_T}no" >&6
6086 NMEDIT=$ac_ct_NMEDIT
6087 else
6088 NMEDIT="$ac_cv_prog_NMEDIT"
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6094 echo "$as_me:$LINENO: checking for $ac_word" >&5
6095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6096 if test "${ac_cv_prog_LIPO+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 else
6099 if test -n "$LIPO"; then
6100 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6118 LIPO=$ac_cv_prog_LIPO
6119 if test -n "$LIPO"; then
6120 echo "$as_me:$LINENO: result: $LIPO" >&5
6121 echo "${ECHO_T}$LIPO" >&6
6122 else
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6128 if test -z "$ac_cv_prog_LIPO"; then
6129 ac_ct_LIPO=$LIPO
6130 # Extract the first word of "lipo", so it can be a program name with args.
6131 set dummy lipo; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 else
6137 if test -n "$ac_ct_LIPO"; then
6138 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ac_ct_LIPO="lipo"
6148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 break 2
6151 done
6152 done
6154 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6157 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6158 if test -n "$ac_ct_LIPO"; then
6159 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6160 echo "${ECHO_T}$ac_ct_LIPO" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6166 LIPO=$ac_ct_LIPO
6167 else
6168 LIPO="$ac_cv_prog_LIPO"
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}otool; ac_word=$2
6174 echo "$as_me:$LINENO: checking for $ac_word" >&5
6175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6176 if test "${ac_cv_prog_OTOOL+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 else
6179 if test -n "$OTOOL"; then
6180 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6193 done
6194 done
6198 OTOOL=$ac_cv_prog_OTOOL
6199 if test -n "$OTOOL"; then
6200 echo "$as_me:$LINENO: result: $OTOOL" >&5
6201 echo "${ECHO_T}$OTOOL" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6208 if test -z "$ac_cv_prog_OTOOL"; then
6209 ac_ct_OTOOL=$OTOOL
6210 # Extract the first word of "otool", so it can be a program name with args.
6211 set dummy otool; ac_word=$2
6212 echo "$as_me:$LINENO: checking for $ac_word" >&5
6213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6214 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 if test -n "$ac_ct_OTOOL"; then
6218 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_OTOOL="otool"
6228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6234 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6237 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6238 if test -n "$ac_ct_OTOOL"; then
6239 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6240 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6241 else
6242 echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6
6246 OTOOL=$ac_ct_OTOOL
6247 else
6248 OTOOL="$ac_cv_prog_OTOOL"
6251 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6254 echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6256 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$OTOOL64"; then
6260 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6278 OTOOL64=$ac_cv_prog_OTOOL64
6279 if test -n "$OTOOL64"; then
6280 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6281 echo "${ECHO_T}$OTOOL64" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6288 if test -z "$ac_cv_prog_OTOOL64"; then
6289 ac_ct_OTOOL64=$OTOOL64
6290 # Extract the first word of "otool64", so it can be a program name with args.
6291 set dummy otool64; ac_word=$2
6292 echo "$as_me:$LINENO: checking for $ac_word" >&5
6293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6294 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 else
6297 if test -n "$ac_ct_OTOOL64"; then
6298 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_ac_ct_OTOOL64="otool64"
6308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6311 done
6312 done
6314 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6317 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6318 if test -n "$ac_ct_OTOOL64"; then
6319 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6320 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6321 else
6322 echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6
6326 OTOOL64=$ac_ct_OTOOL64
6327 else
6328 OTOOL64="$ac_cv_prog_OTOOL64"
6357 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6358 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6359 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 lt_cv_apple_cc_single_mod=no
6363 if test -z "${LT_MULTI_MODULE}"; then
6364 # By default we will add the -single_module flag. You can override
6365 # by either setting the environment variable LT_MULTI_MODULE
6366 # non-empty at configure time, or by adding -multi_module to the
6367 # link flags.
6368 rm -rf libconftest.dylib*
6369 echo "int foo(void){return 1;}" > conftest.c
6370 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6371 -dynamiclib -Wl,-single_module conftest.c" >&5
6372 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6373 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6374 _lt_result=$?
6375 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6376 lt_cv_apple_cc_single_mod=yes
6377 else
6378 cat conftest.err >&5
6380 rm -rf libconftest.dylib*
6381 rm -f conftest.*
6384 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6385 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6386 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6387 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6388 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391 lt_cv_ld_exported_symbols_list=no
6392 save_LDFLAGS=$LDFLAGS
6393 echo "_main" > conftest.sym
6394 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6395 if test x$gcc_no_link = xyes; then
6396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6398 { (exit 1); exit 1; }; }
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6408 main ()
6412 return 0;
6414 _ACEOF
6415 rm -f conftest.$ac_objext conftest$ac_exeext
6416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6417 (eval $ac_link) 2>conftest.er1
6418 ac_status=$?
6419 grep -v '^ *+' conftest.er1 >conftest.err
6420 rm -f conftest.er1
6421 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try='test -z "$ac_c_werror_flag"
6425 || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try='test -s conftest$ac_exeext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 lt_cv_ld_exported_symbols_list=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 lt_cv_ld_exported_symbols_list=no
6444 rm -f conftest.err conftest.$ac_objext \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LDFLAGS="$save_LDFLAGS"
6449 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6450 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6451 case $host_os in
6452 rhapsody* | darwin1.[012])
6453 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6454 darwin1.*)
6455 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6456 darwin*) # darwin 5.x on
6457 # if running on 10.5 or later, the deployment target defaults
6458 # to the OS version, if on x86, and 10.4, the deployment
6459 # target defaults to 10.4. Don't you love it?
6460 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6461 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6462 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6463 10.[012]*)
6464 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6465 10.*)
6466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6467 esac
6469 esac
6470 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6471 _lt_dar_single_mod='$single_module'
6473 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6474 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6475 else
6476 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6478 if test "$DSYMUTIL" != ":"; then
6479 _lt_dsymutil='~$DSYMUTIL $lib || :'
6480 else
6481 _lt_dsymutil=
6484 esac
6486 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6487 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6488 if test "${ac_cv_header_stdc+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491 cat >conftest.$ac_ext <<_ACEOF
6492 /* confdefs.h. */
6493 _ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 #include <stdlib.h>
6498 #include <stdarg.h>
6499 #include <string.h>
6500 #include <float.h>
6503 main ()
6507 return 0;
6509 _ACEOF
6510 rm -f conftest.$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6513 ac_status=$?
6514 grep -v '^ *+' conftest.er1 >conftest.err
6515 rm -f conftest.er1
6516 cat conftest.err >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try='test -z "$ac_c_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6532 ac_cv_header_stdc=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541 if test $ac_cv_header_stdc = yes; then
6542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6543 cat >conftest.$ac_ext <<_ACEOF
6544 /* confdefs.h. */
6545 _ACEOF
6546 cat confdefs.h >>conftest.$ac_ext
6547 cat >>conftest.$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6549 #include <string.h>
6551 _ACEOF
6552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6553 $EGREP "memchr" >/dev/null 2>&1; then
6555 else
6556 ac_cv_header_stdc=no
6558 rm -f conftest*
6562 if test $ac_cv_header_stdc = yes; then
6563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6564 cat >conftest.$ac_ext <<_ACEOF
6565 /* confdefs.h. */
6566 _ACEOF
6567 cat confdefs.h >>conftest.$ac_ext
6568 cat >>conftest.$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6572 _ACEOF
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "free" >/dev/null 2>&1; then
6576 else
6577 ac_cv_header_stdc=no
6579 rm -f conftest*
6583 if test $ac_cv_header_stdc = yes; then
6584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6585 if test "$cross_compiling" = yes; then
6587 else
6588 cat >conftest.$ac_ext <<_ACEOF
6589 /* confdefs.h. */
6590 _ACEOF
6591 cat confdefs.h >>conftest.$ac_ext
6592 cat >>conftest.$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6594 #include <ctype.h>
6595 #if ((' ' & 0x0FF) == 0x020)
6596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6598 #else
6599 # define ISLOWER(c) \
6600 (('a' <= (c) && (c) <= 'i') \
6601 || ('j' <= (c) && (c) <= 'r') \
6602 || ('s' <= (c) && (c) <= 'z'))
6603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6604 #endif
6606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6608 main ()
6610 int i;
6611 for (i = 0; i < 256; i++)
6612 if (XOR (islower (i), ISLOWER (i))
6613 || toupper (i) != TOUPPER (i))
6614 exit(2);
6615 exit (0);
6617 _ACEOF
6618 rm -f conftest$ac_exeext
6619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6620 (eval $ac_link) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 (eval $ac_try) 2>&5
6626 ac_status=$?
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6630 else
6631 echo "$as_me: program exited with status $ac_status" >&5
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 ( exit $ac_status )
6636 ac_cv_header_stdc=no
6638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6644 if test $ac_cv_header_stdc = yes; then
6646 cat >>confdefs.h <<\_ACEOF
6647 #define STDC_HEADERS 1
6648 _ACEOF
6652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6663 inttypes.h stdint.h unistd.h
6665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 echo "$as_me:$LINENO: checking for $ac_header" >&5
6667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 else
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h. */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 $ac_includes_default
6679 #include <$ac_header>
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 eval "$as_ac_Header=yes"
6704 else
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 eval "$as_ac_Header=no"
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6715 cat >>confdefs.h <<_ACEOF
6716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 _ACEOF
6721 done
6725 for ac_header in dlfcn.h
6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 echo "$as_me:$LINENO: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 else
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 $ac_includes_default
6741 #include <$ac_header>
6742 _ACEOF
6743 rm -f conftest.$ac_objext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6745 (eval $ac_compile) 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try='test -z "$ac_c_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try='test -s conftest.$ac_objext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6765 eval "$as_ac_Header=yes"
6766 else
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6770 eval "$as_ac_Header=no"
6772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6777 cat >>confdefs.h <<_ACEOF
6778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 _ACEOF
6783 done
6787 ac_ext=cc
6788 ac_cpp='$CXXCPP $CPPFLAGS'
6789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6792 if test -n "$ac_tool_prefix"; then
6793 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6797 echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6799 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 else
6802 if test -n "$CXX"; then
6803 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6816 done
6817 done
6821 CXX=$glibcxx_cv_prog_CXX
6822 if test -n "$CXX"; then
6823 echo "$as_me:$LINENO: result: $CXX" >&5
6824 echo "${ECHO_T}$CXX" >&6
6825 else
6826 echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6
6830 test -n "$CXX" && break
6831 done
6833 if test -z "$CXX"; then
6834 ac_ct_CXX=$CXX
6835 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy $ac_prog; ac_word=$2
6839 echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 if test -n "$ac_ct_CXX"; then
6845 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6850 IFS=$as_save_IFS
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_CXX="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6863 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6864 if test -n "$ac_ct_CXX"; then
6865 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6866 echo "${ECHO_T}$ac_ct_CXX" >&6
6867 else
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6872 test -n "$ac_ct_CXX" && break
6873 done
6874 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6876 CXX=$ac_ct_CXX
6880 # Provide some information about the compiler.
6881 echo "$as_me:$LINENO:" \
6882 "checking for C++ compiler version" >&5
6883 ac_compiler=`set X $ac_compile; echo $2`
6884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6885 (eval $ac_compiler --version </dev/null >&5) 2>&5
6886 ac_status=$?
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }
6889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6890 (eval $ac_compiler -v </dev/null >&5) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }
6894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6895 (eval $ac_compiler -V </dev/null >&5) 2>&5
6896 ac_status=$?
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); }
6900 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6901 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6902 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 else
6905 cat >conftest.$ac_ext <<_ACEOF
6906 /* confdefs.h. */
6907 _ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6913 main ()
6915 #ifndef __GNUC__
6916 choke me
6917 #endif
6920 return 0;
6922 _ACEOF
6923 rm -f conftest.$ac_objext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6925 (eval $ac_compile) 2>conftest.er1
6926 ac_status=$?
6927 grep -v '^ *+' conftest.er1 >conftest.err
6928 rm -f conftest.er1
6929 cat conftest.err >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } &&
6932 { ac_try='test -z "$ac_cxx_werror_flag"
6933 || test ! -s conftest.err'
6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 (eval $ac_try) 2>&5
6936 ac_status=$?
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; } &&
6939 { ac_try='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 (eval $ac_try) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_compiler_gnu=yes
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 ac_compiler_gnu=no
6952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6953 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6956 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6957 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6958 GXX=`test $ac_compiler_gnu = yes && echo yes`
6959 ac_test_CXXFLAGS=${CXXFLAGS+set}
6960 ac_save_CXXFLAGS=$CXXFLAGS
6961 CXXFLAGS="-g"
6962 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6964 if test "${ac_cv_prog_cxx_g+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967 cat >conftest.$ac_ext <<_ACEOF
6968 /* confdefs.h. */
6969 _ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6975 main ()
6979 return 0;
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6984 (eval $ac_compile) 2>conftest.er1
6985 ac_status=$?
6986 grep -v '^ *+' conftest.er1 >conftest.err
6987 rm -f conftest.er1
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_cxx_werror_flag"
6992 || test ! -s conftest.err'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; } &&
6998 { ac_try='test -s conftest.$ac_objext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_prog_cxx_g=yes
7005 else
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7009 ac_cv_prog_cxx_g=no
7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7014 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7015 if test "$ac_test_CXXFLAGS" = set; then
7016 CXXFLAGS=$ac_save_CXXFLAGS
7017 elif test $ac_cv_prog_cxx_g = yes; then
7018 if test "$GXX" = yes; then
7019 CXXFLAGS="-g -O2"
7020 else
7021 CXXFLAGS="-g"
7023 else
7024 if test "$GXX" = yes; then
7025 CXXFLAGS="-O2"
7026 else
7027 CXXFLAGS=
7030 for ac_declaration in \
7031 '' \
7032 'extern "C" void std::exit (int) throw (); using std::exit;' \
7033 'extern "C" void std::exit (int); using std::exit;' \
7034 'extern "C" void exit (int) throw ();' \
7035 'extern "C" void exit (int);' \
7036 'void exit (int);'
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 $ac_declaration
7045 #include <stdlib.h>
7047 main ()
7049 exit (42);
7051 return 0;
7053 _ACEOF
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7057 ac_status=$?
7058 grep -v '^ *+' conftest.er1 >conftest.err
7059 rm -f conftest.er1
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_cxx_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 (eval $ac_try) 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 continue
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 $ac_declaration
7092 main ()
7094 exit (42);
7096 return 0;
7098 _ACEOF
7099 rm -f conftest.$ac_objext
7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7101 (eval $ac_compile) 2>conftest.er1
7102 ac_status=$?
7103 grep -v '^ *+' conftest.er1 >conftest.err
7104 rm -f conftest.er1
7105 cat conftest.err >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); } &&
7108 { ac_try='test -z "$ac_cxx_werror_flag"
7109 || test ! -s conftest.err'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 (eval $ac_try) 2>&5
7112 ac_status=$?
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; } &&
7115 { ac_try='test -s conftest.$ac_objext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 (eval $ac_try) 2>&5
7118 ac_status=$?
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 break
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7128 done
7129 rm -f conftest*
7130 if test -n "$ac_declaration"; then
7131 echo '#ifdef __cplusplus' >>confdefs.h
7132 echo $ac_declaration >>confdefs.h
7133 echo '#endif' >>confdefs.h
7136 ac_ext=c
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7143 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7144 (test "X$CXX" != "Xg++"))) ; then
7145 ac_ext=cc
7146 ac_cpp='$CXXCPP $CPPFLAGS'
7147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7150 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7151 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7152 if test -z "$CXXCPP"; then
7153 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else
7156 # Double quotes because CXXCPP needs to be expanded
7157 for CXXCPP in "$CXX -E" "/lib/cpp"
7159 ac_preproc_ok=false
7160 for ac_cxx_preproc_warn_flag in '' yes
7162 # Use a header file that comes with gcc, so configuring glibc
7163 # with a fresh cross-compiler works.
7164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7165 # <limits.h> exists even on freestanding compilers.
7166 # On the NeXT, cc -E runs the code through the compiler's parser,
7167 # not just through cpp. "Syntax error" is here to catch this case.
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179 Syntax error
7180 _ACEOF
7181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } >/dev/null; then
7189 if test -s conftest.err; then
7190 ac_cpp_err=$ac_cxx_preproc_warn_flag
7191 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7192 else
7193 ac_cpp_err=
7195 else
7196 ac_cpp_err=yes
7198 if test -z "$ac_cpp_err"; then
7200 else
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7204 # Broken: fails on valid input.
7205 continue
7207 rm -f conftest.err conftest.$ac_ext
7209 # OK, works on sane cases. Now check whether non-existent headers
7210 # can be detected and how.
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7217 #include <ac_nonexistent.h>
7218 _ACEOF
7219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7221 ac_status=$?
7222 grep -v '^ *+' conftest.er1 >conftest.err
7223 rm -f conftest.er1
7224 cat conftest.err >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } >/dev/null; then
7227 if test -s conftest.err; then
7228 ac_cpp_err=$ac_cxx_preproc_warn_flag
7229 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7230 else
7231 ac_cpp_err=
7233 else
7234 ac_cpp_err=yes
7236 if test -z "$ac_cpp_err"; then
7237 # Broken: success on invalid input.
7238 continue
7239 else
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.$ac_ext >&5
7243 # Passes both tests.
7244 ac_preproc_ok=:
7245 break
7247 rm -f conftest.err conftest.$ac_ext
7249 done
7250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7251 rm -f conftest.err conftest.$ac_ext
7252 if $ac_preproc_ok; then
7253 break
7256 done
7257 ac_cv_prog_CXXCPP=$CXXCPP
7260 CXXCPP=$ac_cv_prog_CXXCPP
7261 else
7262 ac_cv_prog_CXXCPP=$CXXCPP
7264 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7265 echo "${ECHO_T}$CXXCPP" >&6
7266 ac_preproc_ok=false
7267 for ac_cxx_preproc_warn_flag in '' yes
7269 # Use a header file that comes with gcc, so configuring glibc
7270 # with a fresh cross-compiler works.
7271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7272 # <limits.h> exists even on freestanding compilers.
7273 # On the NeXT, cc -E runs the code through the compiler's parser,
7274 # not just through cpp. "Syntax error" is here to catch this case.
7275 cat >conftest.$ac_ext <<_ACEOF
7276 /* confdefs.h. */
7277 _ACEOF
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 #ifdef __STDC__
7282 # include <limits.h>
7283 #else
7284 # include <assert.h>
7285 #endif
7286 Syntax error
7287 _ACEOF
7288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } >/dev/null; then
7296 if test -s conftest.err; then
7297 ac_cpp_err=$ac_cxx_preproc_warn_flag
7298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7299 else
7300 ac_cpp_err=
7302 else
7303 ac_cpp_err=yes
7305 if test -z "$ac_cpp_err"; then
7307 else
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7311 # Broken: fails on valid input.
7312 continue
7314 rm -f conftest.err conftest.$ac_ext
7316 # OK, works on sane cases. Now check whether non-existent headers
7317 # can be detected and how.
7318 cat >conftest.$ac_ext <<_ACEOF
7319 /* confdefs.h. */
7320 _ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <ac_nonexistent.h>
7325 _ACEOF
7326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7328 ac_status=$?
7329 grep -v '^ *+' conftest.er1 >conftest.err
7330 rm -f conftest.er1
7331 cat conftest.err >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } >/dev/null; then
7334 if test -s conftest.err; then
7335 ac_cpp_err=$ac_cxx_preproc_warn_flag
7336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7337 else
7338 ac_cpp_err=
7340 else
7341 ac_cpp_err=yes
7343 if test -z "$ac_cpp_err"; then
7344 # Broken: success on invalid input.
7345 continue
7346 else
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7350 # Passes both tests.
7351 ac_preproc_ok=:
7352 break
7354 rm -f conftest.err conftest.$ac_ext
7356 done
7357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7358 rm -f conftest.err conftest.$ac_ext
7359 if $ac_preproc_ok; then
7361 else
7362 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7364 _lt_caught_CXX_error=yes; }
7367 ac_ext=c
7368 ac_cpp='$CPP $CPPFLAGS'
7369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373 else
7374 _lt_caught_CXX_error=yes
7381 # Set options
7386 enable_win32_dll=no
7389 # Check whether --enable-shared or --disable-shared was given.
7390 if test "${enable_shared+set}" = set; then
7391 enableval="$enable_shared"
7392 p=${PACKAGE-default}
7393 case $enableval in
7394 yes) enable_shared=yes ;;
7395 no) enable_shared=no ;;
7397 enable_shared=no
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7400 for pkg in $enableval; do
7401 IFS="$lt_save_ifs"
7402 if test "X$pkg" = "X$p"; then
7403 enable_shared=yes
7405 done
7406 IFS="$lt_save_ifs"
7408 esac
7409 else
7410 enable_shared=yes
7420 # Check whether --enable-static or --disable-static was given.
7421 if test "${enable_static+set}" = set; then
7422 enableval="$enable_static"
7423 p=${PACKAGE-default}
7424 case $enableval in
7425 yes) enable_static=yes ;;
7426 no) enable_static=no ;;
7428 enable_static=no
7429 # Look at the argument we got. We use all the common list separators.
7430 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7431 for pkg in $enableval; do
7432 IFS="$lt_save_ifs"
7433 if test "X$pkg" = "X$p"; then
7434 enable_static=yes
7436 done
7437 IFS="$lt_save_ifs"
7439 esac
7440 else
7441 enable_static=yes
7452 # Check whether --with-pic or --without-pic was given.
7453 if test "${with_pic+set}" = set; then
7454 withval="$with_pic"
7455 pic_mode="$withval"
7456 else
7457 pic_mode=default
7460 test -z "$pic_mode" && pic_mode=default
7468 # Check whether --enable-fast-install or --disable-fast-install was given.
7469 if test "${enable_fast_install+set}" = set; then
7470 enableval="$enable_fast_install"
7471 p=${PACKAGE-default}
7472 case $enableval in
7473 yes) enable_fast_install=yes ;;
7474 no) enable_fast_install=no ;;
7476 enable_fast_install=no
7477 # Look at the argument we got. We use all the common list separators.
7478 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479 for pkg in $enableval; do
7480 IFS="$lt_save_ifs"
7481 if test "X$pkg" = "X$p"; then
7482 enable_fast_install=yes
7484 done
7485 IFS="$lt_save_ifs"
7487 esac
7488 else
7489 enable_fast_install=yes
7501 # This can be used to rebuild libtool when needed
7502 LIBTOOL_DEPS="$ltmain"
7504 # Always use our own libtool.
7505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7531 test -z "$LN_S" && LN_S="ln -s"
7546 if test -n "${ZSH_VERSION+set}" ; then
7547 setopt NO_GLOB_SUBST
7550 echo "$as_me:$LINENO: checking for objdir" >&5
7551 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7552 if test "${lt_cv_objdir+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 else
7555 rm -f .libs 2>/dev/null
7556 mkdir .libs 2>/dev/null
7557 if test -d .libs; then
7558 lt_cv_objdir=.libs
7559 else
7560 # MS-DOS does not allow filenames that begin with a dot.
7561 lt_cv_objdir=_libs
7563 rmdir .libs 2>/dev/null
7565 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7566 echo "${ECHO_T}$lt_cv_objdir" >&6
7567 objdir=$lt_cv_objdir
7573 cat >>confdefs.h <<_ACEOF
7574 #define LT_OBJDIR "$lt_cv_objdir/"
7575 _ACEOF
7593 case $host_os in
7594 aix3*)
7595 # AIX sometimes has problems with the GCC collect2 program. For some
7596 # reason, if we set the COLLECT_NAMES environment variable, the problems
7597 # vanish in a puff of smoke.
7598 if test "X${COLLECT_NAMES+set}" != Xset; then
7599 COLLECT_NAMES=
7600 export COLLECT_NAMES
7603 esac
7605 # Sed substitution that helps us do robust quoting. It backslashifies
7606 # metacharacters that are still active within double-quoted strings.
7607 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7609 # Same as above, but do not quote variable references.
7610 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7612 # Sed substitution to delay expansion of an escaped shell variable in a
7613 # double_quote_subst'ed string.
7614 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7616 # Sed substitution to delay expansion of an escaped single quote.
7617 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7619 # Sed substitution to avoid accidental globbing in evaled expressions
7620 no_glob_subst='s/\*/\\\*/g'
7622 # Global variables:
7623 ofile=libtool
7624 can_build_shared=yes
7626 # All known linkers require a `.a' archive for static linking (except MSVC,
7627 # which needs '.lib').
7628 libext=a
7630 with_gnu_ld="$lt_cv_prog_gnu_ld"
7632 old_CC="$CC"
7633 old_CFLAGS="$CFLAGS"
7635 # Set sane defaults for various variables
7636 test -z "$CC" && CC=cc
7637 test -z "$LTCC" && LTCC=$CC
7638 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7639 test -z "$LD" && LD=ld
7640 test -z "$ac_objext" && ac_objext=o
7642 for cc_temp in $compiler""; do
7643 case $cc_temp in
7644 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7645 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7646 \-*) ;;
7647 *) break;;
7648 esac
7649 done
7650 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7653 # Only perform the check for file, if the check method requires it
7654 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7655 case $deplibs_check_method in
7656 file_magic*)
7657 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7658 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7659 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7660 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 else
7663 case $MAGIC_CMD in
7664 [\\/*] | ?:[\\/]*)
7665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7668 lt_save_MAGIC_CMD="$MAGIC_CMD"
7669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7670 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7671 for ac_dir in $ac_dummy; do
7672 IFS="$lt_save_ifs"
7673 test -z "$ac_dir" && ac_dir=.
7674 if test -f $ac_dir/${ac_tool_prefix}file; then
7675 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7676 if test -n "$file_magic_test_file"; then
7677 case $deplibs_check_method in
7678 "file_magic "*)
7679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7682 $EGREP "$file_magic_regex" > /dev/null; then
7684 else
7685 cat <<_LT_EOF 1>&2
7687 *** Warning: the command libtool uses to detect shared libraries,
7688 *** $file_magic_cmd, produces output that libtool cannot recognize.
7689 *** The result is that libtool may fail to recognize shared libraries
7690 *** as such. This will affect the creation of libtool libraries that
7691 *** depend on shared libraries, but programs linked with such libtool
7692 *** libraries will work regardless of this problem. Nevertheless, you
7693 *** may want to report the problem to your system manager and/or to
7694 *** bug-libtool@gnu.org
7696 _LT_EOF
7697 fi ;;
7698 esac
7700 break
7702 done
7703 IFS="$lt_save_ifs"
7704 MAGIC_CMD="$lt_save_MAGIC_CMD"
7706 esac
7709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7710 if test -n "$MAGIC_CMD"; then
7711 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7712 echo "${ECHO_T}$MAGIC_CMD" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7722 if test -z "$lt_cv_path_MAGIC_CMD"; then
7723 if test -n "$ac_tool_prefix"; then
7724 echo "$as_me:$LINENO: checking for file" >&5
7725 echo $ECHO_N "checking for file... $ECHO_C" >&6
7726 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 else
7729 case $MAGIC_CMD in
7730 [\\/*] | ?:[\\/]*)
7731 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7734 lt_save_MAGIC_CMD="$MAGIC_CMD"
7735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7736 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7737 for ac_dir in $ac_dummy; do
7738 IFS="$lt_save_ifs"
7739 test -z "$ac_dir" && ac_dir=.
7740 if test -f $ac_dir/file; then
7741 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7742 if test -n "$file_magic_test_file"; then
7743 case $deplibs_check_method in
7744 "file_magic "*)
7745 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7746 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7747 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7748 $EGREP "$file_magic_regex" > /dev/null; then
7750 else
7751 cat <<_LT_EOF 1>&2
7753 *** Warning: the command libtool uses to detect shared libraries,
7754 *** $file_magic_cmd, produces output that libtool cannot recognize.
7755 *** The result is that libtool may fail to recognize shared libraries
7756 *** as such. This will affect the creation of libtool libraries that
7757 *** depend on shared libraries, but programs linked with such libtool
7758 *** libraries will work regardless of this problem. Nevertheless, you
7759 *** may want to report the problem to your system manager and/or to
7760 *** bug-libtool@gnu.org
7762 _LT_EOF
7763 fi ;;
7764 esac
7766 break
7768 done
7769 IFS="$lt_save_ifs"
7770 MAGIC_CMD="$lt_save_MAGIC_CMD"
7772 esac
7775 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7776 if test -n "$MAGIC_CMD"; then
7777 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7778 echo "${ECHO_T}$MAGIC_CMD" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7785 else
7786 MAGIC_CMD=:
7792 esac
7794 # Use C for the default configuration in the libtool script
7796 lt_save_CC="$CC"
7797 ac_ext=c
7798 ac_cpp='$CPP $CPPFLAGS'
7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7804 # Source file extension for C test sources.
7805 ac_ext=c
7807 # Object file extension for compiled C test sources.
7808 objext=o
7809 objext=$objext
7811 # Code to be used in simple compile tests
7812 lt_simple_compile_test_code="int some_variable = 0;"
7814 # Code to be used in simple link tests
7815 lt_simple_link_test_code='int main(){return(0);}'
7823 # If no C compiler was specified, use CC.
7824 LTCC=${LTCC-"$CC"}
7826 # If no C compiler flags were specified, use CFLAGS.
7827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7829 # Allow CC to be a program name with arguments.
7830 compiler=$CC
7832 # Save the default compiler, since it gets overwritten when the other
7833 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7834 compiler_DEFAULT=$CC
7836 # save warnings/boilerplate of simple test code
7837 ac_outfile=conftest.$ac_objext
7838 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7839 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7840 _lt_compiler_boilerplate=`cat conftest.err`
7841 $RM conftest*
7843 ac_outfile=conftest.$ac_objext
7844 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7845 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7846 _lt_linker_boilerplate=`cat conftest.err`
7847 $RM -r conftest*
7850 ## CAVEAT EMPTOR:
7851 ## There is no encapsulation within the following macros, do not change
7852 ## the running order or otherwise move them around unless you know exactly
7853 ## what you are doing...
7854 if test -n "$compiler"; then
7856 lt_prog_compiler_no_builtin_flag=
7858 if test "$GCC" = yes; then
7859 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7861 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7862 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7863 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 lt_cv_prog_compiler_rtti_exceptions=no
7867 ac_outfile=conftest.$ac_objext
7868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7869 lt_compiler_flag="-fno-rtti -fno-exceptions"
7870 # Insert the option either (1) after the last *FLAGS variable, or
7871 # (2) before a word containing "conftest.", or (3) at the end.
7872 # Note that $ac_compile itself does not contain backslashes and begins
7873 # with a dollar sign (not a hyphen), so the echo should work correctly.
7874 # The option is referenced via a variable to avoid confusing sed.
7875 lt_compile=`echo "$ac_compile" | $SED \
7876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7878 -e 's:$: $lt_compiler_flag:'`
7879 (eval echo "\"\$as_me:7879: $lt_compile\"" >&5)
7880 (eval "$lt_compile" 2>conftest.err)
7881 ac_status=$?
7882 cat conftest.err >&5
7883 echo "$as_me:7883: \$? = $ac_status" >&5
7884 if (exit $ac_status) && test -s "$ac_outfile"; then
7885 # The compiler can only warn and ignore the option if not recognized
7886 # So say no if there are warnings other than the usual output.
7887 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7888 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7889 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7890 lt_cv_prog_compiler_rtti_exceptions=yes
7893 $RM conftest*
7896 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7897 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7899 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7900 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7901 else
7912 lt_prog_compiler_wl=
7913 lt_prog_compiler_pic=
7914 lt_prog_compiler_static=
7916 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7917 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7919 if test "$GCC" = yes; then
7920 lt_prog_compiler_wl='-Wl,'
7921 lt_prog_compiler_static='-static'
7923 case $host_os in
7924 aix*)
7925 # All AIX code is PIC.
7926 if test "$host_cpu" = ia64; then
7927 # AIX 5 now supports IA64 processor
7928 lt_prog_compiler_static='-Bstatic'
7932 amigaos*)
7933 case $host_cpu in
7934 powerpc)
7935 # see comment about AmigaOS4 .so support
7936 lt_prog_compiler_pic='-fPIC'
7938 m68k)
7939 # FIXME: we need at least 68020 code to build shared libraries, but
7940 # adding the `-m68020' flag to GCC prevents building anything better,
7941 # like `-m68040'.
7942 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7944 esac
7947 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7948 # PIC is the default for these OSes.
7951 mingw* | cygwin* | pw32* | os2* | cegcc*)
7952 # This hack is so that the source file can tell whether it is being
7953 # built for inclusion in a dll (and should export symbols for example).
7954 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7955 # (--disable-auto-import) libraries
7956 lt_prog_compiler_pic='-DDLL_EXPORT'
7959 darwin* | rhapsody*)
7960 # PIC is the default on this platform
7961 # Common symbols not allowed in MH_DYLIB files
7962 lt_prog_compiler_pic='-fno-common'
7965 hpux*)
7966 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7967 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7968 # sets the default TLS model and affects inlining.
7969 case $host_cpu in
7970 hppa*64*)
7971 # +Z the default
7974 lt_prog_compiler_pic='-fPIC'
7976 esac
7979 interix[3-9]*)
7980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7981 # Instead, we relocate shared libraries at runtime.
7984 msdosdjgpp*)
7985 # Just because we use GCC doesn't mean we suddenly get shared libraries
7986 # on systems that don't support them.
7987 lt_prog_compiler_can_build_shared=no
7988 enable_shared=no
7991 *nto* | *qnx*)
7992 # QNX uses GNU C++, but need to define -shared option too, otherwise
7993 # it will coredump.
7994 lt_prog_compiler_pic='-fPIC -shared'
7997 sysv4*MP*)
7998 if test -d /usr/nec; then
7999 lt_prog_compiler_pic=-Kconform_pic
8004 lt_prog_compiler_pic='-fPIC'
8006 esac
8007 else
8008 # PORTME Check for flag to pass linker flags through the system compiler.
8009 case $host_os in
8010 aix*)
8011 lt_prog_compiler_wl='-Wl,'
8012 if test "$host_cpu" = ia64; then
8013 # AIX 5 now supports IA64 processor
8014 lt_prog_compiler_static='-Bstatic'
8015 else
8016 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8020 mingw* | cygwin* | pw32* | os2* | cegcc*)
8021 # This hack is so that the source file can tell whether it is being
8022 # built for inclusion in a dll (and should export symbols for example).
8023 lt_prog_compiler_pic='-DDLL_EXPORT'
8026 hpux9* | hpux10* | hpux11*)
8027 lt_prog_compiler_wl='-Wl,'
8028 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8029 # not for PA HP-UX.
8030 case $host_cpu in
8031 hppa*64*|ia64*)
8032 # +Z the default
8035 lt_prog_compiler_pic='+Z'
8037 esac
8038 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8039 lt_prog_compiler_static='${wl}-a ${wl}archive'
8042 irix5* | irix6* | nonstopux*)
8043 lt_prog_compiler_wl='-Wl,'
8044 # PIC (with -KPIC) is the default.
8045 lt_prog_compiler_static='-non_shared'
8048 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8049 case $cc_basename in
8050 # old Intel for x86_64 which still supported -KPIC.
8051 ecc*)
8052 lt_prog_compiler_wl='-Wl,'
8053 lt_prog_compiler_pic='-KPIC'
8054 lt_prog_compiler_static='-static'
8056 # icc used to be incompatible with GCC.
8057 # ICC 10 doesn't accept -KPIC any more.
8058 icc* | ifort*)
8059 lt_prog_compiler_wl='-Wl,'
8060 lt_prog_compiler_pic='-fPIC'
8061 lt_prog_compiler_static='-static'
8063 # Lahey Fortran 8.1.
8064 lf95*)
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='--shared'
8067 lt_prog_compiler_static='--static'
8069 pgcc* | pgf77* | pgf90* | pgf95*)
8070 # Portland Group compilers (*not* the Pentium gcc compiler,
8071 # which looks to be a dead project)
8072 lt_prog_compiler_wl='-Wl,'
8073 lt_prog_compiler_pic='-fpic'
8074 lt_prog_compiler_static='-Bstatic'
8076 ccc*)
8077 lt_prog_compiler_wl='-Wl,'
8078 # All Alpha code is PIC.
8079 lt_prog_compiler_static='-non_shared'
8081 xl*)
8082 # IBM XL C 8.0/Fortran 10.1 on PPC
8083 lt_prog_compiler_wl='-Wl,'
8084 lt_prog_compiler_pic='-qpic'
8085 lt_prog_compiler_static='-qstaticlink'
8088 case `$CC -V 2>&1 | sed 5q` in
8089 *Sun\ C*)
8090 # Sun C 5.9
8091 lt_prog_compiler_pic='-KPIC'
8092 lt_prog_compiler_static='-Bstatic'
8093 lt_prog_compiler_wl='-Wl,'
8095 *Sun\ F*)
8096 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8097 lt_prog_compiler_pic='-KPIC'
8098 lt_prog_compiler_static='-Bstatic'
8099 lt_prog_compiler_wl=''
8101 esac
8103 esac
8106 newsos6)
8107 lt_prog_compiler_pic='-KPIC'
8108 lt_prog_compiler_static='-Bstatic'
8111 *nto* | *qnx*)
8112 # QNX uses GNU C++, but need to define -shared option too, otherwise
8113 # it will coredump.
8114 lt_prog_compiler_pic='-fPIC -shared'
8117 osf3* | osf4* | osf5*)
8118 lt_prog_compiler_wl='-Wl,'
8119 # All OSF/1 code is PIC.
8120 lt_prog_compiler_static='-non_shared'
8123 rdos*)
8124 lt_prog_compiler_static='-non_shared'
8127 solaris*)
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-Bstatic'
8130 case $cc_basename in
8131 f77* | f90* | f95*)
8132 lt_prog_compiler_wl='-Qoption ld ';;
8134 lt_prog_compiler_wl='-Wl,';;
8135 esac
8138 sunos4*)
8139 lt_prog_compiler_wl='-Qoption ld '
8140 lt_prog_compiler_pic='-PIC'
8141 lt_prog_compiler_static='-Bstatic'
8144 sysv4 | sysv4.2uw2* | sysv4.3*)
8145 lt_prog_compiler_wl='-Wl,'
8146 lt_prog_compiler_pic='-KPIC'
8147 lt_prog_compiler_static='-Bstatic'
8150 sysv4*MP*)
8151 if test -d /usr/nec ;then
8152 lt_prog_compiler_pic='-Kconform_pic'
8153 lt_prog_compiler_static='-Bstatic'
8157 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8158 lt_prog_compiler_wl='-Wl,'
8159 lt_prog_compiler_pic='-KPIC'
8160 lt_prog_compiler_static='-Bstatic'
8163 unicos*)
8164 lt_prog_compiler_wl='-Wl,'
8165 lt_prog_compiler_can_build_shared=no
8168 uts4*)
8169 lt_prog_compiler_pic='-pic'
8170 lt_prog_compiler_static='-Bstatic'
8174 lt_prog_compiler_can_build_shared=no
8176 esac
8179 case $host_os in
8180 # For platforms which do not support PIC, -DPIC is meaningless:
8181 *djgpp*)
8182 lt_prog_compiler_pic=
8185 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8187 esac
8188 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8189 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8197 # Check to make sure the PIC flag actually works.
8199 if test -n "$lt_prog_compiler_pic"; then
8200 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8201 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8202 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 lt_cv_prog_compiler_pic_works=no
8206 ac_outfile=conftest.$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err)
8220 ac_status=$?
8221 cat conftest.err >&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8228 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_pic_works=yes
8232 $RM conftest*
8235 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8236 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8238 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8239 case $lt_prog_compiler_pic in
8240 "" | " "*) ;;
8241 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8242 esac
8243 else
8244 lt_prog_compiler_pic=
8245 lt_prog_compiler_can_build_shared=no
8256 # Check to make sure the static flag actually works.
8258 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8259 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8261 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 else
8264 lt_cv_prog_compiler_static_works=no
8265 save_LDFLAGS="$LDFLAGS"
8266 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8267 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8268 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8269 # The linker can only warn and ignore the option if not recognized
8270 # So say no if there are warnings
8271 if test -s conftest.err; then
8272 # Append any errors to the config.log.
8273 cat conftest.err 1>&5
8274 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8276 if diff conftest.exp conftest.er2 >/dev/null; then
8277 lt_cv_prog_compiler_static_works=yes
8279 else
8280 lt_cv_prog_compiler_static_works=yes
8283 $RM -r conftest*
8284 LDFLAGS="$save_LDFLAGS"
8287 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8288 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8290 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8292 else
8293 lt_prog_compiler_static=
8302 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8303 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8304 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 else
8307 lt_cv_prog_compiler_c_o=no
8308 $RM -r conftest 2>/dev/null
8309 mkdir conftest
8310 cd conftest
8311 mkdir out
8312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8314 lt_compiler_flag="-o out/conftest2.$ac_objext"
8315 # Insert the option either (1) after the last *FLAGS variable, or
8316 # (2) before a word containing "conftest.", or (3) at the end.
8317 # Note that $ac_compile itself does not contain backslashes and begins
8318 # with a dollar sign (not a hyphen), so the echo should work correctly.
8319 lt_compile=`echo "$ac_compile" | $SED \
8320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322 -e 's:$: $lt_compiler_flag:'`
8323 (eval echo "\"\$as_me:8323: $lt_compile\"" >&5)
8324 (eval "$lt_compile" 2>out/conftest.err)
8325 ac_status=$?
8326 cat out/conftest.err >&5
8327 echo "$as_me:8327: \$? = $ac_status" >&5
8328 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8329 then
8330 # The compiler can only warn and ignore the option if not recognized
8331 # So say no if there are warnings
8332 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8333 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8334 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8335 lt_cv_prog_compiler_c_o=yes
8338 chmod u+w . 2>&5
8339 $RM conftest*
8340 # SGI C++ compiler will create directory out/ii_files/ for
8341 # template instantiation
8342 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8343 $RM out/* && rmdir out
8344 cd ..
8345 $RM -r conftest
8346 $RM conftest*
8349 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8350 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8357 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8358 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8359 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 else
8362 lt_cv_prog_compiler_c_o=no
8363 $RM -r conftest 2>/dev/null
8364 mkdir conftest
8365 cd conftest
8366 mkdir out
8367 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8369 lt_compiler_flag="-o out/conftest2.$ac_objext"
8370 # Insert the option either (1) after the last *FLAGS variable, or
8371 # (2) before a word containing "conftest.", or (3) at the end.
8372 # Note that $ac_compile itself does not contain backslashes and begins
8373 # with a dollar sign (not a hyphen), so the echo should work correctly.
8374 lt_compile=`echo "$ac_compile" | $SED \
8375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377 -e 's:$: $lt_compiler_flag:'`
8378 (eval echo "\"\$as_me:8378: $lt_compile\"" >&5)
8379 (eval "$lt_compile" 2>out/conftest.err)
8380 ac_status=$?
8381 cat out/conftest.err >&5
8382 echo "$as_me:8382: \$? = $ac_status" >&5
8383 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8384 then
8385 # The compiler can only warn and ignore the option if not recognized
8386 # So say no if there are warnings
8387 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8388 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8389 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8390 lt_cv_prog_compiler_c_o=yes
8393 chmod u+w . 2>&5
8394 $RM conftest*
8395 # SGI C++ compiler will create directory out/ii_files/ for
8396 # template instantiation
8397 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8398 $RM out/* && rmdir out
8399 cd ..
8400 $RM -r conftest
8401 $RM conftest*
8404 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8405 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8410 hard_links="nottested"
8411 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8412 # do not overwrite the value of need_locks provided by the user
8413 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8414 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8415 hard_links=yes
8416 $RM conftest*
8417 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8418 touch conftest.a
8419 ln conftest.a conftest.b 2>&5 || hard_links=no
8420 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8421 echo "$as_me:$LINENO: result: $hard_links" >&5
8422 echo "${ECHO_T}$hard_links" >&6
8423 if test "$hard_links" = no; then
8424 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8425 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8426 need_locks=warn
8428 else
8429 need_locks=no
8437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8440 runpath_var=
8441 allow_undefined_flag=
8442 always_export_symbols=no
8443 archive_cmds=
8444 archive_expsym_cmds=
8445 compiler_needs_object=no
8446 enable_shared_with_static_runtimes=no
8447 export_dynamic_flag_spec=
8448 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8449 hardcode_automatic=no
8450 hardcode_direct=no
8451 hardcode_direct_absolute=no
8452 hardcode_libdir_flag_spec=
8453 hardcode_libdir_flag_spec_ld=
8454 hardcode_libdir_separator=
8455 hardcode_minus_L=no
8456 hardcode_shlibpath_var=unsupported
8457 inherit_rpath=no
8458 link_all_deplibs=unknown
8459 module_cmds=
8460 module_expsym_cmds=
8461 old_archive_from_new_cmds=
8462 old_archive_from_expsyms_cmds=
8463 thread_safe_flag_spec=
8464 whole_archive_flag_spec=
8465 # include_expsyms should be a list of space-separated symbols to be *always*
8466 # included in the symbol list
8467 include_expsyms=
8468 # exclude_expsyms can be an extended regexp of symbols to exclude
8469 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8470 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8471 # as well as any symbol that contains `d'.
8472 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8473 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8474 # platforms (ab)use it in PIC code, but their linkers get confused if
8475 # the symbol is explicitly referenced. Since portable code cannot
8476 # rely on this symbol name, it's probably fine to never include it in
8477 # preloaded symbol tables.
8478 # Exclude shared library initialization/finalization symbols.
8479 extract_expsyms_cmds=
8481 case $host_os in
8482 cygwin* | mingw* | pw32* | cegcc*)
8483 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8484 # When not using gcc, we currently assume that we are using
8485 # Microsoft Visual C++.
8486 if test "$GCC" != yes; then
8487 with_gnu_ld=no
8490 interix*)
8491 # we just hope/assume this is gcc and not c89 (= MSVC++)
8492 with_gnu_ld=yes
8494 openbsd*)
8495 with_gnu_ld=no
8497 esac
8499 ld_shlibs=yes
8500 if test "$with_gnu_ld" = yes; then
8501 # If archive_cmds runs LD, not CC, wlarc should be empty
8502 wlarc='${wl}'
8504 # Set some defaults for GNU ld with shared library support. These
8505 # are reset later if shared libraries are not supported. Putting them
8506 # here allows them to be overridden if necessary.
8507 runpath_var=LD_RUN_PATH
8508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8509 export_dynamic_flag_spec='${wl}--export-dynamic'
8510 # ancient GNU ld didn't support --whole-archive et. al.
8511 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8512 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8513 else
8514 whole_archive_flag_spec=
8516 supports_anon_versioning=no
8517 case `$LD -v 2>&1` in
8518 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8519 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8520 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8521 *\ 2.11.*) ;; # other 2.11 versions
8522 *) supports_anon_versioning=yes ;;
8523 esac
8525 # See if GNU ld supports shared libraries.
8526 case $host_os in
8527 aix[3-9]*)
8528 # On AIX/PPC, the GNU linker is very broken
8529 if test "$host_cpu" != ia64; then
8530 ld_shlibs=no
8531 cat <<_LT_EOF 1>&2
8533 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8534 *** to be unable to reliably create shared libraries on AIX.
8535 *** Therefore, libtool is disabling shared libraries support. If you
8536 *** really care for shared libraries, you may want to modify your PATH
8537 *** so that a non-GNU linker is found, and then restart.
8539 _LT_EOF
8543 amigaos*)
8544 case $host_cpu in
8545 powerpc)
8546 # see comment about AmigaOS4 .so support
8547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 archive_expsym_cmds=''
8550 m68k)
8551 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)'
8552 hardcode_libdir_flag_spec='-L$libdir'
8553 hardcode_minus_L=yes
8555 esac
8558 beos*)
8559 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8560 allow_undefined_flag=unsupported
8561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8562 # support --undefined. This deserves some investigation. FIXME
8563 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564 else
8565 ld_shlibs=no
8569 cygwin* | mingw* | pw32* | cegcc*)
8570 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8571 # as there is no search path for DLLs.
8572 hardcode_libdir_flag_spec='-L$libdir'
8573 allow_undefined_flag=unsupported
8574 always_export_symbols=no
8575 enable_shared_with_static_runtimes=yes
8576 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8580 # If the export-symbols file already is a .def file (1st line
8581 # is EXPORTS), use it as is; otherwise, prepend...
8582 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8583 cp $export_symbols $output_objdir/$soname.def;
8584 else
8585 echo EXPORTS > $output_objdir/$soname.def;
8586 cat $export_symbols >> $output_objdir/$soname.def;
8588 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8589 else
8590 ld_shlibs=no
8594 interix[3-9]*)
8595 hardcode_direct=no
8596 hardcode_shlibpath_var=no
8597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8598 export_dynamic_flag_spec='${wl}-E'
8599 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8600 # Instead, shared libraries are loaded at an image base (0x10000000 by
8601 # default) and relocated if they conflict, which is a slow very memory
8602 # consuming and fragmenting process. To avoid this, we pick a random,
8603 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8604 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8605 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8606 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'
8609 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8610 tmp_diet=no
8611 if test "$host_os" = linux-dietlibc; then
8612 case $cc_basename in
8613 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8614 esac
8616 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8617 && test "$tmp_diet" = no
8618 then
8619 tmp_addflag=
8620 tmp_sharedflag='-shared'
8621 case $cc_basename,$host_cpu in
8622 pgcc*) # Portland Group C compiler
8623 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'
8624 tmp_addflag=' $pic_flag'
8626 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8627 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'
8628 tmp_addflag=' $pic_flag -Mnomain' ;;
8629 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8630 tmp_addflag=' -i_dynamic' ;;
8631 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8632 tmp_addflag=' -i_dynamic -nofor_main' ;;
8633 ifc* | ifort*) # Intel Fortran compiler
8634 tmp_addflag=' -nofor_main' ;;
8635 lf95*) # Lahey Fortran 8.1
8636 whole_archive_flag_spec=
8637 tmp_sharedflag='--shared' ;;
8638 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8639 tmp_sharedflag='-qmkshrobj'
8640 tmp_addflag= ;;
8641 esac
8642 case `$CC -V 2>&1 | sed 5q` in
8643 *Sun\ C*) # Sun C 5.9
8644 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'
8645 compiler_needs_object=yes
8646 tmp_sharedflag='-G' ;;
8647 *Sun\ F*) # Sun Fortran 8.3
8648 tmp_sharedflag='-G' ;;
8649 esac
8650 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652 if test "x$supports_anon_versioning" = xyes; then
8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8659 case $cc_basename in
8660 xlf*)
8661 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8662 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8663 hardcode_libdir_flag_spec=
8664 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8665 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8666 if test "x$supports_anon_versioning" = xyes; then
8667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8669 echo "local: *; };" >> $output_objdir/$libname.ver~
8670 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8673 esac
8674 else
8675 ld_shlibs=no
8679 netbsd*)
8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8681 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8682 wlarc=
8683 else
8684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8689 solaris*)
8690 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8691 ld_shlibs=no
8692 cat <<_LT_EOF 1>&2
8694 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8695 *** create shared libraries on Solaris systems. Therefore, libtool
8696 *** is disabling shared libraries support. We urge you to upgrade GNU
8697 *** binutils to release 2.9.1 or newer. Another option is to modify
8698 *** your PATH or compiler configuration so that the native linker is
8699 *** used, and then restart.
8701 _LT_EOF
8702 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8705 else
8706 ld_shlibs=no
8710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8711 case `$LD -v 2>&1` in
8712 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8713 ld_shlibs=no
8714 cat <<_LT_EOF 1>&2
8716 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8717 *** reliably create shared libraries on SCO systems. Therefore, libtool
8718 *** is disabling shared libraries support. We urge you to upgrade GNU
8719 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8723 _LT_EOF
8726 # For security reasons, it is highly recommended that you always
8727 # use absolute paths for naming shared libraries, and exclude the
8728 # DT_RUNPATH tag from executables and libraries. But doing so
8729 # requires that you compile everything twice, which is a pain.
8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8734 else
8735 ld_shlibs=no
8738 esac
8741 sunos4*)
8742 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 wlarc=
8744 hardcode_direct=yes
8745 hardcode_shlibpath_var=no
8749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8752 else
8753 ld_shlibs=no
8756 esac
8758 if test "$ld_shlibs" = no; then
8759 runpath_var=
8760 hardcode_libdir_flag_spec=
8761 export_dynamic_flag_spec=
8762 whole_archive_flag_spec=
8764 else
8765 # PORTME fill in a description of your system's linker (not GNU ld)
8766 case $host_os in
8767 aix3*)
8768 allow_undefined_flag=unsupported
8769 always_export_symbols=yes
8770 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'
8771 # Note: this linker hardcodes the directories in LIBPATH if there
8772 # are no directories specified by -L.
8773 hardcode_minus_L=yes
8774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8775 # Neither direct hardcoding nor static linking is supported with a
8776 # broken collect2.
8777 hardcode_direct=unsupported
8781 aix[4-9]*)
8782 if test "$host_cpu" = ia64; then
8783 # On IA64, the linker does run time linking by default, so we don't
8784 # have to do anything special.
8785 aix_use_runtimelinking=no
8786 exp_sym_flag='-Bexport'
8787 no_entry_flag=""
8788 else
8789 # If we're using GNU nm, then we don't want the "-C" option.
8790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8791 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8792 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'
8793 else
8794 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'
8796 aix_use_runtimelinking=no
8798 # Test if we are trying to use run time linking or normal
8799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8800 # need to do runtime linking.
8801 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8802 for ld_flag in $LDFLAGS; do
8803 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8804 aix_use_runtimelinking=yes
8805 break
8807 done
8809 esac
8811 exp_sym_flag='-bexport'
8812 no_entry_flag='-bnoentry'
8815 # When large executables or shared objects are built, AIX ld can
8816 # have problems creating the table of contents. If linking a library
8817 # or program results in "error TOC overflow" add -mminimal-toc to
8818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8821 archive_cmds=''
8822 hardcode_direct=yes
8823 hardcode_direct_absolute=yes
8824 hardcode_libdir_separator=':'
8825 link_all_deplibs=yes
8826 file_list_spec='${wl}-f,'
8828 if test "$GCC" = yes; then
8829 case $host_os in aix4.[012]|aix4.[012].*)
8830 # We only want to do this on AIX 4.2 and lower, the check
8831 # below for broken collect2 doesn't work under 4.3+
8832 collect2name=`${CC} -print-prog-name=collect2`
8833 if test -f "$collect2name" &&
8834 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8835 then
8836 # We have reworked collect2
8838 else
8839 # We have old collect2
8840 hardcode_direct=unsupported
8841 # It fails to find uninstalled libraries when the uninstalled
8842 # path is not listed in the libpath. Setting hardcode_minus_L
8843 # to unsupported forces relinking
8844 hardcode_minus_L=yes
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 hardcode_libdir_separator=
8849 esac
8850 shared_flag='-shared'
8851 if test "$aix_use_runtimelinking" = yes; then
8852 shared_flag="$shared_flag "'${wl}-G'
8854 else
8855 # not using gcc
8856 if test "$host_cpu" = ia64; then
8857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858 # chokes on -Wl,-G. The following line is correct:
8859 shared_flag='-G'
8860 else
8861 if test "$aix_use_runtimelinking" = yes; then
8862 shared_flag='${wl}-G'
8863 else
8864 shared_flag='${wl}-bM:SRE'
8869 export_dynamic_flag_spec='${wl}-bexpall'
8870 # It seems that -bexpall does not export symbols beginning with
8871 # underscore (_), so it is better to generate a list of symbols to export.
8872 always_export_symbols=yes
8873 if test "$aix_use_runtimelinking" = yes; then
8874 # Warning - without using the other runtime loading flags (-brtl),
8875 # -berok will link without error, but may produce a broken library.
8876 allow_undefined_flag='-berok'
8877 # Determine the default libpath from the value encoded in an
8878 # empty executable.
8879 if test x$gcc_no_link = xyes; then
8880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8882 { (exit 1); exit 1; }; }
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8892 main ()
8896 return 0;
8898 _ACEOF
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8902 ac_status=$?
8903 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 (eval $ac_try) 2>&5
8912 ac_status=$?
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5
8918 ac_status=$?
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8922 lt_aix_libpath_sed='
8923 /Import File Strings/,/^$/ {
8924 /^0/ {
8925 s/^0 *\(.*\)$/\1/
8929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8930 # Check for a 64-bit object if we didn't find anything.
8931 if test -z "$aix_libpath"; then
8932 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 else
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.$ac_ext >&5
8939 rm -f conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8943 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8944 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"
8945 else
8946 if test "$host_cpu" = ia64; then
8947 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8948 allow_undefined_flag="-z nodefs"
8949 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"
8950 else
8951 # Determine the default libpath from the value encoded in an
8952 # empty executable.
8953 if test x$gcc_no_link = xyes; then
8954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8956 { (exit 1); exit 1; }; }
8958 cat >conftest.$ac_ext <<_ACEOF
8959 /* confdefs.h. */
8960 _ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8966 main ()
8970 return 0;
8972 _ACEOF
8973 rm -f conftest.$ac_objext conftest$ac_exeext
8974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8975 (eval $ac_link) 2>conftest.er1
8976 ac_status=$?
8977 grep -v '^ *+' conftest.er1 >conftest.err
8978 rm -f conftest.er1
8979 cat conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); } &&
8982 { ac_try='test -z "$ac_c_werror_flag"
8983 || test ! -s conftest.err'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 (eval $ac_try) 2>&5
8986 ac_status=$?
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try='test -s conftest$ac_exeext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 (eval $ac_try) 2>&5
8992 ac_status=$?
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8996 lt_aix_libpath_sed='
8997 /Import File Strings/,/^$/ {
8998 /^0/ {
8999 s/^0 *\(.*\)$/\1/
9003 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9004 # Check for a 64-bit object if we didn't find anything.
9005 if test -z "$aix_libpath"; then
9006 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008 else
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.$ac_ext >&5
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9017 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9018 # Warning - without using the other run time loading flags,
9019 # -berok will link without error, but may produce a broken library.
9020 no_undefined_flag=' ${wl}-bernotok'
9021 allow_undefined_flag=' ${wl}-berok'
9022 # Exported symbols can be pulled into shared objects from archives
9023 whole_archive_flag_spec='$convenience'
9024 archive_cmds_need_lc=yes
9025 # This is similar to how AIX traditionally builds its shared libraries.
9026 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'
9031 amigaos*)
9032 case $host_cpu in
9033 powerpc)
9034 # see comment about AmigaOS4 .so support
9035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036 archive_expsym_cmds=''
9038 m68k)
9039 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)'
9040 hardcode_libdir_flag_spec='-L$libdir'
9041 hardcode_minus_L=yes
9043 esac
9046 bsdi[45]*)
9047 export_dynamic_flag_spec=-rdynamic
9050 cygwin* | mingw* | pw32* | cegcc*)
9051 # When not using gcc, we currently assume that we are using
9052 # Microsoft Visual C++.
9053 # hardcode_libdir_flag_spec is actually meaningless, as there is
9054 # no search path for DLLs.
9055 hardcode_libdir_flag_spec=' '
9056 allow_undefined_flag=unsupported
9057 # Tell ltmain to make .lib files, not .a files.
9058 libext=lib
9059 # Tell ltmain to make .dll files, not .so files.
9060 shrext_cmds=".dll"
9061 # FIXME: Setting linknames here is a bad hack.
9062 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9063 # The linker will automatically build a .lib file if we build a DLL.
9064 old_archive_from_new_cmds='true'
9065 # FIXME: Should let the user specify the lib program.
9066 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9067 fix_srcfile_path='`cygpath -w "$srcfile"`'
9068 enable_shared_with_static_runtimes=yes
9071 darwin* | rhapsody*)
9074 archive_cmds_need_lc=no
9075 hardcode_direct=no
9076 hardcode_automatic=yes
9077 hardcode_shlibpath_var=unsupported
9078 whole_archive_flag_spec=''
9079 link_all_deplibs=yes
9080 allow_undefined_flag="$_lt_dar_allow_undefined"
9081 case $cc_basename in
9082 ifort*) _lt_dar_can_shared=yes ;;
9083 *) _lt_dar_can_shared=$GCC ;;
9084 esac
9085 if test "$_lt_dar_can_shared" = "yes"; then
9086 output_verbose_link_cmd=echo
9087 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9088 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9089 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9090 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9092 else
9093 ld_shlibs=no
9098 dgux*)
9099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_libdir_flag_spec='-L$libdir'
9101 hardcode_shlibpath_var=no
9104 freebsd1*)
9105 ld_shlibs=no
9108 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9109 # support. Future versions do this automatically, but an explicit c++rt0.o
9110 # does not break anything, and helps significantly (at the cost of a little
9111 # extra space).
9112 freebsd2.2*)
9113 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9114 hardcode_libdir_flag_spec='-R$libdir'
9115 hardcode_direct=yes
9116 hardcode_shlibpath_var=no
9119 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9120 freebsd2*)
9121 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_direct=yes
9123 hardcode_minus_L=yes
9124 hardcode_shlibpath_var=no
9127 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9128 freebsd* | dragonfly*)
9129 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9130 hardcode_libdir_flag_spec='-R$libdir'
9131 hardcode_direct=yes
9132 hardcode_shlibpath_var=no
9135 hpux9*)
9136 if test "$GCC" = yes; then
9137 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'
9138 else
9139 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'
9141 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9142 hardcode_libdir_separator=:
9143 hardcode_direct=yes
9145 # hardcode_minus_L: Not really in the search PATH,
9146 # but as the default location of the library.
9147 hardcode_minus_L=yes
9148 export_dynamic_flag_spec='${wl}-E'
9151 hpux10*)
9152 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9154 else
9155 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9157 if test "$with_gnu_ld" = no; then
9158 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9159 hardcode_libdir_flag_spec_ld='+b $libdir'
9160 hardcode_libdir_separator=:
9161 hardcode_direct=yes
9162 hardcode_direct_absolute=yes
9163 export_dynamic_flag_spec='${wl}-E'
9164 # hardcode_minus_L: Not really in the search PATH,
9165 # but as the default location of the library.
9166 hardcode_minus_L=yes
9170 hpux11*)
9171 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9172 case $host_cpu in
9173 hppa*64*)
9174 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9176 ia64*)
9177 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9180 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9182 esac
9183 else
9184 case $host_cpu in
9185 hppa*64*)
9186 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 ia64*)
9189 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9194 esac
9196 if test "$with_gnu_ld" = no; then
9197 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9198 hardcode_libdir_separator=:
9200 case $host_cpu in
9201 hppa*64*|ia64*)
9202 hardcode_direct=no
9203 hardcode_shlibpath_var=no
9206 hardcode_direct=yes
9207 hardcode_direct_absolute=yes
9208 export_dynamic_flag_spec='${wl}-E'
9210 # hardcode_minus_L: Not really in the search PATH,
9211 # but as the default location of the library.
9212 hardcode_minus_L=yes
9214 esac
9218 irix5* | irix6* | nonstopux*)
9219 if test "$GCC" = yes; then
9220 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'
9221 # Try to use the -exported_symbol ld option, if it does not
9222 # work, assume that -exports_file does not work either and
9223 # implicitly export all symbols.
9224 save_LDFLAGS="$LDFLAGS"
9225 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9226 if test x$gcc_no_link = xyes; then
9227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9229 { (exit 1); exit 1; }; }
9231 cat >conftest.$ac_ext <<_ACEOF
9232 int foo(void) {}
9233 _ACEOF
9234 rm -f conftest.$ac_objext conftest$ac_exeext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>conftest.er1
9237 ac_status=$?
9238 grep -v '^ *+' conftest.er1 >conftest.err
9239 rm -f conftest.er1
9240 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try='test -z "$ac_c_werror_flag"
9244 || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 (eval $ac_try) 2>&5
9253 ac_status=$?
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 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'
9258 else
9259 echo "$as_me: failed program was:" >&5
9260 sed 's/^/| /' conftest.$ac_ext >&5
9263 rm -f conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LDFLAGS="$save_LDFLAGS"
9266 else
9267 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'
9268 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'
9270 archive_cmds_need_lc='no'
9271 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9272 hardcode_libdir_separator=:
9273 inherit_rpath=yes
9274 link_all_deplibs=yes
9277 netbsd*)
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9280 else
9281 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9283 hardcode_libdir_flag_spec='-R$libdir'
9284 hardcode_direct=yes
9285 hardcode_shlibpath_var=no
9288 newsos6)
9289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290 hardcode_direct=yes
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 hardcode_libdir_separator=:
9293 hardcode_shlibpath_var=no
9296 *nto* | *qnx*)
9299 openbsd*)
9300 if test -f /usr/libexec/ld.so; then
9301 hardcode_direct=yes
9302 hardcode_shlibpath_var=no
9303 hardcode_direct_absolute=yes
9304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9305 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9307 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9308 export_dynamic_flag_spec='${wl}-E'
9309 else
9310 case $host_os in
9311 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9312 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9313 hardcode_libdir_flag_spec='-R$libdir'
9316 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9317 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9319 esac
9321 else
9322 ld_shlibs=no
9326 os2*)
9327 hardcode_libdir_flag_spec='-L$libdir'
9328 hardcode_minus_L=yes
9329 allow_undefined_flag=unsupported
9330 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'
9331 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9334 osf3*)
9335 if test "$GCC" = yes; then
9336 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9337 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'
9338 else
9339 allow_undefined_flag=' -expect_unresolved \*'
9340 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'
9342 archive_cmds_need_lc='no'
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344 hardcode_libdir_separator=:
9347 osf4* | osf5*) # as osf3* with the addition of -msym flag
9348 if test "$GCC" = yes; then
9349 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9350 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'
9351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9352 else
9353 allow_undefined_flag=' -expect_unresolved \*'
9354 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'
9355 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~
9356 $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'
9358 # Both c and cxx compiler support -rpath directly
9359 hardcode_libdir_flag_spec='-rpath $libdir'
9361 archive_cmds_need_lc='no'
9362 hardcode_libdir_separator=:
9365 solaris*)
9366 no_undefined_flag=' -z defs'
9367 if test "$GCC" = yes; then
9368 wlarc='${wl}'
9369 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9371 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9372 else
9373 case `$CC -V 2>&1` in
9374 *"Compilers 5.0"*)
9375 wlarc=''
9376 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9377 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9378 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9381 wlarc='${wl}'
9382 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9384 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9386 esac
9388 hardcode_libdir_flag_spec='-R$libdir'
9389 hardcode_shlibpath_var=no
9390 case $host_os in
9391 solaris2.[0-5] | solaris2.[0-5].*) ;;
9393 # The compiler driver will combine and reorder linker options,
9394 # but understands `-z linker_flag'. GCC discards it without `$wl',
9395 # but is careful enough not to reorder.
9396 # Supported since Solaris 2.6 (maybe 2.5.1?)
9397 if test "$GCC" = yes; then
9398 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9399 else
9400 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9403 esac
9404 link_all_deplibs=yes
9407 sunos4*)
9408 if test "x$host_vendor" = xsequent; then
9409 # Use $CC to link under sequent, because it throws in some extra .o
9410 # files that make .init and .fini sections work.
9411 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9412 else
9413 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_libdir_flag_spec='-L$libdir'
9416 hardcode_direct=yes
9417 hardcode_minus_L=yes
9418 hardcode_shlibpath_var=no
9421 sysv4)
9422 case $host_vendor in
9423 sni)
9424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_direct=yes # is this really true???
9427 siemens)
9428 ## LD is ld it makes a PLAMLIB
9429 ## CC just makes a GrossModule.
9430 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9431 reload_cmds='$CC -r -o $output$reload_objs'
9432 hardcode_direct=no
9434 motorola)
9435 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9436 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9438 esac
9439 runpath_var='LD_RUN_PATH'
9440 hardcode_shlibpath_var=no
9443 sysv4.3*)
9444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_shlibpath_var=no
9446 export_dynamic_flag_spec='-Bexport'
9449 sysv4*MP*)
9450 if test -d /usr/nec; then
9451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9452 hardcode_shlibpath_var=no
9453 runpath_var=LD_RUN_PATH
9454 hardcode_runpath_var=yes
9455 ld_shlibs=yes
9459 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9460 no_undefined_flag='${wl}-z,text'
9461 archive_cmds_need_lc=no
9462 hardcode_shlibpath_var=no
9463 runpath_var='LD_RUN_PATH'
9465 if test "$GCC" = yes; then
9466 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 else
9469 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9474 sysv5* | sco3.2v5* | sco5v6*)
9475 # Note: We can NOT use -z defs as we might desire, because we do not
9476 # link with -lc, and that would cause any symbols used from libc to
9477 # always be unresolved, which means just about no library would
9478 # ever link correctly. If we're not using GNU ld we use -z text
9479 # though, which does catch some bad symbols but isn't as heavy-handed
9480 # as -z defs.
9481 no_undefined_flag='${wl}-z,text'
9482 allow_undefined_flag='${wl}-z,nodefs'
9483 archive_cmds_need_lc=no
9484 hardcode_shlibpath_var=no
9485 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9486 hardcode_libdir_separator=':'
9487 link_all_deplibs=yes
9488 export_dynamic_flag_spec='${wl}-Bexport'
9489 runpath_var='LD_RUN_PATH'
9491 if test "$GCC" = yes; then
9492 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494 else
9495 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9500 uts4*)
9501 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_shlibpath_var=no
9507 ld_shlibs=no
9509 esac
9511 if test x$host_vendor = xsni; then
9512 case $host in
9513 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9514 export_dynamic_flag_spec='${wl}-Blargedynsym'
9516 esac
9520 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9521 echo "${ECHO_T}$ld_shlibs" >&6
9522 test "$ld_shlibs" = no && can_build_shared=no
9524 with_gnu_ld=$with_gnu_ld
9541 # Do we need to explicitly link libc?
9543 case "x$archive_cmds_need_lc" in
9544 x|xyes)
9545 # Assume -lc should be added
9546 archive_cmds_need_lc=yes
9548 if test "$enable_shared" = yes && test "$GCC" = yes; then
9549 case $archive_cmds in
9550 *'~'*)
9551 # FIXME: we may have to deal with multi-command sequences.
9553 '$CC '*)
9554 # Test whether the compiler implicitly links with -lc since on some
9555 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9556 # to ld, don't add -lc before -lgcc.
9557 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9558 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9559 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 $RM conftest*
9563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9566 (eval $ac_compile) 2>&5
9567 ac_status=$?
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } 2>conftest.err; then
9570 soname=conftest
9571 lib=conftest
9572 libobjs=conftest.$ac_objext
9573 deplibs=
9574 wl=$lt_prog_compiler_wl
9575 pic_flag=$lt_prog_compiler_pic
9576 compiler_flags=-v
9577 linker_flags=-v
9578 verstring=
9579 output_objdir=.
9580 libname=conftest
9581 lt_save_allow_undefined_flag=$allow_undefined_flag
9582 allow_undefined_flag=
9583 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9584 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9585 ac_status=$?
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }
9588 then
9589 lt_cv_archive_cmds_need_lc=no
9590 else
9591 lt_cv_archive_cmds_need_lc=yes
9593 allow_undefined_flag=$lt_save_allow_undefined_flag
9594 else
9595 cat conftest.err 1>&5
9597 $RM conftest*
9600 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9601 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9602 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9604 esac
9607 esac
9765 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9766 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9768 if test "$GCC" = yes; then
9769 case $host_os in
9770 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9771 *) lt_awk_arg="/^libraries:/" ;;
9772 esac
9773 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9774 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9775 # if the path contains ";" then we assume it to be the separator
9776 # otherwise default to the standard path separator (i.e. ":") - it is
9777 # assumed that no part of a normal pathname contains ";" but that should
9778 # okay in the real world where ";" in dirpaths is itself problematic.
9779 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9780 else
9781 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9783 # Ok, now we have the path, separated by spaces, we can step through it
9784 # and add multilib dir if necessary.
9785 lt_tmp_lt_search_path_spec=
9786 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9787 for lt_sys_path in $lt_search_path_spec; do
9788 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9789 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9790 else
9791 test -d "$lt_sys_path" && \
9792 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9794 done
9795 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9796 BEGIN {RS=" "; FS="/|\n";} {
9797 lt_foo="";
9798 lt_count=0;
9799 for (lt_i = NF; lt_i > 0; lt_i--) {
9800 if ($lt_i != "" && $lt_i != ".") {
9801 if ($lt_i == "..") {
9802 lt_count++;
9803 } else {
9804 if (lt_count == 0) {
9805 lt_foo="/" $lt_i lt_foo;
9806 } else {
9807 lt_count--;
9812 if (lt_foo != "") { lt_freq[lt_foo]++; }
9813 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9815 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9816 else
9817 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9819 library_names_spec=
9820 libname_spec='lib$name'
9821 soname_spec=
9822 shrext_cmds=".so"
9823 postinstall_cmds=
9824 postuninstall_cmds=
9825 finish_cmds=
9826 finish_eval=
9827 shlibpath_var=
9828 shlibpath_overrides_runpath=unknown
9829 version_type=none
9830 dynamic_linker="$host_os ld.so"
9831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9832 need_lib_prefix=unknown
9833 hardcode_into_libs=no
9835 # when you set need_version to no, make sure it does not cause -set_version
9836 # flags to be left without arguments
9837 need_version=unknown
9839 case $host_os in
9840 aix3*)
9841 version_type=linux
9842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9843 shlibpath_var=LIBPATH
9845 # AIX 3 has no versioning support, so we append a major version to the name.
9846 soname_spec='${libname}${release}${shared_ext}$major'
9849 aix[4-9]*)
9850 version_type=linux
9851 need_lib_prefix=no
9852 need_version=no
9853 hardcode_into_libs=yes
9854 if test "$host_cpu" = ia64; then
9855 # AIX 5 supports IA64
9856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9857 shlibpath_var=LD_LIBRARY_PATH
9858 else
9859 # With GCC up to 2.95.x, collect2 would create an import file
9860 # for dependence libraries. The import file would start with
9861 # the line `#! .'. This would cause the generated library to
9862 # depend on `.', always an invalid library. This was fixed in
9863 # development snapshots of GCC prior to 3.0.
9864 case $host_os in
9865 aix4 | aix4.[01] | aix4.[01].*)
9866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9867 echo ' yes '
9868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9870 else
9871 can_build_shared=no
9874 esac
9875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9876 # soname into executable. Probably we can add versioning support to
9877 # collect2, so additional links can be useful in future.
9878 if test "$aix_use_runtimelinking" = yes; then
9879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9880 # instead of lib<name>.a to let people know that these are not
9881 # typical AIX shared libraries.
9882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883 else
9884 # We preserve .a as extension for shared libraries through AIX4.2
9885 # and later when we are not doing run time linking.
9886 library_names_spec='${libname}${release}.a $libname.a'
9887 soname_spec='${libname}${release}${shared_ext}$major'
9889 shlibpath_var=LIBPATH
9893 amigaos*)
9894 case $host_cpu in
9895 powerpc)
9896 # Since July 2007 AmigaOS4 officially supports .so libraries.
9897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900 m68k)
9901 library_names_spec='$libname.ixlibrary $libname.a'
9902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9903 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'
9905 esac
9908 beos*)
9909 library_names_spec='${libname}${shared_ext}'
9910 dynamic_linker="$host_os ld.so"
9911 shlibpath_var=LIBRARY_PATH
9914 bsdi[45]*)
9915 version_type=linux
9916 need_version=no
9917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9918 soname_spec='${libname}${release}${shared_ext}$major'
9919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9920 shlibpath_var=LD_LIBRARY_PATH
9921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9923 # the default ld.so.conf also contains /usr/contrib/lib and
9924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9925 # libtool to hard-code these into programs
9928 cygwin* | mingw* | pw32* | cegcc*)
9929 version_type=windows
9930 shrext_cmds=".dll"
9931 need_version=no
9932 need_lib_prefix=no
9934 case $GCC,$host_os in
9935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9936 library_names_spec='$libname.dll.a'
9937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9938 postinstall_cmds='base_file=`basename \${file}`~
9939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9940 dldir=$destdir/`dirname \$dlpath`~
9941 test -d \$dldir || mkdir -p \$dldir~
9942 $install_prog $dir/$dlname \$dldir/$dlname~
9943 chmod a+x \$dldir/$dlname~
9944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9948 dlpath=$dir/\$dldll~
9949 $RM \$dlpath'
9950 shlibpath_overrides_runpath=yes
9952 case $host_os in
9953 cygwin*)
9954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9956 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9958 mingw* | cegcc*)
9959 # MinGW DLLs use traditional 'lib' prefix
9960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9961 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9962 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9963 # It is most probably a Windows format PATH printed by
9964 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9965 # path with ; separators, and with drive letters. We can handle the
9966 # drive letters (cygwin fileutils understands them), so leave them,
9967 # especially as we might pass files found there to a mingw objdump,
9968 # which wouldn't understand a cygwinified path. Ahh.
9969 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9970 else
9971 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9974 pw32*)
9975 # pw32 DLLs use 'pw' prefix rather than 'lib'
9976 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9978 esac
9982 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9984 esac
9985 dynamic_linker='Win32 ld.exe'
9986 # FIXME: first we should search . and the directory the executable is in
9987 shlibpath_var=PATH
9990 darwin* | rhapsody*)
9991 dynamic_linker="$host_os dyld"
9992 version_type=darwin
9993 need_lib_prefix=no
9994 need_version=no
9995 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9996 soname_spec='${libname}${release}${major}$shared_ext'
9997 shlibpath_overrides_runpath=yes
9998 shlibpath_var=DYLD_LIBRARY_PATH
9999 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10001 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10002 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10005 dgux*)
10006 version_type=linux
10007 need_lib_prefix=no
10008 need_version=no
10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10011 shlibpath_var=LD_LIBRARY_PATH
10014 freebsd1*)
10015 dynamic_linker=no
10018 freebsd* | dragonfly*)
10019 # DragonFly does not have aout. When/if they implement a new
10020 # versioning mechanism, adjust this.
10021 if test -x /usr/bin/objformat; then
10022 objformat=`/usr/bin/objformat`
10023 else
10024 case $host_os in
10025 freebsd[123]*) objformat=aout ;;
10026 *) objformat=elf ;;
10027 esac
10029 version_type=freebsd-$objformat
10030 case $version_type in
10031 freebsd-elf*)
10032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10033 need_version=no
10034 need_lib_prefix=no
10036 freebsd-*)
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10038 need_version=yes
10040 esac
10041 shlibpath_var=LD_LIBRARY_PATH
10042 case $host_os in
10043 freebsd2*)
10044 shlibpath_overrides_runpath=yes
10046 freebsd3.[01]* | freebsdelf3.[01]*)
10047 shlibpath_overrides_runpath=yes
10048 hardcode_into_libs=yes
10050 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10051 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10052 shlibpath_overrides_runpath=no
10053 hardcode_into_libs=yes
10055 *) # from 4.6 on, and DragonFly
10056 shlibpath_overrides_runpath=yes
10057 hardcode_into_libs=yes
10059 esac
10062 gnu*)
10063 version_type=linux
10064 need_lib_prefix=no
10065 need_version=no
10066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10067 soname_spec='${libname}${release}${shared_ext}$major'
10068 shlibpath_var=LD_LIBRARY_PATH
10069 hardcode_into_libs=yes
10072 hpux9* | hpux10* | hpux11*)
10073 # Give a soname corresponding to the major version so that dld.sl refuses to
10074 # link against other versions.
10075 version_type=sunos
10076 need_lib_prefix=no
10077 need_version=no
10078 case $host_cpu in
10079 ia64*)
10080 shrext_cmds='.so'
10081 hardcode_into_libs=yes
10082 dynamic_linker="$host_os dld.so"
10083 shlibpath_var=LD_LIBRARY_PATH
10084 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086 soname_spec='${libname}${release}${shared_ext}$major'
10087 if test "X$HPUX_IA64_MODE" = X32; then
10088 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10089 else
10090 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10092 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10094 hppa*64*)
10095 shrext_cmds='.sl'
10096 hardcode_into_libs=yes
10097 dynamic_linker="$host_os dld.sl"
10098 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101 soname_spec='${libname}${release}${shared_ext}$major'
10102 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10103 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10106 shrext_cmds='.sl'
10107 dynamic_linker="$host_os dld.sl"
10108 shlibpath_var=SHLIB_PATH
10109 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10111 soname_spec='${libname}${release}${shared_ext}$major'
10113 esac
10114 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10115 postinstall_cmds='chmod 555 $lib'
10118 interix[3-9]*)
10119 version_type=linux
10120 need_lib_prefix=no
10121 need_version=no
10122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10123 soname_spec='${libname}${release}${shared_ext}$major'
10124 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10125 shlibpath_var=LD_LIBRARY_PATH
10126 shlibpath_overrides_runpath=no
10127 hardcode_into_libs=yes
10130 irix5* | irix6* | nonstopux*)
10131 case $host_os in
10132 nonstopux*) version_type=nonstopux ;;
10134 if test "$lt_cv_prog_gnu_ld" = yes; then
10135 version_type=linux
10136 else
10137 version_type=irix
10138 fi ;;
10139 esac
10140 need_lib_prefix=no
10141 need_version=no
10142 soname_spec='${libname}${release}${shared_ext}$major'
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10144 case $host_os in
10145 irix5* | nonstopux*)
10146 libsuff= shlibsuff=
10149 case $LD in # libtool.m4 will add one of these switches to LD
10150 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10151 libsuff= shlibsuff= libmagic=32-bit;;
10152 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10153 libsuff=32 shlibsuff=N32 libmagic=N32;;
10154 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10155 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10156 *) libsuff= shlibsuff= libmagic=never-match;;
10157 esac
10159 esac
10160 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10161 shlibpath_overrides_runpath=no
10162 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10163 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10164 hardcode_into_libs=yes
10167 # No shared lib support for Linux oldld, aout, or coff.
10168 linux*oldld* | linux*aout* | linux*coff*)
10169 dynamic_linker=no
10172 # This must be Linux ELF.
10173 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10174 version_type=linux
10175 need_lib_prefix=no
10176 need_version=no
10177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 soname_spec='${libname}${release}${shared_ext}$major'
10179 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10180 shlibpath_var=LD_LIBRARY_PATH
10181 shlibpath_overrides_runpath=no
10183 # Some binutils ld are patched to set DT_RUNPATH
10184 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 else
10187 lt_cv_shlibpath_overrides_runpath=no
10188 save_LDFLAGS=$LDFLAGS
10189 save_libdir=$libdir
10190 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10191 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10192 if test x$gcc_no_link = xyes; then
10193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10195 { (exit 1); exit 1; }; }
10197 cat >conftest.$ac_ext <<_ACEOF
10198 /* confdefs.h. */
10199 _ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10205 main ()
10209 return 0;
10211 _ACEOF
10212 rm -f conftest.$ac_objext conftest$ac_exeext
10213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10214 (eval $ac_link) 2>conftest.er1
10215 ac_status=$?
10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } &&
10221 { ac_try='test -z "$ac_c_werror_flag"
10222 || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try='test -s conftest$ac_exeext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10231 ac_status=$?
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; }; then
10234 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10235 lt_cv_shlibpath_overrides_runpath=yes
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10243 rm -f conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LDFLAGS=$save_LDFLAGS
10246 libdir=$save_libdir
10250 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10252 # This implies no fast_install, which is unacceptable.
10253 # Some rework will be needed to allow for fast_install
10254 # before this can be enabled.
10255 hardcode_into_libs=yes
10257 # Append ld.so.conf contents to the search path
10258 if test -f /etc/ld.so.conf; then
10259 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10260 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10263 # We used to test for /lib/ld.so.1 and disable shared libraries on
10264 # powerpc, because MkLinux only supported shared libraries with the
10265 # GNU dynamic linker. Since this was broken with cross compilers,
10266 # most powerpc-linux boxes support dynamic linking these days and
10267 # people can always --disable-shared, the test was removed, and we
10268 # assume the GNU/Linux dynamic linker is in use.
10269 dynamic_linker='GNU/Linux ld.so'
10272 netbsd*)
10273 version_type=sunos
10274 need_lib_prefix=no
10275 need_version=no
10276 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10278 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10279 dynamic_linker='NetBSD (a.out) ld.so'
10280 else
10281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10282 soname_spec='${libname}${release}${shared_ext}$major'
10283 dynamic_linker='NetBSD ld.elf_so'
10285 shlibpath_var=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10287 hardcode_into_libs=yes
10290 newsos6)
10291 version_type=linux
10292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10293 shlibpath_var=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath=yes
10297 *nto* | *qnx*)
10298 version_type=qnx
10299 need_lib_prefix=no
10300 need_version=no
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302 soname_spec='${libname}${release}${shared_ext}$major'
10303 shlibpath_var=LD_LIBRARY_PATH
10304 shlibpath_overrides_runpath=no
10305 hardcode_into_libs=yes
10306 dynamic_linker='ldqnx.so'
10309 openbsd*)
10310 version_type=sunos
10311 sys_lib_dlsearch_path_spec="/usr/lib"
10312 need_lib_prefix=no
10313 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10314 case $host_os in
10315 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10316 *) need_version=no ;;
10317 esac
10318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10320 shlibpath_var=LD_LIBRARY_PATH
10321 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10322 case $host_os in
10323 openbsd2.[89] | openbsd2.[89].*)
10324 shlibpath_overrides_runpath=no
10327 shlibpath_overrides_runpath=yes
10329 esac
10330 else
10331 shlibpath_overrides_runpath=yes
10335 os2*)
10336 libname_spec='$name'
10337 shrext_cmds=".dll"
10338 need_lib_prefix=no
10339 library_names_spec='$libname${shared_ext} $libname.a'
10340 dynamic_linker='OS/2 ld.exe'
10341 shlibpath_var=LIBPATH
10344 osf3* | osf4* | osf5*)
10345 version_type=osf
10346 need_lib_prefix=no
10347 need_version=no
10348 soname_spec='${libname}${release}${shared_ext}$major'
10349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 shlibpath_var=LD_LIBRARY_PATH
10351 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10352 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10355 rdos*)
10356 dynamic_linker=no
10359 solaris*)
10360 version_type=linux
10361 need_lib_prefix=no
10362 need_version=no
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 soname_spec='${libname}${release}${shared_ext}$major'
10365 shlibpath_var=LD_LIBRARY_PATH
10366 shlibpath_overrides_runpath=yes
10367 hardcode_into_libs=yes
10368 # ldd complains unless libraries are executable
10369 postinstall_cmds='chmod +x $lib'
10372 sunos4*)
10373 version_type=sunos
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10375 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10376 shlibpath_var=LD_LIBRARY_PATH
10377 shlibpath_overrides_runpath=yes
10378 if test "$with_gnu_ld" = yes; then
10379 need_lib_prefix=no
10381 need_version=yes
10384 sysv4 | sysv4.3*)
10385 version_type=linux
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 shlibpath_var=LD_LIBRARY_PATH
10389 case $host_vendor in
10390 sni)
10391 shlibpath_overrides_runpath=no
10392 need_lib_prefix=no
10393 runpath_var=LD_RUN_PATH
10395 siemens)
10396 need_lib_prefix=no
10398 motorola)
10399 need_lib_prefix=no
10400 need_version=no
10401 shlibpath_overrides_runpath=no
10402 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10404 esac
10407 sysv4*MP*)
10408 if test -d /usr/nec ;then
10409 version_type=linux
10410 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10411 soname_spec='$libname${shared_ext}.$major'
10412 shlibpath_var=LD_LIBRARY_PATH
10416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10417 version_type=freebsd-elf
10418 need_lib_prefix=no
10419 need_version=no
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 shlibpath_var=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath=yes
10424 hardcode_into_libs=yes
10425 if test "$with_gnu_ld" = yes; then
10426 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10427 else
10428 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10429 case $host_os in
10430 sco3.2v5*)
10431 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10433 esac
10435 sys_lib_dlsearch_path_spec='/usr/lib'
10438 tpf*)
10439 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10440 version_type=linux
10441 need_lib_prefix=no
10442 need_version=no
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath=no
10446 hardcode_into_libs=yes
10449 uts4*)
10450 version_type=linux
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 soname_spec='${libname}${release}${shared_ext}$major'
10453 shlibpath_var=LD_LIBRARY_PATH
10457 dynamic_linker=no
10459 esac
10460 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10461 echo "${ECHO_T}$dynamic_linker" >&6
10462 test "$dynamic_linker" = no && can_build_shared=no
10464 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10465 if test "$GCC" = yes; then
10466 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10469 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10470 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10472 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10473 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10562 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10563 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10564 hardcode_action=
10565 if test -n "$hardcode_libdir_flag_spec" ||
10566 test -n "$runpath_var" ||
10567 test "X$hardcode_automatic" = "Xyes" ; then
10569 # We can hardcode non-existent directories.
10570 if test "$hardcode_direct" != no &&
10571 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10572 # have to relink, otherwise we might link with an installed library
10573 # when we should be linking with a yet-to-be-installed one
10574 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10575 test "$hardcode_minus_L" != no; then
10576 # Linking always hardcodes the temporary library directory.
10577 hardcode_action=relink
10578 else
10579 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10580 hardcode_action=immediate
10582 else
10583 # We cannot hardcode anything, or else we can only hardcode existing
10584 # directories.
10585 hardcode_action=unsupported
10587 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10588 echo "${ECHO_T}$hardcode_action" >&6
10590 if test "$hardcode_action" = relink ||
10591 test "$inherit_rpath" = yes; then
10592 # Fast installation is not supported
10593 enable_fast_install=no
10594 elif test "$shlibpath_overrides_runpath" = yes ||
10595 test "$enable_shared" = no; then
10596 # Fast installation is not necessary
10597 enable_fast_install=needless
10605 if test "x$enable_dlopen" != xyes; then
10606 enable_dlopen=unknown
10607 enable_dlopen_self=unknown
10608 enable_dlopen_self_static=unknown
10609 else
10610 lt_cv_dlopen=no
10611 lt_cv_dlopen_libs=
10613 case $host_os in
10614 beos*)
10615 lt_cv_dlopen="load_add_on"
10616 lt_cv_dlopen_libs=
10617 lt_cv_dlopen_self=yes
10620 mingw* | pw32* | cegcc*)
10621 lt_cv_dlopen="LoadLibrary"
10622 lt_cv_dlopen_libs=
10625 cygwin*)
10626 lt_cv_dlopen="dlopen"
10627 lt_cv_dlopen_libs=
10630 darwin*)
10631 # if libdl is installed we need to link against it
10632 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10633 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10634 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 else
10637 ac_check_lib_save_LIBS=$LIBS
10638 LIBS="-ldl $LIBS"
10639 if test x$gcc_no_link = xyes; then
10640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10642 { (exit 1); exit 1; }; }
10644 cat >conftest.$ac_ext <<_ACEOF
10645 /* confdefs.h. */
10646 _ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10651 /* Override any gcc2 internal prototype to avoid an error. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 /* We use char because int might match the return type of a gcc2
10656 builtin and then its argument prototype would still apply. */
10657 char dlopen ();
10659 main ()
10661 dlopen ();
10663 return 0;
10665 _ACEOF
10666 rm -f conftest.$ac_objext conftest$ac_exeext
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } &&
10675 { ac_try='test -z "$ac_c_werror_flag"
10676 || test ! -s conftest.err'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10679 ac_status=$?
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; } &&
10682 { ac_try='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 ac_cv_lib_dl_dlopen=yes
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 ac_cv_lib_dl_dlopen=no
10695 rm -f conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 LIBS=$ac_check_lib_save_LIBS
10699 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10700 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10701 if test $ac_cv_lib_dl_dlopen = yes; then
10702 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10703 else
10705 lt_cv_dlopen="dyld"
10706 lt_cv_dlopen_libs=
10707 lt_cv_dlopen_self=yes
10714 echo "$as_me:$LINENO: checking for shl_load" >&5
10715 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10716 if test "${ac_cv_func_shl_load+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719 if test x$gcc_no_link = xyes; then
10720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10722 { (exit 1); exit 1; }; }
10724 cat >conftest.$ac_ext <<_ACEOF
10725 /* confdefs.h. */
10726 _ACEOF
10727 cat confdefs.h >>conftest.$ac_ext
10728 cat >>conftest.$ac_ext <<_ACEOF
10729 /* end confdefs.h. */
10730 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10732 #define shl_load innocuous_shl_load
10734 /* System header to define __stub macros and hopefully few prototypes,
10735 which can conflict with char shl_load (); below.
10736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10737 <limits.h> exists even on freestanding compilers. */
10739 #ifdef __STDC__
10740 # include <limits.h>
10741 #else
10742 # include <assert.h>
10743 #endif
10745 #undef shl_load
10747 /* Override any gcc2 internal prototype to avoid an error. */
10748 #ifdef __cplusplus
10749 extern "C"
10751 #endif
10752 /* We use char because int might match the return type of a gcc2
10753 builtin and then its argument prototype would still apply. */
10754 char shl_load ();
10755 /* The GNU C library defines this for functions which it implements
10756 to always fail with ENOSYS. Some functions are actually named
10757 something starting with __ and the normal name is an alias. */
10758 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10759 choke me
10760 #else
10761 char (*f) () = shl_load;
10762 #endif
10763 #ifdef __cplusplus
10765 #endif
10768 main ()
10770 return f != shl_load;
10772 return 0;
10774 _ACEOF
10775 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10777 (eval $ac_link) 2>conftest.er1
10778 ac_status=$?
10779 grep -v '^ *+' conftest.er1 >conftest.err
10780 rm -f conftest.er1
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -z "$ac_c_werror_flag"
10785 || test ! -s conftest.err'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10788 ac_status=$?
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; } &&
10791 { ac_try='test -s conftest$ac_exeext'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10794 ac_status=$?
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_cv_func_shl_load=yes
10798 else
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10802 ac_cv_func_shl_load=no
10804 rm -f conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10807 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10808 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10809 if test $ac_cv_func_shl_load = yes; then
10810 lt_cv_dlopen="shl_load"
10811 else
10812 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10813 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10814 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 else
10817 ac_check_lib_save_LIBS=$LIBS
10818 LIBS="-ldld $LIBS"
10819 if test x$gcc_no_link = xyes; then
10820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10822 { (exit 1); exit 1; }; }
10824 cat >conftest.$ac_ext <<_ACEOF
10825 /* confdefs.h. */
10826 _ACEOF
10827 cat confdefs.h >>conftest.$ac_ext
10828 cat >>conftest.$ac_ext <<_ACEOF
10829 /* end confdefs.h. */
10831 /* Override any gcc2 internal prototype to avoid an error. */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10837 char shl_load ();
10839 main ()
10841 shl_load ();
10843 return 0;
10845 _ACEOF
10846 rm -f conftest.$ac_objext conftest$ac_exeext
10847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10848 (eval $ac_link) 2>conftest.er1
10849 ac_status=$?
10850 grep -v '^ *+' conftest.er1 >conftest.err
10851 rm -f conftest.er1
10852 cat conftest.err >&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } &&
10855 { ac_try='test -z "$ac_c_werror_flag"
10856 || test ! -s conftest.err'
10857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10858 (eval $ac_try) 2>&5
10859 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; } &&
10862 { ac_try='test -s conftest$ac_exeext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10865 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 ac_cv_lib_dld_shl_load=yes
10869 else
10870 echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10873 ac_cv_lib_dld_shl_load=no
10875 rm -f conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10879 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10880 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10881 if test $ac_cv_lib_dld_shl_load = yes; then
10882 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10883 else
10884 echo "$as_me:$LINENO: checking for dlopen" >&5
10885 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10886 if test "${ac_cv_func_dlopen+set}" = set; then
10887 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 else
10889 if test x$gcc_no_link = xyes; then
10890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10892 { (exit 1); exit 1; }; }
10894 cat >conftest.$ac_ext <<_ACEOF
10895 /* confdefs.h. */
10896 _ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10900 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10902 #define dlopen innocuous_dlopen
10904 /* System header to define __stub macros and hopefully few prototypes,
10905 which can conflict with char dlopen (); below.
10906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10907 <limits.h> exists even on freestanding compilers. */
10909 #ifdef __STDC__
10910 # include <limits.h>
10911 #else
10912 # include <assert.h>
10913 #endif
10915 #undef dlopen
10917 /* Override any gcc2 internal prototype to avoid an error. */
10918 #ifdef __cplusplus
10919 extern "C"
10921 #endif
10922 /* We use char because int might match the return type of a gcc2
10923 builtin and then its argument prototype would still apply. */
10924 char dlopen ();
10925 /* The GNU C library defines this for functions which it implements
10926 to always fail with ENOSYS. Some functions are actually named
10927 something starting with __ and the normal name is an alias. */
10928 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10929 choke me
10930 #else
10931 char (*f) () = dlopen;
10932 #endif
10933 #ifdef __cplusplus
10935 #endif
10938 main ()
10940 return f != dlopen;
10942 return 0;
10944 _ACEOF
10945 rm -f conftest.$ac_objext conftest$ac_exeext
10946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10947 (eval $ac_link) 2>conftest.er1
10948 ac_status=$?
10949 grep -v '^ *+' conftest.er1 >conftest.err
10950 rm -f conftest.er1
10951 cat conftest.err >&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); } &&
10954 { ac_try='test -z "$ac_c_werror_flag"
10955 || test ! -s conftest.err'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10958 ac_status=$?
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; } &&
10961 { ac_try='test -s conftest$ac_exeext'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10964 ac_status=$?
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; }; then
10967 ac_cv_func_dlopen=yes
10968 else
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_cv_func_dlopen=no
10974 rm -f conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10977 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10978 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10979 if test $ac_cv_func_dlopen = yes; then
10980 lt_cv_dlopen="dlopen"
10981 else
10982 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10983 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10984 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 ac_check_lib_save_LIBS=$LIBS
10988 LIBS="-ldl $LIBS"
10989 if test x$gcc_no_link = xyes; then
10990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10992 { (exit 1); exit 1; }; }
10994 cat >conftest.$ac_ext <<_ACEOF
10995 /* confdefs.h. */
10996 _ACEOF
10997 cat confdefs.h >>conftest.$ac_ext
10998 cat >>conftest.$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11001 /* Override any gcc2 internal prototype to avoid an error. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 /* We use char because int might match the return type of a gcc2
11006 builtin and then its argument prototype would still apply. */
11007 char dlopen ();
11009 main ()
11011 dlopen ();
11013 return 0;
11015 _ACEOF
11016 rm -f conftest.$ac_objext conftest$ac_exeext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11018 (eval $ac_link) 2>conftest.er1
11019 ac_status=$?
11020 grep -v '^ *+' conftest.er1 >conftest.err
11021 rm -f conftest.er1
11022 cat conftest.err >&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try='test -z "$ac_c_werror_flag"
11026 || test ! -s conftest.err'
11027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028 (eval $ac_try) 2>&5
11029 ac_status=$?
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }; } &&
11032 { ac_try='test -s conftest$ac_exeext'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_cv_lib_dl_dlopen=yes
11039 else
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.$ac_ext >&5
11043 ac_cv_lib_dl_dlopen=no
11045 rm -f conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11050 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11051 if test $ac_cv_lib_dl_dlopen = yes; then
11052 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11053 else
11054 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11055 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11056 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lsvld $LIBS"
11061 if test x$gcc_no_link = xyes; then
11062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11064 { (exit 1); exit 1; }; }
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11073 /* Override any gcc2 internal prototype to avoid an error. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 /* We use char because int might match the return type of a gcc2
11078 builtin and then its argument prototype would still apply. */
11079 char dlopen ();
11081 main ()
11083 dlopen ();
11085 return 0;
11087 _ACEOF
11088 rm -f conftest.$ac_objext conftest$ac_exeext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11090 (eval $ac_link) 2>conftest.er1
11091 ac_status=$?
11092 grep -v '^ *+' conftest.er1 >conftest.err
11093 rm -f conftest.er1
11094 cat conftest.err >&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } &&
11097 { ac_try='test -z "$ac_c_werror_flag"
11098 || test ! -s conftest.err'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11101 ac_status=$?
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; } &&
11104 { ac_try='test -s conftest$ac_exeext'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11107 ac_status=$?
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; }; then
11110 ac_cv_lib_svld_dlopen=yes
11111 else
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.$ac_ext >&5
11115 ac_cv_lib_svld_dlopen=no
11117 rm -f conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_lib_save_LIBS
11121 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11122 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11123 if test $ac_cv_lib_svld_dlopen = yes; then
11124 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11125 else
11126 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11127 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11128 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldld $LIBS"
11133 if test x$gcc_no_link = xyes; then
11134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11136 { (exit 1); exit 1; }; }
11138 cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h. */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11145 /* Override any gcc2 internal prototype to avoid an error. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 /* We use char because int might match the return type of a gcc2
11150 builtin and then its argument prototype would still apply. */
11151 char dld_link ();
11153 main ()
11155 dld_link ();
11157 return 0;
11159 _ACEOF
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162 (eval $ac_link) 2>conftest.er1
11163 ac_status=$?
11164 grep -v '^ *+' conftest.er1 >conftest.err
11165 rm -f conftest.er1
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try='test -s conftest$ac_exeext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11179 ac_status=$?
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_cv_lib_dld_dld_link=yes
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_cv_lib_dld_dld_link=no
11189 rm -f conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11194 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11195 if test $ac_cv_lib_dld_dld_link = yes; then
11196 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11215 esac
11217 if test "x$lt_cv_dlopen" != xno; then
11218 enable_dlopen=yes
11219 else
11220 enable_dlopen=no
11223 case $lt_cv_dlopen in
11224 dlopen)
11225 save_CPPFLAGS="$CPPFLAGS"
11226 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11228 save_LDFLAGS="$LDFLAGS"
11229 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11231 save_LIBS="$LIBS"
11232 LIBS="$lt_cv_dlopen_libs $LIBS"
11234 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11235 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11236 if test "${lt_cv_dlopen_self+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11239 if test "$cross_compiling" = yes; then :
11240 lt_cv_dlopen_self=cross
11241 else
11242 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11243 lt_status=$lt_dlunknown
11244 cat > conftest.$ac_ext <<_LT_EOF
11245 #line 11245 "configure"
11246 #include "confdefs.h"
11248 #if HAVE_DLFCN_H
11249 #include <dlfcn.h>
11250 #endif
11252 #include <stdio.h>
11254 #ifdef RTLD_GLOBAL
11255 # define LT_DLGLOBAL RTLD_GLOBAL
11256 #else
11257 # ifdef DL_GLOBAL
11258 # define LT_DLGLOBAL DL_GLOBAL
11259 # else
11260 # define LT_DLGLOBAL 0
11261 # endif
11262 #endif
11264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11265 find out it does not work in some platform. */
11266 #ifndef LT_DLLAZY_OR_NOW
11267 # ifdef RTLD_LAZY
11268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11269 # else
11270 # ifdef DL_LAZY
11271 # define LT_DLLAZY_OR_NOW DL_LAZY
11272 # else
11273 # ifdef RTLD_NOW
11274 # define LT_DLLAZY_OR_NOW RTLD_NOW
11275 # else
11276 # ifdef DL_NOW
11277 # define LT_DLLAZY_OR_NOW DL_NOW
11278 # else
11279 # define LT_DLLAZY_OR_NOW 0
11280 # endif
11281 # endif
11282 # endif
11283 # endif
11284 #endif
11286 void fnord() { int i=42;}
11287 int main ()
11289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11290 int status = $lt_dlunknown;
11292 if (self)
11294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11295 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11296 /* dlclose (self); */
11298 else
11299 puts (dlerror ());
11301 return status;
11303 _LT_EOF
11304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11305 (eval $ac_link) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11309 (./conftest; exit; ) >&5 2>/dev/null
11310 lt_status=$?
11311 case x$lt_status in
11312 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11313 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11314 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11315 esac
11316 else :
11317 # compilation failed
11318 lt_cv_dlopen_self=no
11321 rm -fr conftest*
11325 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11326 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11328 if test "x$lt_cv_dlopen_self" = xyes; then
11329 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11330 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11331 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11332 if test "${lt_cv_dlopen_self_static+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 if test "$cross_compiling" = yes; then :
11336 lt_cv_dlopen_self_static=cross
11337 else
11338 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11339 lt_status=$lt_dlunknown
11340 cat > conftest.$ac_ext <<_LT_EOF
11341 #line 11341 "configure"
11342 #include "confdefs.h"
11344 #if HAVE_DLFCN_H
11345 #include <dlfcn.h>
11346 #endif
11348 #include <stdio.h>
11350 #ifdef RTLD_GLOBAL
11351 # define LT_DLGLOBAL RTLD_GLOBAL
11352 #else
11353 # ifdef DL_GLOBAL
11354 # define LT_DLGLOBAL DL_GLOBAL
11355 # else
11356 # define LT_DLGLOBAL 0
11357 # endif
11358 #endif
11360 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11361 find out it does not work in some platform. */
11362 #ifndef LT_DLLAZY_OR_NOW
11363 # ifdef RTLD_LAZY
11364 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11365 # else
11366 # ifdef DL_LAZY
11367 # define LT_DLLAZY_OR_NOW DL_LAZY
11368 # else
11369 # ifdef RTLD_NOW
11370 # define LT_DLLAZY_OR_NOW RTLD_NOW
11371 # else
11372 # ifdef DL_NOW
11373 # define LT_DLLAZY_OR_NOW DL_NOW
11374 # else
11375 # define LT_DLLAZY_OR_NOW 0
11376 # endif
11377 # endif
11378 # endif
11379 # endif
11380 #endif
11382 void fnord() { int i=42;}
11383 int main ()
11385 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11386 int status = $lt_dlunknown;
11388 if (self)
11390 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11391 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11392 /* dlclose (self); */
11394 else
11395 puts (dlerror ());
11397 return status;
11399 _LT_EOF
11400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11401 (eval $ac_link) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11405 (./conftest; exit; ) >&5 2>/dev/null
11406 lt_status=$?
11407 case x$lt_status in
11408 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11409 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11410 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11411 esac
11412 else :
11413 # compilation failed
11414 lt_cv_dlopen_self_static=no
11417 rm -fr conftest*
11421 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11422 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11425 CPPFLAGS="$save_CPPFLAGS"
11426 LDFLAGS="$save_LDFLAGS"
11427 LIBS="$save_LIBS"
11429 esac
11431 case $lt_cv_dlopen_self in
11432 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11433 *) enable_dlopen_self=unknown ;;
11434 esac
11436 case $lt_cv_dlopen_self_static in
11437 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11438 *) enable_dlopen_self_static=unknown ;;
11439 esac
11458 striplib=
11459 old_striplib=
11460 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11461 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11462 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11463 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11464 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11465 echo "$as_me:$LINENO: result: yes" >&5
11466 echo "${ECHO_T}yes" >&6
11467 else
11468 # FIXME - insert some real tests, host_os isn't really good enough
11469 case $host_os in
11470 darwin*)
11471 if test -n "$STRIP" ; then
11472 striplib="$STRIP -x"
11473 old_striplib="$STRIP -S"
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11482 echo "$as_me:$LINENO: result: no" >&5
11483 echo "${ECHO_T}no" >&6
11485 esac
11499 # Report which library types will actually be built
11500 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11501 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11502 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11503 echo "${ECHO_T}$can_build_shared" >&6
11505 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11506 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11507 test "$can_build_shared" = "no" && enable_shared=no
11509 # On AIX, shared libraries and static libraries use the same namespace, and
11510 # are all built from PIC.
11511 case $host_os in
11512 aix3*)
11513 test "$enable_shared" = yes && enable_static=no
11514 if test -n "$RANLIB"; then
11515 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11516 postinstall_cmds='$RANLIB $lib'
11520 aix[4-9]*)
11521 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11522 test "$enable_shared" = yes && enable_static=no
11525 esac
11526 echo "$as_me:$LINENO: result: $enable_shared" >&5
11527 echo "${ECHO_T}$enable_shared" >&6
11529 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11530 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11531 # Make sure either enable_shared or enable_static is yes.
11532 test "$enable_shared" = yes || enable_static=yes
11533 echo "$as_me:$LINENO: result: $enable_static" >&5
11534 echo "${ECHO_T}$enable_static" >&6
11540 ac_ext=c
11541 ac_cpp='$CPP $CPPFLAGS'
11542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11546 CC="$lt_save_CC"
11549 ac_ext=cc
11550 ac_cpp='$CXXCPP $CPPFLAGS'
11551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11555 archive_cmds_need_lc_CXX=no
11556 allow_undefined_flag_CXX=
11557 always_export_symbols_CXX=no
11558 archive_expsym_cmds_CXX=
11559 compiler_needs_object_CXX=no
11560 export_dynamic_flag_spec_CXX=
11561 hardcode_direct_CXX=no
11562 hardcode_direct_absolute_CXX=no
11563 hardcode_libdir_flag_spec_CXX=
11564 hardcode_libdir_flag_spec_ld_CXX=
11565 hardcode_libdir_separator_CXX=
11566 hardcode_minus_L_CXX=no
11567 hardcode_shlibpath_var_CXX=unsupported
11568 hardcode_automatic_CXX=no
11569 inherit_rpath_CXX=no
11570 module_cmds_CXX=
11571 module_expsym_cmds_CXX=
11572 link_all_deplibs_CXX=unknown
11573 old_archive_cmds_CXX=$old_archive_cmds
11574 no_undefined_flag_CXX=
11575 whole_archive_flag_spec_CXX=
11576 enable_shared_with_static_runtimes_CXX=no
11578 # Source file extension for C++ test sources.
11579 ac_ext=cpp
11581 # Object file extension for compiled C++ test sources.
11582 objext=o
11583 objext_CXX=$objext
11585 # No sense in running all these tests if we already determined that
11586 # the CXX compiler isn't working. Some variables (like enable_shared)
11587 # are currently assumed to apply to all compilers on this platform,
11588 # and will be corrupted by setting them based on a non-working compiler.
11589 if test "$_lt_caught_CXX_error" != yes; then
11590 # Code to be used in simple compile tests
11591 lt_simple_compile_test_code="int some_variable = 0;"
11593 # Code to be used in simple link tests
11594 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11596 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11603 # If no C compiler was specified, use CC.
11604 LTCC=${LTCC-"$CC"}
11606 # If no C compiler flags were specified, use CFLAGS.
11607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11609 # Allow CC to be a program name with arguments.
11610 compiler=$CC
11613 # save warnings/boilerplate of simple test code
11614 ac_outfile=conftest.$ac_objext
11615 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11616 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11617 _lt_compiler_boilerplate=`cat conftest.err`
11618 $RM conftest*
11620 ac_outfile=conftest.$ac_objext
11621 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11622 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11623 _lt_linker_boilerplate=`cat conftest.err`
11624 $RM -r conftest*
11627 # Allow CC to be a program name with arguments.
11628 lt_save_CC=$CC
11629 lt_save_LD=$LD
11630 lt_save_GCC=$GCC
11631 GCC=$GXX
11632 lt_save_with_gnu_ld=$with_gnu_ld
11633 lt_save_path_LD=$lt_cv_path_LD
11634 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11635 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11636 else
11637 $as_unset lt_cv_prog_gnu_ld
11639 if test -n "${lt_cv_path_LDCXX+set}"; then
11640 lt_cv_path_LD=$lt_cv_path_LDCXX
11641 else
11642 $as_unset lt_cv_path_LD
11644 test -z "${LDCXX+set}" || LD=$LDCXX
11645 CC=${CXX-"c++"}
11646 compiler=$CC
11647 compiler_CXX=$CC
11648 for cc_temp in $compiler""; do
11649 case $cc_temp in
11650 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11651 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11652 \-*) ;;
11653 *) break;;
11654 esac
11655 done
11656 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11659 if test -n "$compiler"; then
11660 # We don't want -fno-exception when compiling C++ code, so set the
11661 # no_builtin_flag separately
11662 if test "$GXX" = yes; then
11663 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11664 else
11665 lt_prog_compiler_no_builtin_flag_CXX=
11668 if test "$GXX" = yes; then
11669 # Set up default GNU C++ configuration
11673 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11674 if test "${with_gnu_ld+set}" = set; then
11675 withval="$with_gnu_ld"
11676 test "$withval" = no || with_gnu_ld=yes
11677 else
11678 with_gnu_ld=no
11680 ac_prog=ld
11681 if test "$GCC" = yes; then
11682 # Check if gcc -print-prog-name=ld gives a path.
11683 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11684 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11685 case $host in
11686 *-*-mingw*)
11687 # gcc leaves a trailing carriage return which upsets mingw
11688 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11690 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11691 esac
11692 case $ac_prog in
11693 # Accept absolute paths.
11694 [\\/]* | ?:[\\/]*)
11695 re_direlt='/[^/][^/]*/\.\./'
11696 # Canonicalize the pathname of ld
11697 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11698 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11699 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11700 done
11701 test -z "$LD" && LD="$ac_prog"
11704 # If it fails, then pretend we aren't using GCC.
11705 ac_prog=ld
11708 # If it is relative, then search for the first ld in PATH.
11709 with_gnu_ld=unknown
11711 esac
11712 elif test "$with_gnu_ld" = yes; then
11713 echo "$as_me:$LINENO: checking for GNU ld" >&5
11714 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11715 else
11716 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11717 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11719 if test "${lt_cv_path_LD+set}" = set; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 else
11722 if test -z "$LD"; then
11723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11724 for ac_dir in $PATH; do
11725 IFS="$lt_save_ifs"
11726 test -z "$ac_dir" && ac_dir=.
11727 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11728 lt_cv_path_LD="$ac_dir/$ac_prog"
11729 # Check to see if the program is GNU ld. I'd rather use --version,
11730 # but apparently some variants of GNU ld only accept -v.
11731 # Break only if it was the GNU/non-GNU ld that we prefer.
11732 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11733 *GNU* | *'with BFD'*)
11734 test "$with_gnu_ld" != no && break
11737 test "$with_gnu_ld" != yes && break
11739 esac
11741 done
11742 IFS="$lt_save_ifs"
11743 else
11744 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11748 LD="$lt_cv_path_LD"
11749 if test -n "$LD"; then
11750 echo "$as_me:$LINENO: result: $LD" >&5
11751 echo "${ECHO_T}$LD" >&6
11752 else
11753 echo "$as_me:$LINENO: result: no" >&5
11754 echo "${ECHO_T}no" >&6
11756 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11757 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11758 { (exit 1); exit 1; }; }
11759 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11760 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11761 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 else
11764 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11765 case `$LD -v 2>&1 </dev/null` in
11766 *GNU* | *'with BFD'*)
11767 lt_cv_prog_gnu_ld=yes
11770 lt_cv_prog_gnu_ld=no
11772 esac
11774 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11775 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11776 with_gnu_ld=$lt_cv_prog_gnu_ld
11784 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11785 # archiving commands below assume that GNU ld is being used.
11786 if test "$with_gnu_ld" = yes; then
11787 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11788 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'
11790 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11791 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11793 # If archive_cmds runs LD, not CC, wlarc should be empty
11794 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11795 # investigate it a little bit more. (MM)
11796 wlarc='${wl}'
11798 # ancient GNU ld didn't support --whole-archive et. al.
11799 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11800 $GREP 'no-whole-archive' > /dev/null; then
11801 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11802 else
11803 whole_archive_flag_spec_CXX=
11805 else
11806 with_gnu_ld=no
11807 wlarc=
11809 # A generic and very simple default shared library creation
11810 # command for GNU C++ for the case where it uses the native
11811 # linker, instead of GNU ld. If possible, this setting should
11812 # overridden to take advantage of the native linker features on
11813 # the platform it is being used on.
11814 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11817 # Commands to make compiler produce verbose output that lists
11818 # what "hidden" libraries, object files and flags are used when
11819 # linking a shared library.
11820 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11822 else
11823 GXX=no
11824 with_gnu_ld=no
11825 wlarc=
11828 # PORTME: fill in a description of your system's C++ link characteristics
11829 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11830 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11831 ld_shlibs_CXX=yes
11832 case $host_os in
11833 aix3*)
11834 # FIXME: insert proper C++ library support
11835 ld_shlibs_CXX=no
11837 aix[4-9]*)
11838 if test "$host_cpu" = ia64; then
11839 # On IA64, the linker does run time linking by default, so we don't
11840 # have to do anything special.
11841 aix_use_runtimelinking=no
11842 exp_sym_flag='-Bexport'
11843 no_entry_flag=""
11844 else
11845 aix_use_runtimelinking=no
11847 # Test if we are trying to use run time linking or normal
11848 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11849 # need to do runtime linking.
11850 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11851 for ld_flag in $LDFLAGS; do
11852 case $ld_flag in
11853 *-brtl*)
11854 aix_use_runtimelinking=yes
11855 break
11857 esac
11858 done
11860 esac
11862 exp_sym_flag='-bexport'
11863 no_entry_flag='-bnoentry'
11866 # When large executables or shared objects are built, AIX ld can
11867 # have problems creating the table of contents. If linking a library
11868 # or program results in "error TOC overflow" add -mminimal-toc to
11869 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11870 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11872 archive_cmds_CXX=''
11873 hardcode_direct_CXX=yes
11874 hardcode_direct_absolute_CXX=yes
11875 hardcode_libdir_separator_CXX=':'
11876 link_all_deplibs_CXX=yes
11877 file_list_spec_CXX='${wl}-f,'
11879 if test "$GXX" = yes; then
11880 case $host_os in aix4.[012]|aix4.[012].*)
11881 # We only want to do this on AIX 4.2 and lower, the check
11882 # below for broken collect2 doesn't work under 4.3+
11883 collect2name=`${CC} -print-prog-name=collect2`
11884 if test -f "$collect2name" &&
11885 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11886 then
11887 # We have reworked collect2
11889 else
11890 # We have old collect2
11891 hardcode_direct_CXX=unsupported
11892 # It fails to find uninstalled libraries when the uninstalled
11893 # path is not listed in the libpath. Setting hardcode_minus_L
11894 # to unsupported forces relinking
11895 hardcode_minus_L_CXX=yes
11896 hardcode_libdir_flag_spec_CXX='-L$libdir'
11897 hardcode_libdir_separator_CXX=
11899 esac
11900 shared_flag='-shared'
11901 if test "$aix_use_runtimelinking" = yes; then
11902 shared_flag="$shared_flag "'${wl}-G'
11904 else
11905 # not using gcc
11906 if test "$host_cpu" = ia64; then
11907 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11908 # chokes on -Wl,-G. The following line is correct:
11909 shared_flag='-G'
11910 else
11911 if test "$aix_use_runtimelinking" = yes; then
11912 shared_flag='${wl}-G'
11913 else
11914 shared_flag='${wl}-bM:SRE'
11919 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11920 # It seems that -bexpall does not export symbols beginning with
11921 # underscore (_), so it is better to generate a list of symbols to
11922 # export.
11923 always_export_symbols_CXX=yes
11924 if test "$aix_use_runtimelinking" = yes; then
11925 # Warning - without using the other runtime loading flags (-brtl),
11926 # -berok will link without error, but may produce a broken library.
11927 allow_undefined_flag_CXX='-berok'
11928 # Determine the default libpath from the value encoded in an empty
11929 # executable.
11930 if test x$gcc_no_link = xyes; then
11931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11933 { (exit 1); exit 1; }; }
11935 cat >conftest.$ac_ext <<_ACEOF
11936 /* confdefs.h. */
11937 _ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11943 main ()
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>conftest.er1
11953 ac_status=$?
11954 grep -v '^ *+' conftest.er1 >conftest.err
11955 rm -f conftest.er1
11956 cat conftest.err >&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try='test -z "$ac_cxx_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11973 lt_aix_libpath_sed='
11974 /Import File Strings/,/^$/ {
11975 /^0/ {
11976 s/^0 *\(.*\)$/\1/
11980 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11981 # Check for a 64-bit object if we didn't find anything.
11982 if test -z "$aix_libpath"; then
11983 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11985 else
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.$ac_ext >&5
11990 rm -f conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11994 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11996 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"
11997 else
11998 if test "$host_cpu" = ia64; then
11999 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12000 allow_undefined_flag_CXX="-z nodefs"
12001 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"
12002 else
12003 # Determine the default libpath from the value encoded in an
12004 # empty executable.
12005 if test x$gcc_no_link = xyes; then
12006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12008 { (exit 1); exit 1; }; }
12010 cat >conftest.$ac_ext <<_ACEOF
12011 /* confdefs.h. */
12012 _ACEOF
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12018 main ()
12022 return 0;
12024 _ACEOF
12025 rm -f conftest.$ac_objext conftest$ac_exeext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12027 (eval $ac_link) 2>conftest.er1
12028 ac_status=$?
12029 grep -v '^ *+' conftest.er1 >conftest.err
12030 rm -f conftest.er1
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try='test -z "$ac_cxx_werror_flag"
12035 || test ! -s conftest.err'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12038 ac_status=$?
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12044 ac_status=$?
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12048 lt_aix_libpath_sed='
12049 /Import File Strings/,/^$/ {
12050 /^0/ {
12051 s/^0 *\(.*\)$/\1/
12055 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12056 # Check for a 64-bit object if we didn't find anything.
12057 if test -z "$aix_libpath"; then
12058 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12060 else
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12065 rm -f conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12069 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12070 # Warning - without using the other run time loading flags,
12071 # -berok will link without error, but may produce a broken library.
12072 no_undefined_flag_CXX=' ${wl}-bernotok'
12073 allow_undefined_flag_CXX=' ${wl}-berok'
12074 # Exported symbols can be pulled into shared objects from archives
12075 whole_archive_flag_spec_CXX='$convenience'
12076 archive_cmds_need_lc_CXX=yes
12077 # This is similar to how AIX traditionally builds its shared
12078 # libraries.
12079 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'
12084 beos*)
12085 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12086 allow_undefined_flag_CXX=unsupported
12087 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12088 # support --undefined. This deserves some investigation. FIXME
12089 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12090 else
12091 ld_shlibs_CXX=no
12095 chorus*)
12096 case $cc_basename in
12098 # FIXME: insert proper C++ library support
12099 ld_shlibs_CXX=no
12101 esac
12104 cygwin* | mingw* | pw32* | cegcc*)
12105 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12106 # as there is no search path for DLLs.
12107 hardcode_libdir_flag_spec_CXX='-L$libdir'
12108 allow_undefined_flag_CXX=unsupported
12109 always_export_symbols_CXX=no
12110 enable_shared_with_static_runtimes_CXX=yes
12112 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12113 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'
12114 # If the export-symbols file already is a .def file (1st line
12115 # is EXPORTS), use it as is; otherwise, prepend...
12116 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12117 cp $export_symbols $output_objdir/$soname.def;
12118 else
12119 echo EXPORTS > $output_objdir/$soname.def;
12120 cat $export_symbols >> $output_objdir/$soname.def;
12122 $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'
12123 else
12124 ld_shlibs_CXX=no
12127 darwin* | rhapsody*)
12130 archive_cmds_need_lc_CXX=no
12131 hardcode_direct_CXX=no
12132 hardcode_automatic_CXX=yes
12133 hardcode_shlibpath_var_CXX=unsupported
12134 whole_archive_flag_spec_CXX=''
12135 link_all_deplibs_CXX=yes
12136 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12137 case $cc_basename in
12138 ifort*) _lt_dar_can_shared=yes ;;
12139 *) _lt_dar_can_shared=$GCC ;;
12140 esac
12141 if test "$_lt_dar_can_shared" = "yes"; then
12142 output_verbose_link_cmd=echo
12143 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12144 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12145 archive_expsym_cmds_CXX="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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12146 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12147 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12148 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${_lt_dsymutil}"
12149 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${_lt_dar_export_syms}${_lt_dsymutil}"
12152 else
12153 ld_shlibs_CXX=no
12158 dgux*)
12159 case $cc_basename in
12160 ec++*)
12161 # FIXME: insert proper C++ library support
12162 ld_shlibs_CXX=no
12164 ghcx*)
12165 # Green Hills C++ Compiler
12166 # FIXME: insert proper C++ library support
12167 ld_shlibs_CXX=no
12170 # FIXME: insert proper C++ library support
12171 ld_shlibs_CXX=no
12173 esac
12176 freebsd[12]*)
12177 # C++ shared libraries reported to be fairly broken before
12178 # switch to ELF
12179 ld_shlibs_CXX=no
12182 freebsd-elf*)
12183 archive_cmds_need_lc_CXX=no
12186 freebsd* | dragonfly*)
12187 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12188 # conventions
12189 ld_shlibs_CXX=yes
12192 gnu*)
12195 hpux9*)
12196 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12197 hardcode_libdir_separator_CXX=:
12198 export_dynamic_flag_spec_CXX='${wl}-E'
12199 hardcode_direct_CXX=yes
12200 hardcode_minus_L_CXX=yes # Not in the search PATH,
12201 # but as the default
12202 # location of the library.
12204 case $cc_basename in
12205 CC*)
12206 # FIXME: insert proper C++ library support
12207 ld_shlibs_CXX=no
12209 aCC*)
12210 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'
12211 # Commands to make compiler produce verbose output that lists
12212 # what "hidden" libraries, object files and flags are used when
12213 # linking a shared library.
12215 # There doesn't appear to be a way to prevent this compiler from
12216 # explicitly linking system object files so we need to strip them
12217 # from the output so that they don't get included in the library
12218 # dependencies.
12219 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'
12222 if test "$GXX" = yes; then
12223 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'
12224 else
12225 # FIXME: insert proper C++ library support
12226 ld_shlibs_CXX=no
12229 esac
12232 hpux10*|hpux11*)
12233 if test $with_gnu_ld = no; then
12234 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12235 hardcode_libdir_separator_CXX=:
12237 case $host_cpu in
12238 hppa*64*|ia64*)
12241 export_dynamic_flag_spec_CXX='${wl}-E'
12243 esac
12245 case $host_cpu in
12246 hppa*64*|ia64*)
12247 hardcode_direct_CXX=no
12248 hardcode_shlibpath_var_CXX=no
12251 hardcode_direct_CXX=yes
12252 hardcode_direct_absolute_CXX=yes
12253 hardcode_minus_L_CXX=yes # Not in the search PATH,
12254 # but as the default
12255 # location of the library.
12257 esac
12259 case $cc_basename in
12260 CC*)
12261 # FIXME: insert proper C++ library support
12262 ld_shlibs_CXX=no
12264 aCC*)
12265 case $host_cpu in
12266 hppa*64*)
12267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12269 ia64*)
12270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12273 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12275 esac
12276 # Commands to make compiler produce verbose output that lists
12277 # what "hidden" libraries, object files and flags are used when
12278 # linking a shared library.
12280 # There doesn't appear to be a way to prevent this compiler from
12281 # explicitly linking system object files so we need to strip them
12282 # from the output so that they don't get included in the library
12283 # dependencies.
12284 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'
12287 if test "$GXX" = yes; then
12288 if test $with_gnu_ld = no; then
12289 case $host_cpu in
12290 hppa*64*)
12291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12293 ia64*)
12294 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12297 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'
12299 esac
12301 else
12302 # FIXME: insert proper C++ library support
12303 ld_shlibs_CXX=no
12306 esac
12309 interix[3-9]*)
12310 hardcode_direct_CXX=no
12311 hardcode_shlibpath_var_CXX=no
12312 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12313 export_dynamic_flag_spec_CXX='${wl}-E'
12314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12315 # Instead, shared libraries are loaded at an image base (0x10000000 by
12316 # default) and relocated if they conflict, which is a slow very memory
12317 # consuming and fragmenting process. To avoid this, we pick a random,
12318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12320 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'
12321 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'
12323 irix5* | irix6*)
12324 case $cc_basename in
12325 CC*)
12326 # SGI C++
12327 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'
12329 # Archives containing C++ object files must be created using
12330 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12331 # necessary to make sure instantiated templates are included
12332 # in the archive.
12333 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12336 if test "$GXX" = yes; then
12337 if test "$with_gnu_ld" = no; then
12338 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'
12339 else
12340 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'
12343 link_all_deplibs_CXX=yes
12345 esac
12346 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12347 hardcode_libdir_separator_CXX=:
12348 inherit_rpath_CXX=yes
12351 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12352 case $cc_basename in
12353 KCC*)
12354 # Kuck and Associates, Inc. (KAI) C++ Compiler
12356 # KCC will only create a shared library if the output file
12357 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12358 # to its proper name (with version) after linking.
12359 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'
12360 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'
12361 # Commands to make compiler produce verbose output that lists
12362 # what "hidden" libraries, object files and flags are used when
12363 # linking a shared library.
12365 # There doesn't appear to be a way to prevent this compiler from
12366 # explicitly linking system object files so we need to strip them
12367 # from the output so that they don't get included in the library
12368 # dependencies.
12369 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'
12371 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12372 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12374 # Archives containing C++ object files must be created using
12375 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12376 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12378 icpc* | ecpc* )
12379 # Intel C++
12380 with_gnu_ld=yes
12381 # version 8.0 and above of icpc choke on multiply defined symbols
12382 # if we add $predep_objects and $postdep_objects, however 7.1 and
12383 # earlier do not add the objects themselves.
12384 case `$CC -V 2>&1` in
12385 *"Version 7."*)
12386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12387 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'
12389 *) # Version 8.0 or newer
12390 tmp_idyn=
12391 case $host_cpu in
12392 ia64*) tmp_idyn=' -i_dynamic';;
12393 esac
12394 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12395 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'
12397 esac
12398 archive_cmds_need_lc_CXX=no
12399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12400 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12403 pgCC* | pgcpp*)
12404 # Portland Group C++ compiler
12405 case `$CC -V` in
12406 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12407 prelink_cmds_CXX='tpldir=Template.dir~
12408 rm -rf $tpldir~
12409 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12410 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12411 old_archive_cmds_CXX='tpldir=Template.dir~
12412 rm -rf $tpldir~
12413 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12414 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12415 $RANLIB $oldlib'
12416 archive_cmds_CXX='tpldir=Template.dir~
12417 rm -rf $tpldir~
12418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12420 archive_expsym_cmds_CXX='tpldir=Template.dir~
12421 rm -rf $tpldir~
12422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12423 $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'
12425 *) # Version 6 will use weak symbols
12426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12427 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'
12429 esac
12431 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12432 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12433 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'
12435 cxx*)
12436 # Compaq C++
12437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 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'
12440 runpath_var=LD_RUN_PATH
12441 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12442 hardcode_libdir_separator_CXX=:
12444 # Commands to make compiler produce verbose output that lists
12445 # what "hidden" libraries, object files and flags are used when
12446 # linking a shared library.
12448 # There doesn't appear to be a way to prevent this compiler from
12449 # explicitly linking system object files so we need to strip them
12450 # from the output so that they don't get included in the library
12451 # dependencies.
12452 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'
12454 xl*)
12455 # IBM XL 8.0 on PPC, with GNU ld
12456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12458 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12459 if test "x$supports_anon_versioning" = xyes; then
12460 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12462 echo "local: *; };" >> $output_objdir/$libname.ver~
12463 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12467 case `$CC -V 2>&1 | sed 5q` in
12468 *Sun\ C*)
12469 # Sun C++ 5.9
12470 no_undefined_flag_CXX=' -zdefs'
12471 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12472 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'
12473 hardcode_libdir_flag_spec_CXX='-R$libdir'
12474 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'
12475 compiler_needs_object_CXX=yes
12477 # Not sure whether something based on
12478 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12479 # would be better.
12480 output_verbose_link_cmd='echo'
12482 # Archives containing C++ object files must be created using
12483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12484 # necessary to make sure instantiated templates are included
12485 # in the archive.
12486 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12488 esac
12490 esac
12493 lynxos*)
12494 # FIXME: insert proper C++ library support
12495 ld_shlibs_CXX=no
12498 m88k*)
12499 # FIXME: insert proper C++ library support
12500 ld_shlibs_CXX=no
12503 mvs*)
12504 case $cc_basename in
12505 cxx*)
12506 # FIXME: insert proper C++ library support
12507 ld_shlibs_CXX=no
12510 # FIXME: insert proper C++ library support
12511 ld_shlibs_CXX=no
12513 esac
12516 netbsd*)
12517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12518 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12519 wlarc=
12520 hardcode_libdir_flag_spec_CXX='-R$libdir'
12521 hardcode_direct_CXX=yes
12522 hardcode_shlibpath_var_CXX=no
12524 # Workaround some broken pre-1.5 toolchains
12525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12528 *nto* | *qnx*)
12529 ld_shlibs_CXX=yes
12532 openbsd2*)
12533 # C++ shared libraries are fairly broken
12534 ld_shlibs_CXX=no
12537 openbsd*)
12538 if test -f /usr/libexec/ld.so; then
12539 hardcode_direct_CXX=yes
12540 hardcode_shlibpath_var_CXX=no
12541 hardcode_direct_absolute_CXX=yes
12542 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12545 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12546 export_dynamic_flag_spec_CXX='${wl}-E'
12547 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12549 output_verbose_link_cmd=echo
12550 else
12551 ld_shlibs_CXX=no
12555 osf3* | osf4* | osf5*)
12556 case $cc_basename in
12557 KCC*)
12558 # Kuck and Associates, Inc. (KAI) C++ Compiler
12560 # KCC will only create a shared library if the output file
12561 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12562 # to its proper name (with version) after linking.
12563 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'
12565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12566 hardcode_libdir_separator_CXX=:
12568 # Archives containing C++ object files must be created using
12569 # the KAI C++ compiler.
12570 case $host in
12571 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12572 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12573 esac
12575 RCC*)
12576 # Rational C++ 2.4.1
12577 # FIXME: insert proper C++ library support
12578 ld_shlibs_CXX=no
12580 cxx*)
12581 case $host in
12582 osf3*)
12583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12584 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'
12585 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12588 allow_undefined_flag_CXX=' -expect_unresolved \*'
12589 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'
12590 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12591 echo "-hidden">> $lib.exp~
12592 $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~
12593 $RM $lib.exp'
12594 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12596 esac
12598 hardcode_libdir_separator_CXX=:
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12607 # dependencies.
12608 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'
12611 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12612 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12613 case $host in
12614 osf3*)
12615 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'
12618 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'
12620 esac
12622 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12623 hardcode_libdir_separator_CXX=:
12625 # Commands to make compiler produce verbose output that lists
12626 # what "hidden" libraries, object files and flags are used when
12627 # linking a shared library.
12628 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12630 else
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12635 esac
12638 psos*)
12639 # FIXME: insert proper C++ library support
12640 ld_shlibs_CXX=no
12643 sunos4*)
12644 case $cc_basename in
12645 CC*)
12646 # Sun C++ 4.x
12647 # FIXME: insert proper C++ library support
12648 ld_shlibs_CXX=no
12650 lcc*)
12651 # Lucid
12652 # FIXME: insert proper C++ library support
12653 ld_shlibs_CXX=no
12656 # FIXME: insert proper C++ library support
12657 ld_shlibs_CXX=no
12659 esac
12662 solaris*)
12663 case $cc_basename in
12664 CC*)
12665 # Sun C++ 4.2, 5.x and Centerline C++
12666 archive_cmds_need_lc_CXX=yes
12667 no_undefined_flag_CXX=' -zdefs'
12668 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12670 $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'
12672 hardcode_libdir_flag_spec_CXX='-R$libdir'
12673 hardcode_shlibpath_var_CXX=no
12674 case $host_os in
12675 solaris2.[0-5] | solaris2.[0-5].*) ;;
12677 # The compiler driver will combine and reorder linker options,
12678 # but understands `-z linker_flag'.
12679 # Supported since Solaris 2.6 (maybe 2.5.1?)
12680 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12682 esac
12683 link_all_deplibs_CXX=yes
12685 output_verbose_link_cmd='echo'
12687 # Archives containing C++ object files must be created using
12688 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12693 gcx*)
12694 # Green Hills C++ Compiler
12695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12697 # The C++ compiler must be used to create the archive.
12698 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12701 # GNU C++ compiler with Solaris linker
12702 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12703 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12704 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12705 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12707 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12709 # Commands to make compiler produce verbose output that lists
12710 # what "hidden" libraries, object files and flags are used when
12711 # linking a shared library.
12712 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12713 else
12714 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12715 # platform.
12716 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12717 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12718 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12720 # Commands to make compiler produce verbose output that lists
12721 # what "hidden" libraries, object files and flags are used when
12722 # linking a shared library.
12723 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12726 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12727 case $host_os in
12728 solaris2.[0-5] | solaris2.[0-5].*) ;;
12730 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12732 esac
12735 esac
12738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12739 no_undefined_flag_CXX='${wl}-z,text'
12740 archive_cmds_need_lc_CXX=no
12741 hardcode_shlibpath_var_CXX=no
12742 runpath_var='LD_RUN_PATH'
12744 case $cc_basename in
12745 CC*)
12746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12750 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12751 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12753 esac
12756 sysv5* | sco3.2v5* | sco5v6*)
12757 # Note: We can NOT use -z defs as we might desire, because we do not
12758 # link with -lc, and that would cause any symbols used from libc to
12759 # always be unresolved, which means just about no library would
12760 # ever link correctly. If we're not using GNU ld we use -z text
12761 # though, which does catch some bad symbols but isn't as heavy-handed
12762 # as -z defs.
12763 no_undefined_flag_CXX='${wl}-z,text'
12764 allow_undefined_flag_CXX='${wl}-z,nodefs'
12765 archive_cmds_need_lc_CXX=no
12766 hardcode_shlibpath_var_CXX=no
12767 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12768 hardcode_libdir_separator_CXX=':'
12769 link_all_deplibs_CXX=yes
12770 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12771 runpath_var='LD_RUN_PATH'
12773 case $cc_basename in
12774 CC*)
12775 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12776 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12779 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12780 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12782 esac
12785 tandem*)
12786 case $cc_basename in
12787 NCC*)
12788 # NonStop-UX NCC 3.20
12789 # FIXME: insert proper C++ library support
12790 ld_shlibs_CXX=no
12793 # FIXME: insert proper C++ library support
12794 ld_shlibs_CXX=no
12796 esac
12799 vxworks*)
12800 # FIXME: insert proper C++ library support
12801 ld_shlibs_CXX=no
12805 # FIXME: insert proper C++ library support
12806 ld_shlibs_CXX=no
12808 esac
12810 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12811 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12812 test "$ld_shlibs_CXX" = no && can_build_shared=no
12814 GCC_CXX="$GXX"
12815 LD_CXX="$LD"
12817 ## CAVEAT EMPTOR:
12818 ## There is no encapsulation within the following macros, do not change
12819 ## the running order or otherwise move them around unless you know exactly
12820 ## what you are doing...
12821 # Dependencies to place before and after the object being linked:
12822 predep_objects_CXX=
12823 postdep_objects_CXX=
12824 predeps_CXX=
12825 postdeps_CXX=
12826 compiler_lib_search_path_CXX=
12828 cat > conftest.$ac_ext <<_LT_EOF
12829 class Foo
12831 public:
12832 Foo (void) { a = 0; }
12833 private:
12834 int a;
12836 _LT_EOF
12838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 (eval $ac_compile) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; then
12843 # Parse the compiler output and extract the necessary
12844 # objects, libraries and library flags.
12846 # Sentinel used to keep track of whether or not we are before
12847 # the conftest object file.
12848 pre_test_object_deps_done=no
12850 for p in `eval "$output_verbose_link_cmd"`; do
12851 case $p in
12853 -L* | -R* | -l*)
12854 # Some compilers place space between "-{L,R}" and the path.
12855 # Remove the space.
12856 if test $p = "-L" ||
12857 test $p = "-R"; then
12858 prev=$p
12859 continue
12860 else
12861 prev=
12864 if test "$pre_test_object_deps_done" = no; then
12865 case $p in
12866 -L* | -R*)
12867 # Internal compiler library paths should come after those
12868 # provided the user. The postdeps already come after the
12869 # user supplied libs so there is no need to process them.
12870 if test -z "$compiler_lib_search_path_CXX"; then
12871 compiler_lib_search_path_CXX="${prev}${p}"
12872 else
12873 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12876 # The "-l" case would never come before the object being
12877 # linked, so don't bother handling this case.
12878 esac
12879 else
12880 if test -z "$postdeps_CXX"; then
12881 postdeps_CXX="${prev}${p}"
12882 else
12883 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12888 *.$objext)
12889 # This assumes that the test object file only shows up
12890 # once in the compiler output.
12891 if test "$p" = "conftest.$objext"; then
12892 pre_test_object_deps_done=yes
12893 continue
12896 if test "$pre_test_object_deps_done" = no; then
12897 if test -z "$predep_objects_CXX"; then
12898 predep_objects_CXX="$p"
12899 else
12900 predep_objects_CXX="$predep_objects_CXX $p"
12902 else
12903 if test -z "$postdep_objects_CXX"; then
12904 postdep_objects_CXX="$p"
12905 else
12906 postdep_objects_CXX="$postdep_objects_CXX $p"
12911 *) ;; # Ignore the rest.
12913 esac
12914 done
12916 # Clean up.
12917 rm -f a.out a.exe
12918 else
12919 echo "libtool.m4: error: problem compiling CXX test program"
12922 $RM -f confest.$objext
12924 # PORTME: override above test on systems where it is broken
12925 case $host_os in
12926 interix[3-9]*)
12927 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12928 # hack all around it, let's just trust "g++" to DTRT.
12929 predep_objects_CXX=
12930 postdep_objects_CXX=
12931 postdeps_CXX=
12934 linux*)
12935 case `$CC -V 2>&1 | sed 5q` in
12936 *Sun\ C*)
12937 # Sun C++ 5.9
12939 # The more standards-conforming stlport4 library is
12940 # incompatible with the Cstd library. Avoid specifying
12941 # it if it's in CXXFLAGS. Ignore libCrun as
12942 # -library=stlport4 depends on it.
12943 case " $CXX $CXXFLAGS " in
12944 *" -library=stlport4 "*)
12945 solaris_use_stlport4=yes
12947 esac
12949 if test "$solaris_use_stlport4" != yes; then
12950 postdeps_CXX='-library=Cstd -library=Crun'
12953 esac
12956 solaris*)
12957 case $cc_basename in
12958 CC*)
12959 # The more standards-conforming stlport4 library is
12960 # incompatible with the Cstd library. Avoid specifying
12961 # it if it's in CXXFLAGS. Ignore libCrun as
12962 # -library=stlport4 depends on it.
12963 case " $CXX $CXXFLAGS " in
12964 *" -library=stlport4 "*)
12965 solaris_use_stlport4=yes
12967 esac
12969 # Adding this requires a known-good setup of shared libraries for
12970 # Sun compiler versions before 5.6, else PIC objects from an old
12971 # archive will be linked into the output, leading to subtle bugs.
12972 if test "$solaris_use_stlport4" != yes; then
12973 postdeps_CXX='-library=Cstd -library=Crun'
12976 esac
12978 esac
12981 case " $postdeps_CXX " in
12982 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12983 esac
12984 compiler_lib_search_dirs_CXX=
12985 if test -n "${compiler_lib_search_path_CXX}"; then
12986 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13019 lt_prog_compiler_wl_CXX=
13020 lt_prog_compiler_pic_CXX=
13021 lt_prog_compiler_static_CXX=
13023 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13024 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13026 # C++ specific cases for pic, static, wl, etc.
13027 if test "$GXX" = yes; then
13028 lt_prog_compiler_wl_CXX='-Wl,'
13029 lt_prog_compiler_static_CXX='-static'
13031 case $host_os in
13032 aix*)
13033 # All AIX code is PIC.
13034 if test "$host_cpu" = ia64; then
13035 # AIX 5 now supports IA64 processor
13036 lt_prog_compiler_static_CXX='-Bstatic'
13040 amigaos*)
13041 case $host_cpu in
13042 powerpc)
13043 # see comment about AmigaOS4 .so support
13044 lt_prog_compiler_pic_CXX='-fPIC'
13046 m68k)
13047 # FIXME: we need at least 68020 code to build shared libraries, but
13048 # adding the `-m68020' flag to GCC prevents building anything better,
13049 # like `-m68040'.
13050 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13052 esac
13055 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13056 # PIC is the default for these OSes.
13058 mingw* | cygwin* | os2* | pw32* | cegcc*)
13059 # This hack is so that the source file can tell whether it is being
13060 # built for inclusion in a dll (and should export symbols for example).
13061 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13062 # (--disable-auto-import) libraries
13063 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13065 darwin* | rhapsody*)
13066 # PIC is the default on this platform
13067 # Common symbols not allowed in MH_DYLIB files
13068 lt_prog_compiler_pic_CXX='-fno-common'
13070 *djgpp*)
13071 # DJGPP does not support shared libraries at all
13072 lt_prog_compiler_pic_CXX=
13074 interix[3-9]*)
13075 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13076 # Instead, we relocate shared libraries at runtime.
13078 sysv4*MP*)
13079 if test -d /usr/nec; then
13080 lt_prog_compiler_pic_CXX=-Kconform_pic
13083 hpux*)
13084 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13085 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13086 # sets the default TLS model and affects inlining.
13087 case $host_cpu in
13088 hppa*64*)
13091 lt_prog_compiler_pic_CXX='-fPIC'
13093 esac
13095 *qnx* | *nto*)
13096 # QNX uses GNU C++, but need to define -shared option too, otherwise
13097 # it will coredump.
13098 lt_prog_compiler_pic_CXX='-fPIC -shared'
13101 lt_prog_compiler_pic_CXX='-fPIC'
13103 esac
13104 else
13105 case $host_os in
13106 aix[4-9]*)
13107 # All AIX code is PIC.
13108 if test "$host_cpu" = ia64; then
13109 # AIX 5 now supports IA64 processor
13110 lt_prog_compiler_static_CXX='-Bstatic'
13111 else
13112 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13115 chorus*)
13116 case $cc_basename in
13117 cxch68*)
13118 # Green Hills C++ Compiler
13119 # _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"
13121 esac
13123 dgux*)
13124 case $cc_basename in
13125 ec++*)
13126 lt_prog_compiler_pic_CXX='-KPIC'
13128 ghcx*)
13129 # Green Hills C++ Compiler
13130 lt_prog_compiler_pic_CXX='-pic'
13134 esac
13136 freebsd* | dragonfly*)
13137 # FreeBSD uses GNU C++
13139 hpux9* | hpux10* | hpux11*)
13140 case $cc_basename in
13141 CC*)
13142 lt_prog_compiler_wl_CXX='-Wl,'
13143 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13144 if test "$host_cpu" != ia64; then
13145 lt_prog_compiler_pic_CXX='+Z'
13148 aCC*)
13149 lt_prog_compiler_wl_CXX='-Wl,'
13150 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13151 case $host_cpu in
13152 hppa*64*|ia64*)
13153 # +Z the default
13156 lt_prog_compiler_pic_CXX='+Z'
13158 esac
13162 esac
13164 interix*)
13165 # This is c89, which is MS Visual C++ (no shared libs)
13166 # Anyone wants to do a port?
13168 irix5* | irix6* | nonstopux*)
13169 case $cc_basename in
13170 CC*)
13171 lt_prog_compiler_wl_CXX='-Wl,'
13172 lt_prog_compiler_static_CXX='-non_shared'
13173 # CC pic flag -KPIC is the default.
13177 esac
13179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13180 case $cc_basename in
13181 KCC*)
13182 # KAI C++ Compiler
13183 lt_prog_compiler_wl_CXX='--backend -Wl,'
13184 lt_prog_compiler_pic_CXX='-fPIC'
13186 ecpc* )
13187 # old Intel C++ for x86_64 which still supported -KPIC.
13188 lt_prog_compiler_wl_CXX='-Wl,'
13189 lt_prog_compiler_pic_CXX='-KPIC'
13190 lt_prog_compiler_static_CXX='-static'
13192 icpc* )
13193 # Intel C++, used to be incompatible with GCC.
13194 # ICC 10 doesn't accept -KPIC any more.
13195 lt_prog_compiler_wl_CXX='-Wl,'
13196 lt_prog_compiler_pic_CXX='-fPIC'
13197 lt_prog_compiler_static_CXX='-static'
13199 pgCC* | pgcpp*)
13200 # Portland Group C++ compiler
13201 lt_prog_compiler_wl_CXX='-Wl,'
13202 lt_prog_compiler_pic_CXX='-fpic'
13203 lt_prog_compiler_static_CXX='-Bstatic'
13205 cxx*)
13206 # Compaq C++
13207 # Make sure the PIC flag is empty. It appears that all Alpha
13208 # Linux and Compaq Tru64 Unix objects are PIC.
13209 lt_prog_compiler_pic_CXX=
13210 lt_prog_compiler_static_CXX='-non_shared'
13212 xlc* | xlC*)
13213 # IBM XL 8.0 on PPC
13214 lt_prog_compiler_wl_CXX='-Wl,'
13215 lt_prog_compiler_pic_CXX='-qpic'
13216 lt_prog_compiler_static_CXX='-qstaticlink'
13219 case `$CC -V 2>&1 | sed 5q` in
13220 *Sun\ C*)
13221 # Sun C++ 5.9
13222 lt_prog_compiler_pic_CXX='-KPIC'
13223 lt_prog_compiler_static_CXX='-Bstatic'
13224 lt_prog_compiler_wl_CXX='-Qoption ld '
13226 esac
13228 esac
13230 lynxos*)
13232 m88k*)
13234 mvs*)
13235 case $cc_basename in
13236 cxx*)
13237 lt_prog_compiler_pic_CXX='-W c,exportall'
13241 esac
13243 netbsd*)
13245 *qnx* | *nto*)
13246 # QNX uses GNU C++, but need to define -shared option too, otherwise
13247 # it will coredump.
13248 lt_prog_compiler_pic_CXX='-fPIC -shared'
13250 osf3* | osf4* | osf5*)
13251 case $cc_basename in
13252 KCC*)
13253 lt_prog_compiler_wl_CXX='--backend -Wl,'
13255 RCC*)
13256 # Rational C++ 2.4.1
13257 lt_prog_compiler_pic_CXX='-pic'
13259 cxx*)
13260 # Digital/Compaq C++
13261 lt_prog_compiler_wl_CXX='-Wl,'
13262 # Make sure the PIC flag is empty. It appears that all Alpha
13263 # Linux and Compaq Tru64 Unix objects are PIC.
13264 lt_prog_compiler_pic_CXX=
13265 lt_prog_compiler_static_CXX='-non_shared'
13269 esac
13271 psos*)
13273 solaris*)
13274 case $cc_basename in
13275 CC*)
13276 # Sun C++ 4.2, 5.x and Centerline C++
13277 lt_prog_compiler_pic_CXX='-KPIC'
13278 lt_prog_compiler_static_CXX='-Bstatic'
13279 lt_prog_compiler_wl_CXX='-Qoption ld '
13281 gcx*)
13282 # Green Hills C++ Compiler
13283 lt_prog_compiler_pic_CXX='-PIC'
13287 esac
13289 sunos4*)
13290 case $cc_basename in
13291 CC*)
13292 # Sun C++ 4.x
13293 lt_prog_compiler_pic_CXX='-pic'
13294 lt_prog_compiler_static_CXX='-Bstatic'
13296 lcc*)
13297 # Lucid
13298 lt_prog_compiler_pic_CXX='-pic'
13302 esac
13304 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13305 case $cc_basename in
13306 CC*)
13307 lt_prog_compiler_wl_CXX='-Wl,'
13308 lt_prog_compiler_pic_CXX='-KPIC'
13309 lt_prog_compiler_static_CXX='-Bstatic'
13311 esac
13313 tandem*)
13314 case $cc_basename in
13315 NCC*)
13316 # NonStop-UX NCC 3.20
13317 lt_prog_compiler_pic_CXX='-KPIC'
13321 esac
13323 vxworks*)
13326 lt_prog_compiler_can_build_shared_CXX=no
13328 esac
13331 case $host_os in
13332 # For platforms which do not support PIC, -DPIC is meaningless:
13333 *djgpp*)
13334 lt_prog_compiler_pic_CXX=
13337 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13339 esac
13340 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13341 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13346 # Check to make sure the PIC flag actually works.
13348 if test -n "$lt_prog_compiler_pic_CXX"; then
13349 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13350 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13351 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else
13354 lt_cv_prog_compiler_pic_works_CXX=no
13355 ac_outfile=conftest.$ac_objext
13356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13357 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13358 # Insert the option either (1) after the last *FLAGS variable, or
13359 # (2) before a word containing "conftest.", or (3) at the end.
13360 # Note that $ac_compile itself does not contain backslashes and begins
13361 # with a dollar sign (not a hyphen), so the echo should work correctly.
13362 # The option is referenced via a variable to avoid confusing sed.
13363 lt_compile=`echo "$ac_compile" | $SED \
13364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13366 -e 's:$: $lt_compiler_flag:'`
13367 (eval echo "\"\$as_me:13367: $lt_compile\"" >&5)
13368 (eval "$lt_compile" 2>conftest.err)
13369 ac_status=$?
13370 cat conftest.err >&5
13371 echo "$as_me:13371: \$? = $ac_status" >&5
13372 if (exit $ac_status) && test -s "$ac_outfile"; then
13373 # The compiler can only warn and ignore the option if not recognized
13374 # So say no if there are warnings other than the usual output.
13375 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13377 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13378 lt_cv_prog_compiler_pic_works_CXX=yes
13381 $RM conftest*
13384 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13385 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13387 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13388 case $lt_prog_compiler_pic_CXX in
13389 "" | " "*) ;;
13390 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13391 esac
13392 else
13393 lt_prog_compiler_pic_CXX=
13394 lt_prog_compiler_can_build_shared_CXX=no
13402 # Check to make sure the static flag actually works.
13404 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13405 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13406 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13407 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 else
13410 lt_cv_prog_compiler_static_works_CXX=no
13411 save_LDFLAGS="$LDFLAGS"
13412 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13413 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13414 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13415 # The linker can only warn and ignore the option if not recognized
13416 # So say no if there are warnings
13417 if test -s conftest.err; then
13418 # Append any errors to the config.log.
13419 cat conftest.err 1>&5
13420 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13421 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13422 if diff conftest.exp conftest.er2 >/dev/null; then
13423 lt_cv_prog_compiler_static_works_CXX=yes
13425 else
13426 lt_cv_prog_compiler_static_works_CXX=yes
13429 $RM -r conftest*
13430 LDFLAGS="$save_LDFLAGS"
13433 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13434 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13436 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13438 else
13439 lt_prog_compiler_static_CXX=
13445 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13447 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 else
13450 lt_cv_prog_compiler_c_o_CXX=no
13451 $RM -r conftest 2>/dev/null
13452 mkdir conftest
13453 cd conftest
13454 mkdir out
13455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13457 lt_compiler_flag="-o out/conftest2.$ac_objext"
13458 # Insert the option either (1) after the last *FLAGS variable, or
13459 # (2) before a word containing "conftest.", or (3) at the end.
13460 # Note that $ac_compile itself does not contain backslashes and begins
13461 # with a dollar sign (not a hyphen), so the echo should work correctly.
13462 lt_compile=`echo "$ac_compile" | $SED \
13463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13465 -e 's:$: $lt_compiler_flag:'`
13466 (eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
13467 (eval "$lt_compile" 2>out/conftest.err)
13468 ac_status=$?
13469 cat out/conftest.err >&5
13470 echo "$as_me:13470: \$? = $ac_status" >&5
13471 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13472 then
13473 # The compiler can only warn and ignore the option if not recognized
13474 # So say no if there are warnings
13475 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13478 lt_cv_prog_compiler_c_o_CXX=yes
13481 chmod u+w . 2>&5
13482 $RM conftest*
13483 # SGI C++ compiler will create directory out/ii_files/ for
13484 # template instantiation
13485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13486 $RM out/* && rmdir out
13487 cd ..
13488 $RM -r conftest
13489 $RM conftest*
13492 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13497 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13498 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13499 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 lt_cv_prog_compiler_c_o_CXX=no
13503 $RM -r conftest 2>/dev/null
13504 mkdir conftest
13505 cd conftest
13506 mkdir out
13507 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13509 lt_compiler_flag="-o out/conftest2.$ac_objext"
13510 # Insert the option either (1) after the last *FLAGS variable, or
13511 # (2) before a word containing "conftest.", or (3) at the end.
13512 # Note that $ac_compile itself does not contain backslashes and begins
13513 # with a dollar sign (not a hyphen), so the echo should work correctly.
13514 lt_compile=`echo "$ac_compile" | $SED \
13515 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13516 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13517 -e 's:$: $lt_compiler_flag:'`
13518 (eval echo "\"\$as_me:13518: $lt_compile\"" >&5)
13519 (eval "$lt_compile" 2>out/conftest.err)
13520 ac_status=$?
13521 cat out/conftest.err >&5
13522 echo "$as_me:13522: \$? = $ac_status" >&5
13523 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13524 then
13525 # The compiler can only warn and ignore the option if not recognized
13526 # So say no if there are warnings
13527 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13528 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13529 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13530 lt_cv_prog_compiler_c_o_CXX=yes
13533 chmod u+w . 2>&5
13534 $RM conftest*
13535 # SGI C++ compiler will create directory out/ii_files/ for
13536 # template instantiation
13537 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13538 $RM out/* && rmdir out
13539 cd ..
13540 $RM -r conftest
13541 $RM conftest*
13544 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13545 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13550 hard_links="nottested"
13551 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13552 # do not overwrite the value of need_locks provided by the user
13553 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13554 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13555 hard_links=yes
13556 $RM conftest*
13557 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13558 touch conftest.a
13559 ln conftest.a conftest.b 2>&5 || hard_links=no
13560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13561 echo "$as_me:$LINENO: result: $hard_links" >&5
13562 echo "${ECHO_T}$hard_links" >&6
13563 if test "$hard_links" = no; then
13564 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13565 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13566 need_locks=warn
13568 else
13569 need_locks=no
13574 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13575 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13577 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13578 case $host_os in
13579 aix[4-9]*)
13580 # If we're using GNU nm, then we don't want the "-C" option.
13581 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13582 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13583 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'
13584 else
13585 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'
13588 pw32*)
13589 export_symbols_cmds_CXX="$ltdll_cmds"
13591 cygwin* | mingw* | cegcc*)
13592 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'
13595 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13597 esac
13598 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13600 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13601 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13602 test "$ld_shlibs_CXX" = no && can_build_shared=no
13604 with_gnu_ld_CXX=$with_gnu_ld
13612 # Do we need to explicitly link libc?
13614 case "x$archive_cmds_need_lc_CXX" in
13615 x|xyes)
13616 # Assume -lc should be added
13617 archive_cmds_need_lc_CXX=yes
13619 if test "$enable_shared" = yes && test "$GCC" = yes; then
13620 case $archive_cmds_CXX in
13621 *'~'*)
13622 # FIXME: we may have to deal with multi-command sequences.
13624 '$CC '*)
13625 # Test whether the compiler implicitly links with -lc since on some
13626 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13627 # to ld, don't add -lc before -lgcc.
13628 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13629 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13630 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
13631 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 else
13633 $RM conftest*
13634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13637 (eval $ac_compile) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } 2>conftest.err; then
13641 soname=conftest
13642 lib=conftest
13643 libobjs=conftest.$ac_objext
13644 deplibs=
13645 wl=$lt_prog_compiler_wl_CXX
13646 pic_flag=$lt_prog_compiler_pic_CXX
13647 compiler_flags=-v
13648 linker_flags=-v
13649 verstring=
13650 output_objdir=.
13651 libname=conftest
13652 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13653 allow_undefined_flag_CXX=
13654 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13655 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }
13659 then
13660 lt_cv_archive_cmds_need_lc_CXX=no
13661 else
13662 lt_cv_archive_cmds_need_lc_CXX=yes
13664 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13665 else
13666 cat conftest.err 1>&5
13668 $RM conftest*
13671 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13672 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
13673 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13675 esac
13678 esac
13743 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13744 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13746 library_names_spec=
13747 libname_spec='lib$name'
13748 soname_spec=
13749 shrext_cmds=".so"
13750 postinstall_cmds=
13751 postuninstall_cmds=
13752 finish_cmds=
13753 finish_eval=
13754 shlibpath_var=
13755 shlibpath_overrides_runpath=unknown
13756 version_type=none
13757 dynamic_linker="$host_os ld.so"
13758 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13759 need_lib_prefix=unknown
13760 hardcode_into_libs=no
13762 # when you set need_version to no, make sure it does not cause -set_version
13763 # flags to be left without arguments
13764 need_version=unknown
13766 case $host_os in
13767 aix3*)
13768 version_type=linux
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13770 shlibpath_var=LIBPATH
13772 # AIX 3 has no versioning support, so we append a major version to the name.
13773 soname_spec='${libname}${release}${shared_ext}$major'
13776 aix[4-9]*)
13777 version_type=linux
13778 need_lib_prefix=no
13779 need_version=no
13780 hardcode_into_libs=yes
13781 if test "$host_cpu" = ia64; then
13782 # AIX 5 supports IA64
13783 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13784 shlibpath_var=LD_LIBRARY_PATH
13785 else
13786 # With GCC up to 2.95.x, collect2 would create an import file
13787 # for dependence libraries. The import file would start with
13788 # the line `#! .'. This would cause the generated library to
13789 # depend on `.', always an invalid library. This was fixed in
13790 # development snapshots of GCC prior to 3.0.
13791 case $host_os in
13792 aix4 | aix4.[01] | aix4.[01].*)
13793 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13794 echo ' yes '
13795 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13797 else
13798 can_build_shared=no
13801 esac
13802 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13803 # soname into executable. Probably we can add versioning support to
13804 # collect2, so additional links can be useful in future.
13805 if test "$aix_use_runtimelinking" = yes; then
13806 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13807 # instead of lib<name>.a to let people know that these are not
13808 # typical AIX shared libraries.
13809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810 else
13811 # We preserve .a as extension for shared libraries through AIX4.2
13812 # and later when we are not doing run time linking.
13813 library_names_spec='${libname}${release}.a $libname.a'
13814 soname_spec='${libname}${release}${shared_ext}$major'
13816 shlibpath_var=LIBPATH
13820 amigaos*)
13821 case $host_cpu in
13822 powerpc)
13823 # Since July 2007 AmigaOS4 officially supports .so libraries.
13824 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13827 m68k)
13828 library_names_spec='$libname.ixlibrary $libname.a'
13829 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13830 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'
13832 esac
13835 beos*)
13836 library_names_spec='${libname}${shared_ext}'
13837 dynamic_linker="$host_os ld.so"
13838 shlibpath_var=LIBRARY_PATH
13841 bsdi[45]*)
13842 version_type=linux
13843 need_version=no
13844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13845 soname_spec='${libname}${release}${shared_ext}$major'
13846 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13847 shlibpath_var=LD_LIBRARY_PATH
13848 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13849 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13850 # the default ld.so.conf also contains /usr/contrib/lib and
13851 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13852 # libtool to hard-code these into programs
13855 cygwin* | mingw* | pw32* | cegcc*)
13856 version_type=windows
13857 shrext_cmds=".dll"
13858 need_version=no
13859 need_lib_prefix=no
13861 case $GCC,$host_os in
13862 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13863 library_names_spec='$libname.dll.a'
13864 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13865 postinstall_cmds='base_file=`basename \${file}`~
13866 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13867 dldir=$destdir/`dirname \$dlpath`~
13868 test -d \$dldir || mkdir -p \$dldir~
13869 $install_prog $dir/$dlname \$dldir/$dlname~
13870 chmod a+x \$dldir/$dlname~
13871 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13872 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13874 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13875 dlpath=$dir/\$dldll~
13876 $RM \$dlpath'
13877 shlibpath_overrides_runpath=yes
13879 case $host_os in
13880 cygwin*)
13881 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13882 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13883 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13885 mingw* | cegcc*)
13886 # MinGW DLLs use traditional 'lib' prefix
13887 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13888 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13889 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13890 # It is most probably a Windows format PATH printed by
13891 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13892 # path with ; separators, and with drive letters. We can handle the
13893 # drive letters (cygwin fileutils understands them), so leave them,
13894 # especially as we might pass files found there to a mingw objdump,
13895 # which wouldn't understand a cygwinified path. Ahh.
13896 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13897 else
13898 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13901 pw32*)
13902 # pw32 DLLs use 'pw' prefix rather than 'lib'
13903 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13905 esac
13909 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13911 esac
13912 dynamic_linker='Win32 ld.exe'
13913 # FIXME: first we should search . and the directory the executable is in
13914 shlibpath_var=PATH
13917 darwin* | rhapsody*)
13918 dynamic_linker="$host_os dyld"
13919 version_type=darwin
13920 need_lib_prefix=no
13921 need_version=no
13922 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13923 soname_spec='${libname}${release}${major}$shared_ext'
13924 shlibpath_overrides_runpath=yes
13925 shlibpath_var=DYLD_LIBRARY_PATH
13926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13928 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13931 dgux*)
13932 version_type=linux
13933 need_lib_prefix=no
13934 need_version=no
13935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13936 soname_spec='${libname}${release}${shared_ext}$major'
13937 shlibpath_var=LD_LIBRARY_PATH
13940 freebsd1*)
13941 dynamic_linker=no
13944 freebsd* | dragonfly*)
13945 # DragonFly does not have aout. When/if they implement a new
13946 # versioning mechanism, adjust this.
13947 if test -x /usr/bin/objformat; then
13948 objformat=`/usr/bin/objformat`
13949 else
13950 case $host_os in
13951 freebsd[123]*) objformat=aout ;;
13952 *) objformat=elf ;;
13953 esac
13955 version_type=freebsd-$objformat
13956 case $version_type in
13957 freebsd-elf*)
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13959 need_version=no
13960 need_lib_prefix=no
13962 freebsd-*)
13963 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13964 need_version=yes
13966 esac
13967 shlibpath_var=LD_LIBRARY_PATH
13968 case $host_os in
13969 freebsd2*)
13970 shlibpath_overrides_runpath=yes
13972 freebsd3.[01]* | freebsdelf3.[01]*)
13973 shlibpath_overrides_runpath=yes
13974 hardcode_into_libs=yes
13976 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13977 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13978 shlibpath_overrides_runpath=no
13979 hardcode_into_libs=yes
13981 *) # from 4.6 on, and DragonFly
13982 shlibpath_overrides_runpath=yes
13983 hardcode_into_libs=yes
13985 esac
13988 gnu*)
13989 version_type=linux
13990 need_lib_prefix=no
13991 need_version=no
13992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13993 soname_spec='${libname}${release}${shared_ext}$major'
13994 shlibpath_var=LD_LIBRARY_PATH
13995 hardcode_into_libs=yes
13998 hpux9* | hpux10* | hpux11*)
13999 # Give a soname corresponding to the major version so that dld.sl refuses to
14000 # link against other versions.
14001 version_type=sunos
14002 need_lib_prefix=no
14003 need_version=no
14004 case $host_cpu in
14005 ia64*)
14006 shrext_cmds='.so'
14007 hardcode_into_libs=yes
14008 dynamic_linker="$host_os dld.so"
14009 shlibpath_var=LD_LIBRARY_PATH
14010 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012 soname_spec='${libname}${release}${shared_ext}$major'
14013 if test "X$HPUX_IA64_MODE" = X32; then
14014 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14015 else
14016 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14018 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14020 hppa*64*)
14021 shrext_cmds='.sl'
14022 hardcode_into_libs=yes
14023 dynamic_linker="$host_os dld.sl"
14024 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14025 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14027 soname_spec='${libname}${release}${shared_ext}$major'
14028 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14032 shrext_cmds='.sl'
14033 dynamic_linker="$host_os dld.sl"
14034 shlibpath_var=SHLIB_PATH
14035 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14037 soname_spec='${libname}${release}${shared_ext}$major'
14039 esac
14040 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14041 postinstall_cmds='chmod 555 $lib'
14044 interix[3-9]*)
14045 version_type=linux
14046 need_lib_prefix=no
14047 need_version=no
14048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14049 soname_spec='${libname}${release}${shared_ext}$major'
14050 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14051 shlibpath_var=LD_LIBRARY_PATH
14052 shlibpath_overrides_runpath=no
14053 hardcode_into_libs=yes
14056 irix5* | irix6* | nonstopux*)
14057 case $host_os in
14058 nonstopux*) version_type=nonstopux ;;
14060 if test "$lt_cv_prog_gnu_ld" = yes; then
14061 version_type=linux
14062 else
14063 version_type=irix
14064 fi ;;
14065 esac
14066 need_lib_prefix=no
14067 need_version=no
14068 soname_spec='${libname}${release}${shared_ext}$major'
14069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14070 case $host_os in
14071 irix5* | nonstopux*)
14072 libsuff= shlibsuff=
14075 case $LD in # libtool.m4 will add one of these switches to LD
14076 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14077 libsuff= shlibsuff= libmagic=32-bit;;
14078 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14079 libsuff=32 shlibsuff=N32 libmagic=N32;;
14080 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14081 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14082 *) libsuff= shlibsuff= libmagic=never-match;;
14083 esac
14085 esac
14086 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14087 shlibpath_overrides_runpath=no
14088 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14089 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14090 hardcode_into_libs=yes
14093 # No shared lib support for Linux oldld, aout, or coff.
14094 linux*oldld* | linux*aout* | linux*coff*)
14095 dynamic_linker=no
14098 # This must be Linux ELF.
14099 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14100 version_type=linux
14101 need_lib_prefix=no
14102 need_version=no
14103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14104 soname_spec='${libname}${release}${shared_ext}$major'
14105 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14106 shlibpath_var=LD_LIBRARY_PATH
14107 shlibpath_overrides_runpath=no
14109 # Some binutils ld are patched to set DT_RUNPATH
14110 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113 lt_cv_shlibpath_overrides_runpath=no
14114 save_LDFLAGS=$LDFLAGS
14115 save_libdir=$libdir
14116 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14117 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14118 if test x$gcc_no_link = xyes; then
14119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14121 { (exit 1); exit 1; }; }
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h. */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14131 main ()
14135 return 0;
14137 _ACEOF
14138 rm -f conftest.$ac_objext conftest$ac_exeext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14140 (eval $ac_link) 2>conftest.er1
14141 ac_status=$?
14142 grep -v '^ *+' conftest.er1 >conftest.err
14143 rm -f conftest.er1
14144 cat conftest.err >&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try='test -z "$ac_cxx_werror_flag"
14148 || test ! -s conftest.err'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14151 ac_status=$?
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; } &&
14154 { ac_try='test -s conftest$ac_exeext'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14157 ac_status=$?
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; }; then
14160 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14161 lt_cv_shlibpath_overrides_runpath=yes
14164 else
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14169 rm -f conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 LDFLAGS=$save_LDFLAGS
14172 libdir=$save_libdir
14176 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14178 # This implies no fast_install, which is unacceptable.
14179 # Some rework will be needed to allow for fast_install
14180 # before this can be enabled.
14181 hardcode_into_libs=yes
14183 # Append ld.so.conf contents to the search path
14184 if test -f /etc/ld.so.conf; then
14185 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14186 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14189 # We used to test for /lib/ld.so.1 and disable shared libraries on
14190 # powerpc, because MkLinux only supported shared libraries with the
14191 # GNU dynamic linker. Since this was broken with cross compilers,
14192 # most powerpc-linux boxes support dynamic linking these days and
14193 # people can always --disable-shared, the test was removed, and we
14194 # assume the GNU/Linux dynamic linker is in use.
14195 dynamic_linker='GNU/Linux ld.so'
14198 netbsd*)
14199 version_type=sunos
14200 need_lib_prefix=no
14201 need_version=no
14202 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14204 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14205 dynamic_linker='NetBSD (a.out) ld.so'
14206 else
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 dynamic_linker='NetBSD ld.elf_so'
14211 shlibpath_var=LD_LIBRARY_PATH
14212 shlibpath_overrides_runpath=yes
14213 hardcode_into_libs=yes
14216 newsos6)
14217 version_type=linux
14218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14219 shlibpath_var=LD_LIBRARY_PATH
14220 shlibpath_overrides_runpath=yes
14223 *nto* | *qnx*)
14224 version_type=qnx
14225 need_lib_prefix=no
14226 need_version=no
14227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228 soname_spec='${libname}${release}${shared_ext}$major'
14229 shlibpath_var=LD_LIBRARY_PATH
14230 shlibpath_overrides_runpath=no
14231 hardcode_into_libs=yes
14232 dynamic_linker='ldqnx.so'
14235 openbsd*)
14236 version_type=sunos
14237 sys_lib_dlsearch_path_spec="/usr/lib"
14238 need_lib_prefix=no
14239 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14240 case $host_os in
14241 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14242 *) need_version=no ;;
14243 esac
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14245 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14246 shlibpath_var=LD_LIBRARY_PATH
14247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14248 case $host_os in
14249 openbsd2.[89] | openbsd2.[89].*)
14250 shlibpath_overrides_runpath=no
14253 shlibpath_overrides_runpath=yes
14255 esac
14256 else
14257 shlibpath_overrides_runpath=yes
14261 os2*)
14262 libname_spec='$name'
14263 shrext_cmds=".dll"
14264 need_lib_prefix=no
14265 library_names_spec='$libname${shared_ext} $libname.a'
14266 dynamic_linker='OS/2 ld.exe'
14267 shlibpath_var=LIBPATH
14270 osf3* | osf4* | osf5*)
14271 version_type=osf
14272 need_lib_prefix=no
14273 need_version=no
14274 soname_spec='${libname}${release}${shared_ext}$major'
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276 shlibpath_var=LD_LIBRARY_PATH
14277 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14278 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14281 rdos*)
14282 dynamic_linker=no
14285 solaris*)
14286 version_type=linux
14287 need_lib_prefix=no
14288 need_version=no
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14292 shlibpath_overrides_runpath=yes
14293 hardcode_into_libs=yes
14294 # ldd complains unless libraries are executable
14295 postinstall_cmds='chmod +x $lib'
14298 sunos4*)
14299 version_type=sunos
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14301 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14302 shlibpath_var=LD_LIBRARY_PATH
14303 shlibpath_overrides_runpath=yes
14304 if test "$with_gnu_ld" = yes; then
14305 need_lib_prefix=no
14307 need_version=yes
14310 sysv4 | sysv4.3*)
14311 version_type=linux
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 shlibpath_var=LD_LIBRARY_PATH
14315 case $host_vendor in
14316 sni)
14317 shlibpath_overrides_runpath=no
14318 need_lib_prefix=no
14319 runpath_var=LD_RUN_PATH
14321 siemens)
14322 need_lib_prefix=no
14324 motorola)
14325 need_lib_prefix=no
14326 need_version=no
14327 shlibpath_overrides_runpath=no
14328 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14330 esac
14333 sysv4*MP*)
14334 if test -d /usr/nec ;then
14335 version_type=linux
14336 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14337 soname_spec='$libname${shared_ext}.$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14342 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14343 version_type=freebsd-elf
14344 need_lib_prefix=no
14345 need_version=no
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 shlibpath_var=LD_LIBRARY_PATH
14349 shlibpath_overrides_runpath=yes
14350 hardcode_into_libs=yes
14351 if test "$with_gnu_ld" = yes; then
14352 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14353 else
14354 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14355 case $host_os in
14356 sco3.2v5*)
14357 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14359 esac
14361 sys_lib_dlsearch_path_spec='/usr/lib'
14364 tpf*)
14365 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14366 version_type=linux
14367 need_lib_prefix=no
14368 need_version=no
14369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 shlibpath_var=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath=no
14372 hardcode_into_libs=yes
14375 uts4*)
14376 version_type=linux
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 shlibpath_var=LD_LIBRARY_PATH
14383 dynamic_linker=no
14385 esac
14386 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14387 echo "${ECHO_T}$dynamic_linker" >&6
14388 test "$dynamic_linker" = no && can_build_shared=no
14390 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14391 if test "$GCC" = yes; then
14392 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14395 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14396 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14398 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14399 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14437 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14438 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14439 hardcode_action_CXX=
14440 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14441 test -n "$runpath_var_CXX" ||
14442 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14444 # We can hardcode non-existent directories.
14445 if test "$hardcode_direct_CXX" != no &&
14446 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14447 # have to relink, otherwise we might link with an installed library
14448 # when we should be linking with a yet-to-be-installed one
14449 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14450 test "$hardcode_minus_L_CXX" != no; then
14451 # Linking always hardcodes the temporary library directory.
14452 hardcode_action_CXX=relink
14453 else
14454 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14455 hardcode_action_CXX=immediate
14457 else
14458 # We cannot hardcode anything, or else we can only hardcode existing
14459 # directories.
14460 hardcode_action_CXX=unsupported
14462 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14463 echo "${ECHO_T}$hardcode_action_CXX" >&6
14465 if test "$hardcode_action_CXX" = relink ||
14466 test "$inherit_rpath_CXX" = yes; then
14467 # Fast installation is not supported
14468 enable_fast_install=no
14469 elif test "$shlibpath_overrides_runpath" = yes ||
14470 test "$enable_shared" = no; then
14471 # Fast installation is not necessary
14472 enable_fast_install=needless
14481 fi # test -n "$compiler"
14483 CC=$lt_save_CC
14484 LDCXX=$LD
14485 LD=$lt_save_LD
14486 GCC=$lt_save_GCC
14487 with_gnu_ld=$lt_save_with_gnu_ld
14488 lt_cv_path_LDCXX=$lt_cv_path_LD
14489 lt_cv_path_LD=$lt_save_path_LD
14490 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14491 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14492 fi # test "$_lt_caught_CXX_error" != yes
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14512 ac_config_commands="$ac_config_commands libtool"
14517 # Only expand once:
14523 # Possibly disable most of the library.
14524 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14525 ## than just ignoring the results. Faster /and/ more correct, win win.
14527 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14528 if test "${enable_hosted_libstdcxx+set}" = set; then
14529 enableval="$enable_hosted_libstdcxx"
14531 else
14532 case "$host" in
14533 arm*-*-symbianelf*)
14534 enable_hosted_libstdcxx=no
14537 enable_hosted_libstdcxx=yes
14539 esac
14541 if test "$enable_hosted_libstdcxx" = no; then
14542 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14543 echo "$as_me: Only freestanding libraries will be built" >&6;}
14544 is_hosted=no
14545 hosted_define=0
14546 enable_abi_check=no
14547 enable_libstdcxx_pch=no
14548 else
14549 is_hosted=yes
14550 hosted_define=1
14554 cat >>confdefs.h <<_ACEOF
14555 #define _GLIBCXX_HOSTED $hosted_define
14556 _ACEOF
14560 # Enable compiler support that doesn't require linking.
14562 echo "$as_me:$LINENO: checking for exception model to use" >&5
14563 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14566 ac_ext=cc
14567 ac_cpp='$CXXCPP $CPPFLAGS'
14568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14572 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14573 if test "${enable_sjlj_exceptions+set}" = set; then
14574 enableval="$enable_sjlj_exceptions"
14576 case "$enableval" in
14577 yes|no|auto) ;;
14578 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14579 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14580 { (exit 1); exit 1; }; } ;;
14581 esac
14583 else
14584 enable_sjlj_exceptions=auto
14588 if test $enable_sjlj_exceptions = auto; then
14589 # Botheration. Now we've got to detect the exception model. Link tests
14590 # against libgcc.a are problematic since we've not been given proper -L
14591 # bits for single-tree newlib and libgloss.
14593 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14594 cat > conftest.$ac_ext << EOF
14595 #line 14595 "configure"
14596 struct S { ~S(); };
14597 void bar();
14598 void foo()
14600 S s;
14601 bar();
14604 old_CXXFLAGS="$CXXFLAGS"
14605 CXXFLAGS=-S
14606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14607 (eval $ac_compile) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; then
14611 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14612 enable_sjlj_exceptions=yes
14613 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14614 enable_sjlj_exceptions=no
14615 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14616 enable_sjlj_exceptions=no
14619 CXXFLAGS="$old_CXXFLAGS"
14620 rm -f conftest*
14623 # This is a tad weird, for hysterical raisins. We have to map
14624 # enable/disable to two different models.
14625 case $enable_sjlj_exceptions in
14626 yes)
14628 cat >>confdefs.h <<\_ACEOF
14629 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14630 _ACEOF
14632 ac_exception_model_name=sjlj
14635 ac_exception_model_name="call frame"
14638 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14639 echo "$as_me: error: unable to detect exception model" >&2;}
14640 { (exit 1); exit 1; }; }
14642 esac
14643 ac_ext=c
14644 ac_cpp='$CPP $CPPFLAGS'
14645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14649 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14650 echo "${ECHO_T}$ac_exception_model_name" >&6
14653 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14654 if test "${enable_libstdcxx_pch+set}" = set; then
14655 enableval="$enable_libstdcxx_pch"
14657 case "$enableval" in
14658 yes|no) ;;
14659 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14660 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14661 { (exit 1); exit 1; }; } ;;
14662 esac
14664 else
14665 enable_libstdcxx_pch=$is_hosted
14668 if test $enable_libstdcxx_pch = yes; then
14669 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14670 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14671 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674 ac_save_CXXFLAGS="$CXXFLAGS"
14675 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14678 ac_ext=cc
14679 ac_cpp='$CXXCPP $CPPFLAGS'
14680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14684 echo '#include <math.h>' > conftest.h
14685 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14686 -o conftest.h.gch 1>&5 2>&1 &&
14687 echo '#error "pch failed"' > conftest.h &&
14688 echo '#include "conftest.h"' > conftest.cc &&
14689 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14690 then
14691 glibcxx_cv_prog_CXX_pch=yes
14692 else
14693 glibcxx_cv_prog_CXX_pch=no
14695 rm -f conftest*
14696 CXXFLAGS=$ac_save_CXXFLAGS
14697 ac_ext=c
14698 ac_cpp='$CPP $CPPFLAGS'
14699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14705 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14706 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14707 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14710 echo "$as_me:$LINENO: checking for enabled PCH" >&5
14711 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14712 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14713 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14716 if test $enable_libstdcxx_pch = yes; then
14717 glibcxx_PCHFLAGS="-include bits/stdc++.h"
14718 else
14719 glibcxx_PCHFLAGS=""
14724 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14725 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14726 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14727 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14728 echo "${ECHO_T}$target_thread_file" >&6
14730 if test $target_thread_file != single; then
14732 cat >>confdefs.h <<\_ACEOF
14733 #define HAVE_GTHR_DEFAULT 1
14734 _ACEOF
14738 glibcxx_thread_h=gthr-$target_thread_file.h
14740 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14741 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14742 enable_thread=yes
14743 else
14744 enable_thread=no
14752 ac_ext=cc
14753 ac_cpp='$CXXCPP $CPPFLAGS'
14754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14758 old_CXXFLAGS="$CXXFLAGS"
14760 # Compile unoptimized.
14761 CXXFLAGS='-O0 -S'
14763 # Fake what AC_TRY_COMPILE does, without linking as this is
14764 # unnecessary for a builtins test.
14766 cat > conftest.$ac_ext << EOF
14767 #line 14767 "configure"
14768 int main()
14770 typedef bool atomic_type;
14771 atomic_type c1;
14772 atomic_type c2;
14773 const atomic_type c3(0);
14774 __sync_fetch_and_add(&c1, c2);
14775 __sync_val_compare_and_swap(&c1, c3, c2);
14776 __sync_lock_test_and_set(&c1, c3);
14777 __sync_lock_release(&c1);
14778 __sync_synchronize();
14779 return 0;
14783 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14784 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14786 (eval $ac_compile) 2>&5
14787 ac_status=$?
14788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14789 (exit $ac_status); }; then
14790 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14791 enable_atomic_builtinsb=no
14792 else
14794 cat >>confdefs.h <<\_ACEOF
14795 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14796 _ACEOF
14798 enable_atomic_builtinsb=yes
14801 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14802 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14803 rm -f conftest*
14805 cat > conftest.$ac_ext << EOF
14806 #line 14806 "configure"
14807 int main()
14809 typedef short atomic_type;
14810 atomic_type c1;
14811 atomic_type c2;
14812 const atomic_type c3(0);
14813 __sync_fetch_and_add(&c1, c2);
14814 __sync_val_compare_and_swap(&c1, c3, c2);
14815 __sync_lock_test_and_set(&c1, c3);
14816 __sync_lock_release(&c1);
14817 __sync_synchronize();
14818 return 0;
14822 echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
14823 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
14824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14825 (eval $ac_compile) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; then
14829 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14830 enable_atomic_builtinss=no
14831 else
14833 cat >>confdefs.h <<\_ACEOF
14834 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
14835 _ACEOF
14837 enable_atomic_builtinss=yes
14840 echo "$as_me:$LINENO: result: $enable_atomic_builtinss" >&5
14841 echo "${ECHO_T}$enable_atomic_builtinss" >&6
14842 rm -f conftest*
14844 cat > conftest.$ac_ext << EOF
14845 #line 14845 "configure"
14846 int main()
14848 // NB: _Atomic_word not necessarily int.
14849 typedef int atomic_type;
14850 atomic_type c1;
14851 atomic_type c2;
14852 const atomic_type c3(0);
14853 __sync_fetch_and_add(&c1, c2);
14854 __sync_val_compare_and_swap(&c1, c3, c2);
14855 __sync_lock_test_and_set(&c1, c3);
14856 __sync_lock_release(&c1);
14857 __sync_synchronize();
14858 return 0;
14862 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14863 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>&5
14866 ac_status=$?
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; then
14869 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14870 enable_atomic_builtinsi=no
14871 else
14873 cat >>confdefs.h <<\_ACEOF
14874 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14875 _ACEOF
14877 enable_atomic_builtinsi=yes
14880 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14881 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14882 rm -f conftest*
14884 cat > conftest.$ac_ext << EOF
14885 #line 14885 "configure"
14886 int main()
14888 typedef long long atomic_type;
14889 atomic_type c1;
14890 atomic_type c2;
14891 const atomic_type c3(0);
14892 __sync_fetch_and_add(&c1, c2);
14893 __sync_val_compare_and_swap(&c1, c3, c2);
14894 __sync_lock_test_and_set(&c1, c3);
14895 __sync_lock_release(&c1);
14896 __sync_synchronize();
14897 return 0;
14901 echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
14902 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
14903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14904 (eval $ac_compile) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; then
14908 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14909 enable_atomic_builtinsll=no
14910 else
14912 cat >>confdefs.h <<\_ACEOF
14913 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
14914 _ACEOF
14916 enable_atomic_builtinsll=yes
14919 echo "$as_me:$LINENO: result: $enable_atomic_builtinsll" >&5
14920 echo "${ECHO_T}$enable_atomic_builtinsll" >&6
14921 rm -f conftest*
14924 CXXFLAGS="$old_CXXFLAGS"
14925 ac_ext=c
14926 ac_cpp='$CPP $CPPFLAGS'
14927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14932 # Set atomicity_dir to builtins if either of above tests pass.
14933 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14934 atomicity_dir=cpu/generic/atomicity_builtins
14937 # If still generic, set to mutex.
14938 if test $atomicity_dir = "cpu/generic" ; then
14939 atomicity_dir=cpu/generic/atomicity_mutex
14940 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14941 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14942 if test "x$target_thread_file" = xsingle; then
14943 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14944 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14945 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14946 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14947 else
14948 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14949 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14950 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14951 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14957 # Checks for compiler support that doesn't require linking.
14959 # All these tests are for C++; save the language and the compiler flags.
14960 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14961 # found in GLIBCXX_CONFIGURE.
14964 ac_ext=cc
14965 ac_cpp='$CXXCPP $CPPFLAGS'
14966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14970 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14971 ac_save_CXXFLAGS="$CXXFLAGS"
14973 # Check for maintainer-mode bits.
14974 if test x"$USE_MAINTAINER_MODE" = xno; then
14975 WERROR=''
14976 else
14977 WERROR='-Werror'
14980 # Check for -ffunction-sections -fdata-sections
14981 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14982 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14983 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14984 cat >conftest.$ac_ext <<_ACEOF
14985 /* confdefs.h. */
14986 _ACEOF
14987 cat confdefs.h >>conftest.$ac_ext
14988 cat >>conftest.$ac_ext <<_ACEOF
14989 /* end confdefs.h. */
14990 int foo; void bar() { };
14992 main ()
14996 return 0;
14998 _ACEOF
14999 rm -f conftest.$ac_objext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15001 (eval $ac_compile) 2>conftest.er1
15002 ac_status=$?
15003 grep -v '^ *+' conftest.er1 >conftest.err
15004 rm -f conftest.er1
15005 cat conftest.err >&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try='test -z "$ac_cxx_werror_flag"
15009 || test ! -s conftest.err'
15010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15011 (eval $ac_try) 2>&5
15012 ac_status=$?
15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15014 (exit $ac_status); }; } &&
15015 { ac_try='test -s conftest.$ac_objext'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15018 ac_status=$?
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; }; then
15021 ac_fdsections=yes
15022 else
15023 echo "$as_me: failed program was:" >&5
15024 sed 's/^/| /' conftest.$ac_ext >&5
15026 ac_fdsections=no
15028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15029 if test "$ac_test_CXXFLAGS" = set; then
15030 CXXFLAGS="$ac_save_CXXFLAGS"
15031 else
15032 # this is the suspicious part
15033 CXXFLAGS=''
15035 if test x"$ac_fdsections" = x"yes"; then
15036 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15038 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
15039 echo "${ECHO_T}$ac_fdsections" >&6
15041 ac_ext=c
15042 ac_cpp='$CPP $CPPFLAGS'
15043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15051 # Enable all the variable C++ runtime options that don't require linking.
15053 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15054 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15055 # Check whether --enable-cstdio or --disable-cstdio was given.
15056 if test "${enable_cstdio+set}" = set; then
15057 enableval="$enable_cstdio"
15059 case "$enableval" in
15060 stdio) ;;
15061 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15062 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15063 { (exit 1); exit 1; }; } ;;
15064 esac
15066 else
15067 enable_cstdio=stdio
15071 # Now that libio has been removed, you can have any color you want as long
15072 # as it's black. This is one big no-op until other packages are added, but
15073 # showing the framework never hurts.
15074 case ${enable_cstdio} in
15075 stdio)
15076 CSTDIO_H=config/io/c_io_stdio.h
15077 BASIC_FILE_H=config/io/basic_file_stdio.h
15078 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15079 echo "$as_me:$LINENO: result: stdio" >&5
15080 echo "${ECHO_T}stdio" >&6
15082 esac
15089 # Check whether --enable-clocale or --disable-clocale was given.
15090 if test "${enable_clocale+set}" = set; then
15091 enableval="$enable_clocale"
15093 case "$enableval" in
15094 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15095 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15096 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15097 { (exit 1); exit 1; }; } ;;
15098 esac
15100 else
15101 enable_clocale=auto
15105 # Deal with gettext issues. Default to not using it (=no) until we detect
15106 # support for it later. Let the user turn it off via --e/d, but let that
15107 # default to on for easier handling.
15108 USE_NLS=no
15109 # Check whether --enable-nls or --disable-nls was given.
15110 if test "${enable_nls+set}" = set; then
15111 enableval="$enable_nls"
15113 else
15114 enable_nls=yes
15117 # Either a known packaage, or "auto"
15118 if test $enable_clocale = no || test $enable_clocale = yes; then
15119 enable_clocale=auto
15121 enable_clocale_flag=$enable_clocale
15123 # Probe for locale model to use if none specified.
15124 # Default to "generic".
15125 if test $enable_clocale_flag = auto; then
15126 case ${target_os} in
15127 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15128 enable_clocale_flag=gnu
15130 darwin* | freebsd*)
15131 enable_clocale_flag=darwin
15134 enable_clocale_flag=generic
15136 esac
15139 # Sanity check model, and test for special functionality.
15140 if test $enable_clocale_flag = gnu; then
15141 cat >conftest.$ac_ext <<_ACEOF
15142 /* confdefs.h. */
15143 _ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15148 #include <features.h>
15149 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15150 _GLIBCXX_ok
15151 #endif
15153 _ACEOF
15154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15155 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15156 enable_clocale_flag=gnu
15157 else
15158 enable_clocale_flag=generic
15160 rm -f conftest*
15163 if test $enable_clocale = auto; then
15164 # Test for bugs early in glibc-2.2.x series
15165 if test "$cross_compiling" = yes; then
15166 enable_clocale_flag=generic
15167 else
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h. */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15175 #define _GNU_SOURCE 1
15176 #include <locale.h>
15177 #include <string.h>
15178 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15179 extern __typeof(newlocale) __newlocale;
15180 extern __typeof(duplocale) __duplocale;
15181 extern __typeof(strcoll_l) __strcoll_l;
15182 #endif
15183 int main()
15185 const char __one[] = "Äuglein Augmen";
15186 const char __two[] = "Äuglein";
15187 int i;
15188 int j;
15189 __locale_t loc;
15190 __locale_t loc_dup;
15191 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15192 loc_dup = __duplocale(loc);
15193 i = __strcoll_l(__one, __two, loc);
15194 j = __strcoll_l(__one, __two, loc_dup);
15195 return 0;
15198 _ACEOF
15199 rm -f conftest$ac_exeext
15200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15201 (eval $ac_link) 2>&5
15202 ac_status=$?
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15206 (eval $ac_try) 2>&5
15207 ac_status=$?
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; }; then
15210 enable_clocale_flag=gnu
15211 else
15212 echo "$as_me: program exited with status $ac_status" >&5
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15216 ( exit $ac_status )
15217 enable_clocale_flag=generic
15219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15223 # Set it to scream when it hurts.
15224 ac_save_CFLAGS="$CFLAGS"
15225 CFLAGS="-Wimplicit-function-declaration -Werror"
15227 # Use strxfrm_l if available.
15228 cat >conftest.$ac_ext <<_ACEOF
15229 /* confdefs.h. */
15230 _ACEOF
15231 cat confdefs.h >>conftest.$ac_ext
15232 cat >>conftest.$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 #define _GNU_SOURCE 1
15235 #include <string.h>
15236 #include <locale.h>
15238 main ()
15240 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15242 return 0;
15244 _ACEOF
15245 rm -f conftest.$ac_objext
15246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15247 (eval $ac_compile) 2>conftest.er1
15248 ac_status=$?
15249 grep -v '^ *+' conftest.er1 >conftest.err
15250 rm -f conftest.er1
15251 cat conftest.err >&5
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); } &&
15254 { ac_try='test -z "$ac_c_werror_flag"
15255 || test ! -s conftest.err'
15256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257 (eval $ac_try) 2>&5
15258 ac_status=$?
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; } &&
15261 { ac_try='test -s conftest.$ac_objext'
15262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15263 (eval $ac_try) 2>&5
15264 ac_status=$?
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); }; }; then
15268 cat >>confdefs.h <<\_ACEOF
15269 #define HAVE_STRXFRM_L 1
15270 _ACEOF
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15279 # Use strerror_l if available.
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 #define _GNU_SOURCE 1
15287 #include <string.h>
15288 #include <locale.h>
15290 main ()
15292 __locale_t loc; strerror_l(5, loc);
15294 return 0;
15296 _ACEOF
15297 rm -f conftest.$ac_objext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299 (eval $ac_compile) 2>conftest.er1
15300 ac_status=$?
15301 grep -v '^ *+' conftest.er1 >conftest.err
15302 rm -f conftest.er1
15303 cat conftest.err >&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try='test -z "$ac_c_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15316 ac_status=$?
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15320 cat >>confdefs.h <<\_ACEOF
15321 #define HAVE_STRERROR_L 1
15322 _ACEOF
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15331 CFLAGS="$ac_save_CFLAGS"
15334 # Perhaps use strerror_r if available, and strerror_l isn't.
15335 ac_save_CFLAGS="$CFLAGS"
15336 CFLAGS="-Wimplicit-function-declaration -Werror"
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15343 #define _GNU_SOURCE 1
15344 #include <string.h>
15345 #include <locale.h>
15347 main ()
15349 char s[128]; strerror_r(5, s, 128);
15351 return 0;
15353 _ACEOF
15354 rm -f conftest.$ac_objext
15355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15356 (eval $ac_compile) 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } &&
15363 { ac_try='test -z "$ac_c_werror_flag"
15364 || test ! -s conftest.err'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15367 ac_status=$?
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; } &&
15370 { ac_try='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15373 ac_status=$?
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15377 cat >>confdefs.h <<\_ACEOF
15378 #define HAVE_STRERROR_R 1
15379 _ACEOF
15381 else
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15387 CFLAGS="$ac_save_CFLAGS"
15389 # Set configure bits for specified locale package
15390 echo "$as_me:$LINENO: checking for C locale to use" >&5
15391 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15392 case ${enable_clocale_flag} in
15393 generic)
15394 echo "$as_me:$LINENO: result: generic" >&5
15395 echo "${ECHO_T}generic" >&6
15397 CLOCALE_H=config/locale/generic/c_locale.h
15398 CLOCALE_CC=config/locale/generic/c_locale.cc
15399 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15400 CCOLLATE_CC=config/locale/generic/collate_members.cc
15401 CCTYPE_CC=config/locale/generic/ctype_members.cc
15402 CMESSAGES_H=config/locale/generic/messages_members.h
15403 CMESSAGES_CC=config/locale/generic/messages_members.cc
15404 CMONEY_CC=config/locale/generic/monetary_members.cc
15405 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15406 CTIME_H=config/locale/generic/time_members.h
15407 CTIME_CC=config/locale/generic/time_members.cc
15408 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15410 darwin)
15411 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15412 echo "${ECHO_T}darwin or freebsd" >&6
15414 CLOCALE_H=config/locale/generic/c_locale.h
15415 CLOCALE_CC=config/locale/generic/c_locale.cc
15416 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15417 CCOLLATE_CC=config/locale/generic/collate_members.cc
15418 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15419 CMESSAGES_H=config/locale/generic/messages_members.h
15420 CMESSAGES_CC=config/locale/generic/messages_members.cc
15421 CMONEY_CC=config/locale/generic/monetary_members.cc
15422 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15423 CTIME_H=config/locale/generic/time_members.h
15424 CTIME_CC=config/locale/generic/time_members.cc
15425 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15428 gnu)
15429 echo "$as_me:$LINENO: result: gnu" >&5
15430 echo "${ECHO_T}gnu" >&6
15432 # Declare intention to use gettext, and add support for specific
15433 # languages.
15434 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15435 ALL_LINGUAS="de fr"
15437 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15438 # Extract the first word of "msgfmt", so it can be a program name with args.
15439 set dummy msgfmt; ac_word=$2
15440 echo "$as_me:$LINENO: checking for $ac_word" >&5
15441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15442 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445 if test -n "$check_msgfmt"; then
15446 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15447 else
15448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15449 for as_dir in $PATH
15451 IFS=$as_save_IFS
15452 test -z "$as_dir" && as_dir=.
15453 for ac_exec_ext in '' $ac_executable_extensions; do
15454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15455 ac_cv_prog_check_msgfmt="yes"
15456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15457 break 2
15459 done
15460 done
15462 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15465 check_msgfmt=$ac_cv_prog_check_msgfmt
15466 if test -n "$check_msgfmt"; then
15467 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15468 echo "${ECHO_T}$check_msgfmt" >&6
15469 else
15470 echo "$as_me:$LINENO: result: no" >&5
15471 echo "${ECHO_T}no" >&6
15474 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15475 USE_NLS=yes
15477 # Export the build objects.
15478 for ling in $ALL_LINGUAS; do \
15479 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15480 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15481 done
15485 CLOCALE_H=config/locale/gnu/c_locale.h
15486 CLOCALE_CC=config/locale/gnu/c_locale.cc
15487 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15488 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15489 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15490 CMESSAGES_H=config/locale/gnu/messages_members.h
15491 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15492 CMONEY_CC=config/locale/gnu/monetary_members.cc
15493 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15494 CTIME_H=config/locale/gnu/time_members.h
15495 CTIME_CC=config/locale/gnu/time_members.cc
15496 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15498 ieee_1003.1-2001)
15499 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15500 echo "${ECHO_T}IEEE 1003.1" >&6
15502 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15503 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15504 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15505 CCOLLATE_CC=config/locale/generic/collate_members.cc
15506 CCTYPE_CC=config/locale/generic/ctype_members.cc
15507 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15508 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15509 CMONEY_CC=config/locale/generic/monetary_members.cc
15510 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15511 CTIME_H=config/locale/generic/time_members.h
15512 CTIME_CC=config/locale/generic/time_members.cc
15513 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15515 esac
15517 # This is where the testsuite looks for locale catalogs, using the
15518 # -DLOCALEDIR define during testsuite compilation.
15519 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15522 # A standalone libintl (e.g., GNU libintl) may be in use.
15523 if test $USE_NLS = yes; then
15525 for ac_header in libintl.h
15527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15529 echo "$as_me:$LINENO: checking for $ac_header" >&5
15530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6
15534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15536 else
15537 # Is the header compilable?
15538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15540 cat >conftest.$ac_ext <<_ACEOF
15541 /* confdefs.h. */
15542 _ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15546 $ac_includes_default
15547 #include <$ac_header>
15548 _ACEOF
15549 rm -f conftest.$ac_objext
15550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15551 (eval $ac_compile) 2>conftest.er1
15552 ac_status=$?
15553 grep -v '^ *+' conftest.er1 >conftest.err
15554 rm -f conftest.er1
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } &&
15558 { ac_try='test -z "$ac_c_werror_flag"
15559 || test ! -s conftest.err'
15560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15561 (eval $ac_try) 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; } &&
15565 { ac_try='test -s conftest.$ac_objext'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15568 ac_status=$?
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; }; then
15571 ac_header_compiler=yes
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15576 ac_header_compiler=no
15578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15580 echo "${ECHO_T}$ac_header_compiler" >&6
15582 # Is the header present?
15583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15585 cat >conftest.$ac_ext <<_ACEOF
15586 /* confdefs.h. */
15587 _ACEOF
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15591 #include <$ac_header>
15592 _ACEOF
15593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15595 ac_status=$?
15596 grep -v '^ *+' conftest.er1 >conftest.err
15597 rm -f conftest.er1
15598 cat conftest.err >&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } >/dev/null; then
15601 if test -s conftest.err; then
15602 ac_cpp_err=$ac_c_preproc_warn_flag
15603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15604 else
15605 ac_cpp_err=
15607 else
15608 ac_cpp_err=yes
15610 if test -z "$ac_cpp_err"; then
15611 ac_header_preproc=yes
15612 else
15613 echo "$as_me: failed program was:" >&5
15614 sed 's/^/| /' conftest.$ac_ext >&5
15616 ac_header_preproc=no
15618 rm -f conftest.err conftest.$ac_ext
15619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15620 echo "${ECHO_T}$ac_header_preproc" >&6
15622 # So? What about this header?
15623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15624 yes:no: )
15625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15629 ac_header_preproc=yes
15631 no:yes:* )
15632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15645 cat <<\_ASBOX
15646 ## ----------------------------------------- ##
15647 ## Report this to the package-unused lists. ##
15648 ## ----------------------------------------- ##
15649 _ASBOX
15651 sed "s/^/$as_me: WARNING: /" >&2
15653 esac
15654 echo "$as_me:$LINENO: checking for $ac_header" >&5
15655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 eval "$as_ac_Header=\$ac_header_preproc"
15661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15666 cat >>confdefs.h <<_ACEOF
15667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15668 _ACEOF
15670 else
15671 USE_NLS=no
15674 done
15676 echo "$as_me:$LINENO: checking for library containing gettext" >&5
15677 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
15678 if test "${ac_cv_search_gettext+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 ac_func_search_save_LIBS=$LIBS
15682 ac_cv_search_gettext=no
15683 if test x$gcc_no_link = xyes; then
15684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15686 { (exit 1); exit 1; }; }
15688 cat >conftest.$ac_ext <<_ACEOF
15689 /* confdefs.h. */
15690 _ACEOF
15691 cat confdefs.h >>conftest.$ac_ext
15692 cat >>conftest.$ac_ext <<_ACEOF
15693 /* end confdefs.h. */
15695 /* Override any gcc2 internal prototype to avoid an error. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 /* We use char because int might match the return type of a gcc2
15700 builtin and then its argument prototype would still apply. */
15701 char gettext ();
15703 main ()
15705 gettext ();
15707 return 0;
15709 _ACEOF
15710 rm -f conftest.$ac_objext conftest$ac_exeext
15711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15712 (eval $ac_link) 2>conftest.er1
15713 ac_status=$?
15714 grep -v '^ *+' conftest.er1 >conftest.err
15715 rm -f conftest.er1
15716 cat conftest.err >&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } &&
15719 { ac_try='test -z "$ac_c_werror_flag"
15720 || test ! -s conftest.err'
15721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15722 (eval $ac_try) 2>&5
15723 ac_status=$?
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; } &&
15726 { ac_try='test -s conftest$ac_exeext'
15727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15728 (eval $ac_try) 2>&5
15729 ac_status=$?
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); }; }; then
15732 ac_cv_search_gettext="none required"
15733 else
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15738 rm -f conftest.err conftest.$ac_objext \
15739 conftest$ac_exeext conftest.$ac_ext
15740 if test "$ac_cv_search_gettext" = no; then
15741 for ac_lib in intl; do
15742 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15743 if test x$gcc_no_link = xyes; then
15744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15746 { (exit 1); exit 1; }; }
15748 cat >conftest.$ac_ext <<_ACEOF
15749 /* confdefs.h. */
15750 _ACEOF
15751 cat confdefs.h >>conftest.$ac_ext
15752 cat >>conftest.$ac_ext <<_ACEOF
15753 /* end confdefs.h. */
15755 /* Override any gcc2 internal prototype to avoid an error. */
15756 #ifdef __cplusplus
15757 extern "C"
15758 #endif
15759 /* We use char because int might match the return type of a gcc2
15760 builtin and then its argument prototype would still apply. */
15761 char gettext ();
15763 main ()
15765 gettext ();
15767 return 0;
15769 _ACEOF
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15772 (eval $ac_link) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_c_werror_flag"
15780 || test ! -s conftest.err'
15781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15782 (eval $ac_try) 2>&5
15783 ac_status=$?
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); }; } &&
15786 { ac_try='test -s conftest$ac_exeext'
15787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15788 (eval $ac_try) 2>&5
15789 ac_status=$?
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); }; }; then
15792 ac_cv_search_gettext="-l$ac_lib"
15793 break
15794 else
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15799 rm -f conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801 done
15803 LIBS=$ac_func_search_save_LIBS
15805 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15806 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15807 if test "$ac_cv_search_gettext" != no; then
15808 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15810 else
15811 USE_NLS=no
15815 if test $USE_NLS = yes; then
15817 cat >>confdefs.h <<\_ACEOF
15818 #define _GLIBCXX_USE_NLS 1
15819 _ACEOF
15838 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15839 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15840 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15841 if test "${enable_libstdcxx_allocator+set}" = set; then
15842 enableval="$enable_libstdcxx_allocator"
15844 case "$enableval" in
15845 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15846 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15847 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15848 { (exit 1); exit 1; }; } ;;
15849 esac
15851 else
15852 enable_libstdcxx_allocator=auto
15856 # If they didn't use this option switch, or if they specified --enable
15857 # with no specific model, we'll have to look for one. If they
15858 # specified --disable (???), do likewise.
15859 if test $enable_libstdcxx_allocator = no ||
15860 test $enable_libstdcxx_allocator = yes;
15861 then
15862 enable_libstdcxx_allocator=auto
15865 # Either a known package, or "auto". Auto implies the default choice
15866 # for a particular platform.
15867 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15869 # Probe for host-specific support if no specific model is specified.
15870 # Default to "new".
15871 if test $enable_libstdcxx_allocator_flag = auto; then
15872 case ${target_os} in
15873 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15874 enable_libstdcxx_allocator_flag=new
15877 enable_libstdcxx_allocator_flag=new
15879 esac
15881 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15882 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15885 # Set configure bits for specified locale package
15886 case ${enable_libstdcxx_allocator_flag} in
15887 bitmap)
15888 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15889 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15891 malloc)
15892 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15893 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15896 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15897 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15899 new)
15900 ALLOCATOR_H=config/allocator/new_allocator_base.h
15901 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15903 pool)
15904 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15905 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15907 esac
15913 # Check whether --enable-cheaders or --disable-cheaders was given.
15914 if test "${enable_cheaders+set}" = set; then
15915 enableval="$enable_cheaders"
15917 case "$enableval" in
15918 c|c_std|c_global) ;;
15919 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15920 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15921 { (exit 1); exit 1; }; } ;;
15922 esac
15924 else
15925 enable_cheaders=$c_model
15928 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15929 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15931 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15933 # Allow overrides to configure.host here.
15934 if test $enable_cheaders = c_global; then
15935 c_compatibility=yes
15938 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15939 c_extra=yes
15949 # Check whether --enable-long-long or --disable-long-long was given.
15950 if test "${enable_long_long+set}" = set; then
15951 enableval="$enable_long_long"
15953 case "$enableval" in
15954 yes|no) ;;
15955 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15956 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15957 { (exit 1); exit 1; }; } ;;
15958 esac
15960 else
15961 enable_long_long=yes
15964 if test $enable_long_long = yes; then
15966 cat >>confdefs.h <<\_ACEOF
15967 #define _GLIBCXX_USE_LONG_LONG 1
15968 _ACEOF
15971 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15972 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15973 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15974 echo "${ECHO_T}$enable_long_long" >&6
15977 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15978 if test "${enable_wchar_t+set}" = set; then
15979 enableval="$enable_wchar_t"
15981 case "$enableval" in
15982 yes|no) ;;
15983 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15984 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15985 { (exit 1); exit 1; }; } ;;
15986 esac
15988 else
15989 enable_wchar_t=yes
15993 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15995 for ac_header in wchar.h
15997 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15999 echo "$as_me:$LINENO: checking for $ac_header" >&5
16000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16006 else
16007 # Is the header compilable?
16008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16017 #include <$ac_header>
16018 _ACEOF
16019 rm -f conftest.$ac_objext
16020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16021 (eval $ac_compile) 2>conftest.er1
16022 ac_status=$?
16023 grep -v '^ *+' conftest.er1 >conftest.err
16024 rm -f conftest.er1
16025 cat conftest.err >&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try='test -z "$ac_c_werror_flag"
16029 || test ! -s conftest.err'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16032 ac_status=$?
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; } &&
16035 { ac_try='test -s conftest.$ac_objext'
16036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16037 (eval $ac_try) 2>&5
16038 ac_status=$?
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); }; }; then
16041 ac_header_compiler=yes
16042 else
16043 echo "$as_me: failed program was:" >&5
16044 sed 's/^/| /' conftest.$ac_ext >&5
16046 ac_header_compiler=no
16048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16050 echo "${ECHO_T}$ac_header_compiler" >&6
16052 # Is the header present?
16053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16055 cat >conftest.$ac_ext <<_ACEOF
16056 /* confdefs.h. */
16057 _ACEOF
16058 cat confdefs.h >>conftest.$ac_ext
16059 cat >>conftest.$ac_ext <<_ACEOF
16060 /* end confdefs.h. */
16061 #include <$ac_header>
16062 _ACEOF
16063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16064 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } >/dev/null; then
16071 if test -s conftest.err; then
16072 ac_cpp_err=$ac_c_preproc_warn_flag
16073 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16074 else
16075 ac_cpp_err=
16077 else
16078 ac_cpp_err=yes
16080 if test -z "$ac_cpp_err"; then
16081 ac_header_preproc=yes
16082 else
16083 echo "$as_me: failed program was:" >&5
16084 sed 's/^/| /' conftest.$ac_ext >&5
16086 ac_header_preproc=no
16088 rm -f conftest.err conftest.$ac_ext
16089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16090 echo "${ECHO_T}$ac_header_preproc" >&6
16092 # So? What about this header?
16093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16094 yes:no: )
16095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16099 ac_header_preproc=yes
16101 no:yes:* )
16102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16115 cat <<\_ASBOX
16116 ## ----------------------------------------- ##
16117 ## Report this to the package-unused lists. ##
16118 ## ----------------------------------------- ##
16119 _ASBOX
16121 sed "s/^/$as_me: WARNING: /" >&2
16123 esac
16124 echo "$as_me:$LINENO: checking for $ac_header" >&5
16125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 else
16129 eval "$as_ac_Header=\$ac_header_preproc"
16131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16136 cat >>confdefs.h <<_ACEOF
16137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16138 _ACEOF
16139 ac_has_wchar_h=yes
16140 else
16141 ac_has_wchar_h=no
16144 done
16146 echo "$as_me:$LINENO: checking for mbstate_t" >&5
16147 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16148 cat >conftest.$ac_ext <<_ACEOF
16149 /* confdefs.h. */
16150 _ACEOF
16151 cat confdefs.h >>conftest.$ac_ext
16152 cat >>conftest.$ac_ext <<_ACEOF
16153 /* end confdefs.h. */
16154 #include <wchar.h>
16156 main ()
16158 mbstate_t teststate;
16160 return 0;
16162 _ACEOF
16163 rm -f conftest.$ac_objext
16164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16165 (eval $ac_compile) 2>conftest.er1
16166 ac_status=$?
16167 grep -v '^ *+' conftest.er1 >conftest.err
16168 rm -f conftest.er1
16169 cat conftest.err >&5
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); } &&
16172 { ac_try='test -z "$ac_c_werror_flag"
16173 || test ! -s conftest.err'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16176 ac_status=$?
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; } &&
16179 { ac_try='test -s conftest.$ac_objext'
16180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181 (eval $ac_try) 2>&5
16182 ac_status=$?
16183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184 (exit $ac_status); }; }; then
16185 have_mbstate_t=yes
16186 else
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.$ac_ext >&5
16190 have_mbstate_t=no
16192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16193 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16194 echo "${ECHO_T}$have_mbstate_t" >&6
16195 if test x"$have_mbstate_t" = xyes; then
16197 cat >>confdefs.h <<\_ACEOF
16198 #define HAVE_MBSTATE_T 1
16199 _ACEOF
16203 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16204 # ac_has_wchar_h.
16206 for ac_header in wctype.h
16208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16210 echo "$as_me:$LINENO: checking for $ac_header" >&5
16211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16217 else
16218 # Is the header compilable?
16219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16221 cat >conftest.$ac_ext <<_ACEOF
16222 /* confdefs.h. */
16223 _ACEOF
16224 cat confdefs.h >>conftest.$ac_ext
16225 cat >>conftest.$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 $ac_includes_default
16228 #include <$ac_header>
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232 (eval $ac_compile) 2>conftest.er1
16233 ac_status=$?
16234 grep -v '^ *+' conftest.er1 >conftest.err
16235 rm -f conftest.er1
16236 cat conftest.err >&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); } &&
16239 { ac_try='test -z "$ac_c_werror_flag"
16240 || test ! -s conftest.err'
16241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242 (eval $ac_try) 2>&5
16243 ac_status=$?
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }; } &&
16246 { ac_try='test -s conftest.$ac_objext'
16247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248 (eval $ac_try) 2>&5
16249 ac_status=$?
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); }; }; then
16252 ac_header_compiler=yes
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16257 ac_header_compiler=no
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16261 echo "${ECHO_T}$ac_header_compiler" >&6
16263 # Is the header present?
16264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 #include <$ac_header>
16273 _ACEOF
16274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev/null; then
16282 if test -s conftest.err; then
16283 ac_cpp_err=$ac_c_preproc_warn_flag
16284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16285 else
16286 ac_cpp_err=
16288 else
16289 ac_cpp_err=yes
16291 if test -z "$ac_cpp_err"; then
16292 ac_header_preproc=yes
16293 else
16294 echo "$as_me: failed program was:" >&5
16295 sed 's/^/| /' conftest.$ac_ext >&5
16297 ac_header_preproc=no
16299 rm -f conftest.err conftest.$ac_ext
16300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16301 echo "${ECHO_T}$ac_header_preproc" >&6
16303 # So? What about this header?
16304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16305 yes:no: )
16306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16310 ac_header_preproc=yes
16312 no:yes:* )
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16326 cat <<\_ASBOX
16327 ## ----------------------------------------- ##
16328 ## Report this to the package-unused lists. ##
16329 ## ----------------------------------------- ##
16330 _ASBOX
16332 sed "s/^/$as_me: WARNING: /" >&2
16334 esac
16335 echo "$as_me:$LINENO: checking for $ac_header" >&5
16336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16340 eval "$as_ac_Header=\$ac_header_preproc"
16342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16347 cat >>confdefs.h <<_ACEOF
16348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16349 _ACEOF
16350 ac_has_wctype_h=yes
16351 else
16352 ac_has_wctype_h=no
16355 done
16358 if test x"$enable_wchar_t" = x"yes"; then
16362 ac_ext=cc
16363 ac_cpp='$CXXCPP $CPPFLAGS'
16364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16369 if test x"$ac_has_wchar_h" = xyes &&
16370 test x"$ac_has_wctype_h" = xyes; then
16371 cat >conftest.$ac_ext <<_ACEOF
16372 /* confdefs.h. */
16373 _ACEOF
16374 cat confdefs.h >>conftest.$ac_ext
16375 cat >>conftest.$ac_ext <<_ACEOF
16376 /* end confdefs.h. */
16377 #include <wchar.h>
16378 #include <stddef.h>
16379 wint_t i;
16380 long l = WEOF;
16381 long j = WCHAR_MIN;
16382 long k = WCHAR_MAX;
16383 namespace test
16385 using ::btowc;
16386 using ::fgetwc;
16387 using ::fgetws;
16388 using ::fputwc;
16389 using ::fputws;
16390 using ::fwide;
16391 using ::fwprintf;
16392 using ::fwscanf;
16393 using ::getwc;
16394 using ::getwchar;
16395 using ::mbrlen;
16396 using ::mbrtowc;
16397 using ::mbsinit;
16398 using ::mbsrtowcs;
16399 using ::putwc;
16400 using ::putwchar;
16401 using ::swprintf;
16402 using ::swscanf;
16403 using ::ungetwc;
16404 using ::vfwprintf;
16405 using ::vswprintf;
16406 using ::vwprintf;
16407 using ::wcrtomb;
16408 using ::wcscat;
16409 using ::wcschr;
16410 using ::wcscmp;
16411 using ::wcscoll;
16412 using ::wcscpy;
16413 using ::wcscspn;
16414 using ::wcsftime;
16415 using ::wcslen;
16416 using ::wcsncat;
16417 using ::wcsncmp;
16418 using ::wcsncpy;
16419 using ::wcspbrk;
16420 using ::wcsrchr;
16421 using ::wcsrtombs;
16422 using ::wcsspn;
16423 using ::wcsstr;
16424 using ::wcstod;
16425 using ::wcstok;
16426 using ::wcstol;
16427 using ::wcstoul;
16428 using ::wcsxfrm;
16429 using ::wctob;
16430 using ::wmemchr;
16431 using ::wmemcmp;
16432 using ::wmemcpy;
16433 using ::wmemmove;
16434 using ::wmemset;
16435 using ::wprintf;
16436 using ::wscanf;
16440 main ()
16444 return 0;
16446 _ACEOF
16447 rm -f conftest.$ac_objext
16448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16449 (eval $ac_compile) 2>conftest.er1
16450 ac_status=$?
16451 grep -v '^ *+' conftest.er1 >conftest.err
16452 rm -f conftest.er1
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } &&
16456 { ac_try='test -z "$ac_cxx_werror_flag"
16457 || test ! -s conftest.err'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; } &&
16463 { ac_try='test -s conftest.$ac_objext'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; }; then
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16474 enable_wchar_t=no
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16489 if test x"$enable_wchar_t" = x"yes"; then
16491 cat >>confdefs.h <<\_ACEOF
16492 #define _GLIBCXX_USE_WCHAR_T 1
16493 _ACEOF
16497 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16498 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16499 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16500 echo "${ECHO_T}$enable_wchar_t" >&6
16504 # Check whether --enable-c99 or --disable-c99 was given.
16505 if test "${enable_c99+set}" = set; then
16506 enableval="$enable_c99"
16508 case "$enableval" in
16509 yes|no) ;;
16510 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16511 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16512 { (exit 1); exit 1; }; } ;;
16513 esac
16515 else
16516 enable_c99=yes
16520 if test x"$enable_c99" = x"yes"; then
16524 ac_ext=cc
16525 ac_cpp='$CXXCPP $CPPFLAGS'
16526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16531 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16532 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16533 # spuriously enabled.
16534 # Long term, -std=c++0x could be even better, could manage to explicitely
16535 # request C99 facilities to the underlying C headers.
16536 ac_save_CXXFLAGS="$CXXFLAGS"
16537 CXXFLAGS="$CXXFLAGS -std=c++98"
16538 ac_save_LIBS="$LIBS"
16539 ac_save_gcc_no_link="$gcc_no_link"
16541 if test x$gcc_no_link != xyes; then
16542 # Use -fno-exceptions to that the C driver can link these tests without
16543 # hitting undefined references to personality routines.
16544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16545 echo "$as_me:$LINENO: checking for sin in -lm" >&5
16546 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16547 if test "${ac_cv_lib_m_sin+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 else
16550 ac_check_lib_save_LIBS=$LIBS
16551 LIBS="-lm $LIBS"
16552 if test x$gcc_no_link = xyes; then
16553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16555 { (exit 1); exit 1; }; }
16557 cat >conftest.$ac_ext <<_ACEOF
16558 /* confdefs.h. */
16559 _ACEOF
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16564 /* Override any gcc2 internal prototype to avoid an error. */
16565 #ifdef __cplusplus
16566 extern "C"
16567 #endif
16568 /* We use char because int might match the return type of a gcc2
16569 builtin and then its argument prototype would still apply. */
16570 char sin ();
16572 main ()
16574 sin ();
16576 return 0;
16578 _ACEOF
16579 rm -f conftest.$ac_objext conftest$ac_exeext
16580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16581 (eval $ac_link) 2>conftest.er1
16582 ac_status=$?
16583 grep -v '^ *+' conftest.er1 >conftest.err
16584 rm -f conftest.er1
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } &&
16588 { ac_try='test -z "$ac_cxx_werror_flag"
16589 || test ! -s conftest.err'
16590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16591 (eval $ac_try) 2>&5
16592 ac_status=$?
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); }; } &&
16595 { ac_try='test -s conftest$ac_exeext'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16598 ac_status=$?
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; }; then
16601 ac_cv_lib_m_sin=yes
16602 else
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.$ac_ext >&5
16606 ac_cv_lib_m_sin=no
16608 rm -f conftest.err conftest.$ac_objext \
16609 conftest$ac_exeext conftest.$ac_ext
16610 LIBS=$ac_check_lib_save_LIBS
16612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16613 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16614 if test $ac_cv_lib_m_sin = yes; then
16616 LIBS="$LIBS -lm"
16618 else
16620 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16621 gcc_no_link=yes
16627 # Check for the existence of <math.h> functions used if C99 is enabled.
16628 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16629 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16630 if test "${glibcxx_cv_c99_math+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16634 if test x$gcc_no_link = xyes; then
16635 cat >conftest.$ac_ext <<_ACEOF
16636 /* confdefs.h. */
16637 _ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16641 #include <math.h>
16642 volatile double d1, d2;
16643 volatile int i;
16645 main ()
16647 i = fpclassify(d1);
16648 i = isfinite(d1);
16649 i = isinf(d1);
16650 i = isnan(d1);
16651 i = isnormal(d1);
16652 i = signbit(d1);
16653 i = isgreater(d1, d2);
16654 i = isgreaterequal(d1, d2);
16655 i = isless(d1, d2);
16656 i = islessequal(d1, d2);
16657 i = islessgreater(d1, d2);
16658 i = islessgreater(d1, d2);
16659 i = isunordered(d1, d2);
16662 return 0;
16664 _ACEOF
16665 rm -f conftest.$ac_objext
16666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16667 (eval $ac_compile) 2>conftest.er1
16668 ac_status=$?
16669 grep -v '^ *+' conftest.er1 >conftest.err
16670 rm -f conftest.er1
16671 cat conftest.err >&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } &&
16674 { ac_try='test -z "$ac_cxx_werror_flag"
16675 || test ! -s conftest.err'
16676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16677 (eval $ac_try) 2>&5
16678 ac_status=$?
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); }; } &&
16681 { ac_try='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16687 glibcxx_cv_c99_math=yes
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16692 glibcxx_cv_c99_math=no
16694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 else
16696 if test x$gcc_no_link = xyes; then
16697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16699 { (exit 1); exit 1; }; }
16701 cat >conftest.$ac_ext <<_ACEOF
16702 /* confdefs.h. */
16703 _ACEOF
16704 cat confdefs.h >>conftest.$ac_ext
16705 cat >>conftest.$ac_ext <<_ACEOF
16706 /* end confdefs.h. */
16707 #include <math.h>
16708 volatile double d1, d2;
16709 volatile int i;
16711 main ()
16713 i = fpclassify(d1);
16714 i = isfinite(d1);
16715 i = isinf(d1);
16716 i = isnan(d1);
16717 i = isnormal(d1);
16718 i = signbit(d1);
16719 i = isgreater(d1, d2);
16720 i = isgreaterequal(d1, d2);
16721 i = isless(d1, d2);
16722 i = islessequal(d1, d2);
16723 i = islessgreater(d1, d2);
16724 i = islessgreater(d1, d2);
16725 i = isunordered(d1, d2);
16728 return 0;
16730 _ACEOF
16731 rm -f conftest.$ac_objext conftest$ac_exeext
16732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16733 (eval $ac_link) 2>conftest.er1
16734 ac_status=$?
16735 grep -v '^ *+' conftest.er1 >conftest.err
16736 rm -f conftest.er1
16737 cat conftest.err >&5
16738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739 (exit $ac_status); } &&
16740 { ac_try='test -z "$ac_cxx_werror_flag"
16741 || test ! -s conftest.err'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16744 ac_status=$?
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; } &&
16747 { ac_try='test -s conftest$ac_exeext'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16750 ac_status=$?
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; }; then
16753 glibcxx_cv_c99_math=yes
16754 else
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16758 glibcxx_cv_c99_math=no
16760 rm -f conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16766 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16767 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16768 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16770 cat >>confdefs.h <<\_ACEOF
16771 #define _GLIBCXX_USE_C99_MATH 1
16772 _ACEOF
16776 # Check for the existence of <complex.h> complex math functions.
16777 # This is necessary even though libstdc++ uses the builtin versions
16778 # of these functions, because if the builtin cannot be used, a reference
16779 # to the library function is emitted.
16781 for ac_header in tgmath.h
16783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16792 else
16793 # Is the header compilable?
16794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 #include <$ac_header>
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16807 (eval $ac_compile) 2>conftest.er1
16808 ac_status=$?
16809 grep -v '^ *+' conftest.er1 >conftest.err
16810 rm -f conftest.er1
16811 cat conftest.err >&5
16812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813 (exit $ac_status); } &&
16814 { ac_try='test -z "$ac_cxx_werror_flag"
16815 || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16818 ac_status=$?
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_header_compiler=yes
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16832 ac_header_compiler=no
16834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16836 echo "${ECHO_T}$ac_header_compiler" >&6
16838 # Is the header present?
16839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16841 cat >conftest.$ac_ext <<_ACEOF
16842 /* confdefs.h. */
16843 _ACEOF
16844 cat confdefs.h >>conftest.$ac_ext
16845 cat >>conftest.$ac_ext <<_ACEOF
16846 /* end confdefs.h. */
16847 #include <$ac_header>
16848 _ACEOF
16849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16851 ac_status=$?
16852 grep -v '^ *+' conftest.er1 >conftest.err
16853 rm -f conftest.er1
16854 cat conftest.err >&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } >/dev/null; then
16857 if test -s conftest.err; then
16858 ac_cpp_err=$ac_cxx_preproc_warn_flag
16859 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16860 else
16861 ac_cpp_err=
16863 else
16864 ac_cpp_err=yes
16866 if test -z "$ac_cpp_err"; then
16867 ac_header_preproc=yes
16868 else
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.$ac_ext >&5
16872 ac_header_preproc=no
16874 rm -f conftest.err conftest.$ac_ext
16875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16876 echo "${ECHO_T}$ac_header_preproc" >&6
16878 # So? What about this header?
16879 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16880 yes:no: )
16881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16885 ac_header_preproc=yes
16887 no:yes:* )
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16901 cat <<\_ASBOX
16902 ## ----------------------------------------- ##
16903 ## Report this to the package-unused lists. ##
16904 ## ----------------------------------------- ##
16905 _ASBOX
16907 sed "s/^/$as_me: WARNING: /" >&2
16909 esac
16910 echo "$as_me:$LINENO: checking for $ac_header" >&5
16911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16915 eval "$as_ac_Header=\$ac_header_preproc"
16917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16922 cat >>confdefs.h <<_ACEOF
16923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16924 _ACEOF
16925 ac_has_tgmath_h=yes
16926 else
16927 ac_has_tgmath_h=no
16930 done
16933 for ac_header in complex.h
16935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16937 echo "$as_me:$LINENO: checking for $ac_header" >&5
16938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16944 else
16945 # Is the header compilable?
16946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954 $ac_includes_default
16955 #include <$ac_header>
16956 _ACEOF
16957 rm -f conftest.$ac_objext
16958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16959 (eval $ac_compile) 2>conftest.er1
16960 ac_status=$?
16961 grep -v '^ *+' conftest.er1 >conftest.err
16962 rm -f conftest.er1
16963 cat conftest.err >&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try='test -z "$ac_cxx_werror_flag"
16967 || test ! -s conftest.err'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16970 ac_status=$?
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; } &&
16973 { ac_try='test -s conftest.$ac_objext'
16974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16975 (eval $ac_try) 2>&5
16976 ac_status=$?
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); }; }; then
16979 ac_header_compiler=yes
16980 else
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16984 ac_header_compiler=no
16986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16988 echo "${ECHO_T}$ac_header_compiler" >&6
16990 # Is the header present?
16991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 #include <$ac_header>
17000 _ACEOF
17001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17003 ac_status=$?
17004 grep -v '^ *+' conftest.er1 >conftest.err
17005 rm -f conftest.er1
17006 cat conftest.err >&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); } >/dev/null; then
17009 if test -s conftest.err; then
17010 ac_cpp_err=$ac_cxx_preproc_warn_flag
17011 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17012 else
17013 ac_cpp_err=
17015 else
17016 ac_cpp_err=yes
17018 if test -z "$ac_cpp_err"; then
17019 ac_header_preproc=yes
17020 else
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.$ac_ext >&5
17024 ac_header_preproc=no
17026 rm -f conftest.err conftest.$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17028 echo "${ECHO_T}$ac_header_preproc" >&6
17030 # So? What about this header?
17031 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17032 yes:no: )
17033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17037 ac_header_preproc=yes
17039 no:yes:* )
17040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17053 cat <<\_ASBOX
17054 ## ----------------------------------------- ##
17055 ## Report this to the package-unused lists. ##
17056 ## ----------------------------------------- ##
17057 _ASBOX
17059 sed "s/^/$as_me: WARNING: /" >&2
17061 esac
17062 echo "$as_me:$LINENO: checking for $ac_header" >&5
17063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 else
17067 eval "$as_ac_Header=\$ac_header_preproc"
17069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17074 cat >>confdefs.h <<_ACEOF
17075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17076 _ACEOF
17077 ac_has_complex_h=yes
17078 else
17079 ac_has_complex_h=no
17082 done
17084 glibcxx_cv_c99_complex=no;
17085 if test x"$ac_has_complex_h" = x"yes"; then
17086 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17087 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17088 if test x$gcc_no_link = xyes; then
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 #include <complex.h>
17096 typedef __complex__ float float_type;
17097 typedef __complex__ double double_type;
17098 typedef __complex__ long double ld_type;
17099 volatile float_type tmpf;
17100 volatile double_type tmpd;
17101 volatile ld_type tmpld;
17102 volatile float f;
17103 volatile double d;
17104 volatile long double ld;
17106 main ()
17108 f = cabsf(tmpf);
17109 f = cargf(tmpf);
17110 tmpf = ccosf(tmpf);
17111 tmpf = ccoshf(tmpf);
17112 tmpf = cexpf(tmpf);
17113 tmpf = clogf(tmpf);
17114 tmpf = csinf(tmpf);
17115 tmpf = csinhf(tmpf);
17116 tmpf = csqrtf(tmpf);
17117 tmpf = ctanf(tmpf);
17118 tmpf = ctanhf(tmpf);
17119 tmpf = cpowf(tmpf, tmpf);
17120 tmpf = cprojf(tmpf);
17121 d = cabs(tmpd);
17122 d = carg(tmpd);
17123 tmpd = ccos(tmpd);
17124 tmpd = ccosh(tmpd);
17125 tmpd = cexp(tmpd);
17126 tmpd = clog(tmpd);
17127 tmpd = csin(tmpd);
17128 tmpd = csinh(tmpd);
17129 tmpd = csqrt(tmpd);
17130 tmpd = ctan(tmpd);
17131 tmpd = ctanh(tmpd);
17132 tmpd = cpow(tmpd, tmpd);
17133 tmpd = cproj(tmpd);
17134 ld = cabsl(tmpld);
17135 ld = cargl(tmpld);
17136 tmpld = ccosl(tmpld);
17137 tmpld = ccoshl(tmpld);
17138 tmpld = cexpl(tmpld);
17139 tmpld = clogl(tmpld);
17140 tmpld = csinl(tmpld);
17141 tmpld = csinhl(tmpld);
17142 tmpld = csqrtl(tmpld);
17143 tmpld = ctanl(tmpld);
17144 tmpld = ctanhl(tmpld);
17145 tmpld = cpowl(tmpld, tmpld);
17146 tmpld = cprojl(tmpld);
17149 return 0;
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17155 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try='test -z "$ac_cxx_werror_flag"
17162 || test ! -s conftest.err'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; } &&
17168 { ac_try='test -s conftest.$ac_objext'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17171 ac_status=$?
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; }; then
17174 glibcxx_cv_c99_complex=yes
17175 else
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.$ac_ext >&5
17179 glibcxx_cv_c99_complex=no
17181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17182 else
17183 if test x$gcc_no_link = xyes; then
17184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17186 { (exit 1); exit 1; }; }
17188 cat >conftest.$ac_ext <<_ACEOF
17189 /* confdefs.h. */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 #include <complex.h>
17195 typedef __complex__ float float_type;
17196 typedef __complex__ double double_type;
17197 typedef __complex__ long double ld_type;
17198 volatile float_type tmpf;
17199 volatile double_type tmpd;
17200 volatile ld_type tmpld;
17201 volatile float f;
17202 volatile double d;
17203 volatile long double ld;
17205 main ()
17207 f = cabsf(tmpf);
17208 f = cargf(tmpf);
17209 tmpf = ccosf(tmpf);
17210 tmpf = ccoshf(tmpf);
17211 tmpf = cexpf(tmpf);
17212 tmpf = clogf(tmpf);
17213 tmpf = csinf(tmpf);
17214 tmpf = csinhf(tmpf);
17215 tmpf = csqrtf(tmpf);
17216 tmpf = ctanf(tmpf);
17217 tmpf = ctanhf(tmpf);
17218 tmpf = cpowf(tmpf, tmpf);
17219 tmpf = cprojf(tmpf);
17220 d = cabs(tmpd);
17221 d = carg(tmpd);
17222 tmpd = ccos(tmpd);
17223 tmpd = ccosh(tmpd);
17224 tmpd = cexp(tmpd);
17225 tmpd = clog(tmpd);
17226 tmpd = csin(tmpd);
17227 tmpd = csinh(tmpd);
17228 tmpd = csqrt(tmpd);
17229 tmpd = ctan(tmpd);
17230 tmpd = ctanh(tmpd);
17231 tmpd = cpow(tmpd, tmpd);
17232 tmpd = cproj(tmpd);
17233 ld = cabsl(tmpld);
17234 ld = cargl(tmpld);
17235 tmpld = ccosl(tmpld);
17236 tmpld = ccoshl(tmpld);
17237 tmpld = cexpl(tmpld);
17238 tmpld = clogl(tmpld);
17239 tmpld = csinl(tmpld);
17240 tmpld = csinhl(tmpld);
17241 tmpld = csqrtl(tmpld);
17242 tmpld = ctanl(tmpld);
17243 tmpld = ctanhl(tmpld);
17244 tmpld = cpowl(tmpld, tmpld);
17245 tmpld = cprojl(tmpld);
17248 return 0;
17250 _ACEOF
17251 rm -f conftest.$ac_objext conftest$ac_exeext
17252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17253 (eval $ac_link) 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } &&
17260 { ac_try='test -z "$ac_cxx_werror_flag"
17261 || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try='test -s conftest$ac_exeext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17270 ac_status=$?
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 glibcxx_cv_c99_complex=yes
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17278 glibcxx_cv_c99_complex=no
17280 rm -f conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17284 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17285 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17286 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17288 cat >>confdefs.h <<\_ACEOF
17289 #define _GLIBCXX_USE_C99_COMPLEX 1
17290 _ACEOF
17294 # Check for the existence in <stdio.h> of vscanf, et. al.
17295 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17296 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17297 if test "${glibcxx_cv_c99_stdio+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17301 if test x$gcc_no_link = xyes; then
17302 cat >conftest.$ac_ext <<_ACEOF
17303 /* confdefs.h. */
17304 _ACEOF
17305 cat confdefs.h >>conftest.$ac_ext
17306 cat >>conftest.$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #include <stdio.h>
17309 #include <stdarg.h>
17310 void foo(char* fmt, ...)
17312 va_list args; va_start(args, fmt);
17313 vfscanf(stderr, "%i", args);
17314 vscanf("%i", args);
17315 vsnprintf(fmt, 0, "%i", args);
17316 vsscanf(fmt, "%i", args);
17319 main ()
17321 snprintf("12", 0, "%i");
17323 return 0;
17325 _ACEOF
17326 rm -f conftest.$ac_objext
17327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17328 (eval $ac_compile) 2>conftest.er1
17329 ac_status=$?
17330 grep -v '^ *+' conftest.er1 >conftest.err
17331 rm -f conftest.er1
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try='test -z "$ac_cxx_werror_flag"
17336 || test ! -s conftest.err'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17339 ac_status=$?
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; } &&
17342 { ac_try='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17345 ac_status=$?
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 glibcxx_cv_c99_stdio=yes
17349 else
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 glibcxx_cv_c99_stdio=no
17355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17356 else
17357 if test x$gcc_no_link = xyes; then
17358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17360 { (exit 1); exit 1; }; }
17362 cat >conftest.$ac_ext <<_ACEOF
17363 /* confdefs.h. */
17364 _ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17368 #include <stdio.h>
17369 #include <stdarg.h>
17370 void foo(char* fmt, ...)
17372 va_list args; va_start(args, fmt);
17373 vfscanf(stderr, "%i", args);
17374 vscanf("%i", args);
17375 vsnprintf(fmt, 0, "%i", args);
17376 vsscanf(fmt, "%i", args);
17379 main ()
17381 snprintf("12", 0, "%i");
17383 return 0;
17385 _ACEOF
17386 rm -f conftest.$ac_objext conftest$ac_exeext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17388 (eval $ac_link) 2>conftest.er1
17389 ac_status=$?
17390 grep -v '^ *+' conftest.er1 >conftest.err
17391 rm -f conftest.er1
17392 cat conftest.err >&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try='test -z "$ac_cxx_werror_flag"
17396 || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17399 ac_status=$?
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try='test -s conftest$ac_exeext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17405 ac_status=$?
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 glibcxx_cv_c99_stdio=yes
17409 else
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17413 glibcxx_cv_c99_stdio=no
17415 rm -f conftest.err conftest.$ac_objext \
17416 conftest$ac_exeext conftest.$ac_ext
17421 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17422 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17424 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17425 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17426 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17427 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17428 echo $ECHO_N "(cached) $ECHO_C" >&6
17429 else
17431 if test x$gcc_no_link = xyes; then
17432 cat >conftest.$ac_ext <<_ACEOF
17433 /* confdefs.h. */
17434 _ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 #include <stdlib.h>
17439 volatile float f;
17440 volatile long double ld;
17441 volatile unsigned long long ll;
17442 lldiv_t mydivt;
17444 main ()
17446 char* tmp;
17447 f = strtof("gnu", &tmp);
17448 ld = strtold("gnu", &tmp);
17449 ll = strtoll("gnu", &tmp, 10);
17450 ll = strtoull("gnu", &tmp, 10);
17451 ll = llabs(10);
17452 mydivt = lldiv(10,1);
17453 ll = mydivt.quot;
17454 ll = mydivt.rem;
17455 ll = atoll("10");
17456 _Exit(0);
17459 return 0;
17461 _ACEOF
17462 rm -f conftest.$ac_objext
17463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17464 (eval $ac_compile) 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } &&
17471 { ac_try='test -z "$ac_cxx_werror_flag"
17472 || test ! -s conftest.err'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17475 ac_status=$?
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; } &&
17478 { ac_try='test -s conftest.$ac_objext'
17479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17480 (eval $ac_try) 2>&5
17481 ac_status=$?
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); }; }; then
17484 glibcxx_cv_c99_stdlib=yes
17485 else
17486 echo "$as_me: failed program was:" >&5
17487 sed 's/^/| /' conftest.$ac_ext >&5
17489 glibcxx_cv_c99_stdlib=no
17491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17492 else
17493 if test x$gcc_no_link = xyes; then
17494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17496 { (exit 1); exit 1; }; }
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504 #include <stdlib.h>
17505 volatile float f;
17506 volatile long double ld;
17507 volatile unsigned long long ll;
17508 lldiv_t mydivt;
17510 main ()
17512 char* tmp;
17513 f = strtof("gnu", &tmp);
17514 ld = strtold("gnu", &tmp);
17515 ll = strtoll("gnu", &tmp, 10);
17516 ll = strtoull("gnu", &tmp, 10);
17517 ll = llabs(10);
17518 mydivt = lldiv(10,1);
17519 ll = mydivt.quot;
17520 ll = mydivt.rem;
17521 ll = atoll("10");
17522 _Exit(0);
17525 return 0;
17527 _ACEOF
17528 rm -f conftest.$ac_objext conftest$ac_exeext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17530 (eval $ac_link) 2>conftest.er1
17531 ac_status=$?
17532 grep -v '^ *+' conftest.er1 >conftest.err
17533 rm -f conftest.er1
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try='test -z "$ac_cxx_werror_flag"
17538 || test ! -s conftest.err'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17541 ac_status=$?
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try='test -s conftest$ac_exeext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17547 ac_status=$?
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 glibcxx_cv_c99_stdlib=yes
17551 else
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.$ac_ext >&5
17555 glibcxx_cv_c99_stdlib=no
17557 rm -f conftest.err conftest.$ac_objext \
17558 conftest$ac_exeext conftest.$ac_ext
17563 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17564 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17566 # Check for the existence in <wchar.h> of wcstold, etc.
17567 glibcxx_cv_c99_wchar=no;
17568 if test x"$ac_has_wchar_h" = xyes &&
17569 test x"$ac_has_wctype_h" = xyes; then
17570 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17571 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <wchar.h>
17579 namespace test
17581 using ::wcstold;
17582 using ::wcstoll;
17583 using ::wcstoull;
17587 main ()
17591 return 0;
17593 _ACEOF
17594 rm -f conftest.$ac_objext
17595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17596 (eval $ac_compile) 2>conftest.er1
17597 ac_status=$?
17598 grep -v '^ *+' conftest.er1 >conftest.err
17599 rm -f conftest.er1
17600 cat conftest.err >&5
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); } &&
17603 { ac_try='test -z "$ac_cxx_werror_flag"
17604 || test ! -s conftest.err'
17605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17606 (eval $ac_try) 2>&5
17607 ac_status=$?
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); }; } &&
17610 { ac_try='test -s conftest.$ac_objext'
17611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17612 (eval $ac_try) 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); }; }; then
17616 glibcxx_cv_c99_wchar=yes
17617 else
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.$ac_ext >&5
17621 glibcxx_cv_c99_wchar=no
17623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17625 # Checks for wide character functions that may not be present.
17626 # Injection of these is wrapped with guard macros.
17627 # NB: only put functions here, instead of immediately above, if
17628 # absolutely necessary.
17629 cat >conftest.$ac_ext <<_ACEOF
17630 /* confdefs.h. */
17631 _ACEOF
17632 cat confdefs.h >>conftest.$ac_ext
17633 cat >>conftest.$ac_ext <<_ACEOF
17634 /* end confdefs.h. */
17635 #include <wchar.h>
17636 namespace test { using ::vfwscanf; }
17638 main ()
17642 return 0;
17644 _ACEOF
17645 rm -f conftest.$ac_objext
17646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17647 (eval $ac_compile) 2>conftest.er1
17648 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } &&
17654 { ac_try='test -z "$ac_cxx_werror_flag"
17655 || test ! -s conftest.err'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17658 ac_status=$?
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; } &&
17661 { ac_try='test -s conftest.$ac_objext'
17662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17663 (eval $ac_try) 2>&5
17664 ac_status=$?
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); }; }; then
17668 cat >>confdefs.h <<\_ACEOF
17669 #define HAVE_VFWSCANF 1
17670 _ACEOF
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 #include <wchar.h>
17686 namespace test { using ::vswscanf; }
17688 main ()
17692 return 0;
17694 _ACEOF
17695 rm -f conftest.$ac_objext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>conftest.er1
17698 ac_status=$?
17699 grep -v '^ *+' conftest.er1 >conftest.err
17700 rm -f conftest.er1
17701 cat conftest.err >&5
17702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17703 (exit $ac_status); } &&
17704 { ac_try='test -z "$ac_cxx_werror_flag"
17705 || test ! -s conftest.err'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17707 (eval $ac_try) 2>&5
17708 ac_status=$?
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); }; } &&
17711 { ac_try='test -s conftest.$ac_objext'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; }; then
17718 cat >>confdefs.h <<\_ACEOF
17719 #define HAVE_VSWSCANF 1
17720 _ACEOF
17722 else
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17729 cat >conftest.$ac_ext <<_ACEOF
17730 /* confdefs.h. */
17731 _ACEOF
17732 cat confdefs.h >>conftest.$ac_ext
17733 cat >>conftest.$ac_ext <<_ACEOF
17734 /* end confdefs.h. */
17735 #include <wchar.h>
17736 namespace test { using ::vwscanf; }
17738 main ()
17742 return 0;
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>conftest.er1
17748 ac_status=$?
17749 grep -v '^ *+' conftest.er1 >conftest.err
17750 rm -f conftest.er1
17751 cat conftest.err >&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); } &&
17754 { ac_try='test -z "$ac_cxx_werror_flag"
17755 || test ! -s conftest.err'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; } &&
17761 { ac_try='test -s conftest.$ac_objext'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; }; then
17768 cat >>confdefs.h <<\_ACEOF
17769 #define HAVE_VWSCANF 1
17770 _ACEOF
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779 cat >conftest.$ac_ext <<_ACEOF
17780 /* confdefs.h. */
17781 _ACEOF
17782 cat confdefs.h >>conftest.$ac_ext
17783 cat >>conftest.$ac_ext <<_ACEOF
17784 /* end confdefs.h. */
17785 #include <wchar.h>
17786 namespace test { using ::wcstof; }
17788 main ()
17792 return 0;
17794 _ACEOF
17795 rm -f conftest.$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try='test -z "$ac_cxx_werror_flag"
17805 || test ! -s conftest.err'
17806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17807 (eval $ac_try) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); }; } &&
17811 { ac_try='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17818 cat >>confdefs.h <<\_ACEOF
17819 #define HAVE_WCSTOF 1
17820 _ACEOF
17822 else
17823 echo "$as_me: failed program was:" >&5
17824 sed 's/^/| /' conftest.$ac_ext >&5
17827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17829 cat >conftest.$ac_ext <<_ACEOF
17830 /* confdefs.h. */
17831 _ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 #include <wctype.h>
17837 main ()
17839 wint_t t; int i = iswblank(t);
17841 return 0;
17843 _ACEOF
17844 rm -f conftest.$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17847 ac_status=$?
17848 grep -v '^ *+' conftest.er1 >conftest.err
17849 rm -f conftest.er1
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try='test -z "$ac_cxx_werror_flag"
17854 || test ! -s conftest.err'
17855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17856 (eval $ac_try) 2>&5
17857 ac_status=$?
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); }; } &&
17860 { ac_try='test -s conftest.$ac_objext'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17863 ac_status=$?
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; }; then
17867 cat >>confdefs.h <<\_ACEOF
17868 #define HAVE_ISWBLANK 1
17869 _ACEOF
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17879 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17882 # Option parsed, now set things appropriately.
17883 if test x"$glibcxx_cv_c99_math" = x"no" ||
17884 test x"$glibcxx_cv_c99_complex" = x"no" ||
17885 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17886 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17887 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17888 enable_c99=no;
17889 else
17891 cat >>confdefs.h <<\_ACEOF
17892 #define _GLIBCXX_USE_C99 1
17893 _ACEOF
17897 gcc_no_link="$ac_save_gcc_no_link"
17898 LIBS="$ac_save_LIBS"
17899 CXXFLAGS="$ac_save_CXXFLAGS"
17900 ac_ext=c
17901 ac_cpp='$CPP $CPPFLAGS'
17902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17908 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17909 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17910 echo "$as_me:$LINENO: result: $enable_c99" >&5
17911 echo "${ECHO_T}$enable_c99" >&6
17914 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17915 if test "${enable_concept_checks+set}" = set; then
17916 enableval="$enable_concept_checks"
17918 case "$enableval" in
17919 yes|no) ;;
17920 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17921 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17922 { (exit 1); exit 1; }; } ;;
17923 esac
17925 else
17926 enable_concept_checks=no
17929 if test $enable_concept_checks = yes; then
17931 cat >>confdefs.h <<\_ACEOF
17932 #define _GLIBCXX_CONCEPT_CHECKS 1
17933 _ACEOF
17938 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17939 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17940 enableval="$enable_libstdcxx_debug_flags"
17941 case "x$enable_libstdcxx_debug_flags" in
17942 xno | x) enable_libstdcxx_debug_flags= ;;
17943 x-*) ;;
17944 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17945 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17946 { (exit 1); exit 1; }; } ;;
17947 esac
17948 else
17949 enable_libstdcxx_debug_flags="-g3 -O0"
17953 # Option parsed, now set things appropriately
17954 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17957 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17958 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17961 echo "$as_me:$LINENO: checking for additional debug build" >&5
17962 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17963 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17964 if test "${enable_libstdcxx_debug+set}" = set; then
17965 enableval="$enable_libstdcxx_debug"
17967 case "$enableval" in
17968 yes|no) ;;
17969 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17970 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17971 { (exit 1); exit 1; }; } ;;
17972 esac
17974 else
17975 enable_libstdcxx_debug=no
17978 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17979 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17984 enable_parallel=no;
17986 # See if configured libgomp/omp.h exists. (libgomp may be in
17987 # noconfigdirs but not explicitly disabled.)
17988 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17989 enable_parallel=yes;
17990 else
17991 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17992 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17995 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17996 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17997 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17998 echo "${ECHO_T}$enable_parallel" >&6
18001 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
18002 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
18003 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
18004 if test "${enable_cxx_flags+set}" = set; then
18005 enableval="$enable_cxx_flags"
18006 case "x$enable_cxx_flags" in
18007 xno | x) enable_cxx_flags= ;;
18008 x-*) ;;
18009 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
18010 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
18011 { (exit 1); exit 1; }; } ;;
18012 esac
18013 else
18014 enable_cxx_flags=
18018 # Run through flags (either default or command-line) and set anything
18019 # extra (e.g., #defines) that must accompany particular g++ options.
18020 if test -n "$enable_cxx_flags"; then
18021 for f in $enable_cxx_flags; do
18022 case "$f" in
18023 -fhonor-std) ;;
18024 -*) ;;
18025 *) # and we're trying to pass /what/ exactly?
18026 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18027 echo "$as_me: error: compiler flags start with a -" >&2;}
18028 { (exit 1); exit 1; }; } ;;
18029 esac
18030 done
18033 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18034 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18035 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18039 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18040 if test "${enable_fully_dynamic_string+set}" = set; then
18041 enableval="$enable_fully_dynamic_string"
18043 case "$enableval" in
18044 yes|no) ;;
18045 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18046 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18047 { (exit 1); exit 1; }; } ;;
18048 esac
18050 else
18051 enable_fully_dynamic_string=no
18054 if test $enable_fully_dynamic_string = yes; then
18056 cat >>confdefs.h <<\_ACEOF
18057 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18058 _ACEOF
18063 # Checks for operating systems support that doesn't require linking.
18066 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18067 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18068 if test "${glibcxx_cv_system_error1+set}" = set; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18070 else
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 #include <errno.h>
18080 main ()
18082 int i = EOWNERDEAD;
18084 return 0;
18086 _ACEOF
18087 rm -f conftest.$ac_objext
18088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18089 (eval $ac_compile) 2>conftest.er1
18090 ac_status=$?
18091 grep -v '^ *+' conftest.er1 >conftest.err
18092 rm -f conftest.er1
18093 cat conftest.err >&5
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); } &&
18096 { ac_try='test -z "$ac_c_werror_flag"
18097 || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try='test -s conftest.$ac_objext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18106 ac_status=$?
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 glibcxx_cv_system_error1=yes
18110 else
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18114 glibcxx_cv_system_error1=no
18116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18120 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18121 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18122 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18124 cat >>confdefs.h <<\_ACEOF
18125 #define HAVE_EOWNERDEAD 1
18126 _ACEOF
18129 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18130 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18131 if test "${glibcxx_cv_system_error2+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 else
18135 cat >conftest.$ac_ext <<_ACEOF
18136 /* confdefs.h. */
18137 _ACEOF
18138 cat confdefs.h >>conftest.$ac_ext
18139 cat >>conftest.$ac_ext <<_ACEOF
18140 /* end confdefs.h. */
18141 #include <errno.h>
18143 main ()
18145 int i = ENOTRECOVERABLE;
18147 return 0;
18149 _ACEOF
18150 rm -f conftest.$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_c_werror_flag"
18160 || test ! -s conftest.err'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; } &&
18166 { ac_try='test -s conftest.$ac_objext'
18167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18168 (eval $ac_try) 2>&5
18169 ac_status=$?
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); }; }; then
18172 glibcxx_cv_system_error2=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18177 glibcxx_cv_system_error2=no
18179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18183 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18184 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18185 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18187 cat >>confdefs.h <<\_ACEOF
18188 #define HAVE_ENOTRECOVERABLE 1
18189 _ACEOF
18192 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18193 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18194 if test "${glibcxx_cv_system_error3+set}" = set; then
18195 echo $ECHO_N "(cached) $ECHO_C" >&6
18196 else
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 #include <errno.h>
18206 main ()
18208 int i = ENOLINK;
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_c_werror_flag"
18223 || test ! -s conftest.err'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; } &&
18229 { ac_try='test -s conftest.$ac_objext'
18230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18231 (eval $ac_try) 2>&5
18232 ac_status=$?
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); }; }; then
18235 glibcxx_cv_system_error3=yes
18236 else
18237 echo "$as_me: failed program was:" >&5
18238 sed 's/^/| /' conftest.$ac_ext >&5
18240 glibcxx_cv_system_error3=no
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18246 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18247 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18248 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18250 cat >>confdefs.h <<\_ACEOF
18251 #define HAVE_ENOLINK 1
18252 _ACEOF
18255 echo "$as_me:$LINENO: checking for EPROTO" >&5
18256 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18257 if test "${glibcxx_cv_system_error4+set}" = set; then
18258 echo $ECHO_N "(cached) $ECHO_C" >&6
18259 else
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 #include <errno.h>
18269 main ()
18271 int i = EPROTO;
18273 return 0;
18275 _ACEOF
18276 rm -f conftest.$ac_objext
18277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18278 (eval $ac_compile) 2>conftest.er1
18279 ac_status=$?
18280 grep -v '^ *+' conftest.er1 >conftest.err
18281 rm -f conftest.er1
18282 cat conftest.err >&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); } &&
18285 { ac_try='test -z "$ac_c_werror_flag"
18286 || test ! -s conftest.err'
18287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18288 (eval $ac_try) 2>&5
18289 ac_status=$?
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); }; } &&
18292 { ac_try='test -s conftest.$ac_objext'
18293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 (eval $ac_try) 2>&5
18295 ac_status=$?
18296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18297 (exit $ac_status); }; }; then
18298 glibcxx_cv_system_error4=yes
18299 else
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18303 glibcxx_cv_system_error4=no
18305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18309 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18310 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18311 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18313 cat >>confdefs.h <<\_ACEOF
18314 #define HAVE_EPROTO 1
18315 _ACEOF
18318 echo "$as_me:$LINENO: checking for ENODATA" >&5
18319 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18320 if test "${glibcxx_cv_system_error5+set}" = set; then
18321 echo $ECHO_N "(cached) $ECHO_C" >&6
18322 else
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330 #include <errno.h>
18332 main ()
18334 int i = ENODATA;
18336 return 0;
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18342 ac_status=$?
18343 grep -v '^ *+' conftest.er1 >conftest.err
18344 rm -f conftest.er1
18345 cat conftest.err >&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try='test -z "$ac_c_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 glibcxx_cv_system_error5=yes
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18366 glibcxx_cv_system_error5=no
18368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18372 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18373 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18374 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18376 cat >>confdefs.h <<\_ACEOF
18377 #define HAVE_ENODATA 1
18378 _ACEOF
18381 echo "$as_me:$LINENO: checking for ENOSR" >&5
18382 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18383 if test "${glibcxx_cv_system_error6+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #include <errno.h>
18395 main ()
18397 int i = ENOSR;
18399 return 0;
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18404 (eval $ac_compile) 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -z "$ac_c_werror_flag"
18412 || test ! -s conftest.err'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; } &&
18418 { ac_try='test -s conftest.$ac_objext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18421 ac_status=$?
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 glibcxx_cv_system_error6=yes
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18429 glibcxx_cv_system_error6=no
18431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18435 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18436 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18437 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18439 cat >>confdefs.h <<\_ACEOF
18440 #define HAVE_ENOSR 1
18441 _ACEOF
18444 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18445 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18446 if test "${glibcxx_cv_system_error7+set}" = set; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18450 cat >conftest.$ac_ext <<_ACEOF
18451 /* confdefs.h. */
18452 _ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18456 #include <errno.h>
18458 main ()
18460 int i = ENOSTR;
18462 return 0;
18464 _ACEOF
18465 rm -f conftest.$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18468 ac_status=$?
18469 grep -v '^ *+' conftest.er1 >conftest.err
18470 rm -f conftest.er1
18471 cat conftest.err >&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try='test -z "$ac_c_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 glibcxx_cv_system_error7=yes
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18492 glibcxx_cv_system_error7=no
18494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18498 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18499 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18500 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18502 cat >>confdefs.h <<\_ACEOF
18503 #define HAVE_ENOSTR 1
18504 _ACEOF
18507 echo "$as_me:$LINENO: checking for ETIME" >&5
18508 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18509 if test "${glibcxx_cv_system_error8+set}" = set; then
18510 echo $ECHO_N "(cached) $ECHO_C" >&6
18511 else
18513 cat >conftest.$ac_ext <<_ACEOF
18514 /* confdefs.h. */
18515 _ACEOF
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 #include <errno.h>
18521 main ()
18523 int i = ETIME;
18525 return 0;
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try='test -s conftest.$ac_objext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18547 ac_status=$?
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 glibcxx_cv_system_error8=yes
18551 else
18552 echo "$as_me: failed program was:" >&5
18553 sed 's/^/| /' conftest.$ac_ext >&5
18555 glibcxx_cv_system_error8=no
18557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18561 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18562 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18563 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18565 cat >>confdefs.h <<\_ACEOF
18566 #define HAVE_ETIME 1
18567 _ACEOF
18570 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18571 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18572 if test "${glibcxx_cv_system_error9+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18574 else
18576 cat >conftest.$ac_ext <<_ACEOF
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <errno.h>
18584 main ()
18586 int i = EBADMSG;
18588 return 0;
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18593 (eval $ac_compile) 2>conftest.er1
18594 ac_status=$?
18595 grep -v '^ *+' conftest.er1 >conftest.err
18596 rm -f conftest.er1
18597 cat conftest.err >&5
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } &&
18600 { ac_try='test -z "$ac_c_werror_flag"
18601 || test ! -s conftest.err'
18602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603 (eval $ac_try) 2>&5
18604 ac_status=$?
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; } &&
18607 { ac_try='test -s conftest.$ac_objext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18610 ac_status=$?
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 glibcxx_cv_system_error9=yes
18614 else
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18618 glibcxx_cv_system_error9=no
18620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18624 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18625 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18626 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18628 cat >>confdefs.h <<\_ACEOF
18629 #define HAVE_EBADMSG 1
18630 _ACEOF
18633 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18634 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18635 if test "${glibcxx_cv_system_error10+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 else
18639 cat >conftest.$ac_ext <<_ACEOF
18640 /* confdefs.h. */
18641 _ACEOF
18642 cat confdefs.h >>conftest.$ac_ext
18643 cat >>conftest.$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645 #include <errno.h>
18647 main ()
18649 int i = ECANCELED;
18651 return 0;
18653 _ACEOF
18654 rm -f conftest.$ac_objext
18655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18656 (eval $ac_compile) 2>conftest.er1
18657 ac_status=$?
18658 grep -v '^ *+' conftest.er1 >conftest.err
18659 rm -f conftest.er1
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } &&
18663 { ac_try='test -z "$ac_c_werror_flag"
18664 || test ! -s conftest.err'
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18666 (eval $ac_try) 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); }; } &&
18670 { ac_try='test -s conftest.$ac_objext'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18673 ac_status=$?
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; }; then
18676 glibcxx_cv_system_error10=yes
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18681 glibcxx_cv_system_error10=no
18683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18687 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
18688 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
18689 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18691 cat >>confdefs.h <<\_ACEOF
18692 #define HAVE_ECANCELED 1
18693 _ACEOF
18696 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
18697 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
18698 if test "${glibcxx_cv_system_error11+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 else
18702 cat >conftest.$ac_ext <<_ACEOF
18703 /* confdefs.h. */
18704 _ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708 #include <errno.h>
18710 main ()
18712 int i = EOVERFLOW;
18714 return 0;
18716 _ACEOF
18717 rm -f conftest.$ac_objext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18719 (eval $ac_compile) 2>conftest.er1
18720 ac_status=$?
18721 grep -v '^ *+' conftest.er1 >conftest.err
18722 rm -f conftest.er1
18723 cat conftest.err >&5
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } &&
18726 { ac_try='test -z "$ac_c_werror_flag"
18727 || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 glibcxx_cv_system_error11=yes
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 glibcxx_cv_system_error11=no
18746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18750 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18751 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18752 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18754 cat >>confdefs.h <<\_ACEOF
18755 #define HAVE_EOVERFLOW 1
18756 _ACEOF
18759 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18760 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18761 if test "${glibcxx_cv_system_error12+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 else
18765 cat >conftest.$ac_ext <<_ACEOF
18766 /* confdefs.h. */
18767 _ACEOF
18768 cat confdefs.h >>conftest.$ac_ext
18769 cat >>conftest.$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 #include <errno.h>
18773 main ()
18775 int i = ENOTSUP;
18777 return 0;
18779 _ACEOF
18780 rm -f conftest.$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try='test -z "$ac_c_werror_flag"
18790 || test ! -s conftest.err'
18791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18792 (eval $ac_try) 2>&5
18793 ac_status=$?
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); }; } &&
18796 { ac_try='test -s conftest.$ac_objext'
18797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18798 (eval $ac_try) 2>&5
18799 ac_status=$?
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); }; }; then
18802 glibcxx_cv_system_error12=yes
18803 else
18804 echo "$as_me: failed program was:" >&5
18805 sed 's/^/| /' conftest.$ac_ext >&5
18807 glibcxx_cv_system_error12=no
18809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18813 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18814 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18815 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18817 cat >>confdefs.h <<\_ACEOF
18818 #define HAVE_ENOTSUP 1
18819 _ACEOF
18822 echo "$as_me:$LINENO: checking for EIDRM" >&5
18823 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18824 if test "${glibcxx_cv_system_error13+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18826 else
18828 cat >conftest.$ac_ext <<_ACEOF
18829 /* confdefs.h. */
18830 _ACEOF
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18834 #include <errno.h>
18836 main ()
18838 int i = EIDRM;
18840 return 0;
18842 _ACEOF
18843 rm -f conftest.$ac_objext
18844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18845 (eval $ac_compile) 2>conftest.er1
18846 ac_status=$?
18847 grep -v '^ *+' conftest.er1 >conftest.err
18848 rm -f conftest.er1
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } &&
18852 { ac_try='test -z "$ac_c_werror_flag"
18853 || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 glibcxx_cv_system_error13=yes
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18870 glibcxx_cv_system_error13=no
18872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18876 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18877 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18878 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18880 cat >>confdefs.h <<\_ACEOF
18881 #define HAVE_EIDRM 1
18882 _ACEOF
18885 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18886 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18887 if test "${glibcxx_cv_system_error14+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 else
18891 cat >conftest.$ac_ext <<_ACEOF
18892 /* confdefs.h. */
18893 _ACEOF
18894 cat confdefs.h >>conftest.$ac_ext
18895 cat >>conftest.$ac_ext <<_ACEOF
18896 /* end confdefs.h. */
18897 #include <errno.h>
18899 main ()
18901 int i = ETXTBSY;
18903 return 0;
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908 (eval $ac_compile) 2>conftest.er1
18909 ac_status=$?
18910 grep -v '^ *+' conftest.er1 >conftest.err
18911 rm -f conftest.er1
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -z "$ac_c_werror_flag"
18916 || test ! -s conftest.err'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18919 ac_status=$?
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; } &&
18922 { ac_try='test -s conftest.$ac_objext'
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924 (eval $ac_try) 2>&5
18925 ac_status=$?
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); }; }; then
18928 glibcxx_cv_system_error14=yes
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 glibcxx_cv_system_error14=no
18935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18939 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18940 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18941 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18943 cat >>confdefs.h <<\_ACEOF
18944 #define HAVE_ETXTBSY 1
18945 _ACEOF
18951 # For the streamoff typedef.
18956 ac_ext=cc
18957 ac_cpp='$CXXCPP $CPPFLAGS'
18958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18963 echo "$as_me:$LINENO: checking for int64_t" >&5
18964 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
18965 if test "${glibcxx_cv_INT64_T+set}" = set; then
18966 echo $ECHO_N "(cached) $ECHO_C" >&6
18967 else
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <stdint.h>
18977 main ()
18979 int64_t var;
18981 return 0;
18983 _ACEOF
18984 rm -f conftest.$ac_objext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18986 (eval $ac_compile) 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_cxx_werror_flag"
18994 || test ! -s conftest.err'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; } &&
19000 { ac_try='test -s conftest.$ac_objext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 glibcxx_cv_INT64_T=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 glibcxx_cv_INT64_T=no
19013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19018 if test $glibcxx_cv_INT64_T = yes; then
19020 cat >>confdefs.h <<\_ACEOF
19021 #define HAVE_INT64_T 1
19022 _ACEOF
19024 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19025 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19027 echo "$as_me:$LINENO: checking for int64_t as long" >&5
19028 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19029 if test "${glibcxx_cv_int64_t_long+set}" = set; then
19030 echo $ECHO_N "(cached) $ECHO_C" >&6
19031 else
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <stdint.h>
19040 template<typename, typename> struct same { enum { value = -1 }; };
19041 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19042 int array[same<int64_t, long>::value];
19044 main ()
19048 return 0;
19050 _ACEOF
19051 rm -f conftest.$ac_objext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19053 (eval $ac_compile) 2>conftest.er1
19054 ac_status=$?
19055 grep -v '^ *+' conftest.er1 >conftest.err
19056 rm -f conftest.er1
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try='test -z "$ac_cxx_werror_flag"
19061 || test ! -s conftest.err'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; } &&
19067 { ac_try='test -s conftest.$ac_objext'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19070 ac_status=$?
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 glibcxx_cv_int64_t_long=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 glibcxx_cv_int64_t_long=no
19080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19085 if test $glibcxx_cv_int64_t_long = yes; then
19087 cat >>confdefs.h <<\_ACEOF
19088 #define HAVE_INT64_T_LONG 1
19089 _ACEOF
19091 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19092 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19095 echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19096 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19097 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19101 cat >conftest.$ac_ext <<_ACEOF
19102 /* confdefs.h. */
19103 _ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #include <stdint.h>
19108 template<typename, typename> struct same { enum { value = -1 }; };
19109 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19110 int array[same<int64_t, long long>::value];
19112 main ()
19116 return 0;
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } &&
19128 { ac_try='test -z "$ac_cxx_werror_flag"
19129 || test ! -s conftest.err'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19132 ac_status=$?
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; } &&
19135 { ac_try='test -s conftest.$ac_objext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19138 ac_status=$?
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 glibcxx_cv_int64_t_long_long=yes
19142 else
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19146 glibcxx_cv_int64_t_long_long=no
19148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19153 if test $glibcxx_cv_int64_t_long_long = yes; then
19155 cat >>confdefs.h <<\_ACEOF
19156 #define HAVE_INT64_T_LONG_LONG 1
19157 _ACEOF
19159 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19160 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19164 ac_ext=c
19165 ac_cpp='$CPP $CPPFLAGS'
19166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19172 # For LFS support.
19176 ac_ext=cc
19177 ac_cpp='$CXXCPP $CPPFLAGS'
19178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19182 ac_save_CXXFLAGS="$CXXFLAGS"
19183 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19184 echo "$as_me:$LINENO: checking for LFS support" >&5
19185 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19186 if test "${glibcxx_cv_LFS+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 else
19190 if test x$gcc_no_link = xyes; then
19191 cat >conftest.$ac_ext <<_ACEOF
19192 /* confdefs.h. */
19193 _ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 #include <unistd.h>
19198 #include <stdio.h>
19199 #include <sys/stat.h>
19202 main ()
19204 FILE* fp;
19205 fopen64("t", "w");
19206 fseeko64(fp, 0, SEEK_CUR);
19207 ftello64(fp);
19208 lseek64(1, 0, SEEK_CUR);
19209 struct stat64 buf;
19210 fstat64(1, &buf);
19212 return 0;
19214 _ACEOF
19215 rm -f conftest.$ac_objext
19216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19217 (eval $ac_compile) 2>conftest.er1
19218 ac_status=$?
19219 grep -v '^ *+' conftest.er1 >conftest.err
19220 rm -f conftest.er1
19221 cat conftest.err >&5
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); } &&
19224 { ac_try='test -z "$ac_cxx_werror_flag"
19225 || test ! -s conftest.err'
19226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227 (eval $ac_try) 2>&5
19228 ac_status=$?
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; } &&
19231 { ac_try='test -s conftest.$ac_objext'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19234 ac_status=$?
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; }; then
19237 glibcxx_cv_LFS=yes
19238 else
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5
19242 glibcxx_cv_LFS=no
19244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19245 else
19246 if test x$gcc_no_link = xyes; then
19247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19249 { (exit 1); exit 1; }; }
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <unistd.h>
19258 #include <stdio.h>
19259 #include <sys/stat.h>
19262 main ()
19264 FILE* fp;
19265 fopen64("t", "w");
19266 fseeko64(fp, 0, SEEK_CUR);
19267 ftello64(fp);
19268 lseek64(1, 0, SEEK_CUR);
19269 struct stat64 buf;
19270 fstat64(1, &buf);
19272 return 0;
19274 _ACEOF
19275 rm -f conftest.$ac_objext conftest$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>conftest.er1
19278 ac_status=$?
19279 grep -v '^ *+' conftest.er1 >conftest.err
19280 rm -f conftest.er1
19281 cat conftest.err >&5
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); } &&
19284 { ac_try='test -z "$ac_cxx_werror_flag"
19285 || test ! -s conftest.err'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19288 ac_status=$?
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; } &&
19291 { ac_try='test -s conftest$ac_exeext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 glibcxx_cv_LFS=yes
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 glibcxx_cv_LFS=no
19304 rm -f conftest.err conftest.$ac_objext \
19305 conftest$ac_exeext conftest.$ac_ext
19310 if test $glibcxx_cv_LFS = yes; then
19312 cat >>confdefs.h <<\_ACEOF
19313 #define _GLIBCXX_USE_LFS 1
19314 _ACEOF
19317 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19318 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19319 CXXFLAGS="$ac_save_CXXFLAGS"
19320 ac_ext=c
19321 ac_cpp='$CPP $CPPFLAGS'
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19328 # For showmanyc_helper().
19331 for ac_header in sys/ioctl.h sys/filio.h
19333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19335 echo "$as_me:$LINENO: checking for $ac_header" >&5
19336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19342 else
19343 # Is the header compilable?
19344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19346 cat >conftest.$ac_ext <<_ACEOF
19347 /* confdefs.h. */
19348 _ACEOF
19349 cat confdefs.h >>conftest.$ac_ext
19350 cat >>conftest.$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 $ac_includes_default
19353 #include <$ac_header>
19354 _ACEOF
19355 rm -f conftest.$ac_objext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19357 (eval $ac_compile) 2>conftest.er1
19358 ac_status=$?
19359 grep -v '^ *+' conftest.er1 >conftest.err
19360 rm -f conftest.er1
19361 cat conftest.err >&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try='test -z "$ac_c_werror_flag"
19365 || test ! -s conftest.err'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19374 ac_status=$?
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_header_compiler=yes
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19382 ac_header_compiler=no
19384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19386 echo "${ECHO_T}$ac_header_compiler" >&6
19388 # Is the header present?
19389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19391 cat >conftest.$ac_ext <<_ACEOF
19392 /* confdefs.h. */
19393 _ACEOF
19394 cat confdefs.h >>conftest.$ac_ext
19395 cat >>conftest.$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 #include <$ac_header>
19398 _ACEOF
19399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19401 ac_status=$?
19402 grep -v '^ *+' conftest.er1 >conftest.err
19403 rm -f conftest.er1
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); } >/dev/null; then
19407 if test -s conftest.err; then
19408 ac_cpp_err=$ac_c_preproc_warn_flag
19409 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19410 else
19411 ac_cpp_err=
19413 else
19414 ac_cpp_err=yes
19416 if test -z "$ac_cpp_err"; then
19417 ac_header_preproc=yes
19418 else
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.$ac_ext >&5
19422 ac_header_preproc=no
19424 rm -f conftest.err conftest.$ac_ext
19425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19426 echo "${ECHO_T}$ac_header_preproc" >&6
19428 # So? What about this header?
19429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19430 yes:no: )
19431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19435 ac_header_preproc=yes
19437 no:yes:* )
19438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19451 cat <<\_ASBOX
19452 ## ----------------------------------------- ##
19453 ## Report this to the package-unused lists. ##
19454 ## ----------------------------------------- ##
19455 _ASBOX
19457 sed "s/^/$as_me: WARNING: /" >&2
19459 esac
19460 echo "$as_me:$LINENO: checking for $ac_header" >&5
19461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 eval "$as_ac_Header=\$ac_header_preproc"
19467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19472 cat >>confdefs.h <<_ACEOF
19473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19474 _ACEOF
19478 done
19484 ac_ext=cc
19485 ac_cpp='$CXXCPP $CPPFLAGS'
19486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19490 ac_save_CXXFLAGS="$CXXFLAGS"
19491 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19493 echo "$as_me:$LINENO: checking for poll" >&5
19494 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19495 if test "${glibcxx_cv_POLL+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 else
19499 if test x$gcc_no_link = xyes; then
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 #include <poll.h>
19508 main ()
19510 struct pollfd pfd[1];
19511 pfd[0].events = POLLIN;
19512 poll(pfd, 1, 0);
19514 return 0;
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_cxx_werror_flag"
19527 || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 glibcxx_cv_POLL=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 glibcxx_cv_POLL=no
19546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19547 else
19548 if test x$gcc_no_link = xyes; then
19549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19551 { (exit 1); exit 1; }; }
19553 cat >conftest.$ac_ext <<_ACEOF
19554 /* confdefs.h. */
19555 _ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 #include <poll.h>
19561 main ()
19563 struct pollfd pfd[1];
19564 pfd[0].events = POLLIN;
19565 poll(pfd, 1, 0);
19567 return 0;
19569 _ACEOF
19570 rm -f conftest.$ac_objext conftest$ac_exeext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19572 (eval $ac_link) 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -z "$ac_cxx_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try='test -s conftest$ac_exeext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19589 ac_status=$?
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 glibcxx_cv_POLL=yes
19593 else
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 glibcxx_cv_POLL=no
19599 rm -f conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext conftest.$ac_ext
19605 if test $glibcxx_cv_POLL = yes; then
19607 cat >>confdefs.h <<\_ACEOF
19608 #define HAVE_POLL 1
19609 _ACEOF
19612 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19613 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19615 CXXFLAGS="$ac_save_CXXFLAGS"
19616 ac_ext=c
19617 ac_cpp='$CPP $CPPFLAGS'
19618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19627 ac_ext=cc
19628 ac_cpp='$CXXCPP $CPPFLAGS'
19629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19633 ac_save_CXXFLAGS="$CXXFLAGS"
19634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19636 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19637 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19638 if test "${glibcxx_cv_S_ISREG+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19640 else
19642 if test x$gcc_no_link = xyes; then
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 #include <sys/stat.h>
19651 main ()
19653 struct stat buffer;
19654 fstat(0, &buffer);
19655 S_ISREG(buffer.st_mode);
19657 return 0;
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 glibcxx_cv_S_ISREG=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 glibcxx_cv_S_ISREG=no
19689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19690 else
19691 if test x$gcc_no_link = xyes; then
19692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19694 { (exit 1); exit 1; }; }
19696 cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h. */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <sys/stat.h>
19704 main ()
19706 struct stat buffer;
19707 fstat(0, &buffer);
19708 S_ISREG(buffer.st_mode);
19710 return 0;
19712 _ACEOF
19713 rm -f conftest.$ac_objext conftest$ac_exeext
19714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19715 (eval $ac_link) 2>conftest.er1
19716 ac_status=$?
19717 grep -v '^ *+' conftest.er1 >conftest.err
19718 rm -f conftest.er1
19719 cat conftest.err >&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); } &&
19722 { ac_try='test -z "$ac_cxx_werror_flag"
19723 || test ! -s conftest.err'
19724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725 (eval $ac_try) 2>&5
19726 ac_status=$?
19727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728 (exit $ac_status); }; } &&
19729 { ac_try='test -s conftest$ac_exeext'
19730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19731 (eval $ac_try) 2>&5
19732 ac_status=$?
19733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19734 (exit $ac_status); }; }; then
19735 glibcxx_cv_S_ISREG=yes
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 glibcxx_cv_S_ISREG=no
19742 rm -f conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19748 if test "${glibcxx_cv_S_IFREG+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 else
19752 if test x$gcc_no_link = xyes; then
19753 cat >conftest.$ac_ext <<_ACEOF
19754 /* confdefs.h. */
19755 _ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 #include <sys/stat.h>
19761 main ()
19763 struct stat buffer;
19764 fstat(0, &buffer);
19765 S_IFREG & buffer.st_mode;
19767 return 0;
19769 _ACEOF
19770 rm -f conftest.$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19773 ac_status=$?
19774 grep -v '^ *+' conftest.er1 >conftest.err
19775 rm -f conftest.er1
19776 cat conftest.err >&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -z "$ac_cxx_werror_flag"
19780 || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 glibcxx_cv_S_IFREG=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19797 glibcxx_cv_S_IFREG=no
19799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19800 else
19801 if test x$gcc_no_link = xyes; then
19802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19804 { (exit 1); exit 1; }; }
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h. */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 #include <sys/stat.h>
19814 main ()
19816 struct stat buffer;
19817 fstat(0, &buffer);
19818 S_IFREG & buffer.st_mode;
19820 return 0;
19822 _ACEOF
19823 rm -f conftest.$ac_objext conftest$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_cxx_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 glibcxx_cv_S_IFREG=yes
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19850 glibcxx_cv_S_IFREG=no
19852 rm -f conftest.err conftest.$ac_objext \
19853 conftest$ac_exeext conftest.$ac_ext
19858 res=no
19859 if test $glibcxx_cv_S_ISREG = yes; then
19861 cat >>confdefs.h <<\_ACEOF
19862 #define HAVE_S_ISREG 1
19863 _ACEOF
19865 res=S_ISREG
19866 elif test $glibcxx_cv_S_IFREG = yes; then
19868 cat >>confdefs.h <<\_ACEOF
19869 #define HAVE_S_IFREG 1
19870 _ACEOF
19872 res=S_IFREG
19874 echo "$as_me:$LINENO: result: $res" >&5
19875 echo "${ECHO_T}$res" >&6
19877 CXXFLAGS="$ac_save_CXXFLAGS"
19878 ac_ext=c
19879 ac_cpp='$CPP $CPPFLAGS'
19880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19886 # For xsputn_2().
19888 for ac_header in sys/uio.h
19890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19892 echo "$as_me:$LINENO: checking for $ac_header" >&5
19893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19895 echo $ECHO_N "(cached) $ECHO_C" >&6
19897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19899 else
19900 # Is the header compilable?
19901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19903 cat >conftest.$ac_ext <<_ACEOF
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 $ac_includes_default
19910 #include <$ac_header>
19911 _ACEOF
19912 rm -f conftest.$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } &&
19921 { ac_try='test -z "$ac_c_werror_flag"
19922 || test ! -s conftest.err'
19923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19924 (eval $ac_try) 2>&5
19925 ac_status=$?
19926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19927 (exit $ac_status); }; } &&
19928 { ac_try='test -s conftest.$ac_objext'
19929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19930 (eval $ac_try) 2>&5
19931 ac_status=$?
19932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19933 (exit $ac_status); }; }; then
19934 ac_header_compiler=yes
19935 else
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19939 ac_header_compiler=no
19941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19942 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19943 echo "${ECHO_T}$ac_header_compiler" >&6
19945 # Is the header present?
19946 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19948 cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h. */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19954 #include <$ac_header>
19955 _ACEOF
19956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19957 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19958 ac_status=$?
19959 grep -v '^ *+' conftest.er1 >conftest.err
19960 rm -f conftest.er1
19961 cat conftest.err >&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } >/dev/null; then
19964 if test -s conftest.err; then
19965 ac_cpp_err=$ac_c_preproc_warn_flag
19966 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19967 else
19968 ac_cpp_err=
19970 else
19971 ac_cpp_err=yes
19973 if test -z "$ac_cpp_err"; then
19974 ac_header_preproc=yes
19975 else
19976 echo "$as_me: failed program was:" >&5
19977 sed 's/^/| /' conftest.$ac_ext >&5
19979 ac_header_preproc=no
19981 rm -f conftest.err conftest.$ac_ext
19982 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19983 echo "${ECHO_T}$ac_header_preproc" >&6
19985 # So? What about this header?
19986 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19987 yes:no: )
19988 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19989 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19991 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19992 ac_header_preproc=yes
19994 no:yes:* )
19995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20000 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20002 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20003 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20004 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20005 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20006 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20008 cat <<\_ASBOX
20009 ## ----------------------------------------- ##
20010 ## Report this to the package-unused lists. ##
20011 ## ----------------------------------------- ##
20012 _ASBOX
20014 sed "s/^/$as_me: WARNING: /" >&2
20016 esac
20017 echo "$as_me:$LINENO: checking for $ac_header" >&5
20018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 eval "$as_ac_Header=\$ac_header_preproc"
20024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20025 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20029 cat >>confdefs.h <<_ACEOF
20030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20031 _ACEOF
20035 done
20041 ac_ext=cc
20042 ac_cpp='$CXXCPP $CPPFLAGS'
20043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20047 ac_save_CXXFLAGS="$CXXFLAGS"
20048 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20050 echo "$as_me:$LINENO: checking for writev" >&5
20051 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20052 if test "${glibcxx_cv_WRITEV+set}" = set; then
20053 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 else
20056 if test x$gcc_no_link = xyes; then
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 #include <sys/uio.h>
20065 main ()
20067 struct iovec iov[2];
20068 writev(0, iov, 0);
20070 return 0;
20072 _ACEOF
20073 rm -f conftest.$ac_objext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20075 (eval $ac_compile) 2>conftest.er1
20076 ac_status=$?
20077 grep -v '^ *+' conftest.er1 >conftest.err
20078 rm -f conftest.er1
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try='test -z "$ac_cxx_werror_flag"
20083 || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 glibcxx_cv_WRITEV=yes
20096 else
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20100 glibcxx_cv_WRITEV=no
20102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20103 else
20104 if test x$gcc_no_link = xyes; then
20105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20107 { (exit 1); exit 1; }; }
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 <sys/uio.h>
20117 main ()
20119 struct iovec iov[2];
20120 writev(0, iov, 0);
20122 return 0;
20124 _ACEOF
20125 rm -f conftest.$ac_objext conftest$ac_exeext
20126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20127 (eval $ac_link) 2>conftest.er1
20128 ac_status=$?
20129 grep -v '^ *+' conftest.er1 >conftest.err
20130 rm -f conftest.er1
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } &&
20134 { ac_try='test -z "$ac_cxx_werror_flag"
20135 || test ! -s conftest.err'
20136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 (eval $ac_try) 2>&5
20138 ac_status=$?
20139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20140 (exit $ac_status); }; } &&
20141 { ac_try='test -s conftest$ac_exeext'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; }; then
20147 glibcxx_cv_WRITEV=yes
20148 else
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20152 glibcxx_cv_WRITEV=no
20154 rm -f conftest.err conftest.$ac_objext \
20155 conftest$ac_exeext conftest.$ac_ext
20160 if test $glibcxx_cv_WRITEV = yes; then
20162 cat >>confdefs.h <<\_ACEOF
20163 #define HAVE_WRITEV 1
20164 _ACEOF
20167 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20168 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20170 CXXFLAGS="$ac_save_CXXFLAGS"
20171 ac_ext=c
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20179 # For C99 support to TR1.
20184 ac_ext=cc
20185 ac_cpp='$CXXCPP $CPPFLAGS'
20186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20191 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20192 # undefined and fake C99 facilities may be spuriously enabled.
20193 ac_save_CXXFLAGS="$CXXFLAGS"
20194 CXXFLAGS="$CXXFLAGS -std=c++98"
20196 # Check for the existence of <complex.h> complex math functions used
20197 # by tr1/complex.
20199 for ac_header in complex.h
20201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20203 echo "$as_me:$LINENO: checking for $ac_header" >&5
20204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20206 echo $ECHO_N "(cached) $ECHO_C" >&6
20208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20210 else
20211 # Is the header compilable?
20212 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20213 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 $ac_includes_default
20221 #include <$ac_header>
20222 _ACEOF
20223 rm -f conftest.$ac_objext
20224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20225 (eval $ac_compile) 2>conftest.er1
20226 ac_status=$?
20227 grep -v '^ *+' conftest.er1 >conftest.err
20228 rm -f conftest.er1
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } &&
20232 { ac_try='test -z "$ac_cxx_werror_flag"
20233 || test ! -s conftest.err'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try='test -s conftest.$ac_objext'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20245 ac_header_compiler=yes
20246 else
20247 echo "$as_me: failed program was:" >&5
20248 sed 's/^/| /' conftest.$ac_ext >&5
20250 ac_header_compiler=no
20252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20254 echo "${ECHO_T}$ac_header_compiler" >&6
20256 # Is the header present?
20257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20259 cat >conftest.$ac_ext <<_ACEOF
20260 /* confdefs.h. */
20261 _ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #include <$ac_header>
20266 _ACEOF
20267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20269 ac_status=$?
20270 grep -v '^ *+' conftest.er1 >conftest.err
20271 rm -f conftest.er1
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } >/dev/null; then
20275 if test -s conftest.err; then
20276 ac_cpp_err=$ac_cxx_preproc_warn_flag
20277 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20278 else
20279 ac_cpp_err=
20281 else
20282 ac_cpp_err=yes
20284 if test -z "$ac_cpp_err"; then
20285 ac_header_preproc=yes
20286 else
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20290 ac_header_preproc=no
20292 rm -f conftest.err conftest.$ac_ext
20293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20294 echo "${ECHO_T}$ac_header_preproc" >&6
20296 # So? What about this header?
20297 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20298 yes:no: )
20299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20302 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20303 ac_header_preproc=yes
20305 no:yes:* )
20306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20310 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20311 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20312 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20313 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20316 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20317 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20319 cat <<\_ASBOX
20320 ## ----------------------------------------- ##
20321 ## Report this to the package-unused lists. ##
20322 ## ----------------------------------------- ##
20323 _ASBOX
20325 sed "s/^/$as_me: WARNING: /" >&2
20327 esac
20328 echo "$as_me:$LINENO: checking for $ac_header" >&5
20329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20332 else
20333 eval "$as_ac_Header=\$ac_header_preproc"
20335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20340 cat >>confdefs.h <<_ACEOF
20341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20342 _ACEOF
20343 ac_has_complex_h=yes
20344 else
20345 ac_has_complex_h=no
20348 done
20350 ac_c99_complex_tr1=no;
20351 if test x"$ac_has_complex_h" = x"yes"; then
20352 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20353 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 #include <complex.h>
20362 main ()
20364 typedef __complex__ float float_type; float_type tmpf;
20365 cacosf(tmpf);
20366 casinf(tmpf);
20367 catanf(tmpf);
20368 cacoshf(tmpf);
20369 casinhf(tmpf);
20370 catanhf(tmpf);
20371 typedef __complex__ double double_type; double_type tmpd;
20372 cacos(tmpd);
20373 casin(tmpd);
20374 catan(tmpd);
20375 cacosh(tmpd);
20376 casinh(tmpd);
20377 catanh(tmpd);
20378 typedef __complex__ long double ld_type; ld_type tmpld;
20379 cacosl(tmpld);
20380 casinl(tmpld);
20381 catanl(tmpld);
20382 cacoshl(tmpld);
20383 casinhl(tmpld);
20384 catanhl(tmpld);
20387 return 0;
20389 _ACEOF
20390 rm -f conftest.$ac_objext
20391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20392 (eval $ac_compile) 2>conftest.er1
20393 ac_status=$?
20394 grep -v '^ *+' conftest.er1 >conftest.err
20395 rm -f conftest.er1
20396 cat conftest.err >&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } &&
20399 { ac_try='test -z "$ac_cxx_werror_flag"
20400 || test ! -s conftest.err'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; } &&
20406 { ac_try='test -s conftest.$ac_objext'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; }; then
20412 ac_c99_complex_tr1=yes
20413 else
20414 echo "$as_me: failed program was:" >&5
20415 sed 's/^/| /' conftest.$ac_ext >&5
20417 ac_c99_complex_tr1=no
20419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20421 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20422 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20423 if test x"$ac_c99_complex_tr1" = x"yes"; then
20425 cat >>confdefs.h <<\_ACEOF
20426 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20427 _ACEOF
20431 # Check for the existence of <ctype.h> functions.
20432 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20433 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20434 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20435 echo $ECHO_N "(cached) $ECHO_C" >&6
20436 else
20438 cat >conftest.$ac_ext <<_ACEOF
20439 /* confdefs.h. */
20440 _ACEOF
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 #include <ctype.h>
20446 main ()
20448 int ch;
20449 int ret;
20450 ret = isblank(ch);
20453 return 0;
20455 _ACEOF
20456 rm -f conftest.$ac_objext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20458 (eval $ac_compile) 2>conftest.er1
20459 ac_status=$?
20460 grep -v '^ *+' conftest.er1 >conftest.err
20461 rm -f conftest.er1
20462 cat conftest.err >&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); } &&
20465 { ac_try='test -z "$ac_cxx_werror_flag"
20466 || test ! -s conftest.err'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; } &&
20472 { ac_try='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20475 ac_status=$?
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 glibcxx_cv_c99_ctype_tr1=yes
20479 else
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20483 glibcxx_cv_c99_ctype_tr1=no
20485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20489 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20490 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20491 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20493 cat >>confdefs.h <<\_ACEOF
20494 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20495 _ACEOF
20499 # Check for the existence of <fenv.h> functions.
20501 for ac_header in fenv.h
20503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20505 echo "$as_me:$LINENO: checking for $ac_header" >&5
20506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20512 else
20513 # Is the header compilable?
20514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20516 cat >conftest.$ac_ext <<_ACEOF
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20523 #include <$ac_header>
20524 _ACEOF
20525 rm -f conftest.$ac_objext
20526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20527 (eval $ac_compile) 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } &&
20534 { ac_try='test -z "$ac_cxx_werror_flag"
20535 || test ! -s conftest.err'
20536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20537 (eval $ac_try) 2>&5
20538 ac_status=$?
20539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20540 (exit $ac_status); }; } &&
20541 { ac_try='test -s conftest.$ac_objext'
20542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20543 (eval $ac_try) 2>&5
20544 ac_status=$?
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); }; }; then
20547 ac_header_compiler=yes
20548 else
20549 echo "$as_me: failed program was:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5
20552 ac_header_compiler=no
20554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20556 echo "${ECHO_T}$ac_header_compiler" >&6
20558 # Is the header present?
20559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20561 cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h. */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h. */
20567 #include <$ac_header>
20568 _ACEOF
20569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } >/dev/null; then
20577 if test -s conftest.err; then
20578 ac_cpp_err=$ac_cxx_preproc_warn_flag
20579 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20580 else
20581 ac_cpp_err=
20583 else
20584 ac_cpp_err=yes
20586 if test -z "$ac_cpp_err"; then
20587 ac_header_preproc=yes
20588 else
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20592 ac_header_preproc=no
20594 rm -f conftest.err conftest.$ac_ext
20595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20596 echo "${ECHO_T}$ac_header_preproc" >&6
20598 # So? What about this header?
20599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20600 yes:no: )
20601 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20605 ac_header_preproc=yes
20607 no:yes:* )
20608 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20610 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20611 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20612 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20614 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20615 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20616 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20618 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20621 cat <<\_ASBOX
20622 ## ----------------------------------------- ##
20623 ## Report this to the package-unused lists. ##
20624 ## ----------------------------------------- ##
20625 _ASBOX
20627 sed "s/^/$as_me: WARNING: /" >&2
20629 esac
20630 echo "$as_me:$LINENO: checking for $ac_header" >&5
20631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20634 else
20635 eval "$as_ac_Header=\$ac_header_preproc"
20637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20642 cat >>confdefs.h <<_ACEOF
20643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20644 _ACEOF
20645 ac_has_fenv_h=yes
20646 else
20647 ac_has_fenv_h=no
20650 done
20652 ac_c99_fenv_tr1=no;
20653 if test x"$ac_has_fenv_h" = x"yes"; then
20654 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20655 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20656 cat >conftest.$ac_ext <<_ACEOF
20657 /* confdefs.h. */
20658 _ACEOF
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 #include <fenv.h>
20664 main ()
20666 int except, mode;
20667 fexcept_t* pflag;
20668 fenv_t* penv;
20669 int ret;
20670 ret = feclearexcept(except);
20671 ret = fegetexceptflag(pflag, except);
20672 ret = feraiseexcept(except);
20673 ret = fesetexceptflag(pflag, except);
20674 ret = fetestexcept(except);
20675 ret = fegetround();
20676 ret = fesetround(mode);
20677 ret = fegetenv(penv);
20678 ret = feholdexcept(penv);
20679 ret = fesetenv(penv);
20680 ret = feupdateenv(penv);
20683 return 0;
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20688 (eval $ac_compile) 2>conftest.er1
20689 ac_status=$?
20690 grep -v '^ *+' conftest.er1 >conftest.err
20691 rm -f conftest.er1
20692 cat conftest.err >&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try='test -z "$ac_cxx_werror_flag"
20696 || test ! -s conftest.err'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20699 ac_status=$?
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; } &&
20702 { ac_try='test -s conftest.$ac_objext'
20703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20704 (eval $ac_try) 2>&5
20705 ac_status=$?
20706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20707 (exit $ac_status); }; }; then
20708 ac_c99_fenv_tr1=yes
20709 else
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20713 ac_c99_fenv_tr1=no
20715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20717 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
20718 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
20719 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20721 cat >>confdefs.h <<\_ACEOF
20722 #define _GLIBCXX_USE_C99_FENV_TR1 1
20723 _ACEOF
20727 # Check for the existence of <stdint.h> types.
20728 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20729 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
20730 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20732 else
20734 cat >conftest.$ac_ext <<_ACEOF
20735 /* confdefs.h. */
20736 _ACEOF
20737 cat confdefs.h >>conftest.$ac_ext
20738 cat >>conftest.$ac_ext <<_ACEOF
20739 /* end confdefs.h. */
20740 #define __STDC_LIMIT_MACROS
20741 #define __STDC_CONSTANT_MACROS
20742 #include <stdint.h>
20744 main ()
20746 typedef int8_t my_int8_t;
20747 my_int8_t i8 = INT8_MIN;
20748 i8 = INT8_MAX;
20749 typedef int16_t my_int16_t;
20750 my_int16_t i16 = INT16_MIN;
20751 i16 = INT16_MAX;
20752 typedef int32_t my_int32_t;
20753 my_int32_t i32 = INT32_MIN;
20754 i32 = INT32_MAX;
20755 typedef int64_t my_int64_t;
20756 my_int64_t i64 = INT64_MIN;
20757 i64 = INT64_MAX;
20758 typedef int_fast8_t my_int_fast8_t;
20759 my_int_fast8_t if8 = INT_FAST8_MIN;
20760 if8 = INT_FAST8_MAX;
20761 typedef int_fast16_t my_int_fast16_t;
20762 my_int_fast16_t if16 = INT_FAST16_MIN;
20763 if16 = INT_FAST16_MAX;
20764 typedef int_fast32_t my_int_fast32_t;
20765 my_int_fast32_t if32 = INT_FAST32_MIN;
20766 if32 = INT_FAST32_MAX;
20767 typedef int_fast64_t my_int_fast64_t;
20768 my_int_fast64_t if64 = INT_FAST64_MIN;
20769 if64 = INT_FAST64_MAX;
20770 typedef int_least8_t my_int_least8_t;
20771 my_int_least8_t il8 = INT_LEAST8_MIN;
20772 il8 = INT_LEAST8_MAX;
20773 typedef int_least16_t my_int_least16_t;
20774 my_int_least16_t il16 = INT_LEAST16_MIN;
20775 il16 = INT_LEAST16_MAX;
20776 typedef int_least32_t my_int_least32_t;
20777 my_int_least32_t il32 = INT_LEAST32_MIN;
20778 il32 = INT_LEAST32_MAX;
20779 typedef int_least64_t my_int_least64_t;
20780 my_int_least64_t il64 = INT_LEAST64_MIN;
20781 il64 = INT_LEAST64_MAX;
20782 typedef intmax_t my_intmax_t;
20783 my_intmax_t im = INTMAX_MAX;
20784 im = INTMAX_MIN;
20785 typedef intptr_t my_intptr_t;
20786 my_intptr_t ip = INTPTR_MAX;
20787 ip = INTPTR_MIN;
20788 typedef uint8_t my_uint8_t;
20789 my_uint8_t ui8 = UINT8_MAX;
20790 ui8 = UINT8_MAX;
20791 typedef uint16_t my_uint16_t;
20792 my_uint16_t ui16 = UINT16_MAX;
20793 ui16 = UINT16_MAX;
20794 typedef uint32_t my_uint32_t;
20795 my_uint32_t ui32 = UINT32_MAX;
20796 ui32 = UINT32_MAX;
20797 typedef uint64_t my_uint64_t;
20798 my_uint64_t ui64 = UINT64_MAX;
20799 ui64 = UINT64_MAX;
20800 typedef uint_fast8_t my_uint_fast8_t;
20801 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20802 uif8 = UINT_FAST8_MAX;
20803 typedef uint_fast16_t my_uint_fast16_t;
20804 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20805 uif16 = UINT_FAST16_MAX;
20806 typedef uint_fast32_t my_uint_fast32_t;
20807 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20808 uif32 = UINT_FAST32_MAX;
20809 typedef uint_fast64_t my_uint_fast64_t;
20810 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20811 uif64 = UINT_FAST64_MAX;
20812 typedef uint_least8_t my_uint_least8_t;
20813 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20814 uil8 = UINT_LEAST8_MAX;
20815 typedef uint_least16_t my_uint_least16_t;
20816 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20817 uil16 = UINT_LEAST16_MAX;
20818 typedef uint_least32_t my_uint_least32_t;
20819 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20820 uil32 = UINT_LEAST32_MAX;
20821 typedef uint_least64_t my_uint_least64_t;
20822 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20823 uil64 = UINT_LEAST64_MAX;
20824 typedef uintmax_t my_uintmax_t;
20825 my_uintmax_t uim = UINTMAX_MAX;
20826 uim = UINTMAX_MAX;
20827 typedef uintptr_t my_uintptr_t;
20828 my_uintptr_t uip = UINTPTR_MAX;
20829 uip = UINTPTR_MAX;
20832 return 0;
20834 _ACEOF
20835 rm -f conftest.$ac_objext
20836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20837 (eval $ac_compile) 2>conftest.er1
20838 ac_status=$?
20839 grep -v '^ *+' conftest.er1 >conftest.err
20840 rm -f conftest.er1
20841 cat conftest.err >&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } &&
20844 { ac_try='test -z "$ac_cxx_werror_flag"
20845 || test ! -s conftest.err'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20848 ac_status=$?
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; } &&
20851 { ac_try='test -s conftest.$ac_objext'
20852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20853 (eval $ac_try) 2>&5
20854 ac_status=$?
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); }; }; then
20857 glibcxx_cv_c99_stdint_tr1=yes
20858 else
20859 echo "$as_me: failed program was:" >&5
20860 sed 's/^/| /' conftest.$ac_ext >&5
20862 glibcxx_cv_c99_stdint_tr1=no
20864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20868 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
20869 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
20870 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20872 cat >>confdefs.h <<\_ACEOF
20873 #define _GLIBCXX_USE_C99_STDINT_TR1 1
20874 _ACEOF
20878 # Check for the existence of <math.h> functions.
20879 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
20880 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
20881 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
20882 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 else
20885 cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h. */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 #include <math.h>
20893 main ()
20895 typedef double_t my_double_t;
20896 typedef float_t my_float_t;
20897 acosh(0.0);
20898 acoshf(0.0f);
20899 acoshl(0.0l);
20900 asinh(0.0);
20901 asinhf(0.0f);
20902 asinhl(0.0l);
20903 atanh(0.0);
20904 atanhf(0.0f);
20905 atanhl(0.0l);
20906 cbrt(0.0);
20907 cbrtf(0.0f);
20908 cbrtl(0.0l);
20909 copysign(0.0, 0.0);
20910 copysignf(0.0f, 0.0f);
20911 copysignl(0.0l, 0.0l);
20912 erf(0.0);
20913 erff(0.0f);
20914 erfl(0.0l);
20915 erfc(0.0);
20916 erfcf(0.0f);
20917 erfcl(0.0l);
20918 exp2(0.0);
20919 exp2f(0.0f);
20920 exp2l(0.0l);
20921 expm1(0.0);
20922 expm1f(0.0f);
20923 expm1l(0.0l);
20924 fdim(0.0, 0.0);
20925 fdimf(0.0f, 0.0f);
20926 fdiml(0.0l, 0.0l);
20927 fma(0.0, 0.0, 0.0);
20928 fmaf(0.0f, 0.0f, 0.0f);
20929 fmal(0.0l, 0.0l, 0.0l);
20930 fmax(0.0, 0.0);
20931 fmaxf(0.0f, 0.0f);
20932 fmaxl(0.0l, 0.0l);
20933 fmin(0.0, 0.0);
20934 fminf(0.0f, 0.0f);
20935 fminl(0.0l, 0.0l);
20936 hypot(0.0, 0.0);
20937 hypotf(0.0f, 0.0f);
20938 hypotl(0.0l, 0.0l);
20939 ilogb(0.0);
20940 ilogbf(0.0f);
20941 ilogbl(0.0l);
20942 lgamma(0.0);
20943 lgammaf(0.0f);
20944 lgammal(0.0l);
20945 llrint(0.0);
20946 llrintf(0.0f);
20947 llrintl(0.0l);
20948 llround(0.0);
20949 llroundf(0.0f);
20950 llroundl(0.0l);
20951 log1p(0.0);
20952 log1pf(0.0f);
20953 log1pl(0.0l);
20954 log2(0.0);
20955 log2f(0.0f);
20956 log2l(0.0l);
20957 logb(0.0);
20958 logbf(0.0f);
20959 logbl(0.0l);
20960 lrint(0.0);
20961 lrintf(0.0f);
20962 lrintl(0.0l);
20963 lround(0.0);
20964 lroundf(0.0f);
20965 lroundl(0.0l);
20966 nan(0);
20967 nanf(0);
20968 nanl(0);
20969 nearbyint(0.0);
20970 nearbyintf(0.0f);
20971 nearbyintl(0.0l);
20972 nextafter(0.0, 0.0);
20973 nextafterf(0.0f, 0.0f);
20974 nextafterl(0.0l, 0.0l);
20975 nexttoward(0.0, 0.0);
20976 nexttowardf(0.0f, 0.0f);
20977 nexttowardl(0.0l, 0.0l);
20978 remainder(0.0, 0.0);
20979 remainderf(0.0f, 0.0f);
20980 remainderl(0.0l, 0.0l);
20981 remquo(0.0, 0.0, 0);
20982 remquof(0.0f, 0.0f, 0);
20983 remquol(0.0l, 0.0l, 0);
20984 rint(0.0);
20985 rintf(0.0f);
20986 rintl(0.0l);
20987 round(0.0);
20988 roundf(0.0f);
20989 roundl(0.0l);
20990 scalbln(0.0, 0l);
20991 scalblnf(0.0f, 0l);
20992 scalblnl(0.0l, 0l);
20993 scalbn(0.0, 0);
20994 scalbnf(0.0f, 0);
20995 scalbnl(0.0l, 0);
20996 tgamma(0.0);
20997 tgammaf(0.0f);
20998 tgammal(0.0l);
20999 trunc(0.0);
21000 truncf(0.0f);
21001 truncl(0.0l);
21004 return 0;
21006 _ACEOF
21007 rm -f conftest.$ac_objext
21008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21009 (eval $ac_compile) 2>conftest.er1
21010 ac_status=$?
21011 grep -v '^ *+' conftest.er1 >conftest.err
21012 rm -f conftest.er1
21013 cat conftest.err >&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try='test -z "$ac_cxx_werror_flag"
21017 || test ! -s conftest.err'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21020 ac_status=$?
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; } &&
21023 { ac_try='test -s conftest.$ac_objext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 glibcxx_cv_c99_math_tr1=yes
21030 else
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21034 glibcxx_cv_c99_math_tr1=no
21036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21040 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21041 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21042 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21044 cat >>confdefs.h <<\_ACEOF
21045 #define _GLIBCXX_USE_C99_MATH_TR1 1
21046 _ACEOF
21050 # Check for the existence of <inttypes.h> functions (NB: doesn't make
21051 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21052 ac_c99_inttypes_tr1=no;
21053 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21054 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21055 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 #include <inttypes.h>
21064 main ()
21066 intmax_t i, numer, denom, base;
21067 const char* s;
21068 char** endptr;
21069 intmax_t ret = imaxabs(i);
21070 imaxdiv_t dret = imaxdiv(numer, denom);
21071 ret = strtoimax(s, endptr, base);
21072 uintmax_t uret = strtoumax(s, endptr, base);
21075 return 0;
21077 _ACEOF
21078 rm -f conftest.$ac_objext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21080 (eval $ac_compile) 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } &&
21087 { ac_try='test -z "$ac_cxx_werror_flag"
21088 || test ! -s conftest.err'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21091 ac_status=$?
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; } &&
21094 { ac_try='test -s conftest.$ac_objext'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; }; then
21100 ac_c99_inttypes_tr1=yes
21101 else
21102 echo "$as_me: failed program was:" >&5
21103 sed 's/^/| /' conftest.$ac_ext >&5
21105 ac_c99_inttypes_tr1=no
21107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21109 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21110 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21111 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21113 cat >>confdefs.h <<\_ACEOF
21114 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21115 _ACEOF
21119 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21120 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21121 ac_c99_inttypes_wchar_t_tr1=no;
21122 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21123 echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21124 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21125 cat >conftest.$ac_ext <<_ACEOF
21126 /* confdefs.h. */
21127 _ACEOF
21128 cat confdefs.h >>conftest.$ac_ext
21129 cat >>conftest.$ac_ext <<_ACEOF
21130 /* end confdefs.h. */
21131 #include <inttypes.h>
21133 main ()
21135 intmax_t base;
21136 const wchar_t* s;
21137 wchar_t** endptr;
21138 intmax_t ret = wcstoimax(s, endptr, base);
21139 uintmax_t uret = wcstoumax(s, endptr, base);
21142 return 0;
21144 _ACEOF
21145 rm -f conftest.$ac_objext
21146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21147 (eval $ac_compile) 2>conftest.er1
21148 ac_status=$?
21149 grep -v '^ *+' conftest.er1 >conftest.err
21150 rm -f conftest.er1
21151 cat conftest.err >&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } &&
21154 { ac_try='test -z "$ac_cxx_werror_flag"
21155 || test ! -s conftest.err'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; } &&
21161 { ac_try='test -s conftest.$ac_objext'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21164 ac_status=$?
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; }; then
21167 ac_c99_inttypes_wchar_t_tr1=yes
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21172 ac_c99_inttypes_wchar_t_tr1=no
21174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21176 echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21177 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21178 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21180 cat >>confdefs.h <<\_ACEOF
21181 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21182 _ACEOF
21186 # Check for the existence of the <stdbool.h> header.
21188 for ac_header in stdbool.h
21190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21192 echo "$as_me:$LINENO: checking for $ac_header" >&5
21193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21199 else
21200 # Is the header compilable?
21201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 #include <$ac_header>
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21214 (eval $ac_compile) 2>conftest.er1
21215 ac_status=$?
21216 grep -v '^ *+' conftest.er1 >conftest.err
21217 rm -f conftest.er1
21218 cat conftest.err >&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try='test -z "$ac_cxx_werror_flag"
21222 || test ! -s conftest.err'
21223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21224 (eval $ac_try) 2>&5
21225 ac_status=$?
21226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21227 (exit $ac_status); }; } &&
21228 { ac_try='test -s conftest.$ac_objext'
21229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21230 (eval $ac_try) 2>&5
21231 ac_status=$?
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; }; then
21234 ac_header_compiler=yes
21235 else
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21239 ac_header_compiler=no
21241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21243 echo "${ECHO_T}$ac_header_compiler" >&6
21245 # Is the header present?
21246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21248 cat >conftest.$ac_ext <<_ACEOF
21249 /* confdefs.h. */
21250 _ACEOF
21251 cat confdefs.h >>conftest.$ac_ext
21252 cat >>conftest.$ac_ext <<_ACEOF
21253 /* end confdefs.h. */
21254 #include <$ac_header>
21255 _ACEOF
21256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21258 ac_status=$?
21259 grep -v '^ *+' conftest.er1 >conftest.err
21260 rm -f conftest.er1
21261 cat conftest.err >&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } >/dev/null; then
21264 if test -s conftest.err; then
21265 ac_cpp_err=$ac_cxx_preproc_warn_flag
21266 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21267 else
21268 ac_cpp_err=
21270 else
21271 ac_cpp_err=yes
21273 if test -z "$ac_cpp_err"; then
21274 ac_header_preproc=yes
21275 else
21276 echo "$as_me: failed program was:" >&5
21277 sed 's/^/| /' conftest.$ac_ext >&5
21279 ac_header_preproc=no
21281 rm -f conftest.err conftest.$ac_ext
21282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21283 echo "${ECHO_T}$ac_header_preproc" >&6
21285 # So? What about this header?
21286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21287 yes:no: )
21288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21292 ac_header_preproc=yes
21294 no:yes:* )
21295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21308 cat <<\_ASBOX
21309 ## ----------------------------------------- ##
21310 ## Report this to the package-unused lists. ##
21311 ## ----------------------------------------- ##
21312 _ASBOX
21314 sed "s/^/$as_me: WARNING: /" >&2
21316 esac
21317 echo "$as_me:$LINENO: checking for $ac_header" >&5
21318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21320 echo $ECHO_N "(cached) $ECHO_C" >&6
21321 else
21322 eval "$as_ac_Header=\$ac_header_preproc"
21324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21329 cat >>confdefs.h <<_ACEOF
21330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21331 _ACEOF
21335 done
21338 CXXFLAGS="$ac_save_CXXFLAGS"
21339 ac_ext=c
21340 ac_cpp='$CPP $CPPFLAGS'
21341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21347 # For common values of EOF, SEEK_CUR, SEEK_END.
21350 echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21351 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21352 if test "${glibcxx_cv_stdio_macros+set}" = set; then
21353 echo $ECHO_N "(cached) $ECHO_C" >&6
21354 else
21356 cat >conftest.$ac_ext <<_ACEOF
21357 /* confdefs.h. */
21358 _ACEOF
21359 cat confdefs.h >>conftest.$ac_ext
21360 cat >>conftest.$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 #include <stdio.h>
21364 main ()
21366 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21367 unusual values...
21368 #endif
21371 return 0;
21373 _ACEOF
21374 rm -f conftest.$ac_objext
21375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21376 (eval $ac_compile) 2>conftest.er1
21377 ac_status=$?
21378 grep -v '^ *+' conftest.er1 >conftest.err
21379 rm -f conftest.er1
21380 cat conftest.err >&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try='test -z "$ac_c_werror_flag"
21384 || test ! -s conftest.err'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; } &&
21390 { ac_try='test -s conftest.$ac_objext'
21391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21392 (eval $ac_try) 2>&5
21393 ac_status=$?
21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395 (exit $ac_status); }; }; then
21396 glibcxx_cv_stdio_macros=yes
21397 else
21398 echo "$as_me: failed program was:" >&5
21399 sed 's/^/| /' conftest.$ac_ext >&5
21401 glibcxx_cv_stdio_macros=no
21403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21407 echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21408 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21409 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21411 cat >>confdefs.h <<\_ACEOF
21412 #define _GLIBCXX_STDIO_MACROS 1
21413 _ACEOF
21419 # For gettimeofday support.
21422 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21423 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21427 ac_ext=cc
21428 ac_cpp='$CXXCPP $CPPFLAGS'
21429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21433 ac_save_CXXFLAGS="$CXXFLAGS"
21434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21436 ac_has_gettimeofday=no;
21438 for ac_header in sys/time.h
21440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21442 echo "$as_me:$LINENO: checking for $ac_header" >&5
21443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21449 else
21450 # Is the header compilable?
21451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21453 cat >conftest.$ac_ext <<_ACEOF
21454 /* confdefs.h. */
21455 _ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 $ac_includes_default
21460 #include <$ac_header>
21461 _ACEOF
21462 rm -f conftest.$ac_objext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21464 (eval $ac_compile) 2>conftest.er1
21465 ac_status=$?
21466 grep -v '^ *+' conftest.er1 >conftest.err
21467 rm -f conftest.er1
21468 cat conftest.err >&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } &&
21471 { ac_try='test -z "$ac_cxx_werror_flag"
21472 || test ! -s conftest.err'
21473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21474 (eval $ac_try) 2>&5
21475 ac_status=$?
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); }; } &&
21478 { ac_try='test -s conftest.$ac_objext'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; }; then
21484 ac_header_compiler=yes
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21489 ac_header_compiler=no
21491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21493 echo "${ECHO_T}$ac_header_compiler" >&6
21495 # Is the header present?
21496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21498 cat >conftest.$ac_ext <<_ACEOF
21499 /* confdefs.h. */
21500 _ACEOF
21501 cat confdefs.h >>conftest.$ac_ext
21502 cat >>conftest.$ac_ext <<_ACEOF
21503 /* end confdefs.h. */
21504 #include <$ac_header>
21505 _ACEOF
21506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21508 ac_status=$?
21509 grep -v '^ *+' conftest.er1 >conftest.err
21510 rm -f conftest.er1
21511 cat conftest.err >&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } >/dev/null; then
21514 if test -s conftest.err; then
21515 ac_cpp_err=$ac_cxx_preproc_warn_flag
21516 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21517 else
21518 ac_cpp_err=
21520 else
21521 ac_cpp_err=yes
21523 if test -z "$ac_cpp_err"; then
21524 ac_header_preproc=yes
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21529 ac_header_preproc=no
21531 rm -f conftest.err conftest.$ac_ext
21532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21533 echo "${ECHO_T}$ac_header_preproc" >&6
21535 # So? What about this header?
21536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21537 yes:no: )
21538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21542 ac_header_preproc=yes
21544 no:yes:* )
21545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21558 cat <<\_ASBOX
21559 ## ----------------------------------------- ##
21560 ## Report this to the package-unused lists. ##
21561 ## ----------------------------------------- ##
21562 _ASBOX
21564 sed "s/^/$as_me: WARNING: /" >&2
21566 esac
21567 echo "$as_me:$LINENO: checking for $ac_header" >&5
21568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21570 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 else
21572 eval "$as_ac_Header=\$ac_header_preproc"
21574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21579 cat >>confdefs.h <<_ACEOF
21580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21581 _ACEOF
21582 ac_has_sys_time_h=yes
21583 else
21584 ac_has_sys_time_h=no
21587 done
21589 if test x"$ac_has_sys_time_h" = x"yes"; then
21590 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21591 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21592 if test x$gcc_no_link = xyes; then
21593 cat >conftest.$ac_ext <<_ACEOF
21594 /* confdefs.h. */
21595 _ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #include <sys/time.h>
21601 main ()
21603 timeval tv; gettimeofday(&tv, 0);
21605 return 0;
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21610 (eval $ac_compile) 2>conftest.er1
21611 ac_status=$?
21612 grep -v '^ *+' conftest.er1 >conftest.err
21613 rm -f conftest.er1
21614 cat conftest.err >&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } &&
21617 { ac_try='test -z "$ac_cxx_werror_flag"
21618 || test ! -s conftest.err'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21621 ac_status=$?
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; } &&
21624 { ac_try='test -s conftest.$ac_objext'
21625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21626 (eval $ac_try) 2>&5
21627 ac_status=$?
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); }; }; then
21630 ac_has_gettimeofday=yes
21631 else
21632 echo "$as_me: failed program was:" >&5
21633 sed 's/^/| /' conftest.$ac_ext >&5
21635 ac_has_gettimeofday=no
21637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21638 else
21639 if test x$gcc_no_link = xyes; then
21640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21642 { (exit 1); exit 1; }; }
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 #include <sys/time.h>
21652 main ()
21654 timeval tv; gettimeofday(&tv, 0);
21656 return 0;
21658 _ACEOF
21659 rm -f conftest.$ac_objext conftest$ac_exeext
21660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21661 (eval $ac_link) 2>conftest.er1
21662 ac_status=$?
21663 grep -v '^ *+' conftest.er1 >conftest.err
21664 rm -f conftest.er1
21665 cat conftest.err >&5
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); } &&
21668 { ac_try='test -z "$ac_cxx_werror_flag"
21669 || test ! -s conftest.err'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21672 ac_status=$?
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; } &&
21675 { ac_try='test -s conftest$ac_exeext'
21676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21677 (eval $ac_try) 2>&5
21678 ac_status=$?
21679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21680 (exit $ac_status); }; }; then
21681 ac_has_gettimeofday=yes
21682 else
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21686 ac_has_gettimeofday=no
21688 rm -f conftest.err conftest.$ac_objext \
21689 conftest$ac_exeext conftest.$ac_ext
21692 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
21693 echo "${ECHO_T}$ac_has_gettimeofday" >&6
21696 if test x"$ac_has_gettimeofday" = x"yes"; then
21698 cat >>confdefs.h <<\_ACEOF
21699 #define _GLIBCXX_USE_GETTIMEOFDAY 1
21700 _ACEOF
21704 CXXFLAGS="$ac_save_CXXFLAGS"
21705 ac_ext=c
21706 ac_cpp='$CPP $CPPFLAGS'
21707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21713 # For clock_gettime, nanosleep and sched_yield support.
21714 # NB: The default is [no], because otherwise it requires linking.
21717 echo "$as_me:$LINENO: checking for clock_gettime, nanosleep and sched_yield" >&5
21718 echo $ECHO_N "checking for clock_gettime, nanosleep and sched_yield... $ECHO_C" >&6
21719 # Check whether --enable-libstdcxx-time or --disable-libstdcxx-time was given.
21720 if test "${enable_libstdcxx_time+set}" = set; then
21721 enableval="$enable_libstdcxx_time"
21723 case "$enableval" in
21724 yes|no|rt) ;;
21725 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-time" >&5
21726 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-time" >&2;}
21727 { (exit 1); exit 1; }; } ;;
21728 esac
21730 else
21731 enable_libstdcxx_time=no
21737 ac_ext=cc
21738 ac_cpp='$CXXCPP $CPPFLAGS'
21739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21743 ac_save_CXXFLAGS="$CXXFLAGS"
21744 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21745 ac_save_LIBS="$LIBS"
21747 ac_has_clock_monotonic=no;
21748 ac_has_clock_realtime=no;
21750 if test x"$enable_libstdcxx_time" != x"no"; then
21752 if test x"$enable_libstdcxx_time" = x"rt"; then
21753 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
21754 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
21755 if test "${ac_cv_search_clock_gettime+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 ac_func_search_save_LIBS=$LIBS
21759 ac_cv_search_clock_gettime=no
21760 if test x$gcc_no_link = xyes; then
21761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21763 { (exit 1); exit 1; }; }
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21772 /* Override any gcc2 internal prototype to avoid an error. */
21773 #ifdef __cplusplus
21774 extern "C"
21775 #endif
21776 /* We use char because int might match the return type of a gcc2
21777 builtin and then its argument prototype would still apply. */
21778 char clock_gettime ();
21780 main ()
21782 clock_gettime ();
21784 return 0;
21786 _ACEOF
21787 rm -f conftest.$ac_objext conftest$ac_exeext
21788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21789 (eval $ac_link) 2>conftest.er1
21790 ac_status=$?
21791 grep -v '^ *+' conftest.er1 >conftest.err
21792 rm -f conftest.er1
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } &&
21796 { ac_try='test -z "$ac_cxx_werror_flag"
21797 || test ! -s conftest.err'
21798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21799 (eval $ac_try) 2>&5
21800 ac_status=$?
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; } &&
21803 { ac_try='test -s conftest$ac_exeext'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21806 ac_status=$?
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; }; then
21809 ac_cv_search_clock_gettime="none required"
21810 else
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21815 rm -f conftest.err conftest.$ac_objext \
21816 conftest$ac_exeext conftest.$ac_ext
21817 if test "$ac_cv_search_clock_gettime" = no; then
21818 for ac_lib in rt posix4; do
21819 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21820 if test x$gcc_no_link = xyes; then
21821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21823 { (exit 1); exit 1; }; }
21825 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */
21827 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21832 /* Override any gcc2 internal prototype to avoid an error. */
21833 #ifdef __cplusplus
21834 extern "C"
21835 #endif
21836 /* We use char because int might match the return type of a gcc2
21837 builtin and then its argument prototype would still apply. */
21838 char clock_gettime ();
21840 main ()
21842 clock_gettime ();
21844 return 0;
21846 _ACEOF
21847 rm -f conftest.$ac_objext conftest$ac_exeext
21848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21849 (eval $ac_link) 2>conftest.er1
21850 ac_status=$?
21851 grep -v '^ *+' conftest.er1 >conftest.err
21852 rm -f conftest.er1
21853 cat conftest.err >&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } &&
21856 { ac_try='test -z "$ac_cxx_werror_flag"
21857 || test ! -s conftest.err'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; } &&
21863 { ac_try='test -s conftest$ac_exeext'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; }; then
21869 ac_cv_search_clock_gettime="-l$ac_lib"
21870 break
21871 else
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.$ac_ext >&5
21876 rm -f conftest.err conftest.$ac_objext \
21877 conftest$ac_exeext conftest.$ac_ext
21878 done
21880 LIBS=$ac_func_search_save_LIBS
21882 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
21883 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
21884 if test "$ac_cv_search_clock_gettime" != no; then
21885 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
21889 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
21890 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
21891 if test "${ac_cv_search_nanosleep+set}" = set; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 else
21894 ac_func_search_save_LIBS=$LIBS
21895 ac_cv_search_nanosleep=no
21896 if test x$gcc_no_link = xyes; then
21897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21899 { (exit 1); exit 1; }; }
21901 cat >conftest.$ac_ext <<_ACEOF
21902 /* confdefs.h. */
21903 _ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21908 /* Override any gcc2 internal prototype to avoid an error. */
21909 #ifdef __cplusplus
21910 extern "C"
21911 #endif
21912 /* We use char because int might match the return type of a gcc2
21913 builtin and then its argument prototype would still apply. */
21914 char nanosleep ();
21916 main ()
21918 nanosleep ();
21920 return 0;
21922 _ACEOF
21923 rm -f conftest.$ac_objext conftest$ac_exeext
21924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21925 (eval $ac_link) 2>conftest.er1
21926 ac_status=$?
21927 grep -v '^ *+' conftest.er1 >conftest.err
21928 rm -f conftest.er1
21929 cat conftest.err >&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); } &&
21932 { ac_try='test -z "$ac_cxx_werror_flag"
21933 || test ! -s conftest.err'
21934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21935 (eval $ac_try) 2>&5
21936 ac_status=$?
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); }; } &&
21939 { ac_try='test -s conftest$ac_exeext'
21940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21941 (eval $ac_try) 2>&5
21942 ac_status=$?
21943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21944 (exit $ac_status); }; }; then
21945 ac_cv_search_nanosleep="none required"
21946 else
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21951 rm -f conftest.err conftest.$ac_objext \
21952 conftest$ac_exeext conftest.$ac_ext
21953 if test "$ac_cv_search_nanosleep" = no; then
21954 for ac_lib in rt posix4; do
21955 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21956 if test x$gcc_no_link = xyes; then
21957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21959 { (exit 1); exit 1; }; }
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21968 /* Override any gcc2 internal prototype to avoid an error. */
21969 #ifdef __cplusplus
21970 extern "C"
21971 #endif
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21974 char nanosleep ();
21976 main ()
21978 nanosleep ();
21980 return 0;
21982 _ACEOF
21983 rm -f conftest.$ac_objext conftest$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -z "$ac_cxx_werror_flag"
21993 || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21996 ac_status=$?
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try='test -s conftest$ac_exeext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22002 ac_status=$?
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_cv_search_nanosleep="-l$ac_lib"
22006 break
22007 else
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22012 rm -f conftest.err conftest.$ac_objext \
22013 conftest$ac_exeext conftest.$ac_ext
22014 done
22016 LIBS=$ac_func_search_save_LIBS
22018 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22019 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22020 if test "$ac_cv_search_nanosleep" != no; then
22021 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
22025 else
22026 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
22027 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
22028 if test "${ac_cv_search_clock_gettime+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031 ac_func_search_save_LIBS=$LIBS
22032 ac_cv_search_clock_gettime=no
22033 if test x$gcc_no_link = xyes; then
22034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036 { (exit 1); exit 1; }; }
22038 cat >conftest.$ac_ext <<_ACEOF
22039 /* confdefs.h. */
22040 _ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22045 /* Override any gcc2 internal prototype to avoid an error. */
22046 #ifdef __cplusplus
22047 extern "C"
22048 #endif
22049 /* We use char because int might match the return type of a gcc2
22050 builtin and then its argument prototype would still apply. */
22051 char clock_gettime ();
22053 main ()
22055 clock_gettime ();
22057 return 0;
22059 _ACEOF
22060 rm -f conftest.$ac_objext conftest$ac_exeext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062 (eval $ac_link) 2>conftest.er1
22063 ac_status=$?
22064 grep -v '^ *+' conftest.er1 >conftest.err
22065 rm -f conftest.er1
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_cxx_werror_flag"
22070 || test ! -s conftest.err'
22071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072 (eval $ac_try) 2>&5
22073 ac_status=$?
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); }; } &&
22076 { ac_try='test -s conftest$ac_exeext'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; }; then
22082 ac_cv_search_clock_gettime="none required"
22083 else
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22088 rm -f conftest.err conftest.$ac_objext \
22089 conftest$ac_exeext conftest.$ac_ext
22090 if test "$ac_cv_search_clock_gettime" = no; then
22091 for ac_lib in posix4; do
22092 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22093 if test x$gcc_no_link = xyes; then
22094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22096 { (exit 1); exit 1; }; }
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22105 /* Override any gcc2 internal prototype to avoid an error. */
22106 #ifdef __cplusplus
22107 extern "C"
22108 #endif
22109 /* We use char because int might match the return type of a gcc2
22110 builtin and then its argument prototype would still apply. */
22111 char clock_gettime ();
22113 main ()
22115 clock_gettime ();
22117 return 0;
22119 _ACEOF
22120 rm -f conftest.$ac_objext conftest$ac_exeext
22121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22122 (eval $ac_link) 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } &&
22129 { ac_try='test -z "$ac_cxx_werror_flag"
22130 || test ! -s conftest.err'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; } &&
22136 { ac_try='test -s conftest$ac_exeext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 ac_cv_search_clock_gettime="-l$ac_lib"
22143 break
22144 else
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.$ac_ext >&5
22149 rm -f conftest.err conftest.$ac_objext \
22150 conftest$ac_exeext conftest.$ac_ext
22151 done
22153 LIBS=$ac_func_search_save_LIBS
22155 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22156 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22157 if test "$ac_cv_search_clock_gettime" != no; then
22158 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22162 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
22163 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
22164 if test "${ac_cv_search_nanosleep+set}" = set; then
22165 echo $ECHO_N "(cached) $ECHO_C" >&6
22166 else
22167 ac_func_search_save_LIBS=$LIBS
22168 ac_cv_search_nanosleep=no
22169 if test x$gcc_no_link = xyes; then
22170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22172 { (exit 1); exit 1; }; }
22174 cat >conftest.$ac_ext <<_ACEOF
22175 /* confdefs.h. */
22176 _ACEOF
22177 cat confdefs.h >>conftest.$ac_ext
22178 cat >>conftest.$ac_ext <<_ACEOF
22179 /* end confdefs.h. */
22181 /* Override any gcc2 internal prototype to avoid an error. */
22182 #ifdef __cplusplus
22183 extern "C"
22184 #endif
22185 /* We use char because int might match the return type of a gcc2
22186 builtin and then its argument prototype would still apply. */
22187 char nanosleep ();
22189 main ()
22191 nanosleep ();
22193 return 0;
22195 _ACEOF
22196 rm -f conftest.$ac_objext conftest$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>conftest.er1
22199 ac_status=$?
22200 grep -v '^ *+' conftest.er1 >conftest.err
22201 rm -f conftest.er1
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -z "$ac_cxx_werror_flag"
22206 || test ! -s conftest.err'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22209 ac_status=$?
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try='test -s conftest$ac_exeext'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22218 ac_cv_search_nanosleep="none required"
22219 else
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.$ac_ext >&5
22224 rm -f conftest.err conftest.$ac_objext \
22225 conftest$ac_exeext conftest.$ac_ext
22226 if test "$ac_cv_search_nanosleep" = no; then
22227 for ac_lib in posix4; do
22228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22229 if test x$gcc_no_link = xyes; then
22230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22232 { (exit 1); exit 1; }; }
22234 cat >conftest.$ac_ext <<_ACEOF
22235 /* confdefs.h. */
22236 _ACEOF
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22241 /* Override any gcc2 internal prototype to avoid an error. */
22242 #ifdef __cplusplus
22243 extern "C"
22244 #endif
22245 /* We use char because int might match the return type of a gcc2
22246 builtin and then its argument prototype would still apply. */
22247 char nanosleep ();
22249 main ()
22251 nanosleep ();
22253 return 0;
22255 _ACEOF
22256 rm -f conftest.$ac_objext conftest$ac_exeext
22257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258 (eval $ac_link) 2>conftest.er1
22259 ac_status=$?
22260 grep -v '^ *+' conftest.er1 >conftest.err
22261 rm -f conftest.er1
22262 cat conftest.err >&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } &&
22265 { ac_try='test -z "$ac_cxx_werror_flag"
22266 || test ! -s conftest.err'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22269 ac_status=$?
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; } &&
22272 { ac_try='test -s conftest$ac_exeext'
22273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274 (eval $ac_try) 2>&5
22275 ac_status=$?
22276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277 (exit $ac_status); }; }; then
22278 ac_cv_search_nanosleep="-l$ac_lib"
22279 break
22280 else
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.$ac_ext >&5
22285 rm -f conftest.err conftest.$ac_objext \
22286 conftest$ac_exeext conftest.$ac_ext
22287 done
22289 LIBS=$ac_func_search_save_LIBS
22291 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22292 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22293 if test "$ac_cv_search_nanosleep" != no; then
22294 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
22300 case "$ac_cv_search_clock_gettime" in
22301 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22303 esac
22304 case "$ac_cv_search_nanosleep" in
22305 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
22307 esac
22309 echo "$as_me:$LINENO: checking for library containing sched_yield" >&5
22310 echo $ECHO_N "checking for library containing sched_yield... $ECHO_C" >&6
22311 if test "${ac_cv_search_sched_yield+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 else
22314 ac_func_search_save_LIBS=$LIBS
22315 ac_cv_search_sched_yield=no
22316 if test x$gcc_no_link = xyes; then
22317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22319 { (exit 1); exit 1; }; }
22321 cat >conftest.$ac_ext <<_ACEOF
22322 /* confdefs.h. */
22323 _ACEOF
22324 cat confdefs.h >>conftest.$ac_ext
22325 cat >>conftest.$ac_ext <<_ACEOF
22326 /* end confdefs.h. */
22328 /* Override any gcc2 internal prototype to avoid an error. */
22329 #ifdef __cplusplus
22330 extern "C"
22331 #endif
22332 /* We use char because int might match the return type of a gcc2
22333 builtin and then its argument prototype would still apply. */
22334 char sched_yield ();
22336 main ()
22338 sched_yield ();
22340 return 0;
22342 _ACEOF
22343 rm -f conftest.$ac_objext conftest$ac_exeext
22344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22345 (eval $ac_link) 2>conftest.er1
22346 ac_status=$?
22347 grep -v '^ *+' conftest.er1 >conftest.err
22348 rm -f conftest.er1
22349 cat conftest.err >&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); } &&
22352 { ac_try='test -z "$ac_cxx_werror_flag"
22353 || test ! -s conftest.err'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22356 ac_status=$?
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; } &&
22359 { ac_try='test -s conftest$ac_exeext'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; }; then
22365 ac_cv_search_sched_yield="none required"
22366 else
22367 echo "$as_me: failed program was:" >&5
22368 sed 's/^/| /' conftest.$ac_ext >&5
22371 rm -f conftest.err conftest.$ac_objext \
22372 conftest$ac_exeext conftest.$ac_ext
22373 if test "$ac_cv_search_sched_yield" = no; then
22374 for ac_lib in rt posix4; do
22375 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22376 if test x$gcc_no_link = xyes; then
22377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22379 { (exit 1); exit 1; }; }
22381 cat >conftest.$ac_ext <<_ACEOF
22382 /* confdefs.h. */
22383 _ACEOF
22384 cat confdefs.h >>conftest.$ac_ext
22385 cat >>conftest.$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22388 /* Override any gcc2 internal prototype to avoid an error. */
22389 #ifdef __cplusplus
22390 extern "C"
22391 #endif
22392 /* We use char because int might match the return type of a gcc2
22393 builtin and then its argument prototype would still apply. */
22394 char sched_yield ();
22396 main ()
22398 sched_yield ();
22400 return 0;
22402 _ACEOF
22403 rm -f conftest.$ac_objext conftest$ac_exeext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22405 (eval $ac_link) 2>conftest.er1
22406 ac_status=$?
22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_cxx_werror_flag"
22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest$ac_exeext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_cv_search_sched_yield="-l$ac_lib"
22426 break
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22432 rm -f conftest.err conftest.$ac_objext \
22433 conftest$ac_exeext conftest.$ac_ext
22434 done
22436 LIBS=$ac_func_search_save_LIBS
22438 echo "$as_me:$LINENO: result: $ac_cv_search_sched_yield" >&5
22439 echo "${ECHO_T}$ac_cv_search_sched_yield" >&6
22440 if test "$ac_cv_search_sched_yield" != no; then
22441 test "$ac_cv_search_sched_yield" = "none required" || LIBS="$ac_cv_search_sched_yield $LIBS"
22446 case "$ac_cv_search_sched_yield" in
22447 -lposix4*)
22448 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
22450 cat >>confdefs.h <<\_ACEOF
22451 #define _GLIBCXX_USE_SCHED_YIELD 1
22452 _ACEOF
22455 -lrt*)
22456 if test x"$enable_libstdcxx_time" = x"rt"; then
22457 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
22459 cat >>confdefs.h <<\_ACEOF
22460 #define _GLIBCXX_USE_SCHED_YIELD 1
22461 _ACEOF
22467 cat >>confdefs.h <<\_ACEOF
22468 #define _GLIBCXX_USE_SCHED_YIELD 1
22469 _ACEOF
22472 esac
22475 for ac_header in unistd.h
22477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22479 echo "$as_me:$LINENO: checking for $ac_header" >&5
22480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22482 echo $ECHO_N "(cached) $ECHO_C" >&6
22484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22486 else
22487 # Is the header compilable?
22488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22490 cat >conftest.$ac_ext <<_ACEOF
22491 /* confdefs.h. */
22492 _ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 #include <$ac_header>
22498 _ACEOF
22499 rm -f conftest.$ac_objext
22500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22501 (eval $ac_compile) 2>conftest.er1
22502 ac_status=$?
22503 grep -v '^ *+' conftest.er1 >conftest.err
22504 rm -f conftest.er1
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } &&
22508 { ac_try='test -z "$ac_cxx_werror_flag"
22509 || test ! -s conftest.err'
22510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22511 (eval $ac_try) 2>&5
22512 ac_status=$?
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); }; } &&
22515 { ac_try='test -s conftest.$ac_objext'
22516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517 (eval $ac_try) 2>&5
22518 ac_status=$?
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); }; }; then
22521 ac_header_compiler=yes
22522 else
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22526 ac_header_compiler=no
22528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22530 echo "${ECHO_T}$ac_header_compiler" >&6
22532 # Is the header present?
22533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22535 cat >conftest.$ac_ext <<_ACEOF
22536 /* confdefs.h. */
22537 _ACEOF
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22541 #include <$ac_header>
22542 _ACEOF
22543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22545 ac_status=$?
22546 grep -v '^ *+' conftest.er1 >conftest.err
22547 rm -f conftest.er1
22548 cat conftest.err >&5
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); } >/dev/null; then
22551 if test -s conftest.err; then
22552 ac_cpp_err=$ac_cxx_preproc_warn_flag
22553 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22554 else
22555 ac_cpp_err=
22557 else
22558 ac_cpp_err=yes
22560 if test -z "$ac_cpp_err"; then
22561 ac_header_preproc=yes
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22566 ac_header_preproc=no
22568 rm -f conftest.err conftest.$ac_ext
22569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22570 echo "${ECHO_T}$ac_header_preproc" >&6
22572 # So? What about this header?
22573 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22574 yes:no: )
22575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22579 ac_header_preproc=yes
22581 no:yes:* )
22582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22595 cat <<\_ASBOX
22596 ## ----------------------------------------- ##
22597 ## Report this to the package-unused lists. ##
22598 ## ----------------------------------------- ##
22599 _ASBOX
22601 sed "s/^/$as_me: WARNING: /" >&2
22603 esac
22604 echo "$as_me:$LINENO: checking for $ac_header" >&5
22605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22607 echo $ECHO_N "(cached) $ECHO_C" >&6
22608 else
22609 eval "$as_ac_Header=\$ac_header_preproc"
22611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22616 cat >>confdefs.h <<_ACEOF
22617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22618 _ACEOF
22619 ac_has_unistd_h=yes
22620 else
22621 ac_has_unistd_h=no
22624 done
22627 if test x"$ac_has_unistd_h" = x"yes"; then
22628 echo "$as_me:$LINENO: checking for monotonic clock" >&5
22629 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22630 if test x$gcc_no_link = xyes; then
22631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22633 { (exit 1); exit 1; }; }
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #include <unistd.h>
22642 #include <time.h>
22645 main ()
22647 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22648 timespec tp;
22649 #endif
22650 clock_gettime(CLOCK_MONOTONIC, &tp);
22653 return 0;
22655 _ACEOF
22656 rm -f conftest.$ac_objext conftest$ac_exeext
22657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22658 (eval $ac_link) 2>conftest.er1
22659 ac_status=$?
22660 grep -v '^ *+' conftest.er1 >conftest.err
22661 rm -f conftest.er1
22662 cat conftest.err >&5
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); } &&
22665 { ac_try='test -z "$ac_cxx_werror_flag"
22666 || test ! -s conftest.err'
22667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22668 (eval $ac_try) 2>&5
22669 ac_status=$?
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); }; } &&
22672 { ac_try='test -s conftest$ac_exeext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22675 ac_status=$?
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_has_clock_monotonic=yes
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22683 ac_has_clock_monotonic=no
22685 rm -f conftest.err conftest.$ac_objext \
22686 conftest$ac_exeext conftest.$ac_ext
22688 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
22689 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
22691 echo "$as_me:$LINENO: checking for realtime clock" >&5
22692 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
22693 if test x$gcc_no_link = xyes; then
22694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22696 { (exit 1); exit 1; }; }
22698 cat >conftest.$ac_ext <<_ACEOF
22699 /* confdefs.h. */
22700 _ACEOF
22701 cat confdefs.h >>conftest.$ac_ext
22702 cat >>conftest.$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22704 #include <unistd.h>
22705 #include <time.h>
22708 main ()
22710 #if _POSIX_TIMERS > 0
22711 timespec tp;
22712 #endif
22713 clock_gettime(CLOCK_REALTIME, &tp);
22716 return 0;
22718 _ACEOF
22719 rm -f conftest.$ac_objext conftest$ac_exeext
22720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22721 (eval $ac_link) 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } &&
22728 { ac_try='test -z "$ac_cxx_werror_flag"
22729 || test ! -s conftest.err'
22730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731 (eval $ac_try) 2>&5
22732 ac_status=$?
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); }; } &&
22735 { ac_try='test -s conftest$ac_exeext'
22736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22737 (eval $ac_try) 2>&5
22738 ac_status=$?
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); }; }; then
22741 ac_has_clock_realtime=yes
22742 else
22743 echo "$as_me: failed program was:" >&5
22744 sed 's/^/| /' conftest.$ac_ext >&5
22746 ac_has_clock_realtime=no
22748 rm -f conftest.err conftest.$ac_objext \
22749 conftest$ac_exeext conftest.$ac_ext
22751 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
22752 echo "${ECHO_T}$ac_has_clock_realtime" >&6
22754 echo "$as_me:$LINENO: checking for nanosleep" >&5
22755 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
22756 if test x$gcc_no_link = xyes; then
22757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22759 { (exit 1); exit 1; }; }
22761 cat >conftest.$ac_ext <<_ACEOF
22762 /* confdefs.h. */
22763 _ACEOF
22764 cat confdefs.h >>conftest.$ac_ext
22765 cat >>conftest.$ac_ext <<_ACEOF
22766 /* end confdefs.h. */
22767 #include <unistd.h>
22768 #include <time.h>
22771 main ()
22773 #if _POSIX_TIMERS > 0
22774 timespec tp;
22775 #endif
22776 nanosleep(&tp, 0);
22779 return 0;
22781 _ACEOF
22782 rm -f conftest.$ac_objext conftest$ac_exeext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>conftest.er1
22785 ac_status=$?
22786 grep -v '^ *+' conftest.er1 >conftest.err
22787 rm -f conftest.er1
22788 cat conftest.err >&5
22789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22790 (exit $ac_status); } &&
22791 { ac_try='test -z "$ac_cxx_werror_flag"
22792 || test ! -s conftest.err'
22793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22794 (eval $ac_try) 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; } &&
22798 { ac_try='test -s conftest$ac_exeext'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22801 ac_status=$?
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; }; then
22804 ac_has_nanosleep=yes
22805 else
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22809 ac_has_nanosleep=no
22811 rm -f conftest.err conftest.$ac_objext \
22812 conftest$ac_exeext conftest.$ac_ext
22814 echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
22815 echo "${ECHO_T}$ac_has_nanosleep" >&6
22819 if test x"$ac_has_clock_monotonic" = x"yes"; then
22821 cat >>confdefs.h <<\_ACEOF
22822 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
22823 _ACEOF
22827 if test x"$ac_has_clock_realtime" = x"yes"; then
22829 cat >>confdefs.h <<\_ACEOF
22830 #define _GLIBCXX_USE_CLOCK_REALTIME 1
22831 _ACEOF
22835 if test x"$ac_has_nanosleep" = x"yes"; then
22837 cat >>confdefs.h <<\_ACEOF
22838 #define _GLIBCXX_USE_NANOSLEEP 1
22839 _ACEOF
22845 CXXFLAGS="$ac_save_CXXFLAGS"
22846 LIBS="$ac_save_LIBS"
22847 ac_ext=c
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22855 # For gthread support
22859 ac_ext=cc
22860 ac_cpp='$CXXCPP $CPPFLAGS'
22861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22866 ac_save_CXXFLAGS="$CXXFLAGS"
22867 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
22869 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
22870 case $target_thread_file in
22871 posix)
22872 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
22873 esac
22875 echo "$as_me:$LINENO: checking for gthreads library" >&5
22876 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 #include "gthr.h"
22886 main ()
22889 #ifndef __GTHREADS_CXX0X
22890 #error
22891 #endif
22893 // In case of POSIX threads check _POSIX_TIMEOUTS too.
22894 #if (defined(_PTHREADS) \
22895 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
22896 #error
22897 #endif
22900 return 0;
22902 _ACEOF
22903 rm -f conftest.$ac_objext
22904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22905 (eval $ac_compile) 2>conftest.er1
22906 ac_status=$?
22907 grep -v '^ *+' conftest.er1 >conftest.err
22908 rm -f conftest.er1
22909 cat conftest.err >&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } &&
22912 { ac_try='test -z "$ac_cxx_werror_flag"
22913 || test ! -s conftest.err'
22914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22915 (eval $ac_try) 2>&5
22916 ac_status=$?
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); }; } &&
22919 { ac_try='test -s conftest.$ac_objext'
22920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22921 (eval $ac_try) 2>&5
22922 ac_status=$?
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; }; then
22925 ac_has_gthreads=yes
22926 else
22927 echo "$as_me: failed program was:" >&5
22928 sed 's/^/| /' conftest.$ac_ext >&5
22930 ac_has_gthreads=no
22932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22934 echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
22935 echo "${ECHO_T}$ac_has_gthreads" >&6
22937 if test x"$ac_has_gthreads" = x"yes"; then
22939 cat >>confdefs.h <<\_ACEOF
22940 #define _GLIBCXX_HAS_GTHREADS 1
22941 _ACEOF
22945 CXXFLAGS="$ac_save_CXXFLAGS"
22946 ac_ext=c
22947 ac_cpp='$CPP $CPPFLAGS'
22948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22955 if test "${ac_cv_header_locale_h+set}" = set; then
22956 echo "$as_me:$LINENO: checking for locale.h" >&5
22957 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
22958 if test "${ac_cv_header_locale_h+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22961 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
22962 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
22963 else
22964 # Is the header compilable?
22965 echo "$as_me:$LINENO: checking locale.h usability" >&5
22966 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 $ac_includes_default
22974 #include <locale.h>
22975 _ACEOF
22976 rm -f conftest.$ac_objext
22977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22978 (eval $ac_compile) 2>conftest.er1
22979 ac_status=$?
22980 grep -v '^ *+' conftest.er1 >conftest.err
22981 rm -f conftest.er1
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try='test -z "$ac_c_werror_flag"
22986 || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_header_compiler=yes
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23003 ac_header_compiler=no
23005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23007 echo "${ECHO_T}$ac_header_compiler" >&6
23009 # Is the header present?
23010 echo "$as_me:$LINENO: checking locale.h presence" >&5
23011 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
23012 cat >conftest.$ac_ext <<_ACEOF
23013 /* confdefs.h. */
23014 _ACEOF
23015 cat confdefs.h >>conftest.$ac_ext
23016 cat >>conftest.$ac_ext <<_ACEOF
23017 /* end confdefs.h. */
23018 #include <locale.h>
23019 _ACEOF
23020 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23021 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23022 ac_status=$?
23023 grep -v '^ *+' conftest.er1 >conftest.err
23024 rm -f conftest.er1
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } >/dev/null; then
23028 if test -s conftest.err; then
23029 ac_cpp_err=$ac_c_preproc_warn_flag
23030 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23031 else
23032 ac_cpp_err=
23034 else
23035 ac_cpp_err=yes
23037 if test -z "$ac_cpp_err"; then
23038 ac_header_preproc=yes
23039 else
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.$ac_ext >&5
23043 ac_header_preproc=no
23045 rm -f conftest.err conftest.$ac_ext
23046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23047 echo "${ECHO_T}$ac_header_preproc" >&6
23049 # So? What about this header?
23050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23051 yes:no: )
23052 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
23053 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23054 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
23055 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
23056 ac_header_preproc=yes
23058 no:yes:* )
23059 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
23060 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
23061 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
23062 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
23063 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
23064 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
23065 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
23066 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
23067 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
23068 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
23069 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
23070 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
23072 cat <<\_ASBOX
23073 ## ----------------------------------------- ##
23074 ## Report this to the package-unused lists. ##
23075 ## ----------------------------------------- ##
23076 _ASBOX
23078 sed "s/^/$as_me: WARNING: /" >&2
23080 esac
23081 echo "$as_me:$LINENO: checking for locale.h" >&5
23082 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
23083 if test "${ac_cv_header_locale_h+set}" = set; then
23084 echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086 ac_cv_header_locale_h=$ac_header_preproc
23088 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
23089 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
23092 if test $ac_cv_header_locale_h = yes; then
23094 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
23095 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
23096 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23098 else
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 #include <locale.h>
23107 main ()
23109 return LC_MESSAGES
23111 return 0;
23113 _ACEOF
23114 rm -f conftest.$ac_objext
23115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23116 (eval $ac_compile) 2>conftest.er1
23117 ac_status=$?
23118 grep -v '^ *+' conftest.er1 >conftest.err
23119 rm -f conftest.er1
23120 cat conftest.err >&5
23121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23122 (exit $ac_status); } &&
23123 { ac_try='test -z "$ac_c_werror_flag"
23124 || test ! -s conftest.err'
23125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23126 (eval $ac_try) 2>&5
23127 ac_status=$?
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); }; } &&
23130 { ac_try='test -s conftest.$ac_objext'
23131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23132 (eval $ac_try) 2>&5
23133 ac_status=$?
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); }; }; then
23136 ac_cv_val_LC_MESSAGES=yes
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23141 ac_cv_val_LC_MESSAGES=no
23143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23145 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
23146 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
23147 if test $ac_cv_val_LC_MESSAGES = yes; then
23149 cat >>confdefs.h <<\_ACEOF
23150 #define HAVE_LC_MESSAGES 1
23151 _ACEOF
23160 # Check for available headers.
23186 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
23187 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
23188 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
23189 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
23190 wchar.h wctype.h
23192 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23194 echo "$as_me:$LINENO: checking for $ac_header" >&5
23195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23201 else
23202 # Is the header compilable?
23203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23205 cat >conftest.$ac_ext <<_ACEOF
23206 /* confdefs.h. */
23207 _ACEOF
23208 cat confdefs.h >>conftest.$ac_ext
23209 cat >>conftest.$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23211 $ac_includes_default
23212 #include <$ac_header>
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23216 (eval $ac_compile) 2>conftest.er1
23217 ac_status=$?
23218 grep -v '^ *+' conftest.er1 >conftest.err
23219 rm -f conftest.er1
23220 cat conftest.err >&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try='test -z "$ac_c_werror_flag"
23224 || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest.$ac_objext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 ac_header_compiler=yes
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23241 ac_header_compiler=no
23243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23245 echo "${ECHO_T}$ac_header_compiler" >&6
23247 # Is the header present?
23248 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23249 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23250 cat >conftest.$ac_ext <<_ACEOF
23251 /* confdefs.h. */
23252 _ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23256 #include <$ac_header>
23257 _ACEOF
23258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23260 ac_status=$?
23261 grep -v '^ *+' conftest.er1 >conftest.err
23262 rm -f conftest.er1
23263 cat conftest.err >&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } >/dev/null; then
23266 if test -s conftest.err; then
23267 ac_cpp_err=$ac_c_preproc_warn_flag
23268 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23269 else
23270 ac_cpp_err=
23272 else
23273 ac_cpp_err=yes
23275 if test -z "$ac_cpp_err"; then
23276 ac_header_preproc=yes
23277 else
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23281 ac_header_preproc=no
23283 rm -f conftest.err conftest.$ac_ext
23284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23285 echo "${ECHO_T}$ac_header_preproc" >&6
23287 # So? What about this header?
23288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23289 yes:no: )
23290 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23291 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23293 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23294 ac_header_preproc=yes
23296 no:yes:* )
23297 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23298 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23299 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23300 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23301 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23302 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23303 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23304 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23306 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23308 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23310 cat <<\_ASBOX
23311 ## ----------------------------------------- ##
23312 ## Report this to the package-unused lists. ##
23313 ## ----------------------------------------- ##
23314 _ASBOX
23316 sed "s/^/$as_me: WARNING: /" >&2
23318 esac
23319 echo "$as_me:$LINENO: checking for $ac_header" >&5
23320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23322 echo $ECHO_N "(cached) $ECHO_C" >&6
23323 else
23324 eval "$as_ac_Header=\$ac_header_preproc"
23326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23331 cat >>confdefs.h <<_ACEOF
23332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23333 _ACEOF
23337 done
23340 # Only do link tests if native. Else, hardcode.
23341 if $GLIBCXX_IS_NATIVE; then
23343 # We can do more elaborate tests that assume a working linker.
23344 CANADIAN=no
23348 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23349 if test "${with_gnu_ld+set}" = set; then
23350 withval="$with_gnu_ld"
23351 test "$withval" = no || with_gnu_ld=yes
23352 else
23353 with_gnu_ld=no
23355 ac_prog=ld
23356 if test "$GCC" = yes; then
23357 # Check if gcc -print-prog-name=ld gives a path.
23358 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23359 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23360 case $host in
23361 *-*-mingw*)
23362 # gcc leaves a trailing carriage return which upsets mingw
23363 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23365 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23366 esac
23367 case $ac_prog in
23368 # Accept absolute paths.
23369 [\\/]* | ?:[\\/]*)
23370 re_direlt='/[^/][^/]*/\.\./'
23371 # Canonicalize the pathname of ld
23372 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23373 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23374 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23375 done
23376 test -z "$LD" && LD="$ac_prog"
23379 # If it fails, then pretend we aren't using GCC.
23380 ac_prog=ld
23383 # If it is relative, then search for the first ld in PATH.
23384 with_gnu_ld=unknown
23386 esac
23387 elif test "$with_gnu_ld" = yes; then
23388 echo "$as_me:$LINENO: checking for GNU ld" >&5
23389 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23390 else
23391 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23392 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23394 if test "${lt_cv_path_LD+set}" = set; then
23395 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 else
23397 if test -z "$LD"; then
23398 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23399 for ac_dir in $PATH; do
23400 IFS="$lt_save_ifs"
23401 test -z "$ac_dir" && ac_dir=.
23402 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23403 lt_cv_path_LD="$ac_dir/$ac_prog"
23404 # Check to see if the program is GNU ld. I'd rather use --version,
23405 # but apparently some variants of GNU ld only accept -v.
23406 # Break only if it was the GNU/non-GNU ld that we prefer.
23407 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23408 *GNU* | *'with BFD'*)
23409 test "$with_gnu_ld" != no && break
23412 test "$with_gnu_ld" != yes && break
23414 esac
23416 done
23417 IFS="$lt_save_ifs"
23418 else
23419 lt_cv_path_LD="$LD" # Let the user override the test with a path.
23423 LD="$lt_cv_path_LD"
23424 if test -n "$LD"; then
23425 echo "$as_me:$LINENO: result: $LD" >&5
23426 echo "${ECHO_T}$LD" >&6
23427 else
23428 echo "$as_me:$LINENO: result: no" >&5
23429 echo "${ECHO_T}no" >&6
23431 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23432 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23433 { (exit 1); exit 1; }; }
23434 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23435 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23436 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23437 echo $ECHO_N "(cached) $ECHO_C" >&6
23438 else
23439 # I'd rather use --version here, but apparently some GNU lds only accept -v.
23440 case `$LD -v 2>&1 </dev/null` in
23441 *GNU* | *'with BFD'*)
23442 lt_cv_prog_gnu_ld=yes
23445 lt_cv_prog_gnu_ld=no
23447 esac
23449 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23450 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23451 with_gnu_ld=$lt_cv_prog_gnu_ld
23459 # If we're not using GNU ld, then there's no point in even trying these
23460 # tests. Check for that first. We should have already tested for gld
23461 # by now (in libtool), but require it now just to be safe...
23462 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23463 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23467 # The name set by libtool depends on the version of libtool. Shame on us
23468 # for depending on an impl detail, but c'est la vie. Older versions used
23469 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23470 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23471 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
23472 # set (hence we're using an older libtool), then set it.
23473 if test x${with_gnu_ld+set} != xset; then
23474 if test x${ac_cv_prog_gnu_ld+set} != xset; then
23475 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
23476 with_gnu_ld=no
23477 else
23478 with_gnu_ld=$ac_cv_prog_gnu_ld
23482 # Start by getting the version number. I think the libtool test already
23483 # does some of this, but throws away the result.
23484 glibcxx_ld_is_gold=no
23485 if test x"$with_gnu_ld" = x"yes"; then
23486 echo "$as_me:$LINENO: checking for ld version" >&5
23487 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23489 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23490 glibcxx_ld_is_gold=yes
23492 ldver=`$LD --version 2>/dev/null | head -1 | \
23493 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23495 glibcxx_gnu_ld_version=`echo $ldver | \
23496 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23497 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23498 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23501 # Set --gc-sections.
23502 glibcxx_have_gc_sections=no
23503 if test "$glibcxx_ld_is_gold" = "yes"; then
23504 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23505 glibcxx_have_gc_sections=yes
23507 else
23508 glibcxx_gcsections_min_ld=21602
23509 if test x"$with_gnu_ld" = x"yes" &&
23510 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23511 glibcxx_have_gc_sections=yes
23514 if test "$glibcxx_have_gc_sections" = "yes"; then
23515 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
23516 # NB: This flag only works reliably after 2.16.1. Configure tests
23517 # for this are difficult, so hard wire a value that should work.
23519 ac_test_CFLAGS="${CFLAGS+set}"
23520 ac_save_CFLAGS="$CFLAGS"
23521 CFLAGS='-Wl,--gc-sections'
23523 # Check for -Wl,--gc-sections
23524 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23525 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23526 if test x$gcc_no_link = xyes; then
23527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23529 { (exit 1); exit 1; }; }
23531 cat >conftest.$ac_ext <<_ACEOF
23532 /* confdefs.h. */
23533 _ACEOF
23534 cat confdefs.h >>conftest.$ac_ext
23535 cat >>conftest.$ac_ext <<_ACEOF
23536 /* end confdefs.h. */
23537 int one(void) { return 1; }
23538 int two(void) { return 2; }
23541 main ()
23543 two();
23545 return 0;
23547 _ACEOF
23548 rm -f conftest.$ac_objext conftest$ac_exeext
23549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23550 (eval $ac_link) 2>conftest.er1
23551 ac_status=$?
23552 grep -v '^ *+' conftest.er1 >conftest.err
23553 rm -f conftest.er1
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } &&
23557 { ac_try='test -z "$ac_c_werror_flag"
23558 || test ! -s conftest.err'
23559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23560 (eval $ac_try) 2>&5
23561 ac_status=$?
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; } &&
23564 { ac_try='test -s conftest$ac_exeext'
23565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23566 (eval $ac_try) 2>&5
23567 ac_status=$?
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); }; }; then
23570 ac_gcsections=yes
23571 else
23572 echo "$as_me: failed program was:" >&5
23573 sed 's/^/| /' conftest.$ac_ext >&5
23575 ac_gcsections=no
23577 rm -f conftest.err conftest.$ac_objext \
23578 conftest$ac_exeext conftest.$ac_ext
23579 if test "$ac_gcsections" = "yes"; then
23580 rm -f conftest.c
23581 touch conftest.c
23582 if $CC -c conftest.c; then
23583 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23584 grep "Warning: gc-sections option ignored" > /dev/null; then
23585 ac_gcsections=no
23588 rm -f conftest.c conftest.o conftest
23590 if test "$ac_gcsections" = "yes"; then
23591 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23593 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23594 echo "${ECHO_T}$ac_gcsections" >&6
23596 if test "$ac_test_CFLAGS" = set; then
23597 CFLAGS="$ac_save_CFLAGS"
23598 else
23599 # this is the suspicious part
23600 CFLAGS=''
23604 # Set -z,relro.
23605 # Note this is only for shared objects.
23606 ac_ld_relro=no
23607 if test x"$with_gnu_ld" = x"yes"; then
23608 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23609 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23610 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23611 if test -n "$cxx_z_relo"; then
23612 OPT_LDFLAGS="-Wl,-z,relro"
23613 ac_ld_relro=yes
23615 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23616 echo "${ECHO_T}$ac_ld_relro" >&6
23619 # Set linker optimization flags.
23620 if test x"$with_gnu_ld" = x"yes"; then
23621 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23628 ac_test_CXXFLAGS="${CXXFLAGS+set}"
23629 ac_save_CXXFLAGS="$CXXFLAGS"
23630 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23632 echo "$as_me:$LINENO: checking for sin in -lm" >&5
23633 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23634 if test "${ac_cv_lib_m_sin+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 else
23637 ac_check_lib_save_LIBS=$LIBS
23638 LIBS="-lm $LIBS"
23639 if test x$gcc_no_link = xyes; then
23640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23642 { (exit 1); exit 1; }; }
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23651 /* Override any gcc2 internal prototype to avoid an error. */
23652 #ifdef __cplusplus
23653 extern "C"
23654 #endif
23655 /* We use char because int might match the return type of a gcc2
23656 builtin and then its argument prototype would still apply. */
23657 char sin ();
23659 main ()
23661 sin ();
23663 return 0;
23665 _ACEOF
23666 rm -f conftest.$ac_objext conftest$ac_exeext
23667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23668 (eval $ac_link) 2>conftest.er1
23669 ac_status=$?
23670 grep -v '^ *+' conftest.er1 >conftest.err
23671 rm -f conftest.er1
23672 cat conftest.err >&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } &&
23675 { ac_try='test -z "$ac_c_werror_flag"
23676 || test ! -s conftest.err'
23677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23678 (eval $ac_try) 2>&5
23679 ac_status=$?
23680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23681 (exit $ac_status); }; } &&
23682 { ac_try='test -s conftest$ac_exeext'
23683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23684 (eval $ac_try) 2>&5
23685 ac_status=$?
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); }; }; then
23688 ac_cv_lib_m_sin=yes
23689 else
23690 echo "$as_me: failed program was:" >&5
23691 sed 's/^/| /' conftest.$ac_ext >&5
23693 ac_cv_lib_m_sin=no
23695 rm -f conftest.err conftest.$ac_objext \
23696 conftest$ac_exeext conftest.$ac_ext
23697 LIBS=$ac_check_lib_save_LIBS
23699 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
23700 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
23701 if test $ac_cv_lib_m_sin = yes; then
23702 libm="-lm"
23705 ac_save_LIBS="$LIBS"
23706 LIBS="$LIBS $libm"
23710 echo "$as_me:$LINENO: checking for isinf declaration" >&5
23711 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
23712 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
23713 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23715 else
23719 ac_ext=cc
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <math.h>
23732 #ifdef HAVE_IEEEFP_H
23733 #include <ieeefp.h>
23734 #endif
23737 main ()
23739 isinf(0);
23741 return 0;
23743 _ACEOF
23744 rm -f conftest.$ac_objext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23746 (eval $ac_compile) 2>conftest.er1
23747 ac_status=$?
23748 grep -v '^ *+' conftest.er1 >conftest.err
23749 rm -f conftest.er1
23750 cat conftest.err >&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try='test -z "$ac_cxx_werror_flag"
23754 || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 glibcxx_cv_func_isinf_use=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23771 glibcxx_cv_func_isinf_use=no
23773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_ext=c
23775 ac_cpp='$CPP $CPPFLAGS'
23776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
23785 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
23787 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
23789 for ac_func in isinf
23791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23792 echo "$as_me:$LINENO: checking for $ac_func" >&5
23793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23794 if eval "test \"\${$as_ac_var+set}\" = set"; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 else
23797 if test x$gcc_no_link = xyes; then
23798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23800 { (exit 1); exit 1; }; }
23802 cat >conftest.$ac_ext <<_ACEOF
23803 /* confdefs.h. */
23804 _ACEOF
23805 cat confdefs.h >>conftest.$ac_ext
23806 cat >>conftest.$ac_ext <<_ACEOF
23807 /* end confdefs.h. */
23808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23810 #define $ac_func innocuous_$ac_func
23812 /* System header to define __stub macros and hopefully few prototypes,
23813 which can conflict with char $ac_func (); below.
23814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23815 <limits.h> exists even on freestanding compilers. */
23817 #ifdef __STDC__
23818 # include <limits.h>
23819 #else
23820 # include <assert.h>
23821 #endif
23823 #undef $ac_func
23825 /* Override any gcc2 internal prototype to avoid an error. */
23826 #ifdef __cplusplus
23827 extern "C"
23829 #endif
23830 /* We use char because int might match the return type of a gcc2
23831 builtin and then its argument prototype would still apply. */
23832 char $ac_func ();
23833 /* The GNU C library defines this for functions which it implements
23834 to always fail with ENOSYS. Some functions are actually named
23835 something starting with __ and the normal name is an alias. */
23836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23837 choke me
23838 #else
23839 char (*f) () = $ac_func;
23840 #endif
23841 #ifdef __cplusplus
23843 #endif
23846 main ()
23848 return f != $ac_func;
23850 return 0;
23852 _ACEOF
23853 rm -f conftest.$ac_objext conftest$ac_exeext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23855 (eval $ac_link) 2>conftest.er1
23856 ac_status=$?
23857 grep -v '^ *+' conftest.er1 >conftest.err
23858 rm -f conftest.er1
23859 cat conftest.err >&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } &&
23862 { ac_try='test -z "$ac_c_werror_flag"
23863 || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest$ac_exeext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 eval "$as_ac_var=yes"
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23880 eval "$as_ac_var=no"
23882 rm -f conftest.err conftest.$ac_objext \
23883 conftest$ac_exeext conftest.$ac_ext
23885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23887 if test `eval echo '${'$as_ac_var'}'` = yes; then
23888 cat >>confdefs.h <<_ACEOF
23889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23890 _ACEOF
23893 done
23895 else
23897 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
23898 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
23899 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
23900 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
23901 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 else
23906 ac_ext=cc
23907 ac_cpp='$CXXCPP $CPPFLAGS'
23908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 #include <math.h>
23919 #ifdef HAVE_IEEEFP_H
23920 #include <ieeefp.h>
23921 #endif
23924 main ()
23926 _isinf(0);
23928 return 0;
23930 _ACEOF
23931 rm -f conftest.$ac_objext
23932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23933 (eval $ac_compile) 2>conftest.er1
23934 ac_status=$?
23935 grep -v '^ *+' conftest.er1 >conftest.err
23936 rm -f conftest.er1
23937 cat conftest.err >&5
23938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23939 (exit $ac_status); } &&
23940 { ac_try='test -z "$ac_cxx_werror_flag"
23941 || test ! -s conftest.err'
23942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23943 (eval $ac_try) 2>&5
23944 ac_status=$?
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); }; } &&
23947 { ac_try='test -s conftest.$ac_objext'
23948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23949 (eval $ac_try) 2>&5
23950 ac_status=$?
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); }; }; then
23953 glibcxx_cv_func__isinf_use=yes
23954 else
23955 echo "$as_me: failed program was:" >&5
23956 sed 's/^/| /' conftest.$ac_ext >&5
23958 glibcxx_cv_func__isinf_use=no
23960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23961 ac_ext=c
23962 ac_cpp='$CPP $CPPFLAGS'
23963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
23972 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
23974 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23976 for ac_func in _isinf
23978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23979 echo "$as_me:$LINENO: checking for $ac_func" >&5
23980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23981 if eval "test \"\${$as_ac_var+set}\" = set"; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 else
23984 if test x$gcc_no_link = xyes; then
23985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23987 { (exit 1); exit 1; }; }
23989 cat >conftest.$ac_ext <<_ACEOF
23990 /* confdefs.h. */
23991 _ACEOF
23992 cat confdefs.h >>conftest.$ac_ext
23993 cat >>conftest.$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23997 #define $ac_func innocuous_$ac_func
23999 /* System header to define __stub macros and hopefully few prototypes,
24000 which can conflict with char $ac_func (); below.
24001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24002 <limits.h> exists even on freestanding compilers. */
24004 #ifdef __STDC__
24005 # include <limits.h>
24006 #else
24007 # include <assert.h>
24008 #endif
24010 #undef $ac_func
24012 /* Override any gcc2 internal prototype to avoid an error. */
24013 #ifdef __cplusplus
24014 extern "C"
24016 #endif
24017 /* We use char because int might match the return type of a gcc2
24018 builtin and then its argument prototype would still apply. */
24019 char $ac_func ();
24020 /* The GNU C library defines this for functions which it implements
24021 to always fail with ENOSYS. Some functions are actually named
24022 something starting with __ and the normal name is an alias. */
24023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24024 choke me
24025 #else
24026 char (*f) () = $ac_func;
24027 #endif
24028 #ifdef __cplusplus
24030 #endif
24033 main ()
24035 return f != $ac_func;
24037 return 0;
24039 _ACEOF
24040 rm -f conftest.$ac_objext conftest$ac_exeext
24041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24042 (eval $ac_link) 2>conftest.er1
24043 ac_status=$?
24044 grep -v '^ *+' conftest.er1 >conftest.err
24045 rm -f conftest.er1
24046 cat conftest.err >&5
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); } &&
24049 { ac_try='test -z "$ac_c_werror_flag"
24050 || test ! -s conftest.err'
24051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24052 (eval $ac_try) 2>&5
24053 ac_status=$?
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); }; } &&
24056 { ac_try='test -s conftest$ac_exeext'
24057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24058 (eval $ac_try) 2>&5
24059 ac_status=$?
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); }; }; then
24062 eval "$as_ac_var=yes"
24063 else
24064 echo "$as_me: failed program was:" >&5
24065 sed 's/^/| /' conftest.$ac_ext >&5
24067 eval "$as_ac_var=no"
24069 rm -f conftest.err conftest.$ac_objext \
24070 conftest$ac_exeext conftest.$ac_ext
24072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24074 if test `eval echo '${'$as_ac_var'}'` = yes; then
24075 cat >>confdefs.h <<_ACEOF
24076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24077 _ACEOF
24080 done
24090 echo "$as_me:$LINENO: checking for isnan declaration" >&5
24091 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
24092 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
24093 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
24094 echo $ECHO_N "(cached) $ECHO_C" >&6
24095 else
24099 ac_ext=cc
24100 ac_cpp='$CXXCPP $CPPFLAGS'
24101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24105 cat >conftest.$ac_ext <<_ACEOF
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 #include <math.h>
24112 #ifdef HAVE_IEEEFP_H
24113 #include <ieeefp.h>
24114 #endif
24117 main ()
24119 isnan(0);
24121 return 0;
24123 _ACEOF
24124 rm -f conftest.$ac_objext
24125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24126 (eval $ac_compile) 2>conftest.er1
24127 ac_status=$?
24128 grep -v '^ *+' conftest.er1 >conftest.err
24129 rm -f conftest.er1
24130 cat conftest.err >&5
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); } &&
24133 { ac_try='test -z "$ac_cxx_werror_flag"
24134 || test ! -s conftest.err'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24137 ac_status=$?
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; } &&
24140 { ac_try='test -s conftest.$ac_objext'
24141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24142 (eval $ac_try) 2>&5
24143 ac_status=$?
24144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24145 (exit $ac_status); }; }; then
24146 glibcxx_cv_func_isnan_use=yes
24147 else
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24151 glibcxx_cv_func_isnan_use=no
24153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24154 ac_ext=c
24155 ac_cpp='$CPP $CPPFLAGS'
24156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
24165 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
24167 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
24169 for ac_func in isnan
24171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24172 echo "$as_me:$LINENO: checking for $ac_func" >&5
24173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24174 if eval "test \"\${$as_ac_var+set}\" = set"; then
24175 echo $ECHO_N "(cached) $ECHO_C" >&6
24176 else
24177 if test x$gcc_no_link = xyes; then
24178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24180 { (exit 1); exit 1; }; }
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24190 #define $ac_func innocuous_$ac_func
24192 /* System header to define __stub macros and hopefully few prototypes,
24193 which can conflict with char $ac_func (); below.
24194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24195 <limits.h> exists even on freestanding compilers. */
24197 #ifdef __STDC__
24198 # include <limits.h>
24199 #else
24200 # include <assert.h>
24201 #endif
24203 #undef $ac_func
24205 /* Override any gcc2 internal prototype to avoid an error. */
24206 #ifdef __cplusplus
24207 extern "C"
24209 #endif
24210 /* We use char because int might match the return type of a gcc2
24211 builtin and then its argument prototype would still apply. */
24212 char $ac_func ();
24213 /* The GNU C library defines this for functions which it implements
24214 to always fail with ENOSYS. Some functions are actually named
24215 something starting with __ and the normal name is an alias. */
24216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24217 choke me
24218 #else
24219 char (*f) () = $ac_func;
24220 #endif
24221 #ifdef __cplusplus
24223 #endif
24226 main ()
24228 return f != $ac_func;
24230 return 0;
24232 _ACEOF
24233 rm -f conftest.$ac_objext conftest$ac_exeext
24234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24235 (eval $ac_link) 2>conftest.er1
24236 ac_status=$?
24237 grep -v '^ *+' conftest.er1 >conftest.err
24238 rm -f conftest.er1
24239 cat conftest.err >&5
24240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24241 (exit $ac_status); } &&
24242 { ac_try='test -z "$ac_c_werror_flag"
24243 || test ! -s conftest.err'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24246 ac_status=$?
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; } &&
24249 { ac_try='test -s conftest$ac_exeext'
24250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24251 (eval $ac_try) 2>&5
24252 ac_status=$?
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); }; }; then
24255 eval "$as_ac_var=yes"
24256 else
24257 echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.$ac_ext >&5
24260 eval "$as_ac_var=no"
24262 rm -f conftest.err conftest.$ac_objext \
24263 conftest$ac_exeext conftest.$ac_ext
24265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24267 if test `eval echo '${'$as_ac_var'}'` = yes; then
24268 cat >>confdefs.h <<_ACEOF
24269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24270 _ACEOF
24273 done
24275 else
24277 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
24278 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
24279 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
24280 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
24281 echo $ECHO_N "(cached) $ECHO_C" >&6
24282 else
24286 ac_ext=cc
24287 ac_cpp='$CXXCPP $CPPFLAGS'
24288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24292 cat >conftest.$ac_ext <<_ACEOF
24293 /* confdefs.h. */
24294 _ACEOF
24295 cat confdefs.h >>conftest.$ac_ext
24296 cat >>conftest.$ac_ext <<_ACEOF
24297 /* end confdefs.h. */
24298 #include <math.h>
24299 #ifdef HAVE_IEEEFP_H
24300 #include <ieeefp.h>
24301 #endif
24304 main ()
24306 _isnan(0);
24308 return 0;
24310 _ACEOF
24311 rm -f conftest.$ac_objext
24312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24313 (eval $ac_compile) 2>conftest.er1
24314 ac_status=$?
24315 grep -v '^ *+' conftest.er1 >conftest.err
24316 rm -f conftest.er1
24317 cat conftest.err >&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } &&
24320 { ac_try='test -z "$ac_cxx_werror_flag"
24321 || test ! -s conftest.err'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; } &&
24327 { ac_try='test -s conftest.$ac_objext'
24328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24329 (eval $ac_try) 2>&5
24330 ac_status=$?
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); }; }; then
24333 glibcxx_cv_func__isnan_use=yes
24334 else
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24338 glibcxx_cv_func__isnan_use=no
24340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24341 ac_ext=c
24342 ac_cpp='$CPP $CPPFLAGS'
24343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24352 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24354 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24356 for ac_func in _isnan
24358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24359 echo "$as_me:$LINENO: checking for $ac_func" >&5
24360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24361 if eval "test \"\${$as_ac_var+set}\" = set"; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364 if test x$gcc_no_link = xyes; then
24365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24367 { (exit 1); exit 1; }; }
24369 cat >conftest.$ac_ext <<_ACEOF
24370 /* confdefs.h. */
24371 _ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24377 #define $ac_func innocuous_$ac_func
24379 /* System header to define __stub macros and hopefully few prototypes,
24380 which can conflict with char $ac_func (); below.
24381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24382 <limits.h> exists even on freestanding compilers. */
24384 #ifdef __STDC__
24385 # include <limits.h>
24386 #else
24387 # include <assert.h>
24388 #endif
24390 #undef $ac_func
24392 /* Override any gcc2 internal prototype to avoid an error. */
24393 #ifdef __cplusplus
24394 extern "C"
24396 #endif
24397 /* We use char because int might match the return type of a gcc2
24398 builtin and then its argument prototype would still apply. */
24399 char $ac_func ();
24400 /* The GNU C library defines this for functions which it implements
24401 to always fail with ENOSYS. Some functions are actually named
24402 something starting with __ and the normal name is an alias. */
24403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24404 choke me
24405 #else
24406 char (*f) () = $ac_func;
24407 #endif
24408 #ifdef __cplusplus
24410 #endif
24413 main ()
24415 return f != $ac_func;
24417 return 0;
24419 _ACEOF
24420 rm -f conftest.$ac_objext conftest$ac_exeext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24422 (eval $ac_link) 2>conftest.er1
24423 ac_status=$?
24424 grep -v '^ *+' conftest.er1 >conftest.err
24425 rm -f conftest.er1
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } &&
24429 { ac_try='test -z "$ac_c_werror_flag"
24430 || test ! -s conftest.err'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; } &&
24436 { ac_try='test -s conftest$ac_exeext'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24439 ac_status=$?
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; }; then
24442 eval "$as_ac_var=yes"
24443 else
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24447 eval "$as_ac_var=no"
24449 rm -f conftest.err conftest.$ac_objext \
24450 conftest$ac_exeext conftest.$ac_ext
24452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24454 if test `eval echo '${'$as_ac_var'}'` = yes; then
24455 cat >>confdefs.h <<_ACEOF
24456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24457 _ACEOF
24460 done
24470 echo "$as_me:$LINENO: checking for finite declaration" >&5
24471 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24472 if test x${glibcxx_cv_func_finite_use+set} != xset; then
24473 if test "${glibcxx_cv_func_finite_use+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24475 else
24479 ac_ext=cc
24480 ac_cpp='$CXXCPP $CPPFLAGS'
24481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24485 cat >conftest.$ac_ext <<_ACEOF
24486 /* confdefs.h. */
24487 _ACEOF
24488 cat confdefs.h >>conftest.$ac_ext
24489 cat >>conftest.$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 #include <math.h>
24492 #ifdef HAVE_IEEEFP_H
24493 #include <ieeefp.h>
24494 #endif
24497 main ()
24499 finite(0);
24501 return 0;
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24506 (eval $ac_compile) 2>conftest.er1
24507 ac_status=$?
24508 grep -v '^ *+' conftest.er1 >conftest.err
24509 rm -f conftest.er1
24510 cat conftest.err >&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try='test -z "$ac_cxx_werror_flag"
24514 || test ! -s conftest.err'
24515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24516 (eval $ac_try) 2>&5
24517 ac_status=$?
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); }; } &&
24520 { ac_try='test -s conftest.$ac_objext'
24521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522 (eval $ac_try) 2>&5
24523 ac_status=$?
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; }; then
24526 glibcxx_cv_func_finite_use=yes
24527 else
24528 echo "$as_me: failed program was:" >&5
24529 sed 's/^/| /' conftest.$ac_ext >&5
24531 glibcxx_cv_func_finite_use=no
24533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24534 ac_ext=c
24535 ac_cpp='$CPP $CPPFLAGS'
24536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24545 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24547 if test x$glibcxx_cv_func_finite_use = x"yes"; then
24549 for ac_func in finite
24551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24552 echo "$as_me:$LINENO: checking for $ac_func" >&5
24553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24554 if eval "test \"\${$as_ac_var+set}\" = set"; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24556 else
24557 if test x$gcc_no_link = xyes; then
24558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24560 { (exit 1); exit 1; }; }
24562 cat >conftest.$ac_ext <<_ACEOF
24563 /* confdefs.h. */
24564 _ACEOF
24565 cat confdefs.h >>conftest.$ac_ext
24566 cat >>conftest.$ac_ext <<_ACEOF
24567 /* end confdefs.h. */
24568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24570 #define $ac_func innocuous_$ac_func
24572 /* System header to define __stub macros and hopefully few prototypes,
24573 which can conflict with char $ac_func (); below.
24574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24575 <limits.h> exists even on freestanding compilers. */
24577 #ifdef __STDC__
24578 # include <limits.h>
24579 #else
24580 # include <assert.h>
24581 #endif
24583 #undef $ac_func
24585 /* Override any gcc2 internal prototype to avoid an error. */
24586 #ifdef __cplusplus
24587 extern "C"
24589 #endif
24590 /* We use char because int might match the return type of a gcc2
24591 builtin and then its argument prototype would still apply. */
24592 char $ac_func ();
24593 /* The GNU C library defines this for functions which it implements
24594 to always fail with ENOSYS. Some functions are actually named
24595 something starting with __ and the normal name is an alias. */
24596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24597 choke me
24598 #else
24599 char (*f) () = $ac_func;
24600 #endif
24601 #ifdef __cplusplus
24603 #endif
24606 main ()
24608 return f != $ac_func;
24610 return 0;
24612 _ACEOF
24613 rm -f conftest.$ac_objext conftest$ac_exeext
24614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24615 (eval $ac_link) 2>conftest.er1
24616 ac_status=$?
24617 grep -v '^ *+' conftest.er1 >conftest.err
24618 rm -f conftest.er1
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } &&
24622 { ac_try='test -z "$ac_c_werror_flag"
24623 || test ! -s conftest.err'
24624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24625 (eval $ac_try) 2>&5
24626 ac_status=$?
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); }; } &&
24629 { ac_try='test -s conftest$ac_exeext'
24630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24631 (eval $ac_try) 2>&5
24632 ac_status=$?
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); }; }; then
24635 eval "$as_ac_var=yes"
24636 else
24637 echo "$as_me: failed program was:" >&5
24638 sed 's/^/| /' conftest.$ac_ext >&5
24640 eval "$as_ac_var=no"
24642 rm -f conftest.err conftest.$ac_objext \
24643 conftest$ac_exeext conftest.$ac_ext
24645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24647 if test `eval echo '${'$as_ac_var'}'` = yes; then
24648 cat >>confdefs.h <<_ACEOF
24649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24650 _ACEOF
24653 done
24655 else
24657 echo "$as_me:$LINENO: checking for _finite declaration" >&5
24658 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24659 if test x${glibcxx_cv_func__finite_use+set} != xset; then
24660 if test "${glibcxx_cv_func__finite_use+set}" = set; then
24661 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 else
24666 ac_ext=cc
24667 ac_cpp='$CXXCPP $CPPFLAGS'
24668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24672 cat >conftest.$ac_ext <<_ACEOF
24673 /* confdefs.h. */
24674 _ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 #include <math.h>
24679 #ifdef HAVE_IEEEFP_H
24680 #include <ieeefp.h>
24681 #endif
24684 main ()
24686 _finite(0);
24688 return 0;
24690 _ACEOF
24691 rm -f conftest.$ac_objext
24692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24693 (eval $ac_compile) 2>conftest.er1
24694 ac_status=$?
24695 grep -v '^ *+' conftest.er1 >conftest.err
24696 rm -f conftest.er1
24697 cat conftest.err >&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); } &&
24700 { ac_try='test -z "$ac_cxx_werror_flag"
24701 || test ! -s conftest.err'
24702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24703 (eval $ac_try) 2>&5
24704 ac_status=$?
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); }; } &&
24707 { ac_try='test -s conftest.$ac_objext'
24708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709 (eval $ac_try) 2>&5
24710 ac_status=$?
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); }; }; then
24713 glibcxx_cv_func__finite_use=yes
24714 else
24715 echo "$as_me: failed program was:" >&5
24716 sed 's/^/| /' conftest.$ac_ext >&5
24718 glibcxx_cv_func__finite_use=no
24720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
24732 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
24734 if test x$glibcxx_cv_func__finite_use = x"yes"; then
24736 for ac_func in _finite
24738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24739 echo "$as_me:$LINENO: checking for $ac_func" >&5
24740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24741 if eval "test \"\${$as_ac_var+set}\" = set"; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 else
24744 if test x$gcc_no_link = xyes; then
24745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24747 { (exit 1); exit 1; }; }
24749 cat >conftest.$ac_ext <<_ACEOF
24750 /* confdefs.h. */
24751 _ACEOF
24752 cat confdefs.h >>conftest.$ac_ext
24753 cat >>conftest.$ac_ext <<_ACEOF
24754 /* end confdefs.h. */
24755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24757 #define $ac_func innocuous_$ac_func
24759 /* System header to define __stub macros and hopefully few prototypes,
24760 which can conflict with char $ac_func (); below.
24761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24762 <limits.h> exists even on freestanding compilers. */
24764 #ifdef __STDC__
24765 # include <limits.h>
24766 #else
24767 # include <assert.h>
24768 #endif
24770 #undef $ac_func
24772 /* Override any gcc2 internal prototype to avoid an error. */
24773 #ifdef __cplusplus
24774 extern "C"
24776 #endif
24777 /* We use char because int might match the return type of a gcc2
24778 builtin and then its argument prototype would still apply. */
24779 char $ac_func ();
24780 /* The GNU C library defines this for functions which it implements
24781 to always fail with ENOSYS. Some functions are actually named
24782 something starting with __ and the normal name is an alias. */
24783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24784 choke me
24785 #else
24786 char (*f) () = $ac_func;
24787 #endif
24788 #ifdef __cplusplus
24790 #endif
24793 main ()
24795 return f != $ac_func;
24797 return 0;
24799 _ACEOF
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802 (eval $ac_link) 2>conftest.er1
24803 ac_status=$?
24804 grep -v '^ *+' conftest.er1 >conftest.err
24805 rm -f conftest.er1
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try='test -z "$ac_c_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24813 ac_status=$?
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try='test -s conftest$ac_exeext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 eval "$as_ac_var=yes"
24823 else
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24827 eval "$as_ac_var=no"
24829 rm -f conftest.err conftest.$ac_objext \
24830 conftest$ac_exeext conftest.$ac_ext
24832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24834 if test `eval echo '${'$as_ac_var'}'` = yes; then
24835 cat >>confdefs.h <<_ACEOF
24836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24837 _ACEOF
24840 done
24850 echo "$as_me:$LINENO: checking for sincos declaration" >&5
24851 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
24852 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
24853 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 else
24859 ac_ext=cc
24860 ac_cpp='$CXXCPP $CPPFLAGS'
24861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24865 cat >conftest.$ac_ext <<_ACEOF
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 #include <math.h>
24873 main ()
24875 sincos(0, 0, 0);
24877 return 0;
24879 _ACEOF
24880 rm -f conftest.$ac_objext
24881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24882 (eval $ac_compile) 2>conftest.er1
24883 ac_status=$?
24884 grep -v '^ *+' conftest.er1 >conftest.err
24885 rm -f conftest.er1
24886 cat conftest.err >&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); } &&
24889 { ac_try='test -z "$ac_cxx_werror_flag"
24890 || test ! -s conftest.err'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24893 ac_status=$?
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; } &&
24896 { ac_try='test -s conftest.$ac_objext'
24897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898 (eval $ac_try) 2>&5
24899 ac_status=$?
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); }; }; then
24902 glibcxx_cv_func_sincos_use=yes
24903 else
24904 echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.$ac_ext >&5
24907 glibcxx_cv_func_sincos_use=no
24909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ac_ext=c
24911 ac_cpp='$CPP $CPPFLAGS'
24912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24920 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
24921 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
24923 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
24925 for ac_func in sincos
24927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24928 echo "$as_me:$LINENO: checking for $ac_func" >&5
24929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24930 if eval "test \"\${$as_ac_var+set}\" = set"; then
24931 echo $ECHO_N "(cached) $ECHO_C" >&6
24932 else
24933 if test x$gcc_no_link = xyes; then
24934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24936 { (exit 1); exit 1; }; }
24938 cat >conftest.$ac_ext <<_ACEOF
24939 /* confdefs.h. */
24940 _ACEOF
24941 cat confdefs.h >>conftest.$ac_ext
24942 cat >>conftest.$ac_ext <<_ACEOF
24943 /* end confdefs.h. */
24944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24946 #define $ac_func innocuous_$ac_func
24948 /* System header to define __stub macros and hopefully few prototypes,
24949 which can conflict with char $ac_func (); below.
24950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24951 <limits.h> exists even on freestanding compilers. */
24953 #ifdef __STDC__
24954 # include <limits.h>
24955 #else
24956 # include <assert.h>
24957 #endif
24959 #undef $ac_func
24961 /* Override any gcc2 internal prototype to avoid an error. */
24962 #ifdef __cplusplus
24963 extern "C"
24965 #endif
24966 /* We use char because int might match the return type of a gcc2
24967 builtin and then its argument prototype would still apply. */
24968 char $ac_func ();
24969 /* The GNU C library defines this for functions which it implements
24970 to always fail with ENOSYS. Some functions are actually named
24971 something starting with __ and the normal name is an alias. */
24972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24973 choke me
24974 #else
24975 char (*f) () = $ac_func;
24976 #endif
24977 #ifdef __cplusplus
24979 #endif
24982 main ()
24984 return f != $ac_func;
24986 return 0;
24988 _ACEOF
24989 rm -f conftest.$ac_objext conftest$ac_exeext
24990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24991 (eval $ac_link) 2>conftest.er1
24992 ac_status=$?
24993 grep -v '^ *+' conftest.er1 >conftest.err
24994 rm -f conftest.er1
24995 cat conftest.err >&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } &&
24998 { ac_try='test -z "$ac_c_werror_flag"
24999 || test ! -s conftest.err'
25000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25001 (eval $ac_try) 2>&5
25002 ac_status=$?
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); }; } &&
25005 { ac_try='test -s conftest$ac_exeext'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25008 ac_status=$?
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; }; then
25011 eval "$as_ac_var=yes"
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25016 eval "$as_ac_var=no"
25018 rm -f conftest.err conftest.$ac_objext \
25019 conftest$ac_exeext conftest.$ac_ext
25021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25023 if test `eval echo '${'$as_ac_var'}'` = yes; then
25024 cat >>confdefs.h <<_ACEOF
25025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25026 _ACEOF
25029 done
25031 else
25033 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25034 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25035 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25036 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25037 echo $ECHO_N "(cached) $ECHO_C" >&6
25038 else
25042 ac_ext=cc
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25048 cat >conftest.$ac_ext <<_ACEOF
25049 /* confdefs.h. */
25050 _ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 #include <math.h>
25056 main ()
25058 _sincos(0, 0, 0);
25060 return 0;
25062 _ACEOF
25063 rm -f conftest.$ac_objext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25065 (eval $ac_compile) 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try='test -z "$ac_cxx_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25076 ac_status=$?
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try='test -s conftest.$ac_objext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 glibcxx_cv_func__sincos_use=yes
25086 else
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.$ac_ext >&5
25090 glibcxx_cv_func__sincos_use=no
25092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25093 ac_ext=c
25094 ac_cpp='$CPP $CPPFLAGS'
25095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25104 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25106 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25108 for ac_func in _sincos
25110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25111 echo "$as_me:$LINENO: checking for $ac_func" >&5
25112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25113 if eval "test \"\${$as_ac_var+set}\" = set"; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 else
25116 if test x$gcc_no_link = xyes; then
25117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25119 { (exit 1); exit 1; }; }
25121 cat >conftest.$ac_ext <<_ACEOF
25122 /* confdefs.h. */
25123 _ACEOF
25124 cat confdefs.h >>conftest.$ac_ext
25125 cat >>conftest.$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25129 #define $ac_func innocuous_$ac_func
25131 /* System header to define __stub macros and hopefully few prototypes,
25132 which can conflict with char $ac_func (); below.
25133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25134 <limits.h> exists even on freestanding compilers. */
25136 #ifdef __STDC__
25137 # include <limits.h>
25138 #else
25139 # include <assert.h>
25140 #endif
25142 #undef $ac_func
25144 /* Override any gcc2 internal prototype to avoid an error. */
25145 #ifdef __cplusplus
25146 extern "C"
25148 #endif
25149 /* We use char because int might match the return type of a gcc2
25150 builtin and then its argument prototype would still apply. */
25151 char $ac_func ();
25152 /* The GNU C library defines this for functions which it implements
25153 to always fail with ENOSYS. Some functions are actually named
25154 something starting with __ and the normal name is an alias. */
25155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25156 choke me
25157 #else
25158 char (*f) () = $ac_func;
25159 #endif
25160 #ifdef __cplusplus
25162 #endif
25165 main ()
25167 return f != $ac_func;
25169 return 0;
25171 _ACEOF
25172 rm -f conftest.$ac_objext conftest$ac_exeext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25174 (eval $ac_link) 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try='test -z "$ac_c_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try='test -s conftest$ac_exeext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25191 ac_status=$?
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 eval "$as_ac_var=yes"
25195 else
25196 echo "$as_me: failed program was:" >&5
25197 sed 's/^/| /' conftest.$ac_ext >&5
25199 eval "$as_ac_var=no"
25201 rm -f conftest.err conftest.$ac_objext \
25202 conftest$ac_exeext conftest.$ac_ext
25204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25206 if test `eval echo '${'$as_ac_var'}'` = yes; then
25207 cat >>confdefs.h <<_ACEOF
25208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25209 _ACEOF
25212 done
25222 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25223 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25224 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25225 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25227 else
25231 ac_ext=cc
25232 ac_cpp='$CXXCPP $CPPFLAGS'
25233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25237 cat >conftest.$ac_ext <<_ACEOF
25238 /* confdefs.h. */
25239 _ACEOF
25240 cat confdefs.h >>conftest.$ac_ext
25241 cat >>conftest.$ac_ext <<_ACEOF
25242 /* end confdefs.h. */
25243 #include <math.h>
25244 #ifdef HAVE_IEEEFP_H
25245 #include <ieeefp.h>
25246 #endif
25249 main ()
25251 fpclass(0);
25253 return 0;
25255 _ACEOF
25256 rm -f conftest.$ac_objext
25257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25258 (eval $ac_compile) 2>conftest.er1
25259 ac_status=$?
25260 grep -v '^ *+' conftest.er1 >conftest.err
25261 rm -f conftest.er1
25262 cat conftest.err >&5
25263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25264 (exit $ac_status); } &&
25265 { ac_try='test -z "$ac_cxx_werror_flag"
25266 || test ! -s conftest.err'
25267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25268 (eval $ac_try) 2>&5
25269 ac_status=$?
25270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25271 (exit $ac_status); }; } &&
25272 { ac_try='test -s conftest.$ac_objext'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25275 ac_status=$?
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; }; then
25278 glibcxx_cv_func_fpclass_use=yes
25279 else
25280 echo "$as_me: failed program was:" >&5
25281 sed 's/^/| /' conftest.$ac_ext >&5
25283 glibcxx_cv_func_fpclass_use=no
25285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25286 ac_ext=c
25287 ac_cpp='$CPP $CPPFLAGS'
25288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25297 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25299 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25301 for ac_func in fpclass
25303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25304 echo "$as_me:$LINENO: checking for $ac_func" >&5
25305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25306 if eval "test \"\${$as_ac_var+set}\" = set"; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 else
25309 if test x$gcc_no_link = xyes; then
25310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25312 { (exit 1); exit 1; }; }
25314 cat >conftest.$ac_ext <<_ACEOF
25315 /* confdefs.h. */
25316 _ACEOF
25317 cat confdefs.h >>conftest.$ac_ext
25318 cat >>conftest.$ac_ext <<_ACEOF
25319 /* end confdefs.h. */
25320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25322 #define $ac_func innocuous_$ac_func
25324 /* System header to define __stub macros and hopefully few prototypes,
25325 which can conflict with char $ac_func (); below.
25326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25327 <limits.h> exists even on freestanding compilers. */
25329 #ifdef __STDC__
25330 # include <limits.h>
25331 #else
25332 # include <assert.h>
25333 #endif
25335 #undef $ac_func
25337 /* Override any gcc2 internal prototype to avoid an error. */
25338 #ifdef __cplusplus
25339 extern "C"
25341 #endif
25342 /* We use char because int might match the return type of a gcc2
25343 builtin and then its argument prototype would still apply. */
25344 char $ac_func ();
25345 /* The GNU C library defines this for functions which it implements
25346 to always fail with ENOSYS. Some functions are actually named
25347 something starting with __ and the normal name is an alias. */
25348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25349 choke me
25350 #else
25351 char (*f) () = $ac_func;
25352 #endif
25353 #ifdef __cplusplus
25355 #endif
25358 main ()
25360 return f != $ac_func;
25362 return 0;
25364 _ACEOF
25365 rm -f conftest.$ac_objext conftest$ac_exeext
25366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25367 (eval $ac_link) 2>conftest.er1
25368 ac_status=$?
25369 grep -v '^ *+' conftest.er1 >conftest.err
25370 rm -f conftest.er1
25371 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } &&
25374 { ac_try='test -z "$ac_c_werror_flag"
25375 || test ! -s conftest.err'
25376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25377 (eval $ac_try) 2>&5
25378 ac_status=$?
25379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25380 (exit $ac_status); }; } &&
25381 { ac_try='test -s conftest$ac_exeext'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25384 ac_status=$?
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; }; then
25387 eval "$as_ac_var=yes"
25388 else
25389 echo "$as_me: failed program was:" >&5
25390 sed 's/^/| /' conftest.$ac_ext >&5
25392 eval "$as_ac_var=no"
25394 rm -f conftest.err conftest.$ac_objext \
25395 conftest$ac_exeext conftest.$ac_ext
25397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25399 if test `eval echo '${'$as_ac_var'}'` = yes; then
25400 cat >>confdefs.h <<_ACEOF
25401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25402 _ACEOF
25405 done
25407 else
25409 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25410 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25411 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25412 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 else
25418 ac_ext=cc
25419 ac_cpp='$CXXCPP $CPPFLAGS'
25420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25424 cat >conftest.$ac_ext <<_ACEOF
25425 /* confdefs.h. */
25426 _ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25430 #include <math.h>
25431 #ifdef HAVE_IEEEFP_H
25432 #include <ieeefp.h>
25433 #endif
25436 main ()
25438 _fpclass(0);
25440 return 0;
25442 _ACEOF
25443 rm -f conftest.$ac_objext
25444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25445 (eval $ac_compile) 2>conftest.er1
25446 ac_status=$?
25447 grep -v '^ *+' conftest.er1 >conftest.err
25448 rm -f conftest.er1
25449 cat conftest.err >&5
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } &&
25452 { ac_try='test -z "$ac_cxx_werror_flag"
25453 || test ! -s conftest.err'
25454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25455 (eval $ac_try) 2>&5
25456 ac_status=$?
25457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25458 (exit $ac_status); }; } &&
25459 { ac_try='test -s conftest.$ac_objext'
25460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25461 (eval $ac_try) 2>&5
25462 ac_status=$?
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); }; }; then
25465 glibcxx_cv_func__fpclass_use=yes
25466 else
25467 echo "$as_me: failed program was:" >&5
25468 sed 's/^/| /' conftest.$ac_ext >&5
25470 glibcxx_cv_func__fpclass_use=no
25472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25473 ac_ext=c
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25484 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25486 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25488 for ac_func in _fpclass
25490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25491 echo "$as_me:$LINENO: checking for $ac_func" >&5
25492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25493 if eval "test \"\${$as_ac_var+set}\" = set"; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 else
25496 if test x$gcc_no_link = xyes; then
25497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25499 { (exit 1); exit 1; }; }
25501 cat >conftest.$ac_ext <<_ACEOF
25502 /* confdefs.h. */
25503 _ACEOF
25504 cat confdefs.h >>conftest.$ac_ext
25505 cat >>conftest.$ac_ext <<_ACEOF
25506 /* end confdefs.h. */
25507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25509 #define $ac_func innocuous_$ac_func
25511 /* System header to define __stub macros and hopefully few prototypes,
25512 which can conflict with char $ac_func (); below.
25513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25514 <limits.h> exists even on freestanding compilers. */
25516 #ifdef __STDC__
25517 # include <limits.h>
25518 #else
25519 # include <assert.h>
25520 #endif
25522 #undef $ac_func
25524 /* Override any gcc2 internal prototype to avoid an error. */
25525 #ifdef __cplusplus
25526 extern "C"
25528 #endif
25529 /* We use char because int might match the return type of a gcc2
25530 builtin and then its argument prototype would still apply. */
25531 char $ac_func ();
25532 /* The GNU C library defines this for functions which it implements
25533 to always fail with ENOSYS. Some functions are actually named
25534 something starting with __ and the normal name is an alias. */
25535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25536 choke me
25537 #else
25538 char (*f) () = $ac_func;
25539 #endif
25540 #ifdef __cplusplus
25542 #endif
25545 main ()
25547 return f != $ac_func;
25549 return 0;
25551 _ACEOF
25552 rm -f conftest.$ac_objext conftest$ac_exeext
25553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25554 (eval $ac_link) 2>conftest.er1
25555 ac_status=$?
25556 grep -v '^ *+' conftest.er1 >conftest.err
25557 rm -f conftest.er1
25558 cat conftest.err >&5
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); } &&
25561 { ac_try='test -z "$ac_c_werror_flag"
25562 || test ! -s conftest.err'
25563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25564 (eval $ac_try) 2>&5
25565 ac_status=$?
25566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25567 (exit $ac_status); }; } &&
25568 { ac_try='test -s conftest$ac_exeext'
25569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25570 (eval $ac_try) 2>&5
25571 ac_status=$?
25572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25573 (exit $ac_status); }; }; then
25574 eval "$as_ac_var=yes"
25575 else
25576 echo "$as_me: failed program was:" >&5
25577 sed 's/^/| /' conftest.$ac_ext >&5
25579 eval "$as_ac_var=no"
25581 rm -f conftest.err conftest.$ac_objext \
25582 conftest$ac_exeext conftest.$ac_ext
25584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25586 if test `eval echo '${'$as_ac_var'}'` = yes; then
25587 cat >>confdefs.h <<_ACEOF
25588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25589 _ACEOF
25592 done
25602 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25603 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25604 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25605 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 else
25611 ac_ext=cc
25612 ac_cpp='$CXXCPP $CPPFLAGS'
25613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25617 cat >conftest.$ac_ext <<_ACEOF
25618 /* confdefs.h. */
25619 _ACEOF
25620 cat confdefs.h >>conftest.$ac_ext
25621 cat >>conftest.$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623 #include <math.h>
25624 #ifdef HAVE_IEEEFP_H
25625 #include <ieeefp.h>
25626 #endif
25629 main ()
25631 qfpclass(0);
25633 return 0;
25635 _ACEOF
25636 rm -f conftest.$ac_objext
25637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25638 (eval $ac_compile) 2>conftest.er1
25639 ac_status=$?
25640 grep -v '^ *+' conftest.er1 >conftest.err
25641 rm -f conftest.er1
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } &&
25645 { ac_try='test -z "$ac_cxx_werror_flag"
25646 || test ! -s conftest.err'
25647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25648 (eval $ac_try) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); }; } &&
25652 { ac_try='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25658 glibcxx_cv_func_qfpclass_use=yes
25659 else
25660 echo "$as_me: failed program was:" >&5
25661 sed 's/^/| /' conftest.$ac_ext >&5
25663 glibcxx_cv_func_qfpclass_use=no
25665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
25677 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
25679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
25681 for ac_func in qfpclass
25683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25684 echo "$as_me:$LINENO: checking for $ac_func" >&5
25685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25686 if eval "test \"\${$as_ac_var+set}\" = set"; then
25687 echo $ECHO_N "(cached) $ECHO_C" >&6
25688 else
25689 if test x$gcc_no_link = xyes; then
25690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25692 { (exit 1); exit 1; }; }
25694 cat >conftest.$ac_ext <<_ACEOF
25695 /* confdefs.h. */
25696 _ACEOF
25697 cat confdefs.h >>conftest.$ac_ext
25698 cat >>conftest.$ac_ext <<_ACEOF
25699 /* end confdefs.h. */
25700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25702 #define $ac_func innocuous_$ac_func
25704 /* System header to define __stub macros and hopefully few prototypes,
25705 which can conflict with char $ac_func (); below.
25706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25707 <limits.h> exists even on freestanding compilers. */
25709 #ifdef __STDC__
25710 # include <limits.h>
25711 #else
25712 # include <assert.h>
25713 #endif
25715 #undef $ac_func
25717 /* Override any gcc2 internal prototype to avoid an error. */
25718 #ifdef __cplusplus
25719 extern "C"
25721 #endif
25722 /* We use char because int might match the return type of a gcc2
25723 builtin and then its argument prototype would still apply. */
25724 char $ac_func ();
25725 /* The GNU C library defines this for functions which it implements
25726 to always fail with ENOSYS. Some functions are actually named
25727 something starting with __ and the normal name is an alias. */
25728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25729 choke me
25730 #else
25731 char (*f) () = $ac_func;
25732 #endif
25733 #ifdef __cplusplus
25735 #endif
25738 main ()
25740 return f != $ac_func;
25742 return 0;
25744 _ACEOF
25745 rm -f conftest.$ac_objext conftest$ac_exeext
25746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25747 (eval $ac_link) 2>conftest.er1
25748 ac_status=$?
25749 grep -v '^ *+' conftest.er1 >conftest.err
25750 rm -f conftest.er1
25751 cat conftest.err >&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); } &&
25754 { ac_try='test -z "$ac_c_werror_flag"
25755 || test ! -s conftest.err'
25756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25757 (eval $ac_try) 2>&5
25758 ac_status=$?
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); }; } &&
25761 { ac_try='test -s conftest$ac_exeext'
25762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25763 (eval $ac_try) 2>&5
25764 ac_status=$?
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); }; }; then
25767 eval "$as_ac_var=yes"
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25772 eval "$as_ac_var=no"
25774 rm -f conftest.err conftest.$ac_objext \
25775 conftest$ac_exeext conftest.$ac_ext
25777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25779 if test `eval echo '${'$as_ac_var'}'` = yes; then
25780 cat >>confdefs.h <<_ACEOF
25781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25782 _ACEOF
25785 done
25787 else
25789 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
25790 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
25791 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
25792 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25798 ac_ext=cc
25799 ac_cpp='$CXXCPP $CPPFLAGS'
25800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810 #include <math.h>
25811 #ifdef HAVE_IEEEFP_H
25812 #include <ieeefp.h>
25813 #endif
25816 main ()
25818 _qfpclass(0);
25820 return 0;
25822 _ACEOF
25823 rm -f conftest.$ac_objext
25824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25825 (eval $ac_compile) 2>conftest.er1
25826 ac_status=$?
25827 grep -v '^ *+' conftest.er1 >conftest.err
25828 rm -f conftest.er1
25829 cat conftest.err >&5
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); } &&
25832 { ac_try='test -z "$ac_cxx_werror_flag"
25833 || test ! -s conftest.err'
25834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25835 (eval $ac_try) 2>&5
25836 ac_status=$?
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); }; } &&
25839 { ac_try='test -s conftest.$ac_objext'
25840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25841 (eval $ac_try) 2>&5
25842 ac_status=$?
25843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25844 (exit $ac_status); }; }; then
25845 glibcxx_cv_func__qfpclass_use=yes
25846 else
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.$ac_ext >&5
25850 glibcxx_cv_func__qfpclass_use=no
25852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25853 ac_ext=c
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
25864 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
25866 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
25868 for ac_func in _qfpclass
25870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25871 echo "$as_me:$LINENO: checking for $ac_func" >&5
25872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25873 if eval "test \"\${$as_ac_var+set}\" = set"; then
25874 echo $ECHO_N "(cached) $ECHO_C" >&6
25875 else
25876 if test x$gcc_no_link = xyes; then
25877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25879 { (exit 1); exit 1; }; }
25881 cat >conftest.$ac_ext <<_ACEOF
25882 /* confdefs.h. */
25883 _ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25889 #define $ac_func innocuous_$ac_func
25891 /* System header to define __stub macros and hopefully few prototypes,
25892 which can conflict with char $ac_func (); below.
25893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25894 <limits.h> exists even on freestanding compilers. */
25896 #ifdef __STDC__
25897 # include <limits.h>
25898 #else
25899 # include <assert.h>
25900 #endif
25902 #undef $ac_func
25904 /* Override any gcc2 internal prototype to avoid an error. */
25905 #ifdef __cplusplus
25906 extern "C"
25908 #endif
25909 /* We use char because int might match the return type of a gcc2
25910 builtin and then its argument prototype would still apply. */
25911 char $ac_func ();
25912 /* The GNU C library defines this for functions which it implements
25913 to always fail with ENOSYS. Some functions are actually named
25914 something starting with __ and the normal name is an alias. */
25915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25916 choke me
25917 #else
25918 char (*f) () = $ac_func;
25919 #endif
25920 #ifdef __cplusplus
25922 #endif
25925 main ()
25927 return f != $ac_func;
25929 return 0;
25931 _ACEOF
25932 rm -f conftest.$ac_objext conftest$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>conftest.er1
25935 ac_status=$?
25936 grep -v '^ *+' conftest.er1 >conftest.err
25937 rm -f conftest.er1
25938 cat conftest.err >&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try='test -z "$ac_c_werror_flag"
25942 || test ! -s conftest.err'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; } &&
25948 { ac_try='test -s conftest$ac_exeext'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; }; then
25954 eval "$as_ac_var=yes"
25955 else
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.$ac_ext >&5
25959 eval "$as_ac_var=no"
25961 rm -f conftest.err conftest.$ac_objext \
25962 conftest$ac_exeext conftest.$ac_ext
25964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25966 if test `eval echo '${'$as_ac_var'}'` = yes; then
25967 cat >>confdefs.h <<_ACEOF
25968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25969 _ACEOF
25972 done
25982 echo "$as_me:$LINENO: checking for hypot declaration" >&5
25983 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
25984 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
25985 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25987 else
25991 ac_ext=cc
25992 ac_cpp='$CXXCPP $CPPFLAGS'
25993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003 #include <math.h>
26005 main ()
26007 hypot(0, 0);
26009 return 0;
26011 _ACEOF
26012 rm -f conftest.$ac_objext
26013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26014 (eval $ac_compile) 2>conftest.er1
26015 ac_status=$?
26016 grep -v '^ *+' conftest.er1 >conftest.err
26017 rm -f conftest.er1
26018 cat conftest.err >&5
26019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26020 (exit $ac_status); } &&
26021 { ac_try='test -z "$ac_cxx_werror_flag"
26022 || test ! -s conftest.err'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; } &&
26028 { ac_try='test -s conftest.$ac_objext'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26031 ac_status=$?
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; }; then
26034 glibcxx_cv_func_hypot_use=yes
26035 else
26036 echo "$as_me: failed program was:" >&5
26037 sed 's/^/| /' conftest.$ac_ext >&5
26039 glibcxx_cv_func_hypot_use=no
26041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26042 ac_ext=c
26043 ac_cpp='$CPP $CPPFLAGS'
26044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26053 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26055 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26057 for ac_func in hypot
26059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26060 echo "$as_me:$LINENO: checking for $ac_func" >&5
26061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26062 if eval "test \"\${$as_ac_var+set}\" = set"; then
26063 echo $ECHO_N "(cached) $ECHO_C" >&6
26064 else
26065 if test x$gcc_no_link = xyes; then
26066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26068 { (exit 1); exit 1; }; }
26070 cat >conftest.$ac_ext <<_ACEOF
26071 /* confdefs.h. */
26072 _ACEOF
26073 cat confdefs.h >>conftest.$ac_ext
26074 cat >>conftest.$ac_ext <<_ACEOF
26075 /* end confdefs.h. */
26076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26078 #define $ac_func innocuous_$ac_func
26080 /* System header to define __stub macros and hopefully few prototypes,
26081 which can conflict with char $ac_func (); below.
26082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26083 <limits.h> exists even on freestanding compilers. */
26085 #ifdef __STDC__
26086 # include <limits.h>
26087 #else
26088 # include <assert.h>
26089 #endif
26091 #undef $ac_func
26093 /* Override any gcc2 internal prototype to avoid an error. */
26094 #ifdef __cplusplus
26095 extern "C"
26097 #endif
26098 /* We use char because int might match the return type of a gcc2
26099 builtin and then its argument prototype would still apply. */
26100 char $ac_func ();
26101 /* The GNU C library defines this for functions which it implements
26102 to always fail with ENOSYS. Some functions are actually named
26103 something starting with __ and the normal name is an alias. */
26104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26105 choke me
26106 #else
26107 char (*f) () = $ac_func;
26108 #endif
26109 #ifdef __cplusplus
26111 #endif
26114 main ()
26116 return f != $ac_func;
26118 return 0;
26120 _ACEOF
26121 rm -f conftest.$ac_objext conftest$ac_exeext
26122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26123 (eval $ac_link) 2>conftest.er1
26124 ac_status=$?
26125 grep -v '^ *+' conftest.er1 >conftest.err
26126 rm -f conftest.er1
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } &&
26130 { ac_try='test -z "$ac_c_werror_flag"
26131 || test ! -s conftest.err'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26134 ac_status=$?
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; } &&
26137 { ac_try='test -s conftest$ac_exeext'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26140 ac_status=$?
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; }; then
26143 eval "$as_ac_var=yes"
26144 else
26145 echo "$as_me: failed program was:" >&5
26146 sed 's/^/| /' conftest.$ac_ext >&5
26148 eval "$as_ac_var=no"
26150 rm -f conftest.err conftest.$ac_objext \
26151 conftest$ac_exeext conftest.$ac_ext
26153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26155 if test `eval echo '${'$as_ac_var'}'` = yes; then
26156 cat >>confdefs.h <<_ACEOF
26157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26158 _ACEOF
26161 done
26163 else
26165 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26166 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26167 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26168 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26169 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 else
26174 ac_ext=cc
26175 ac_cpp='$CXXCPP $CPPFLAGS'
26176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26180 cat >conftest.$ac_ext <<_ACEOF
26181 /* confdefs.h. */
26182 _ACEOF
26183 cat confdefs.h >>conftest.$ac_ext
26184 cat >>conftest.$ac_ext <<_ACEOF
26185 /* end confdefs.h. */
26186 #include <math.h>
26188 main ()
26190 _hypot(0, 0);
26192 return 0;
26194 _ACEOF
26195 rm -f conftest.$ac_objext
26196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26197 (eval $ac_compile) 2>conftest.er1
26198 ac_status=$?
26199 grep -v '^ *+' conftest.er1 >conftest.err
26200 rm -f conftest.er1
26201 cat conftest.err >&5
26202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26203 (exit $ac_status); } &&
26204 { ac_try='test -z "$ac_cxx_werror_flag"
26205 || test ! -s conftest.err'
26206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26207 (eval $ac_try) 2>&5
26208 ac_status=$?
26209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210 (exit $ac_status); }; } &&
26211 { ac_try='test -s conftest.$ac_objext'
26212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26213 (eval $ac_try) 2>&5
26214 ac_status=$?
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); }; }; then
26217 glibcxx_cv_func__hypot_use=yes
26218 else
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.$ac_ext >&5
26222 glibcxx_cv_func__hypot_use=no
26224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26225 ac_ext=c
26226 ac_cpp='$CPP $CPPFLAGS'
26227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26236 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26238 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26240 for ac_func in _hypot
26242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26243 echo "$as_me:$LINENO: checking for $ac_func" >&5
26244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26245 if eval "test \"\${$as_ac_var+set}\" = set"; then
26246 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 else
26248 if test x$gcc_no_link = xyes; then
26249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26251 { (exit 1); exit 1; }; }
26253 cat >conftest.$ac_ext <<_ACEOF
26254 /* confdefs.h. */
26255 _ACEOF
26256 cat confdefs.h >>conftest.$ac_ext
26257 cat >>conftest.$ac_ext <<_ACEOF
26258 /* end confdefs.h. */
26259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26261 #define $ac_func innocuous_$ac_func
26263 /* System header to define __stub macros and hopefully few prototypes,
26264 which can conflict with char $ac_func (); below.
26265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26266 <limits.h> exists even on freestanding compilers. */
26268 #ifdef __STDC__
26269 # include <limits.h>
26270 #else
26271 # include <assert.h>
26272 #endif
26274 #undef $ac_func
26276 /* Override any gcc2 internal prototype to avoid an error. */
26277 #ifdef __cplusplus
26278 extern "C"
26280 #endif
26281 /* We use char because int might match the return type of a gcc2
26282 builtin and then its argument prototype would still apply. */
26283 char $ac_func ();
26284 /* The GNU C library defines this for functions which it implements
26285 to always fail with ENOSYS. Some functions are actually named
26286 something starting with __ and the normal name is an alias. */
26287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26288 choke me
26289 #else
26290 char (*f) () = $ac_func;
26291 #endif
26292 #ifdef __cplusplus
26294 #endif
26297 main ()
26299 return f != $ac_func;
26301 return 0;
26303 _ACEOF
26304 rm -f conftest.$ac_objext conftest$ac_exeext
26305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26306 (eval $ac_link) 2>conftest.er1
26307 ac_status=$?
26308 grep -v '^ *+' conftest.er1 >conftest.err
26309 rm -f conftest.er1
26310 cat conftest.err >&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); } &&
26313 { ac_try='test -z "$ac_c_werror_flag"
26314 || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26317 ac_status=$?
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try='test -s conftest$ac_exeext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326 eval "$as_ac_var=yes"
26327 else
26328 echo "$as_me: failed program was:" >&5
26329 sed 's/^/| /' conftest.$ac_ext >&5
26331 eval "$as_ac_var=no"
26333 rm -f conftest.err conftest.$ac_objext \
26334 conftest$ac_exeext conftest.$ac_ext
26336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26338 if test `eval echo '${'$as_ac_var'}'` = yes; then
26339 cat >>confdefs.h <<_ACEOF
26340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26341 _ACEOF
26344 done
26354 echo "$as_me:$LINENO: checking for float trig functions" >&5
26355 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26356 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26362 ac_ext=cc
26363 ac_cpp='$CXXCPP $CPPFLAGS'
26364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26368 cat >conftest.$ac_ext <<_ACEOF
26369 /* confdefs.h. */
26370 _ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 #include <math.h>
26376 main ()
26378 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26380 return 0;
26382 _ACEOF
26383 rm -f conftest.$ac_objext
26384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26385 (eval $ac_compile) 2>conftest.er1
26386 ac_status=$?
26387 grep -v '^ *+' conftest.er1 >conftest.err
26388 rm -f conftest.er1
26389 cat conftest.err >&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } &&
26392 { ac_try='test -z "$ac_cxx_werror_flag"
26393 || test ! -s conftest.err'
26394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26395 (eval $ac_try) 2>&5
26396 ac_status=$?
26397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26398 (exit $ac_status); }; } &&
26399 { ac_try='test -s conftest.$ac_objext'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; }; then
26405 glibcxx_cv_func_float_trig_use=yes
26406 else
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26410 glibcxx_cv_func_float_trig_use=no
26412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26413 ac_ext=c
26414 ac_cpp='$CPP $CPPFLAGS'
26415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26422 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26423 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26433 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26436 echo "$as_me:$LINENO: checking for $ac_func" >&5
26437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26438 if eval "test \"\${$as_ac_var+set}\" = set"; then
26439 echo $ECHO_N "(cached) $ECHO_C" >&6
26440 else
26441 if test x$gcc_no_link = xyes; then
26442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26444 { (exit 1); exit 1; }; }
26446 cat >conftest.$ac_ext <<_ACEOF
26447 /* confdefs.h. */
26448 _ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h. */
26452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26454 #define $ac_func innocuous_$ac_func
26456 /* System header to define __stub macros and hopefully few prototypes,
26457 which can conflict with char $ac_func (); below.
26458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26459 <limits.h> exists even on freestanding compilers. */
26461 #ifdef __STDC__
26462 # include <limits.h>
26463 #else
26464 # include <assert.h>
26465 #endif
26467 #undef $ac_func
26469 /* Override any gcc2 internal prototype to avoid an error. */
26470 #ifdef __cplusplus
26471 extern "C"
26473 #endif
26474 /* We use char because int might match the return type of a gcc2
26475 builtin and then its argument prototype would still apply. */
26476 char $ac_func ();
26477 /* The GNU C library defines this for functions which it implements
26478 to always fail with ENOSYS. Some functions are actually named
26479 something starting with __ and the normal name is an alias. */
26480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26481 choke me
26482 #else
26483 char (*f) () = $ac_func;
26484 #endif
26485 #ifdef __cplusplus
26487 #endif
26490 main ()
26492 return f != $ac_func;
26494 return 0;
26496 _ACEOF
26497 rm -f conftest.$ac_objext conftest$ac_exeext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499 (eval $ac_link) 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } &&
26506 { ac_try='test -z "$ac_c_werror_flag"
26507 || test ! -s conftest.err'
26508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26509 (eval $ac_try) 2>&5
26510 ac_status=$?
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); }; } &&
26513 { ac_try='test -s conftest$ac_exeext'
26514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26515 (eval $ac_try) 2>&5
26516 ac_status=$?
26517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26518 (exit $ac_status); }; }; then
26519 eval "$as_ac_var=yes"
26520 else
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26524 eval "$as_ac_var=no"
26526 rm -f conftest.err conftest.$ac_objext \
26527 conftest$ac_exeext conftest.$ac_ext
26529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26531 if test `eval echo '${'$as_ac_var'}'` = yes; then
26532 cat >>confdefs.h <<_ACEOF
26533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26534 _ACEOF
26537 done
26539 else
26540 echo "$as_me:$LINENO: checking for _float trig functions" >&5
26541 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26542 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26543 echo $ECHO_N "(cached) $ECHO_C" >&6
26544 else
26548 ac_ext=cc
26549 ac_cpp='$CXXCPP $CPPFLAGS'
26550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26554 cat >conftest.$ac_ext <<_ACEOF
26555 /* confdefs.h. */
26556 _ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560 #include <math.h>
26562 main ()
26564 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26566 return 0;
26568 _ACEOF
26569 rm -f conftest.$ac_objext
26570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26571 (eval $ac_compile) 2>conftest.er1
26572 ac_status=$?
26573 grep -v '^ *+' conftest.er1 >conftest.err
26574 rm -f conftest.er1
26575 cat conftest.err >&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } &&
26578 { ac_try='test -z "$ac_cxx_werror_flag"
26579 || test ! -s conftest.err'
26580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26581 (eval $ac_try) 2>&5
26582 ac_status=$?
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); }; } &&
26585 { ac_try='test -s conftest.$ac_objext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 glibcxx_cv_func__float_trig_use=yes
26592 else
26593 echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.$ac_ext >&5
26596 glibcxx_cv_func__float_trig_use=no
26598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26599 ac_ext=c
26600 ac_cpp='$CPP $CPPFLAGS'
26601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26608 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26609 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26619 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26622 echo "$as_me:$LINENO: checking for $ac_func" >&5
26623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26624 if eval "test \"\${$as_ac_var+set}\" = set"; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 else
26627 if test x$gcc_no_link = xyes; then
26628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26630 { (exit 1); exit 1; }; }
26632 cat >conftest.$ac_ext <<_ACEOF
26633 /* confdefs.h. */
26634 _ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26640 #define $ac_func innocuous_$ac_func
26642 /* System header to define __stub macros and hopefully few prototypes,
26643 which can conflict with char $ac_func (); below.
26644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26645 <limits.h> exists even on freestanding compilers. */
26647 #ifdef __STDC__
26648 # include <limits.h>
26649 #else
26650 # include <assert.h>
26651 #endif
26653 #undef $ac_func
26655 /* Override any gcc2 internal prototype to avoid an error. */
26656 #ifdef __cplusplus
26657 extern "C"
26659 #endif
26660 /* We use char because int might match the return type of a gcc2
26661 builtin and then its argument prototype would still apply. */
26662 char $ac_func ();
26663 /* The GNU C library defines this for functions which it implements
26664 to always fail with ENOSYS. Some functions are actually named
26665 something starting with __ and the normal name is an alias. */
26666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26667 choke me
26668 #else
26669 char (*f) () = $ac_func;
26670 #endif
26671 #ifdef __cplusplus
26673 #endif
26676 main ()
26678 return f != $ac_func;
26680 return 0;
26682 _ACEOF
26683 rm -f conftest.$ac_objext conftest$ac_exeext
26684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26685 (eval $ac_link) 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } &&
26692 { ac_try='test -z "$ac_c_werror_flag"
26693 || test ! -s conftest.err'
26694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26695 (eval $ac_try) 2>&5
26696 ac_status=$?
26697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26698 (exit $ac_status); }; } &&
26699 { ac_try='test -s conftest$ac_exeext'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26702 ac_status=$?
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; }; then
26705 eval "$as_ac_var=yes"
26706 else
26707 echo "$as_me: failed program was:" >&5
26708 sed 's/^/| /' conftest.$ac_ext >&5
26710 eval "$as_ac_var=no"
26712 rm -f conftest.err conftest.$ac_objext \
26713 conftest$ac_exeext conftest.$ac_ext
26715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26717 if test `eval echo '${'$as_ac_var'}'` = yes; then
26718 cat >>confdefs.h <<_ACEOF
26719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26720 _ACEOF
26723 done
26741 echo "$as_me:$LINENO: checking for float round functions" >&5
26742 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
26743 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
26744 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 else
26749 ac_ext=cc
26750 ac_cpp='$CXXCPP $CPPFLAGS'
26751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26755 cat >conftest.$ac_ext <<_ACEOF
26756 /* confdefs.h. */
26757 _ACEOF
26758 cat confdefs.h >>conftest.$ac_ext
26759 cat >>conftest.$ac_ext <<_ACEOF
26760 /* end confdefs.h. */
26761 #include <math.h>
26763 main ()
26765 ceilf (0); floorf (0);
26767 return 0;
26769 _ACEOF
26770 rm -f conftest.$ac_objext
26771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26772 (eval $ac_compile) 2>conftest.er1
26773 ac_status=$?
26774 grep -v '^ *+' conftest.er1 >conftest.err
26775 rm -f conftest.er1
26776 cat conftest.err >&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); } &&
26779 { ac_try='test -z "$ac_cxx_werror_flag"
26780 || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26783 ac_status=$?
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try='test -s conftest.$ac_objext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26789 ac_status=$?
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 glibcxx_cv_func_float_round_use=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26797 glibcxx_cv_func_float_round_use=no
26799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26800 ac_ext=c
26801 ac_cpp='$CPP $CPPFLAGS'
26802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
26809 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
26810 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
26813 for ac_func in ceilf floorf
26815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26816 echo "$as_me:$LINENO: checking for $ac_func" >&5
26817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26818 if eval "test \"\${$as_ac_var+set}\" = set"; then
26819 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 else
26821 if test x$gcc_no_link = xyes; then
26822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26824 { (exit 1); exit 1; }; }
26826 cat >conftest.$ac_ext <<_ACEOF
26827 /* confdefs.h. */
26828 _ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26834 #define $ac_func innocuous_$ac_func
26836 /* System header to define __stub macros and hopefully few prototypes,
26837 which can conflict with char $ac_func (); below.
26838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26839 <limits.h> exists even on freestanding compilers. */
26841 #ifdef __STDC__
26842 # include <limits.h>
26843 #else
26844 # include <assert.h>
26845 #endif
26847 #undef $ac_func
26849 /* Override any gcc2 internal prototype to avoid an error. */
26850 #ifdef __cplusplus
26851 extern "C"
26853 #endif
26854 /* We use char because int might match the return type of a gcc2
26855 builtin and then its argument prototype would still apply. */
26856 char $ac_func ();
26857 /* The GNU C library defines this for functions which it implements
26858 to always fail with ENOSYS. Some functions are actually named
26859 something starting with __ and the normal name is an alias. */
26860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26861 choke me
26862 #else
26863 char (*f) () = $ac_func;
26864 #endif
26865 #ifdef __cplusplus
26867 #endif
26870 main ()
26872 return f != $ac_func;
26874 return 0;
26876 _ACEOF
26877 rm -f conftest.$ac_objext conftest$ac_exeext
26878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26879 (eval $ac_link) 2>conftest.er1
26880 ac_status=$?
26881 grep -v '^ *+' conftest.er1 >conftest.err
26882 rm -f conftest.er1
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } &&
26886 { ac_try='test -z "$ac_c_werror_flag"
26887 || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26890 ac_status=$?
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try='test -s conftest$ac_exeext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26896 ac_status=$?
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 eval "$as_ac_var=yes"
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26904 eval "$as_ac_var=no"
26906 rm -f conftest.err conftest.$ac_objext \
26907 conftest$ac_exeext conftest.$ac_ext
26909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26911 if test `eval echo '${'$as_ac_var'}'` = yes; then
26912 cat >>confdefs.h <<_ACEOF
26913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26914 _ACEOF
26917 done
26919 else
26920 echo "$as_me:$LINENO: checking for _float round functions" >&5
26921 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
26922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
26923 echo $ECHO_N "(cached) $ECHO_C" >&6
26924 else
26928 ac_ext=cc
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940 #include <math.h>
26942 main ()
26944 _ceilf (0); _floorf (0);
26946 return 0;
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>conftest.er1
26952 ac_status=$?
26953 grep -v '^ *+' conftest.er1 >conftest.err
26954 rm -f conftest.er1
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try='test -z "$ac_cxx_werror_flag"
26959 || test ! -s conftest.err'
26960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961 (eval $ac_try) 2>&5
26962 ac_status=$?
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; } &&
26965 { ac_try='test -s conftest.$ac_objext'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26968 ac_status=$?
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; }; then
26971 glibcxx_cv_func__float_round_use=yes
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26976 glibcxx_cv_func__float_round_use=no
26978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26979 ac_ext=c
26980 ac_cpp='$CPP $CPPFLAGS'
26981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
26988 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
26989 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
26992 for ac_func in _ceilf _floorf
26994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26995 echo "$as_me:$LINENO: checking for $ac_func" >&5
26996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26997 if eval "test \"\${$as_ac_var+set}\" = set"; then
26998 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 else
27000 if test x$gcc_no_link = xyes; then
27001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27003 { (exit 1); exit 1; }; }
27005 cat >conftest.$ac_ext <<_ACEOF
27006 /* confdefs.h. */
27007 _ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27013 #define $ac_func innocuous_$ac_func
27015 /* System header to define __stub macros and hopefully few prototypes,
27016 which can conflict with char $ac_func (); below.
27017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27018 <limits.h> exists even on freestanding compilers. */
27020 #ifdef __STDC__
27021 # include <limits.h>
27022 #else
27023 # include <assert.h>
27024 #endif
27026 #undef $ac_func
27028 /* Override any gcc2 internal prototype to avoid an error. */
27029 #ifdef __cplusplus
27030 extern "C"
27032 #endif
27033 /* We use char because int might match the return type of a gcc2
27034 builtin and then its argument prototype would still apply. */
27035 char $ac_func ();
27036 /* The GNU C library defines this for functions which it implements
27037 to always fail with ENOSYS. Some functions are actually named
27038 something starting with __ and the normal name is an alias. */
27039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27040 choke me
27041 #else
27042 char (*f) () = $ac_func;
27043 #endif
27044 #ifdef __cplusplus
27046 #endif
27049 main ()
27051 return f != $ac_func;
27053 return 0;
27055 _ACEOF
27056 rm -f conftest.$ac_objext conftest$ac_exeext
27057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27058 (eval $ac_link) 2>conftest.er1
27059 ac_status=$?
27060 grep -v '^ *+' conftest.er1 >conftest.err
27061 rm -f conftest.er1
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } &&
27065 { ac_try='test -z "$ac_c_werror_flag"
27066 || test ! -s conftest.err'
27067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27068 (eval $ac_try) 2>&5
27069 ac_status=$?
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); }; } &&
27072 { ac_try='test -s conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27075 ac_status=$?
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 eval "$as_ac_var=yes"
27079 else
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27083 eval "$as_ac_var=no"
27085 rm -f conftest.err conftest.$ac_objext \
27086 conftest$ac_exeext conftest.$ac_ext
27088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27090 if test `eval echo '${'$as_ac_var'}'` = yes; then
27091 cat >>confdefs.h <<_ACEOF
27092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27093 _ACEOF
27096 done
27108 echo "$as_me:$LINENO: checking for expf declaration" >&5
27109 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27110 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27111 if test "${glibcxx_cv_func_expf_use+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27117 ac_ext=cc
27118 ac_cpp='$CXXCPP $CPPFLAGS'
27119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27123 cat >conftest.$ac_ext <<_ACEOF
27124 /* confdefs.h. */
27125 _ACEOF
27126 cat confdefs.h >>conftest.$ac_ext
27127 cat >>conftest.$ac_ext <<_ACEOF
27128 /* end confdefs.h. */
27129 #include <math.h>
27130 #ifdef HAVE_IEEEFP_H
27131 #include <ieeefp.h>
27132 #endif
27135 main ()
27137 expf(0);
27139 return 0;
27141 _ACEOF
27142 rm -f conftest.$ac_objext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27144 (eval $ac_compile) 2>conftest.er1
27145 ac_status=$?
27146 grep -v '^ *+' conftest.er1 >conftest.err
27147 rm -f conftest.er1
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } &&
27151 { ac_try='test -z "$ac_cxx_werror_flag"
27152 || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27155 ac_status=$?
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try='test -s conftest.$ac_objext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27161 ac_status=$?
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 glibcxx_cv_func_expf_use=yes
27165 else
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27169 glibcxx_cv_func_expf_use=no
27171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27172 ac_ext=c
27173 ac_cpp='$CPP $CPPFLAGS'
27174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27182 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27183 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27185 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27187 for ac_func in expf
27189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27190 echo "$as_me:$LINENO: checking for $ac_func" >&5
27191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27192 if eval "test \"\${$as_ac_var+set}\" = set"; then
27193 echo $ECHO_N "(cached) $ECHO_C" >&6
27194 else
27195 if test x$gcc_no_link = xyes; then
27196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27198 { (exit 1); exit 1; }; }
27200 cat >conftest.$ac_ext <<_ACEOF
27201 /* confdefs.h. */
27202 _ACEOF
27203 cat confdefs.h >>conftest.$ac_ext
27204 cat >>conftest.$ac_ext <<_ACEOF
27205 /* end confdefs.h. */
27206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27208 #define $ac_func innocuous_$ac_func
27210 /* System header to define __stub macros and hopefully few prototypes,
27211 which can conflict with char $ac_func (); below.
27212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27213 <limits.h> exists even on freestanding compilers. */
27215 #ifdef __STDC__
27216 # include <limits.h>
27217 #else
27218 # include <assert.h>
27219 #endif
27221 #undef $ac_func
27223 /* Override any gcc2 internal prototype to avoid an error. */
27224 #ifdef __cplusplus
27225 extern "C"
27227 #endif
27228 /* We use char because int might match the return type of a gcc2
27229 builtin and then its argument prototype would still apply. */
27230 char $ac_func ();
27231 /* The GNU C library defines this for functions which it implements
27232 to always fail with ENOSYS. Some functions are actually named
27233 something starting with __ and the normal name is an alias. */
27234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27235 choke me
27236 #else
27237 char (*f) () = $ac_func;
27238 #endif
27239 #ifdef __cplusplus
27241 #endif
27244 main ()
27246 return f != $ac_func;
27248 return 0;
27250 _ACEOF
27251 rm -f conftest.$ac_objext conftest$ac_exeext
27252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27253 (eval $ac_link) 2>conftest.er1
27254 ac_status=$?
27255 grep -v '^ *+' conftest.er1 >conftest.err
27256 rm -f conftest.er1
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } &&
27260 { ac_try='test -z "$ac_c_werror_flag"
27261 || test ! -s conftest.err'
27262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27263 (eval $ac_try) 2>&5
27264 ac_status=$?
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); }; } &&
27267 { ac_try='test -s conftest$ac_exeext'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; }; then
27273 eval "$as_ac_var=yes"
27274 else
27275 echo "$as_me: failed program was:" >&5
27276 sed 's/^/| /' conftest.$ac_ext >&5
27278 eval "$as_ac_var=no"
27280 rm -f conftest.err conftest.$ac_objext \
27281 conftest$ac_exeext conftest.$ac_ext
27283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27285 if test `eval echo '${'$as_ac_var'}'` = yes; then
27286 cat >>confdefs.h <<_ACEOF
27287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27288 _ACEOF
27291 done
27293 else
27295 echo "$as_me:$LINENO: checking for _expf declaration" >&5
27296 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27297 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27298 if test "${glibcxx_cv_func__expf_use+set}" = set; then
27299 echo $ECHO_N "(cached) $ECHO_C" >&6
27300 else
27304 ac_ext=cc
27305 ac_cpp='$CXXCPP $CPPFLAGS'
27306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27310 cat >conftest.$ac_ext <<_ACEOF
27311 /* confdefs.h. */
27312 _ACEOF
27313 cat confdefs.h >>conftest.$ac_ext
27314 cat >>conftest.$ac_ext <<_ACEOF
27315 /* end confdefs.h. */
27316 #include <math.h>
27317 #ifdef HAVE_IEEEFP_H
27318 #include <ieeefp.h>
27319 #endif
27322 main ()
27324 _expf(0);
27326 return 0;
27328 _ACEOF
27329 rm -f conftest.$ac_objext
27330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27331 (eval $ac_compile) 2>conftest.er1
27332 ac_status=$?
27333 grep -v '^ *+' conftest.er1 >conftest.err
27334 rm -f conftest.er1
27335 cat conftest.err >&5
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); } &&
27338 { ac_try='test -z "$ac_cxx_werror_flag"
27339 || test ! -s conftest.err'
27340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27341 (eval $ac_try) 2>&5
27342 ac_status=$?
27343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27344 (exit $ac_status); }; } &&
27345 { ac_try='test -s conftest.$ac_objext'
27346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27347 (eval $ac_try) 2>&5
27348 ac_status=$?
27349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27350 (exit $ac_status); }; }; then
27351 glibcxx_cv_func__expf_use=yes
27352 else
27353 echo "$as_me: failed program was:" >&5
27354 sed 's/^/| /' conftest.$ac_ext >&5
27356 glibcxx_cv_func__expf_use=no
27358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27359 ac_ext=c
27360 ac_cpp='$CPP $CPPFLAGS'
27361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27370 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27372 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27374 for ac_func in _expf
27376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27379 if eval "test \"\${$as_ac_var+set}\" = set"; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 else
27382 if test x$gcc_no_link = xyes; then
27383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27385 { (exit 1); exit 1; }; }
27387 cat >conftest.$ac_ext <<_ACEOF
27388 /* confdefs.h. */
27389 _ACEOF
27390 cat confdefs.h >>conftest.$ac_ext
27391 cat >>conftest.$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27395 #define $ac_func innocuous_$ac_func
27397 /* System header to define __stub macros and hopefully few prototypes,
27398 which can conflict with char $ac_func (); below.
27399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27400 <limits.h> exists even on freestanding compilers. */
27402 #ifdef __STDC__
27403 # include <limits.h>
27404 #else
27405 # include <assert.h>
27406 #endif
27408 #undef $ac_func
27410 /* Override any gcc2 internal prototype to avoid an error. */
27411 #ifdef __cplusplus
27412 extern "C"
27414 #endif
27415 /* We use char because int might match the return type of a gcc2
27416 builtin and then its argument prototype would still apply. */
27417 char $ac_func ();
27418 /* The GNU C library defines this for functions which it implements
27419 to always fail with ENOSYS. Some functions are actually named
27420 something starting with __ and the normal name is an alias. */
27421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27422 choke me
27423 #else
27424 char (*f) () = $ac_func;
27425 #endif
27426 #ifdef __cplusplus
27428 #endif
27431 main ()
27433 return f != $ac_func;
27435 return 0;
27437 _ACEOF
27438 rm -f conftest.$ac_objext conftest$ac_exeext
27439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27440 (eval $ac_link) 2>conftest.er1
27441 ac_status=$?
27442 grep -v '^ *+' conftest.er1 >conftest.err
27443 rm -f conftest.er1
27444 cat conftest.err >&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } &&
27447 { ac_try='test -z "$ac_c_werror_flag"
27448 || test ! -s conftest.err'
27449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27450 (eval $ac_try) 2>&5
27451 ac_status=$?
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); }; } &&
27454 { ac_try='test -s conftest$ac_exeext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 eval "$as_ac_var=yes"
27461 else
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27465 eval "$as_ac_var=no"
27467 rm -f conftest.err conftest.$ac_objext \
27468 conftest$ac_exeext conftest.$ac_ext
27470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27472 if test `eval echo '${'$as_ac_var'}'` = yes; then
27473 cat >>confdefs.h <<_ACEOF
27474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27475 _ACEOF
27478 done
27488 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27489 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27490 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27491 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27492 echo $ECHO_N "(cached) $ECHO_C" >&6
27493 else
27497 ac_ext=cc
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27503 cat >conftest.$ac_ext <<_ACEOF
27504 /* confdefs.h. */
27505 _ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27509 #include <math.h>
27510 #ifdef HAVE_IEEEFP_H
27511 #include <ieeefp.h>
27512 #endif
27515 main ()
27517 isnanf(0);
27519 return 0;
27521 _ACEOF
27522 rm -f conftest.$ac_objext
27523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27524 (eval $ac_compile) 2>conftest.er1
27525 ac_status=$?
27526 grep -v '^ *+' conftest.er1 >conftest.err
27527 rm -f conftest.er1
27528 cat conftest.err >&5
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); } &&
27531 { ac_try='test -z "$ac_cxx_werror_flag"
27532 || test ! -s conftest.err'
27533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27534 (eval $ac_try) 2>&5
27535 ac_status=$?
27536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537 (exit $ac_status); }; } &&
27538 { ac_try='test -s conftest.$ac_objext'
27539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27540 (eval $ac_try) 2>&5
27541 ac_status=$?
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); }; }; then
27544 glibcxx_cv_func_isnanf_use=yes
27545 else
27546 echo "$as_me: failed program was:" >&5
27547 sed 's/^/| /' conftest.$ac_ext >&5
27549 glibcxx_cv_func_isnanf_use=no
27551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27552 ac_ext=c
27553 ac_cpp='$CPP $CPPFLAGS'
27554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27563 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27565 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27567 for ac_func in isnanf
27569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27570 echo "$as_me:$LINENO: checking for $ac_func" >&5
27571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27572 if eval "test \"\${$as_ac_var+set}\" = set"; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27574 else
27575 if test x$gcc_no_link = xyes; then
27576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27578 { (exit 1); exit 1; }; }
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27588 #define $ac_func innocuous_$ac_func
27590 /* System header to define __stub macros and hopefully few prototypes,
27591 which can conflict with char $ac_func (); below.
27592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27593 <limits.h> exists even on freestanding compilers. */
27595 #ifdef __STDC__
27596 # include <limits.h>
27597 #else
27598 # include <assert.h>
27599 #endif
27601 #undef $ac_func
27603 /* Override any gcc2 internal prototype to avoid an error. */
27604 #ifdef __cplusplus
27605 extern "C"
27607 #endif
27608 /* We use char because int might match the return type of a gcc2
27609 builtin and then its argument prototype would still apply. */
27610 char $ac_func ();
27611 /* The GNU C library defines this for functions which it implements
27612 to always fail with ENOSYS. Some functions are actually named
27613 something starting with __ and the normal name is an alias. */
27614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27615 choke me
27616 #else
27617 char (*f) () = $ac_func;
27618 #endif
27619 #ifdef __cplusplus
27621 #endif
27624 main ()
27626 return f != $ac_func;
27628 return 0;
27630 _ACEOF
27631 rm -f conftest.$ac_objext conftest$ac_exeext
27632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27633 (eval $ac_link) 2>conftest.er1
27634 ac_status=$?
27635 grep -v '^ *+' conftest.er1 >conftest.err
27636 rm -f conftest.er1
27637 cat conftest.err >&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } &&
27640 { ac_try='test -z "$ac_c_werror_flag"
27641 || test ! -s conftest.err'
27642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27643 (eval $ac_try) 2>&5
27644 ac_status=$?
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); }; } &&
27647 { ac_try='test -s conftest$ac_exeext'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27650 ac_status=$?
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; }; then
27653 eval "$as_ac_var=yes"
27654 else
27655 echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27658 eval "$as_ac_var=no"
27660 rm -f conftest.err conftest.$ac_objext \
27661 conftest$ac_exeext conftest.$ac_ext
27663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27665 if test `eval echo '${'$as_ac_var'}'` = yes; then
27666 cat >>confdefs.h <<_ACEOF
27667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27668 _ACEOF
27671 done
27673 else
27675 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27676 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
27677 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27678 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27680 else
27684 ac_ext=cc
27685 ac_cpp='$CXXCPP $CPPFLAGS'
27686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27690 cat >conftest.$ac_ext <<_ACEOF
27691 /* confdefs.h. */
27692 _ACEOF
27693 cat confdefs.h >>conftest.$ac_ext
27694 cat >>conftest.$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27696 #include <math.h>
27697 #ifdef HAVE_IEEEFP_H
27698 #include <ieeefp.h>
27699 #endif
27702 main ()
27704 _isnanf(0);
27706 return 0;
27708 _ACEOF
27709 rm -f conftest.$ac_objext
27710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27711 (eval $ac_compile) 2>conftest.er1
27712 ac_status=$?
27713 grep -v '^ *+' conftest.er1 >conftest.err
27714 rm -f conftest.er1
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } &&
27718 { ac_try='test -z "$ac_cxx_werror_flag"
27719 || test ! -s conftest.err'
27720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27721 (eval $ac_try) 2>&5
27722 ac_status=$?
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); }; } &&
27725 { ac_try='test -s conftest.$ac_objext'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; }; then
27731 glibcxx_cv_func__isnanf_use=yes
27732 else
27733 echo "$as_me: failed program was:" >&5
27734 sed 's/^/| /' conftest.$ac_ext >&5
27736 glibcxx_cv_func__isnanf_use=no
27738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27739 ac_ext=c
27740 ac_cpp='$CPP $CPPFLAGS'
27741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
27750 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
27752 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27754 for ac_func in _isnanf
27756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27757 echo "$as_me:$LINENO: checking for $ac_func" >&5
27758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27759 if eval "test \"\${$as_ac_var+set}\" = set"; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 else
27762 if test x$gcc_no_link = xyes; then
27763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27765 { (exit 1); exit 1; }; }
27767 cat >conftest.$ac_ext <<_ACEOF
27768 /* confdefs.h. */
27769 _ACEOF
27770 cat confdefs.h >>conftest.$ac_ext
27771 cat >>conftest.$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27775 #define $ac_func innocuous_$ac_func
27777 /* System header to define __stub macros and hopefully few prototypes,
27778 which can conflict with char $ac_func (); below.
27779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27780 <limits.h> exists even on freestanding compilers. */
27782 #ifdef __STDC__
27783 # include <limits.h>
27784 #else
27785 # include <assert.h>
27786 #endif
27788 #undef $ac_func
27790 /* Override any gcc2 internal prototype to avoid an error. */
27791 #ifdef __cplusplus
27792 extern "C"
27794 #endif
27795 /* We use char because int might match the return type of a gcc2
27796 builtin and then its argument prototype would still apply. */
27797 char $ac_func ();
27798 /* The GNU C library defines this for functions which it implements
27799 to always fail with ENOSYS. Some functions are actually named
27800 something starting with __ and the normal name is an alias. */
27801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27802 choke me
27803 #else
27804 char (*f) () = $ac_func;
27805 #endif
27806 #ifdef __cplusplus
27808 #endif
27811 main ()
27813 return f != $ac_func;
27815 return 0;
27817 _ACEOF
27818 rm -f conftest.$ac_objext conftest$ac_exeext
27819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27820 (eval $ac_link) 2>conftest.er1
27821 ac_status=$?
27822 grep -v '^ *+' conftest.er1 >conftest.err
27823 rm -f conftest.er1
27824 cat conftest.err >&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); } &&
27827 { ac_try='test -z "$ac_c_werror_flag"
27828 || test ! -s conftest.err'
27829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27830 (eval $ac_try) 2>&5
27831 ac_status=$?
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); }; } &&
27834 { ac_try='test -s conftest$ac_exeext'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27837 ac_status=$?
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; }; then
27840 eval "$as_ac_var=yes"
27841 else
27842 echo "$as_me: failed program was:" >&5
27843 sed 's/^/| /' conftest.$ac_ext >&5
27845 eval "$as_ac_var=no"
27847 rm -f conftest.err conftest.$ac_objext \
27848 conftest$ac_exeext conftest.$ac_ext
27850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27852 if test `eval echo '${'$as_ac_var'}'` = yes; then
27853 cat >>confdefs.h <<_ACEOF
27854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27855 _ACEOF
27858 done
27868 echo "$as_me:$LINENO: checking for isinff declaration" >&5
27869 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
27870 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27871 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 else
27877 ac_ext=cc
27878 ac_cpp='$CXXCPP $CPPFLAGS'
27879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27883 cat >conftest.$ac_ext <<_ACEOF
27884 /* confdefs.h. */
27885 _ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889 #include <math.h>
27890 #ifdef HAVE_IEEEFP_H
27891 #include <ieeefp.h>
27892 #endif
27895 main ()
27897 isinff(0);
27899 return 0;
27901 _ACEOF
27902 rm -f conftest.$ac_objext
27903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27904 (eval $ac_compile) 2>conftest.er1
27905 ac_status=$?
27906 grep -v '^ *+' conftest.er1 >conftest.err
27907 rm -f conftest.er1
27908 cat conftest.err >&5
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); } &&
27911 { ac_try='test -z "$ac_cxx_werror_flag"
27912 || test ! -s conftest.err'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27915 ac_status=$?
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; } &&
27918 { ac_try='test -s conftest.$ac_objext'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27921 ac_status=$?
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; }; then
27924 glibcxx_cv_func_isinff_use=yes
27925 else
27926 echo "$as_me: failed program was:" >&5
27927 sed 's/^/| /' conftest.$ac_ext >&5
27929 glibcxx_cv_func_isinff_use=no
27931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27932 ac_ext=c
27933 ac_cpp='$CPP $CPPFLAGS'
27934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
27943 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
27945 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
27947 for ac_func in isinff
27949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27950 echo "$as_me:$LINENO: checking for $ac_func" >&5
27951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27952 if eval "test \"\${$as_ac_var+set}\" = set"; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 if test x$gcc_no_link = xyes; then
27956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27958 { (exit 1); exit 1; }; }
27960 cat >conftest.$ac_ext <<_ACEOF
27961 /* confdefs.h. */
27962 _ACEOF
27963 cat confdefs.h >>conftest.$ac_ext
27964 cat >>conftest.$ac_ext <<_ACEOF
27965 /* end confdefs.h. */
27966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27968 #define $ac_func innocuous_$ac_func
27970 /* System header to define __stub macros and hopefully few prototypes,
27971 which can conflict with char $ac_func (); below.
27972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27973 <limits.h> exists even on freestanding compilers. */
27975 #ifdef __STDC__
27976 # include <limits.h>
27977 #else
27978 # include <assert.h>
27979 #endif
27981 #undef $ac_func
27983 /* Override any gcc2 internal prototype to avoid an error. */
27984 #ifdef __cplusplus
27985 extern "C"
27987 #endif
27988 /* We use char because int might match the return type of a gcc2
27989 builtin and then its argument prototype would still apply. */
27990 char $ac_func ();
27991 /* The GNU C library defines this for functions which it implements
27992 to always fail with ENOSYS. Some functions are actually named
27993 something starting with __ and the normal name is an alias. */
27994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27995 choke me
27996 #else
27997 char (*f) () = $ac_func;
27998 #endif
27999 #ifdef __cplusplus
28001 #endif
28004 main ()
28006 return f != $ac_func;
28008 return 0;
28010 _ACEOF
28011 rm -f conftest.$ac_objext conftest$ac_exeext
28012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28013 (eval $ac_link) 2>conftest.er1
28014 ac_status=$?
28015 grep -v '^ *+' conftest.er1 >conftest.err
28016 rm -f conftest.er1
28017 cat conftest.err >&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } &&
28020 { ac_try='test -z "$ac_c_werror_flag"
28021 || test ! -s conftest.err'
28022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28023 (eval $ac_try) 2>&5
28024 ac_status=$?
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); }; } &&
28027 { ac_try='test -s conftest$ac_exeext'
28028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28029 (eval $ac_try) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); }; }; then
28033 eval "$as_ac_var=yes"
28034 else
28035 echo "$as_me: failed program was:" >&5
28036 sed 's/^/| /' conftest.$ac_ext >&5
28038 eval "$as_ac_var=no"
28040 rm -f conftest.err conftest.$ac_objext \
28041 conftest$ac_exeext conftest.$ac_ext
28043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28045 if test `eval echo '${'$as_ac_var'}'` = yes; then
28046 cat >>confdefs.h <<_ACEOF
28047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28048 _ACEOF
28051 done
28053 else
28055 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28056 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28057 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28058 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28059 echo $ECHO_N "(cached) $ECHO_C" >&6
28060 else
28064 ac_ext=cc
28065 ac_cpp='$CXXCPP $CPPFLAGS'
28066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28070 cat >conftest.$ac_ext <<_ACEOF
28071 /* confdefs.h. */
28072 _ACEOF
28073 cat confdefs.h >>conftest.$ac_ext
28074 cat >>conftest.$ac_ext <<_ACEOF
28075 /* end confdefs.h. */
28076 #include <math.h>
28077 #ifdef HAVE_IEEEFP_H
28078 #include <ieeefp.h>
28079 #endif
28082 main ()
28084 _isinff(0);
28086 return 0;
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28092 ac_status=$?
28093 grep -v '^ *+' conftest.er1 >conftest.err
28094 rm -f conftest.er1
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -z "$ac_cxx_werror_flag"
28099 || test ! -s conftest.err'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; } &&
28105 { ac_try='test -s conftest.$ac_objext'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28108 ac_status=$?
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; }; then
28111 glibcxx_cv_func__isinff_use=yes
28112 else
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.$ac_ext >&5
28116 glibcxx_cv_func__isinff_use=no
28118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28119 ac_ext=c
28120 ac_cpp='$CPP $CPPFLAGS'
28121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28130 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28132 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28134 for ac_func in _isinff
28136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28137 echo "$as_me:$LINENO: checking for $ac_func" >&5
28138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28139 if eval "test \"\${$as_ac_var+set}\" = set"; then
28140 echo $ECHO_N "(cached) $ECHO_C" >&6
28141 else
28142 if test x$gcc_no_link = xyes; then
28143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28145 { (exit 1); exit 1; }; }
28147 cat >conftest.$ac_ext <<_ACEOF
28148 /* confdefs.h. */
28149 _ACEOF
28150 cat confdefs.h >>conftest.$ac_ext
28151 cat >>conftest.$ac_ext <<_ACEOF
28152 /* end confdefs.h. */
28153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28155 #define $ac_func innocuous_$ac_func
28157 /* System header to define __stub macros and hopefully few prototypes,
28158 which can conflict with char $ac_func (); below.
28159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28160 <limits.h> exists even on freestanding compilers. */
28162 #ifdef __STDC__
28163 # include <limits.h>
28164 #else
28165 # include <assert.h>
28166 #endif
28168 #undef $ac_func
28170 /* Override any gcc2 internal prototype to avoid an error. */
28171 #ifdef __cplusplus
28172 extern "C"
28174 #endif
28175 /* We use char because int might match the return type of a gcc2
28176 builtin and then its argument prototype would still apply. */
28177 char $ac_func ();
28178 /* The GNU C library defines this for functions which it implements
28179 to always fail with ENOSYS. Some functions are actually named
28180 something starting with __ and the normal name is an alias. */
28181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28182 choke me
28183 #else
28184 char (*f) () = $ac_func;
28185 #endif
28186 #ifdef __cplusplus
28188 #endif
28191 main ()
28193 return f != $ac_func;
28195 return 0;
28197 _ACEOF
28198 rm -f conftest.$ac_objext conftest$ac_exeext
28199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28200 (eval $ac_link) 2>conftest.er1
28201 ac_status=$?
28202 grep -v '^ *+' conftest.er1 >conftest.err
28203 rm -f conftest.er1
28204 cat conftest.err >&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); } &&
28207 { ac_try='test -z "$ac_c_werror_flag"
28208 || test ! -s conftest.err'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28211 ac_status=$?
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; } &&
28214 { ac_try='test -s conftest$ac_exeext'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28217 ac_status=$?
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; }; then
28220 eval "$as_ac_var=yes"
28221 else
28222 echo "$as_me: failed program was:" >&5
28223 sed 's/^/| /' conftest.$ac_ext >&5
28225 eval "$as_ac_var=no"
28227 rm -f conftest.err conftest.$ac_objext \
28228 conftest$ac_exeext conftest.$ac_ext
28230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 _ACEOF
28238 done
28248 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28249 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28250 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28251 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28257 ac_ext=cc
28258 ac_cpp='$CXXCPP $CPPFLAGS'
28259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269 #include <math.h>
28271 main ()
28273 atan2f(0, 0);
28275 return 0;
28277 _ACEOF
28278 rm -f conftest.$ac_objext
28279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28280 (eval $ac_compile) 2>conftest.er1
28281 ac_status=$?
28282 grep -v '^ *+' conftest.er1 >conftest.err
28283 rm -f conftest.er1
28284 cat conftest.err >&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); } &&
28287 { ac_try='test -z "$ac_cxx_werror_flag"
28288 || test ! -s conftest.err'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28291 ac_status=$?
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; } &&
28294 { ac_try='test -s conftest.$ac_objext'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28300 glibcxx_cv_func_atan2f_use=yes
28301 else
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.$ac_ext >&5
28305 glibcxx_cv_func_atan2f_use=no
28307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28308 ac_ext=c
28309 ac_cpp='$CPP $CPPFLAGS'
28310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28319 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28321 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28323 for ac_func in atan2f
28325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28326 echo "$as_me:$LINENO: checking for $ac_func" >&5
28327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28328 if eval "test \"\${$as_ac_var+set}\" = set"; then
28329 echo $ECHO_N "(cached) $ECHO_C" >&6
28330 else
28331 if test x$gcc_no_link = xyes; then
28332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28334 { (exit 1); exit 1; }; }
28336 cat >conftest.$ac_ext <<_ACEOF
28337 /* confdefs.h. */
28338 _ACEOF
28339 cat confdefs.h >>conftest.$ac_ext
28340 cat >>conftest.$ac_ext <<_ACEOF
28341 /* end confdefs.h. */
28342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28344 #define $ac_func innocuous_$ac_func
28346 /* System header to define __stub macros and hopefully few prototypes,
28347 which can conflict with char $ac_func (); below.
28348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28349 <limits.h> exists even on freestanding compilers. */
28351 #ifdef __STDC__
28352 # include <limits.h>
28353 #else
28354 # include <assert.h>
28355 #endif
28357 #undef $ac_func
28359 /* Override any gcc2 internal prototype to avoid an error. */
28360 #ifdef __cplusplus
28361 extern "C"
28363 #endif
28364 /* We use char because int might match the return type of a gcc2
28365 builtin and then its argument prototype would still apply. */
28366 char $ac_func ();
28367 /* The GNU C library defines this for functions which it implements
28368 to always fail with ENOSYS. Some functions are actually named
28369 something starting with __ and the normal name is an alias. */
28370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28371 choke me
28372 #else
28373 char (*f) () = $ac_func;
28374 #endif
28375 #ifdef __cplusplus
28377 #endif
28380 main ()
28382 return f != $ac_func;
28384 return 0;
28386 _ACEOF
28387 rm -f conftest.$ac_objext conftest$ac_exeext
28388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28389 (eval $ac_link) 2>conftest.er1
28390 ac_status=$?
28391 grep -v '^ *+' conftest.er1 >conftest.err
28392 rm -f conftest.er1
28393 cat conftest.err >&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } &&
28396 { ac_try='test -z "$ac_c_werror_flag"
28397 || test ! -s conftest.err'
28398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399 (eval $ac_try) 2>&5
28400 ac_status=$?
28401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402 (exit $ac_status); }; } &&
28403 { ac_try='test -s conftest$ac_exeext'
28404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28405 (eval $ac_try) 2>&5
28406 ac_status=$?
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 eval "$as_ac_var=yes"
28410 else
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.$ac_ext >&5
28414 eval "$as_ac_var=no"
28416 rm -f conftest.err conftest.$ac_objext \
28417 conftest$ac_exeext conftest.$ac_ext
28419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28421 if test `eval echo '${'$as_ac_var'}'` = yes; then
28422 cat >>confdefs.h <<_ACEOF
28423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28424 _ACEOF
28427 done
28429 else
28431 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28432 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28433 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28434 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28436 else
28440 ac_ext=cc
28441 ac_cpp='$CXXCPP $CPPFLAGS'
28442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28446 cat >conftest.$ac_ext <<_ACEOF
28447 /* confdefs.h. */
28448 _ACEOF
28449 cat confdefs.h >>conftest.$ac_ext
28450 cat >>conftest.$ac_ext <<_ACEOF
28451 /* end confdefs.h. */
28452 #include <math.h>
28454 main ()
28456 _atan2f(0, 0);
28458 return 0;
28460 _ACEOF
28461 rm -f conftest.$ac_objext
28462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28463 (eval $ac_compile) 2>conftest.er1
28464 ac_status=$?
28465 grep -v '^ *+' conftest.er1 >conftest.err
28466 rm -f conftest.er1
28467 cat conftest.err >&5
28468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28469 (exit $ac_status); } &&
28470 { ac_try='test -z "$ac_cxx_werror_flag"
28471 || test ! -s conftest.err'
28472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28473 (eval $ac_try) 2>&5
28474 ac_status=$?
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); }; } &&
28477 { ac_try='test -s conftest.$ac_objext'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28480 ac_status=$?
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; }; then
28483 glibcxx_cv_func__atan2f_use=yes
28484 else
28485 echo "$as_me: failed program was:" >&5
28486 sed 's/^/| /' conftest.$ac_ext >&5
28488 glibcxx_cv_func__atan2f_use=no
28490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28491 ac_ext=c
28492 ac_cpp='$CPP $CPPFLAGS'
28493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28502 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28504 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28506 for ac_func in _atan2f
28508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28509 echo "$as_me:$LINENO: checking for $ac_func" >&5
28510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28511 if eval "test \"\${$as_ac_var+set}\" = set"; then
28512 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 else
28514 if test x$gcc_no_link = xyes; then
28515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28517 { (exit 1); exit 1; }; }
28519 cat >conftest.$ac_ext <<_ACEOF
28520 /* confdefs.h. */
28521 _ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28527 #define $ac_func innocuous_$ac_func
28529 /* System header to define __stub macros and hopefully few prototypes,
28530 which can conflict with char $ac_func (); below.
28531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28532 <limits.h> exists even on freestanding compilers. */
28534 #ifdef __STDC__
28535 # include <limits.h>
28536 #else
28537 # include <assert.h>
28538 #endif
28540 #undef $ac_func
28542 /* Override any gcc2 internal prototype to avoid an error. */
28543 #ifdef __cplusplus
28544 extern "C"
28546 #endif
28547 /* We use char because int might match the return type of a gcc2
28548 builtin and then its argument prototype would still apply. */
28549 char $ac_func ();
28550 /* The GNU C library defines this for functions which it implements
28551 to always fail with ENOSYS. Some functions are actually named
28552 something starting with __ and the normal name is an alias. */
28553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28554 choke me
28555 #else
28556 char (*f) () = $ac_func;
28557 #endif
28558 #ifdef __cplusplus
28560 #endif
28563 main ()
28565 return f != $ac_func;
28567 return 0;
28569 _ACEOF
28570 rm -f conftest.$ac_objext conftest$ac_exeext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28572 (eval $ac_link) 2>conftest.er1
28573 ac_status=$?
28574 grep -v '^ *+' conftest.er1 >conftest.err
28575 rm -f conftest.er1
28576 cat conftest.err >&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } &&
28579 { ac_try='test -z "$ac_c_werror_flag"
28580 || test ! -s conftest.err'
28581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28582 (eval $ac_try) 2>&5
28583 ac_status=$?
28584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28585 (exit $ac_status); }; } &&
28586 { ac_try='test -s conftest$ac_exeext'
28587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28588 (eval $ac_try) 2>&5
28589 ac_status=$?
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; }; then
28592 eval "$as_ac_var=yes"
28593 else
28594 echo "$as_me: failed program was:" >&5
28595 sed 's/^/| /' conftest.$ac_ext >&5
28597 eval "$as_ac_var=no"
28599 rm -f conftest.err conftest.$ac_objext \
28600 conftest$ac_exeext conftest.$ac_ext
28602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28604 if test `eval echo '${'$as_ac_var'}'` = yes; then
28605 cat >>confdefs.h <<_ACEOF
28606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28607 _ACEOF
28610 done
28620 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28621 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28622 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28623 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 else
28629 ac_ext=cc
28630 ac_cpp='$CXXCPP $CPPFLAGS'
28631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28635 cat >conftest.$ac_ext <<_ACEOF
28636 /* confdefs.h. */
28637 _ACEOF
28638 cat confdefs.h >>conftest.$ac_ext
28639 cat >>conftest.$ac_ext <<_ACEOF
28640 /* end confdefs.h. */
28641 #include <math.h>
28642 #ifdef HAVE_IEEEFP_H
28643 #include <ieeefp.h>
28644 #endif
28647 main ()
28649 fabsf(0);
28651 return 0;
28653 _ACEOF
28654 rm -f conftest.$ac_objext
28655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28656 (eval $ac_compile) 2>conftest.er1
28657 ac_status=$?
28658 grep -v '^ *+' conftest.er1 >conftest.err
28659 rm -f conftest.er1
28660 cat conftest.err >&5
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); } &&
28663 { ac_try='test -z "$ac_cxx_werror_flag"
28664 || test ! -s conftest.err'
28665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28666 (eval $ac_try) 2>&5
28667 ac_status=$?
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); }; } &&
28670 { ac_try='test -s conftest.$ac_objext'
28671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28672 (eval $ac_try) 2>&5
28673 ac_status=$?
28674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28675 (exit $ac_status); }; }; then
28676 glibcxx_cv_func_fabsf_use=yes
28677 else
28678 echo "$as_me: failed program was:" >&5
28679 sed 's/^/| /' conftest.$ac_ext >&5
28681 glibcxx_cv_func_fabsf_use=no
28683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28684 ac_ext=c
28685 ac_cpp='$CPP $CPPFLAGS'
28686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
28695 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
28697 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28699 for ac_func in fabsf
28701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28702 echo "$as_me:$LINENO: checking for $ac_func" >&5
28703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28704 if eval "test \"\${$as_ac_var+set}\" = set"; then
28705 echo $ECHO_N "(cached) $ECHO_C" >&6
28706 else
28707 if test x$gcc_no_link = xyes; then
28708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28710 { (exit 1); exit 1; }; }
28712 cat >conftest.$ac_ext <<_ACEOF
28713 /* confdefs.h. */
28714 _ACEOF
28715 cat confdefs.h >>conftest.$ac_ext
28716 cat >>conftest.$ac_ext <<_ACEOF
28717 /* end confdefs.h. */
28718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28720 #define $ac_func innocuous_$ac_func
28722 /* System header to define __stub macros and hopefully few prototypes,
28723 which can conflict with char $ac_func (); below.
28724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28725 <limits.h> exists even on freestanding compilers. */
28727 #ifdef __STDC__
28728 # include <limits.h>
28729 #else
28730 # include <assert.h>
28731 #endif
28733 #undef $ac_func
28735 /* Override any gcc2 internal prototype to avoid an error. */
28736 #ifdef __cplusplus
28737 extern "C"
28739 #endif
28740 /* We use char because int might match the return type of a gcc2
28741 builtin and then its argument prototype would still apply. */
28742 char $ac_func ();
28743 /* The GNU C library defines this for functions which it implements
28744 to always fail with ENOSYS. Some functions are actually named
28745 something starting with __ and the normal name is an alias. */
28746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28747 choke me
28748 #else
28749 char (*f) () = $ac_func;
28750 #endif
28751 #ifdef __cplusplus
28753 #endif
28756 main ()
28758 return f != $ac_func;
28760 return 0;
28762 _ACEOF
28763 rm -f conftest.$ac_objext conftest$ac_exeext
28764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28765 (eval $ac_link) 2>conftest.er1
28766 ac_status=$?
28767 grep -v '^ *+' conftest.er1 >conftest.err
28768 rm -f conftest.er1
28769 cat conftest.err >&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } &&
28772 { ac_try='test -z "$ac_c_werror_flag"
28773 || test ! -s conftest.err'
28774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28775 (eval $ac_try) 2>&5
28776 ac_status=$?
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); }; } &&
28779 { ac_try='test -s conftest$ac_exeext'
28780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28781 (eval $ac_try) 2>&5
28782 ac_status=$?
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 eval "$as_ac_var=yes"
28786 else
28787 echo "$as_me: failed program was:" >&5
28788 sed 's/^/| /' conftest.$ac_ext >&5
28790 eval "$as_ac_var=no"
28792 rm -f conftest.err conftest.$ac_objext \
28793 conftest$ac_exeext conftest.$ac_ext
28795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28797 if test `eval echo '${'$as_ac_var'}'` = yes; then
28798 cat >>confdefs.h <<_ACEOF
28799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28800 _ACEOF
28803 done
28805 else
28807 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
28808 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
28809 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28810 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
28811 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 else
28816 ac_ext=cc
28817 ac_cpp='$CXXCPP $CPPFLAGS'
28818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28822 cat >conftest.$ac_ext <<_ACEOF
28823 /* confdefs.h. */
28824 _ACEOF
28825 cat confdefs.h >>conftest.$ac_ext
28826 cat >>conftest.$ac_ext <<_ACEOF
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28834 main ()
28836 _fabsf(0);
28838 return 0;
28840 _ACEOF
28841 rm -f conftest.$ac_objext
28842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28843 (eval $ac_compile) 2>conftest.er1
28844 ac_status=$?
28845 grep -v '^ *+' conftest.er1 >conftest.err
28846 rm -f conftest.er1
28847 cat conftest.err >&5
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); } &&
28850 { ac_try='test -z "$ac_cxx_werror_flag"
28851 || test ! -s conftest.err'
28852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28853 (eval $ac_try) 2>&5
28854 ac_status=$?
28855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28856 (exit $ac_status); }; } &&
28857 { ac_try='test -s conftest.$ac_objext'
28858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28859 (eval $ac_try) 2>&5
28860 ac_status=$?
28861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28862 (exit $ac_status); }; }; then
28863 glibcxx_cv_func__fabsf_use=yes
28864 else
28865 echo "$as_me: failed program was:" >&5
28866 sed 's/^/| /' conftest.$ac_ext >&5
28868 glibcxx_cv_func__fabsf_use=no
28870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28871 ac_ext=c
28872 ac_cpp='$CPP $CPPFLAGS'
28873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
28882 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
28884 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28886 for ac_func in _fabsf
28888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28889 echo "$as_me:$LINENO: checking for $ac_func" >&5
28890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28891 if eval "test \"\${$as_ac_var+set}\" = set"; then
28892 echo $ECHO_N "(cached) $ECHO_C" >&6
28893 else
28894 if test x$gcc_no_link = xyes; then
28895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28897 { (exit 1); exit 1; }; }
28899 cat >conftest.$ac_ext <<_ACEOF
28900 /* confdefs.h. */
28901 _ACEOF
28902 cat confdefs.h >>conftest.$ac_ext
28903 cat >>conftest.$ac_ext <<_ACEOF
28904 /* end confdefs.h. */
28905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28907 #define $ac_func innocuous_$ac_func
28909 /* System header to define __stub macros and hopefully few prototypes,
28910 which can conflict with char $ac_func (); below.
28911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28912 <limits.h> exists even on freestanding compilers. */
28914 #ifdef __STDC__
28915 # include <limits.h>
28916 #else
28917 # include <assert.h>
28918 #endif
28920 #undef $ac_func
28922 /* Override any gcc2 internal prototype to avoid an error. */
28923 #ifdef __cplusplus
28924 extern "C"
28926 #endif
28927 /* We use char because int might match the return type of a gcc2
28928 builtin and then its argument prototype would still apply. */
28929 char $ac_func ();
28930 /* The GNU C library defines this for functions which it implements
28931 to always fail with ENOSYS. Some functions are actually named
28932 something starting with __ and the normal name is an alias. */
28933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28934 choke me
28935 #else
28936 char (*f) () = $ac_func;
28937 #endif
28938 #ifdef __cplusplus
28940 #endif
28943 main ()
28945 return f != $ac_func;
28947 return 0;
28949 _ACEOF
28950 rm -f conftest.$ac_objext conftest$ac_exeext
28951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28952 (eval $ac_link) 2>conftest.er1
28953 ac_status=$?
28954 grep -v '^ *+' conftest.er1 >conftest.err
28955 rm -f conftest.er1
28956 cat conftest.err >&5
28957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28958 (exit $ac_status); } &&
28959 { ac_try='test -z "$ac_c_werror_flag"
28960 || test ! -s conftest.err'
28961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28962 (eval $ac_try) 2>&5
28963 ac_status=$?
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); }; } &&
28966 { ac_try='test -s conftest$ac_exeext'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28969 ac_status=$?
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; }; then
28972 eval "$as_ac_var=yes"
28973 else
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28977 eval "$as_ac_var=no"
28979 rm -f conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28984 if test `eval echo '${'$as_ac_var'}'` = yes; then
28985 cat >>confdefs.h <<_ACEOF
28986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28987 _ACEOF
28990 done
29000 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29001 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29002 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29003 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29005 else
29009 ac_ext=cc
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29015 cat >conftest.$ac_ext <<_ACEOF
29016 /* confdefs.h. */
29017 _ACEOF
29018 cat confdefs.h >>conftest.$ac_ext
29019 cat >>conftest.$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021 #include <math.h>
29023 main ()
29025 fmodf(0, 0);
29027 return 0;
29029 _ACEOF
29030 rm -f conftest.$ac_objext
29031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29032 (eval $ac_compile) 2>conftest.er1
29033 ac_status=$?
29034 grep -v '^ *+' conftest.er1 >conftest.err
29035 rm -f conftest.er1
29036 cat conftest.err >&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); } &&
29039 { ac_try='test -z "$ac_cxx_werror_flag"
29040 || test ! -s conftest.err'
29041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29042 (eval $ac_try) 2>&5
29043 ac_status=$?
29044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29045 (exit $ac_status); }; } &&
29046 { ac_try='test -s conftest.$ac_objext'
29047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29048 (eval $ac_try) 2>&5
29049 ac_status=$?
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); }; }; then
29052 glibcxx_cv_func_fmodf_use=yes
29053 else
29054 echo "$as_me: failed program was:" >&5
29055 sed 's/^/| /' conftest.$ac_ext >&5
29057 glibcxx_cv_func_fmodf_use=no
29059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29060 ac_ext=c
29061 ac_cpp='$CPP $CPPFLAGS'
29062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29071 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29073 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29075 for ac_func in fmodf
29077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29078 echo "$as_me:$LINENO: checking for $ac_func" >&5
29079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29080 if eval "test \"\${$as_ac_var+set}\" = set"; then
29081 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 else
29083 if test x$gcc_no_link = xyes; then
29084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29086 { (exit 1); exit 1; }; }
29088 cat >conftest.$ac_ext <<_ACEOF
29089 /* confdefs.h. */
29090 _ACEOF
29091 cat confdefs.h >>conftest.$ac_ext
29092 cat >>conftest.$ac_ext <<_ACEOF
29093 /* end confdefs.h. */
29094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29096 #define $ac_func innocuous_$ac_func
29098 /* System header to define __stub macros and hopefully few prototypes,
29099 which can conflict with char $ac_func (); below.
29100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29101 <limits.h> exists even on freestanding compilers. */
29103 #ifdef __STDC__
29104 # include <limits.h>
29105 #else
29106 # include <assert.h>
29107 #endif
29109 #undef $ac_func
29111 /* Override any gcc2 internal prototype to avoid an error. */
29112 #ifdef __cplusplus
29113 extern "C"
29115 #endif
29116 /* We use char because int might match the return type of a gcc2
29117 builtin and then its argument prototype would still apply. */
29118 char $ac_func ();
29119 /* The GNU C library defines this for functions which it implements
29120 to always fail with ENOSYS. Some functions are actually named
29121 something starting with __ and the normal name is an alias. */
29122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29123 choke me
29124 #else
29125 char (*f) () = $ac_func;
29126 #endif
29127 #ifdef __cplusplus
29129 #endif
29132 main ()
29134 return f != $ac_func;
29136 return 0;
29138 _ACEOF
29139 rm -f conftest.$ac_objext conftest$ac_exeext
29140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29141 (eval $ac_link) 2>conftest.er1
29142 ac_status=$?
29143 grep -v '^ *+' conftest.er1 >conftest.err
29144 rm -f conftest.er1
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } &&
29148 { ac_try='test -z "$ac_c_werror_flag"
29149 || test ! -s conftest.err'
29150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29151 (eval $ac_try) 2>&5
29152 ac_status=$?
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; } &&
29155 { ac_try='test -s conftest$ac_exeext'
29156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29157 (eval $ac_try) 2>&5
29158 ac_status=$?
29159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29160 (exit $ac_status); }; }; then
29161 eval "$as_ac_var=yes"
29162 else
29163 echo "$as_me: failed program was:" >&5
29164 sed 's/^/| /' conftest.$ac_ext >&5
29166 eval "$as_ac_var=no"
29168 rm -f conftest.err conftest.$ac_objext \
29169 conftest$ac_exeext conftest.$ac_ext
29171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29173 if test `eval echo '${'$as_ac_var'}'` = yes; then
29174 cat >>confdefs.h <<_ACEOF
29175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29176 _ACEOF
29179 done
29181 else
29183 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29184 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29185 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29186 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 else
29192 ac_ext=cc
29193 ac_cpp='$CXXCPP $CPPFLAGS'
29194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29198 cat >conftest.$ac_ext <<_ACEOF
29199 /* confdefs.h. */
29200 _ACEOF
29201 cat confdefs.h >>conftest.$ac_ext
29202 cat >>conftest.$ac_ext <<_ACEOF
29203 /* end confdefs.h. */
29204 #include <math.h>
29206 main ()
29208 _fmodf(0, 0);
29210 return 0;
29212 _ACEOF
29213 rm -f conftest.$ac_objext
29214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29215 (eval $ac_compile) 2>conftest.er1
29216 ac_status=$?
29217 grep -v '^ *+' conftest.er1 >conftest.err
29218 rm -f conftest.er1
29219 cat conftest.err >&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try='test -z "$ac_cxx_werror_flag"
29223 || test ! -s conftest.err'
29224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29225 (eval $ac_try) 2>&5
29226 ac_status=$?
29227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29228 (exit $ac_status); }; } &&
29229 { ac_try='test -s conftest.$ac_objext'
29230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29231 (eval $ac_try) 2>&5
29232 ac_status=$?
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); }; }; then
29235 glibcxx_cv_func__fmodf_use=yes
29236 else
29237 echo "$as_me: failed program was:" >&5
29238 sed 's/^/| /' conftest.$ac_ext >&5
29240 glibcxx_cv_func__fmodf_use=no
29242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29243 ac_ext=c
29244 ac_cpp='$CPP $CPPFLAGS'
29245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29254 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29256 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29258 for ac_func in _fmodf
29260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29261 echo "$as_me:$LINENO: checking for $ac_func" >&5
29262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29263 if eval "test \"\${$as_ac_var+set}\" = set"; then
29264 echo $ECHO_N "(cached) $ECHO_C" >&6
29265 else
29266 if test x$gcc_no_link = xyes; then
29267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29269 { (exit 1); exit 1; }; }
29271 cat >conftest.$ac_ext <<_ACEOF
29272 /* confdefs.h. */
29273 _ACEOF
29274 cat confdefs.h >>conftest.$ac_ext
29275 cat >>conftest.$ac_ext <<_ACEOF
29276 /* end confdefs.h. */
29277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29279 #define $ac_func innocuous_$ac_func
29281 /* System header to define __stub macros and hopefully few prototypes,
29282 which can conflict with char $ac_func (); below.
29283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29284 <limits.h> exists even on freestanding compilers. */
29286 #ifdef __STDC__
29287 # include <limits.h>
29288 #else
29289 # include <assert.h>
29290 #endif
29292 #undef $ac_func
29294 /* Override any gcc2 internal prototype to avoid an error. */
29295 #ifdef __cplusplus
29296 extern "C"
29298 #endif
29299 /* We use char because int might match the return type of a gcc2
29300 builtin and then its argument prototype would still apply. */
29301 char $ac_func ();
29302 /* The GNU C library defines this for functions which it implements
29303 to always fail with ENOSYS. Some functions are actually named
29304 something starting with __ and the normal name is an alias. */
29305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29306 choke me
29307 #else
29308 char (*f) () = $ac_func;
29309 #endif
29310 #ifdef __cplusplus
29312 #endif
29315 main ()
29317 return f != $ac_func;
29319 return 0;
29321 _ACEOF
29322 rm -f conftest.$ac_objext conftest$ac_exeext
29323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29324 (eval $ac_link) 2>conftest.er1
29325 ac_status=$?
29326 grep -v '^ *+' conftest.er1 >conftest.err
29327 rm -f conftest.er1
29328 cat conftest.err >&5
29329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330 (exit $ac_status); } &&
29331 { ac_try='test -z "$ac_c_werror_flag"
29332 || test ! -s conftest.err'
29333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29334 (eval $ac_try) 2>&5
29335 ac_status=$?
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); }; } &&
29338 { ac_try='test -s conftest$ac_exeext'
29339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29340 (eval $ac_try) 2>&5
29341 ac_status=$?
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); }; }; then
29344 eval "$as_ac_var=yes"
29345 else
29346 echo "$as_me: failed program was:" >&5
29347 sed 's/^/| /' conftest.$ac_ext >&5
29349 eval "$as_ac_var=no"
29351 rm -f conftest.err conftest.$ac_objext \
29352 conftest$ac_exeext conftest.$ac_ext
29354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29356 if test `eval echo '${'$as_ac_var'}'` = yes; then
29357 cat >>confdefs.h <<_ACEOF
29358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29359 _ACEOF
29362 done
29372 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29373 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29374 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29375 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29381 ac_ext=cc
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29387 cat >conftest.$ac_ext <<_ACEOF
29388 /* confdefs.h. */
29389 _ACEOF
29390 cat confdefs.h >>conftest.$ac_ext
29391 cat >>conftest.$ac_ext <<_ACEOF
29392 /* end confdefs.h. */
29393 #include <math.h>
29395 main ()
29397 frexpf(0, 0);
29399 return 0;
29401 _ACEOF
29402 rm -f conftest.$ac_objext
29403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29404 (eval $ac_compile) 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -z "$ac_cxx_werror_flag"
29412 || test ! -s conftest.err'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; } &&
29418 { ac_try='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29421 ac_status=$?
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424 glibcxx_cv_func_frexpf_use=yes
29425 else
29426 echo "$as_me: failed program was:" >&5
29427 sed 's/^/| /' conftest.$ac_ext >&5
29429 glibcxx_cv_func_frexpf_use=no
29431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29432 ac_ext=c
29433 ac_cpp='$CPP $CPPFLAGS'
29434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29443 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29445 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29447 for ac_func in frexpf
29449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29450 echo "$as_me:$LINENO: checking for $ac_func" >&5
29451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29452 if eval "test \"\${$as_ac_var+set}\" = set"; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 else
29455 if test x$gcc_no_link = xyes; then
29456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29458 { (exit 1); exit 1; }; }
29460 cat >conftest.$ac_ext <<_ACEOF
29461 /* confdefs.h. */
29462 _ACEOF
29463 cat confdefs.h >>conftest.$ac_ext
29464 cat >>conftest.$ac_ext <<_ACEOF
29465 /* end confdefs.h. */
29466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29468 #define $ac_func innocuous_$ac_func
29470 /* System header to define __stub macros and hopefully few prototypes,
29471 which can conflict with char $ac_func (); below.
29472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29473 <limits.h> exists even on freestanding compilers. */
29475 #ifdef __STDC__
29476 # include <limits.h>
29477 #else
29478 # include <assert.h>
29479 #endif
29481 #undef $ac_func
29483 /* Override any gcc2 internal prototype to avoid an error. */
29484 #ifdef __cplusplus
29485 extern "C"
29487 #endif
29488 /* We use char because int might match the return type of a gcc2
29489 builtin and then its argument prototype would still apply. */
29490 char $ac_func ();
29491 /* The GNU C library defines this for functions which it implements
29492 to always fail with ENOSYS. Some functions are actually named
29493 something starting with __ and the normal name is an alias. */
29494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29495 choke me
29496 #else
29497 char (*f) () = $ac_func;
29498 #endif
29499 #ifdef __cplusplus
29501 #endif
29504 main ()
29506 return f != $ac_func;
29508 return 0;
29510 _ACEOF
29511 rm -f conftest.$ac_objext conftest$ac_exeext
29512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29513 (eval $ac_link) 2>conftest.er1
29514 ac_status=$?
29515 grep -v '^ *+' conftest.er1 >conftest.err
29516 rm -f conftest.er1
29517 cat conftest.err >&5
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); } &&
29520 { ac_try='test -z "$ac_c_werror_flag"
29521 || test ! -s conftest.err'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; } &&
29527 { ac_try='test -s conftest$ac_exeext'
29528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29529 (eval $ac_try) 2>&5
29530 ac_status=$?
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); }; }; then
29533 eval "$as_ac_var=yes"
29534 else
29535 echo "$as_me: failed program was:" >&5
29536 sed 's/^/| /' conftest.$ac_ext >&5
29538 eval "$as_ac_var=no"
29540 rm -f conftest.err conftest.$ac_objext \
29541 conftest$ac_exeext conftest.$ac_ext
29543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29545 if test `eval echo '${'$as_ac_var'}'` = yes; then
29546 cat >>confdefs.h <<_ACEOF
29547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29548 _ACEOF
29551 done
29553 else
29555 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29556 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29557 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29558 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29559 echo $ECHO_N "(cached) $ECHO_C" >&6
29560 else
29564 ac_ext=cc
29565 ac_cpp='$CXXCPP $CPPFLAGS'
29566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29570 cat >conftest.$ac_ext <<_ACEOF
29571 /* confdefs.h. */
29572 _ACEOF
29573 cat confdefs.h >>conftest.$ac_ext
29574 cat >>conftest.$ac_ext <<_ACEOF
29575 /* end confdefs.h. */
29576 #include <math.h>
29578 main ()
29580 _frexpf(0, 0);
29582 return 0;
29584 _ACEOF
29585 rm -f conftest.$ac_objext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29587 (eval $ac_compile) 2>conftest.er1
29588 ac_status=$?
29589 grep -v '^ *+' conftest.er1 >conftest.err
29590 rm -f conftest.er1
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try='test -z "$ac_cxx_werror_flag"
29595 || test ! -s conftest.err'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; } &&
29601 { ac_try='test -s conftest.$ac_objext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29607 glibcxx_cv_func__frexpf_use=yes
29608 else
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29612 glibcxx_cv_func__frexpf_use=no
29614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29615 ac_ext=c
29616 ac_cpp='$CPP $CPPFLAGS'
29617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29626 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29628 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29630 for ac_func in _frexpf
29632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29633 echo "$as_me:$LINENO: checking for $ac_func" >&5
29634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29635 if eval "test \"\${$as_ac_var+set}\" = set"; then
29636 echo $ECHO_N "(cached) $ECHO_C" >&6
29637 else
29638 if test x$gcc_no_link = xyes; then
29639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29641 { (exit 1); exit 1; }; }
29643 cat >conftest.$ac_ext <<_ACEOF
29644 /* confdefs.h. */
29645 _ACEOF
29646 cat confdefs.h >>conftest.$ac_ext
29647 cat >>conftest.$ac_ext <<_ACEOF
29648 /* end confdefs.h. */
29649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29651 #define $ac_func innocuous_$ac_func
29653 /* System header to define __stub macros and hopefully few prototypes,
29654 which can conflict with char $ac_func (); below.
29655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29656 <limits.h> exists even on freestanding compilers. */
29658 #ifdef __STDC__
29659 # include <limits.h>
29660 #else
29661 # include <assert.h>
29662 #endif
29664 #undef $ac_func
29666 /* Override any gcc2 internal prototype to avoid an error. */
29667 #ifdef __cplusplus
29668 extern "C"
29670 #endif
29671 /* We use char because int might match the return type of a gcc2
29672 builtin and then its argument prototype would still apply. */
29673 char $ac_func ();
29674 /* The GNU C library defines this for functions which it implements
29675 to always fail with ENOSYS. Some functions are actually named
29676 something starting with __ and the normal name is an alias. */
29677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29678 choke me
29679 #else
29680 char (*f) () = $ac_func;
29681 #endif
29682 #ifdef __cplusplus
29684 #endif
29687 main ()
29689 return f != $ac_func;
29691 return 0;
29693 _ACEOF
29694 rm -f conftest.$ac_objext conftest$ac_exeext
29695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29696 (eval $ac_link) 2>conftest.er1
29697 ac_status=$?
29698 grep -v '^ *+' conftest.er1 >conftest.err
29699 rm -f conftest.er1
29700 cat conftest.err >&5
29701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29702 (exit $ac_status); } &&
29703 { ac_try='test -z "$ac_c_werror_flag"
29704 || test ! -s conftest.err'
29705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29706 (eval $ac_try) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; } &&
29710 { ac_try='test -s conftest$ac_exeext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29716 eval "$as_ac_var=yes"
29717 else
29718 echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.$ac_ext >&5
29721 eval "$as_ac_var=no"
29723 rm -f conftest.err conftest.$ac_objext \
29724 conftest$ac_exeext conftest.$ac_ext
29726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29728 if test `eval echo '${'$as_ac_var'}'` = yes; then
29729 cat >>confdefs.h <<_ACEOF
29730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29731 _ACEOF
29734 done
29744 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
29745 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
29746 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29747 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29749 else
29753 ac_ext=cc
29754 ac_cpp='$CXXCPP $CPPFLAGS'
29755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29759 cat >conftest.$ac_ext <<_ACEOF
29760 /* confdefs.h. */
29761 _ACEOF
29762 cat confdefs.h >>conftest.$ac_ext
29763 cat >>conftest.$ac_ext <<_ACEOF
29764 /* end confdefs.h. */
29765 #include <math.h>
29767 main ()
29769 hypotf(0, 0);
29771 return 0;
29773 _ACEOF
29774 rm -f conftest.$ac_objext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29776 (eval $ac_compile) 2>conftest.er1
29777 ac_status=$?
29778 grep -v '^ *+' conftest.er1 >conftest.err
29779 rm -f conftest.er1
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try='test -z "$ac_cxx_werror_flag"
29784 || test ! -s conftest.err'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; } &&
29790 { ac_try='test -s conftest.$ac_objext'
29791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29792 (eval $ac_try) 2>&5
29793 ac_status=$?
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); }; }; then
29796 glibcxx_cv_func_hypotf_use=yes
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29801 glibcxx_cv_func_hypotf_use=no
29803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29804 ac_ext=c
29805 ac_cpp='$CPP $CPPFLAGS'
29806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
29815 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
29817 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29819 for ac_func in hypotf
29821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29822 echo "$as_me:$LINENO: checking for $ac_func" >&5
29823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29824 if eval "test \"\${$as_ac_var+set}\" = set"; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 if test x$gcc_no_link = xyes; then
29828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29830 { (exit 1); exit 1; }; }
29832 cat >conftest.$ac_ext <<_ACEOF
29833 /* confdefs.h. */
29834 _ACEOF
29835 cat confdefs.h >>conftest.$ac_ext
29836 cat >>conftest.$ac_ext <<_ACEOF
29837 /* end confdefs.h. */
29838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29840 #define $ac_func innocuous_$ac_func
29842 /* System header to define __stub macros and hopefully few prototypes,
29843 which can conflict with char $ac_func (); below.
29844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29845 <limits.h> exists even on freestanding compilers. */
29847 #ifdef __STDC__
29848 # include <limits.h>
29849 #else
29850 # include <assert.h>
29851 #endif
29853 #undef $ac_func
29855 /* Override any gcc2 internal prototype to avoid an error. */
29856 #ifdef __cplusplus
29857 extern "C"
29859 #endif
29860 /* We use char because int might match the return type of a gcc2
29861 builtin and then its argument prototype would still apply. */
29862 char $ac_func ();
29863 /* The GNU C library defines this for functions which it implements
29864 to always fail with ENOSYS. Some functions are actually named
29865 something starting with __ and the normal name is an alias. */
29866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29867 choke me
29868 #else
29869 char (*f) () = $ac_func;
29870 #endif
29871 #ifdef __cplusplus
29873 #endif
29876 main ()
29878 return f != $ac_func;
29880 return 0;
29882 _ACEOF
29883 rm -f conftest.$ac_objext conftest$ac_exeext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29885 (eval $ac_link) 2>conftest.er1
29886 ac_status=$?
29887 grep -v '^ *+' conftest.er1 >conftest.err
29888 rm -f conftest.er1
29889 cat conftest.err >&5
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); } &&
29892 { ac_try='test -z "$ac_c_werror_flag"
29893 || test ! -s conftest.err'
29894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895 (eval $ac_try) 2>&5
29896 ac_status=$?
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; } &&
29899 { ac_try='test -s conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29902 ac_status=$?
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905 eval "$as_ac_var=yes"
29906 else
29907 echo "$as_me: failed program was:" >&5
29908 sed 's/^/| /' conftest.$ac_ext >&5
29910 eval "$as_ac_var=no"
29912 rm -f conftest.err conftest.$ac_objext \
29913 conftest$ac_exeext conftest.$ac_ext
29915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29917 if test `eval echo '${'$as_ac_var'}'` = yes; then
29918 cat >>confdefs.h <<_ACEOF
29919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29920 _ACEOF
29923 done
29925 else
29927 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
29928 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
29929 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29930 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
29931 echo $ECHO_N "(cached) $ECHO_C" >&6
29932 else
29936 ac_ext=cc
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29942 cat >conftest.$ac_ext <<_ACEOF
29943 /* confdefs.h. */
29944 _ACEOF
29945 cat confdefs.h >>conftest.$ac_ext
29946 cat >>conftest.$ac_ext <<_ACEOF
29947 /* end confdefs.h. */
29948 #include <math.h>
29950 main ()
29952 _hypotf(0, 0);
29954 return 0;
29956 _ACEOF
29957 rm -f conftest.$ac_objext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29959 (eval $ac_compile) 2>conftest.er1
29960 ac_status=$?
29961 grep -v '^ *+' conftest.er1 >conftest.err
29962 rm -f conftest.er1
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try='test -z "$ac_cxx_werror_flag"
29967 || test ! -s conftest.err'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29970 ac_status=$?
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; } &&
29973 { ac_try='test -s conftest.$ac_objext'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29976 ac_status=$?
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; }; then
29979 glibcxx_cv_func__hypotf_use=yes
29980 else
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29984 glibcxx_cv_func__hypotf_use=no
29986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29987 ac_ext=c
29988 ac_cpp='$CPP $CPPFLAGS'
29989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
29998 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
30000 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30002 for ac_func in _hypotf
30004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30005 echo "$as_me:$LINENO: checking for $ac_func" >&5
30006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30007 if eval "test \"\${$as_ac_var+set}\" = set"; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30009 else
30010 if test x$gcc_no_link = xyes; then
30011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30013 { (exit 1); exit 1; }; }
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30023 #define $ac_func innocuous_$ac_func
30025 /* System header to define __stub macros and hopefully few prototypes,
30026 which can conflict with char $ac_func (); below.
30027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30028 <limits.h> exists even on freestanding compilers. */
30030 #ifdef __STDC__
30031 # include <limits.h>
30032 #else
30033 # include <assert.h>
30034 #endif
30036 #undef $ac_func
30038 /* Override any gcc2 internal prototype to avoid an error. */
30039 #ifdef __cplusplus
30040 extern "C"
30042 #endif
30043 /* We use char because int might match the return type of a gcc2
30044 builtin and then its argument prototype would still apply. */
30045 char $ac_func ();
30046 /* The GNU C library defines this for functions which it implements
30047 to always fail with ENOSYS. Some functions are actually named
30048 something starting with __ and the normal name is an alias. */
30049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30050 choke me
30051 #else
30052 char (*f) () = $ac_func;
30053 #endif
30054 #ifdef __cplusplus
30056 #endif
30059 main ()
30061 return f != $ac_func;
30063 return 0;
30065 _ACEOF
30066 rm -f conftest.$ac_objext conftest$ac_exeext
30067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30068 (eval $ac_link) 2>conftest.er1
30069 ac_status=$?
30070 grep -v '^ *+' conftest.er1 >conftest.err
30071 rm -f conftest.er1
30072 cat conftest.err >&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } &&
30075 { ac_try='test -z "$ac_c_werror_flag"
30076 || test ! -s conftest.err'
30077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30078 (eval $ac_try) 2>&5
30079 ac_status=$?
30080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30081 (exit $ac_status); }; } &&
30082 { ac_try='test -s conftest$ac_exeext'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30085 ac_status=$?
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; }; then
30088 eval "$as_ac_var=yes"
30089 else
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30093 eval "$as_ac_var=no"
30095 rm -f conftest.err conftest.$ac_objext \
30096 conftest$ac_exeext conftest.$ac_ext
30098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30100 if test `eval echo '${'$as_ac_var'}'` = yes; then
30101 cat >>confdefs.h <<_ACEOF
30102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30103 _ACEOF
30106 done
30116 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30117 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30118 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30119 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30120 echo $ECHO_N "(cached) $ECHO_C" >&6
30121 else
30125 ac_ext=cc
30126 ac_cpp='$CXXCPP $CPPFLAGS'
30127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30131 cat >conftest.$ac_ext <<_ACEOF
30132 /* confdefs.h. */
30133 _ACEOF
30134 cat confdefs.h >>conftest.$ac_ext
30135 cat >>conftest.$ac_ext <<_ACEOF
30136 /* end confdefs.h. */
30137 #include <math.h>
30139 main ()
30141 ldexpf(0, 0);
30143 return 0;
30145 _ACEOF
30146 rm -f conftest.$ac_objext
30147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30148 (eval $ac_compile) 2>conftest.er1
30149 ac_status=$?
30150 grep -v '^ *+' conftest.er1 >conftest.err
30151 rm -f conftest.er1
30152 cat conftest.err >&5
30153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30154 (exit $ac_status); } &&
30155 { ac_try='test -z "$ac_cxx_werror_flag"
30156 || test ! -s conftest.err'
30157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30158 (eval $ac_try) 2>&5
30159 ac_status=$?
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); }; } &&
30162 { ac_try='test -s conftest.$ac_objext'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; }; then
30168 glibcxx_cv_func_ldexpf_use=yes
30169 else
30170 echo "$as_me: failed program was:" >&5
30171 sed 's/^/| /' conftest.$ac_ext >&5
30173 glibcxx_cv_func_ldexpf_use=no
30175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30176 ac_ext=c
30177 ac_cpp='$CPP $CPPFLAGS'
30178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30187 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30189 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30191 for ac_func in ldexpf
30193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30194 echo "$as_me:$LINENO: checking for $ac_func" >&5
30195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30196 if eval "test \"\${$as_ac_var+set}\" = set"; then
30197 echo $ECHO_N "(cached) $ECHO_C" >&6
30198 else
30199 if test x$gcc_no_link = xyes; then
30200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30202 { (exit 1); exit 1; }; }
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30212 #define $ac_func innocuous_$ac_func
30214 /* System header to define __stub macros and hopefully few prototypes,
30215 which can conflict with char $ac_func (); below.
30216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30217 <limits.h> exists even on freestanding compilers. */
30219 #ifdef __STDC__
30220 # include <limits.h>
30221 #else
30222 # include <assert.h>
30223 #endif
30225 #undef $ac_func
30227 /* Override any gcc2 internal prototype to avoid an error. */
30228 #ifdef __cplusplus
30229 extern "C"
30231 #endif
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30234 char $ac_func ();
30235 /* The GNU C library defines this for functions which it implements
30236 to always fail with ENOSYS. Some functions are actually named
30237 something starting with __ and the normal name is an alias. */
30238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30239 choke me
30240 #else
30241 char (*f) () = $ac_func;
30242 #endif
30243 #ifdef __cplusplus
30245 #endif
30248 main ()
30250 return f != $ac_func;
30252 return 0;
30254 _ACEOF
30255 rm -f conftest.$ac_objext conftest$ac_exeext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30257 (eval $ac_link) 2>conftest.er1
30258 ac_status=$?
30259 grep -v '^ *+' conftest.er1 >conftest.err
30260 rm -f conftest.er1
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try='test -z "$ac_c_werror_flag"
30265 || test ! -s conftest.err'
30266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30267 (eval $ac_try) 2>&5
30268 ac_status=$?
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); }; } &&
30271 { ac_try='test -s conftest$ac_exeext'
30272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30273 (eval $ac_try) 2>&5
30274 ac_status=$?
30275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30276 (exit $ac_status); }; }; then
30277 eval "$as_ac_var=yes"
30278 else
30279 echo "$as_me: failed program was:" >&5
30280 sed 's/^/| /' conftest.$ac_ext >&5
30282 eval "$as_ac_var=no"
30284 rm -f conftest.err conftest.$ac_objext \
30285 conftest$ac_exeext conftest.$ac_ext
30287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30289 if test `eval echo '${'$as_ac_var'}'` = yes; then
30290 cat >>confdefs.h <<_ACEOF
30291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30292 _ACEOF
30295 done
30297 else
30299 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30300 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30301 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30302 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30308 ac_ext=cc
30309 ac_cpp='$CXXCPP $CPPFLAGS'
30310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30314 cat >conftest.$ac_ext <<_ACEOF
30315 /* confdefs.h. */
30316 _ACEOF
30317 cat confdefs.h >>conftest.$ac_ext
30318 cat >>conftest.$ac_ext <<_ACEOF
30319 /* end confdefs.h. */
30320 #include <math.h>
30322 main ()
30324 _ldexpf(0, 0);
30326 return 0;
30328 _ACEOF
30329 rm -f conftest.$ac_objext
30330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30331 (eval $ac_compile) 2>conftest.er1
30332 ac_status=$?
30333 grep -v '^ *+' conftest.er1 >conftest.err
30334 rm -f conftest.er1
30335 cat conftest.err >&5
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); } &&
30338 { ac_try='test -z "$ac_cxx_werror_flag"
30339 || test ! -s conftest.err'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; } &&
30345 { ac_try='test -s conftest.$ac_objext'
30346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30347 (eval $ac_try) 2>&5
30348 ac_status=$?
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; }; then
30351 glibcxx_cv_func__ldexpf_use=yes
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30356 glibcxx_cv_func__ldexpf_use=no
30358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30359 ac_ext=c
30360 ac_cpp='$CPP $CPPFLAGS'
30361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30370 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30372 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30374 for ac_func in _ldexpf
30376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30377 echo "$as_me:$LINENO: checking for $ac_func" >&5
30378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30379 if eval "test \"\${$as_ac_var+set}\" = set"; then
30380 echo $ECHO_N "(cached) $ECHO_C" >&6
30381 else
30382 if test x$gcc_no_link = xyes; then
30383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30385 { (exit 1); exit 1; }; }
30387 cat >conftest.$ac_ext <<_ACEOF
30388 /* confdefs.h. */
30389 _ACEOF
30390 cat confdefs.h >>conftest.$ac_ext
30391 cat >>conftest.$ac_ext <<_ACEOF
30392 /* end confdefs.h. */
30393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30395 #define $ac_func innocuous_$ac_func
30397 /* System header to define __stub macros and hopefully few prototypes,
30398 which can conflict with char $ac_func (); below.
30399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30400 <limits.h> exists even on freestanding compilers. */
30402 #ifdef __STDC__
30403 # include <limits.h>
30404 #else
30405 # include <assert.h>
30406 #endif
30408 #undef $ac_func
30410 /* Override any gcc2 internal prototype to avoid an error. */
30411 #ifdef __cplusplus
30412 extern "C"
30414 #endif
30415 /* We use char because int might match the return type of a gcc2
30416 builtin and then its argument prototype would still apply. */
30417 char $ac_func ();
30418 /* The GNU C library defines this for functions which it implements
30419 to always fail with ENOSYS. Some functions are actually named
30420 something starting with __ and the normal name is an alias. */
30421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30422 choke me
30423 #else
30424 char (*f) () = $ac_func;
30425 #endif
30426 #ifdef __cplusplus
30428 #endif
30431 main ()
30433 return f != $ac_func;
30435 return 0;
30437 _ACEOF
30438 rm -f conftest.$ac_objext conftest$ac_exeext
30439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30440 (eval $ac_link) 2>conftest.er1
30441 ac_status=$?
30442 grep -v '^ *+' conftest.er1 >conftest.err
30443 rm -f conftest.er1
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } &&
30447 { ac_try='test -z "$ac_c_werror_flag"
30448 || test ! -s conftest.err'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30451 ac_status=$?
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; } &&
30454 { ac_try='test -s conftest$ac_exeext'
30455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30456 (eval $ac_try) 2>&5
30457 ac_status=$?
30458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30459 (exit $ac_status); }; }; then
30460 eval "$as_ac_var=yes"
30461 else
30462 echo "$as_me: failed program was:" >&5
30463 sed 's/^/| /' conftest.$ac_ext >&5
30465 eval "$as_ac_var=no"
30467 rm -f conftest.err conftest.$ac_objext \
30468 conftest$ac_exeext conftest.$ac_ext
30470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30472 if test `eval echo '${'$as_ac_var'}'` = yes; then
30473 cat >>confdefs.h <<_ACEOF
30474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30475 _ACEOF
30478 done
30488 echo "$as_me:$LINENO: checking for logf declaration" >&5
30489 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30490 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30491 if test "${glibcxx_cv_func_logf_use+set}" = set; then
30492 echo $ECHO_N "(cached) $ECHO_C" >&6
30493 else
30497 ac_ext=cc
30498 ac_cpp='$CXXCPP $CPPFLAGS'
30499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30503 cat >conftest.$ac_ext <<_ACEOF
30504 /* confdefs.h. */
30505 _ACEOF
30506 cat confdefs.h >>conftest.$ac_ext
30507 cat >>conftest.$ac_ext <<_ACEOF
30508 /* end confdefs.h. */
30509 #include <math.h>
30510 #ifdef HAVE_IEEEFP_H
30511 #include <ieeefp.h>
30512 #endif
30515 main ()
30517 logf(0);
30519 return 0;
30521 _ACEOF
30522 rm -f conftest.$ac_objext
30523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30524 (eval $ac_compile) 2>conftest.er1
30525 ac_status=$?
30526 grep -v '^ *+' conftest.er1 >conftest.err
30527 rm -f conftest.er1
30528 cat conftest.err >&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } &&
30531 { ac_try='test -z "$ac_cxx_werror_flag"
30532 || test ! -s conftest.err'
30533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30534 (eval $ac_try) 2>&5
30535 ac_status=$?
30536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30537 (exit $ac_status); }; } &&
30538 { ac_try='test -s conftest.$ac_objext'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30541 ac_status=$?
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; }; then
30544 glibcxx_cv_func_logf_use=yes
30545 else
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30549 glibcxx_cv_func_logf_use=no
30551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30552 ac_ext=c
30553 ac_cpp='$CPP $CPPFLAGS'
30554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30563 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30565 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30567 for ac_func in logf
30569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30570 echo "$as_me:$LINENO: checking for $ac_func" >&5
30571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30572 if eval "test \"\${$as_ac_var+set}\" = set"; then
30573 echo $ECHO_N "(cached) $ECHO_C" >&6
30574 else
30575 if test x$gcc_no_link = xyes; then
30576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30578 { (exit 1); exit 1; }; }
30580 cat >conftest.$ac_ext <<_ACEOF
30581 /* confdefs.h. */
30582 _ACEOF
30583 cat confdefs.h >>conftest.$ac_ext
30584 cat >>conftest.$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30588 #define $ac_func innocuous_$ac_func
30590 /* System header to define __stub macros and hopefully few prototypes,
30591 which can conflict with char $ac_func (); below.
30592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30593 <limits.h> exists even on freestanding compilers. */
30595 #ifdef __STDC__
30596 # include <limits.h>
30597 #else
30598 # include <assert.h>
30599 #endif
30601 #undef $ac_func
30603 /* Override any gcc2 internal prototype to avoid an error. */
30604 #ifdef __cplusplus
30605 extern "C"
30607 #endif
30608 /* We use char because int might match the return type of a gcc2
30609 builtin and then its argument prototype would still apply. */
30610 char $ac_func ();
30611 /* The GNU C library defines this for functions which it implements
30612 to always fail with ENOSYS. Some functions are actually named
30613 something starting with __ and the normal name is an alias. */
30614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30615 choke me
30616 #else
30617 char (*f) () = $ac_func;
30618 #endif
30619 #ifdef __cplusplus
30621 #endif
30624 main ()
30626 return f != $ac_func;
30628 return 0;
30630 _ACEOF
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30633 (eval $ac_link) 2>conftest.er1
30634 ac_status=$?
30635 grep -v '^ *+' conftest.er1 >conftest.err
30636 rm -f conftest.er1
30637 cat conftest.err >&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try='test -z "$ac_c_werror_flag"
30641 || test ! -s conftest.err'
30642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30643 (eval $ac_try) 2>&5
30644 ac_status=$?
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); }; } &&
30647 { ac_try='test -s conftest$ac_exeext'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30650 ac_status=$?
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; }; then
30653 eval "$as_ac_var=yes"
30654 else
30655 echo "$as_me: failed program was:" >&5
30656 sed 's/^/| /' conftest.$ac_ext >&5
30658 eval "$as_ac_var=no"
30660 rm -f conftest.err conftest.$ac_objext \
30661 conftest$ac_exeext conftest.$ac_ext
30663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30665 if test `eval echo '${'$as_ac_var'}'` = yes; then
30666 cat >>confdefs.h <<_ACEOF
30667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30668 _ACEOF
30671 done
30673 else
30675 echo "$as_me:$LINENO: checking for _logf declaration" >&5
30676 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
30677 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30678 if test "${glibcxx_cv_func__logf_use+set}" = set; then
30679 echo $ECHO_N "(cached) $ECHO_C" >&6
30680 else
30684 ac_ext=cc
30685 ac_cpp='$CXXCPP $CPPFLAGS'
30686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696 #include <math.h>
30697 #ifdef HAVE_IEEEFP_H
30698 #include <ieeefp.h>
30699 #endif
30702 main ()
30704 _logf(0);
30706 return 0;
30708 _ACEOF
30709 rm -f conftest.$ac_objext
30710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30711 (eval $ac_compile) 2>conftest.er1
30712 ac_status=$?
30713 grep -v '^ *+' conftest.er1 >conftest.err
30714 rm -f conftest.er1
30715 cat conftest.err >&5
30716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30717 (exit $ac_status); } &&
30718 { ac_try='test -z "$ac_cxx_werror_flag"
30719 || test ! -s conftest.err'
30720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30721 (eval $ac_try) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); }; } &&
30725 { ac_try='test -s conftest.$ac_objext'
30726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30727 (eval $ac_try) 2>&5
30728 ac_status=$?
30729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30730 (exit $ac_status); }; }; then
30731 glibcxx_cv_func__logf_use=yes
30732 else
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30736 glibcxx_cv_func__logf_use=no
30738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30739 ac_ext=c
30740 ac_cpp='$CPP $CPPFLAGS'
30741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
30750 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
30752 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30754 for ac_func in _logf
30756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30757 echo "$as_me:$LINENO: checking for $ac_func" >&5
30758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30759 if eval "test \"\${$as_ac_var+set}\" = set"; then
30760 echo $ECHO_N "(cached) $ECHO_C" >&6
30761 else
30762 if test x$gcc_no_link = xyes; then
30763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30765 { (exit 1); exit 1; }; }
30767 cat >conftest.$ac_ext <<_ACEOF
30768 /* confdefs.h. */
30769 _ACEOF
30770 cat confdefs.h >>conftest.$ac_ext
30771 cat >>conftest.$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30775 #define $ac_func innocuous_$ac_func
30777 /* System header to define __stub macros and hopefully few prototypes,
30778 which can conflict with char $ac_func (); below.
30779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30780 <limits.h> exists even on freestanding compilers. */
30782 #ifdef __STDC__
30783 # include <limits.h>
30784 #else
30785 # include <assert.h>
30786 #endif
30788 #undef $ac_func
30790 /* Override any gcc2 internal prototype to avoid an error. */
30791 #ifdef __cplusplus
30792 extern "C"
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797 char $ac_func ();
30798 /* The GNU C library defines this for functions which it implements
30799 to always fail with ENOSYS. Some functions are actually named
30800 something starting with __ and the normal name is an alias. */
30801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30802 choke me
30803 #else
30804 char (*f) () = $ac_func;
30805 #endif
30806 #ifdef __cplusplus
30808 #endif
30811 main ()
30813 return f != $ac_func;
30815 return 0;
30817 _ACEOF
30818 rm -f conftest.$ac_objext conftest$ac_exeext
30819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30820 (eval $ac_link) 2>conftest.er1
30821 ac_status=$?
30822 grep -v '^ *+' conftest.er1 >conftest.err
30823 rm -f conftest.er1
30824 cat conftest.err >&5
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); } &&
30827 { ac_try='test -z "$ac_c_werror_flag"
30828 || test ! -s conftest.err'
30829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30830 (eval $ac_try) 2>&5
30831 ac_status=$?
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); }; } &&
30834 { ac_try='test -s conftest$ac_exeext'
30835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30836 (eval $ac_try) 2>&5
30837 ac_status=$?
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); }; }; then
30840 eval "$as_ac_var=yes"
30841 else
30842 echo "$as_me: failed program was:" >&5
30843 sed 's/^/| /' conftest.$ac_ext >&5
30845 eval "$as_ac_var=no"
30847 rm -f conftest.err conftest.$ac_objext \
30848 conftest$ac_exeext conftest.$ac_ext
30850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30852 if test `eval echo '${'$as_ac_var'}'` = yes; then
30853 cat >>confdefs.h <<_ACEOF
30854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30855 _ACEOF
30858 done
30868 echo "$as_me:$LINENO: checking for log10f declaration" >&5
30869 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
30870 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30871 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
30872 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 else
30877 ac_ext=cc
30878 ac_cpp='$CXXCPP $CPPFLAGS'
30879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30883 cat >conftest.$ac_ext <<_ACEOF
30884 /* confdefs.h. */
30885 _ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30889 #include <math.h>
30890 #ifdef HAVE_IEEEFP_H
30891 #include <ieeefp.h>
30892 #endif
30895 main ()
30897 log10f(0);
30899 return 0;
30901 _ACEOF
30902 rm -f conftest.$ac_objext
30903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30904 (eval $ac_compile) 2>conftest.er1
30905 ac_status=$?
30906 grep -v '^ *+' conftest.er1 >conftest.err
30907 rm -f conftest.er1
30908 cat conftest.err >&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } &&
30911 { ac_try='test -z "$ac_cxx_werror_flag"
30912 || test ! -s conftest.err'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; } &&
30918 { ac_try='test -s conftest.$ac_objext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924 glibcxx_cv_func_log10f_use=yes
30925 else
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30929 glibcxx_cv_func_log10f_use=no
30931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30932 ac_ext=c
30933 ac_cpp='$CPP $CPPFLAGS'
30934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
30943 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
30945 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30947 for ac_func in log10f
30949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30950 echo "$as_me:$LINENO: checking for $ac_func" >&5
30951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30952 if eval "test \"\${$as_ac_var+set}\" = set"; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 if test x$gcc_no_link = xyes; then
30956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30958 { (exit 1); exit 1; }; }
30960 cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h. */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30968 #define $ac_func innocuous_$ac_func
30970 /* System header to define __stub macros and hopefully few prototypes,
30971 which can conflict with char $ac_func (); below.
30972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30973 <limits.h> exists even on freestanding compilers. */
30975 #ifdef __STDC__
30976 # include <limits.h>
30977 #else
30978 # include <assert.h>
30979 #endif
30981 #undef $ac_func
30983 /* Override any gcc2 internal prototype to avoid an error. */
30984 #ifdef __cplusplus
30985 extern "C"
30987 #endif
30988 /* We use char because int might match the return type of a gcc2
30989 builtin and then its argument prototype would still apply. */
30990 char $ac_func ();
30991 /* The GNU C library defines this for functions which it implements
30992 to always fail with ENOSYS. Some functions are actually named
30993 something starting with __ and the normal name is an alias. */
30994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30995 choke me
30996 #else
30997 char (*f) () = $ac_func;
30998 #endif
30999 #ifdef __cplusplus
31001 #endif
31004 main ()
31006 return f != $ac_func;
31008 return 0;
31010 _ACEOF
31011 rm -f conftest.$ac_objext conftest$ac_exeext
31012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31013 (eval $ac_link) 2>conftest.er1
31014 ac_status=$?
31015 grep -v '^ *+' conftest.er1 >conftest.err
31016 rm -f conftest.er1
31017 cat conftest.err >&5
31018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31019 (exit $ac_status); } &&
31020 { ac_try='test -z "$ac_c_werror_flag"
31021 || test ! -s conftest.err'
31022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31023 (eval $ac_try) 2>&5
31024 ac_status=$?
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); }; } &&
31027 { ac_try='test -s conftest$ac_exeext'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; }; then
31033 eval "$as_ac_var=yes"
31034 else
31035 echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.$ac_ext >&5
31038 eval "$as_ac_var=no"
31040 rm -f conftest.err conftest.$ac_objext \
31041 conftest$ac_exeext conftest.$ac_ext
31043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31045 if test `eval echo '${'$as_ac_var'}'` = yes; then
31046 cat >>confdefs.h <<_ACEOF
31047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31048 _ACEOF
31051 done
31053 else
31055 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31056 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31057 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31058 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31060 else
31064 ac_ext=cc
31065 ac_cpp='$CXXCPP $CPPFLAGS'
31066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31070 cat >conftest.$ac_ext <<_ACEOF
31071 /* confdefs.h. */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31076 #include <math.h>
31077 #ifdef HAVE_IEEEFP_H
31078 #include <ieeefp.h>
31079 #endif
31082 main ()
31084 _log10f(0);
31086 return 0;
31088 _ACEOF
31089 rm -f conftest.$ac_objext
31090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31091 (eval $ac_compile) 2>conftest.er1
31092 ac_status=$?
31093 grep -v '^ *+' conftest.er1 >conftest.err
31094 rm -f conftest.er1
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } &&
31098 { ac_try='test -z "$ac_cxx_werror_flag"
31099 || test ! -s conftest.err'
31100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31101 (eval $ac_try) 2>&5
31102 ac_status=$?
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); }; } &&
31105 { ac_try='test -s conftest.$ac_objext'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; }; then
31111 glibcxx_cv_func__log10f_use=yes
31112 else
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.$ac_ext >&5
31116 glibcxx_cv_func__log10f_use=no
31118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31119 ac_ext=c
31120 ac_cpp='$CPP $CPPFLAGS'
31121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31130 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31132 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31134 for ac_func in _log10f
31136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31137 echo "$as_me:$LINENO: checking for $ac_func" >&5
31138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31139 if eval "test \"\${$as_ac_var+set}\" = set"; then
31140 echo $ECHO_N "(cached) $ECHO_C" >&6
31141 else
31142 if test x$gcc_no_link = xyes; then
31143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31145 { (exit 1); exit 1; }; }
31147 cat >conftest.$ac_ext <<_ACEOF
31148 /* confdefs.h. */
31149 _ACEOF
31150 cat confdefs.h >>conftest.$ac_ext
31151 cat >>conftest.$ac_ext <<_ACEOF
31152 /* end confdefs.h. */
31153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31155 #define $ac_func innocuous_$ac_func
31157 /* System header to define __stub macros and hopefully few prototypes,
31158 which can conflict with char $ac_func (); below.
31159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31160 <limits.h> exists even on freestanding compilers. */
31162 #ifdef __STDC__
31163 # include <limits.h>
31164 #else
31165 # include <assert.h>
31166 #endif
31168 #undef $ac_func
31170 /* Override any gcc2 internal prototype to avoid an error. */
31171 #ifdef __cplusplus
31172 extern "C"
31174 #endif
31175 /* We use char because int might match the return type of a gcc2
31176 builtin and then its argument prototype would still apply. */
31177 char $ac_func ();
31178 /* The GNU C library defines this for functions which it implements
31179 to always fail with ENOSYS. Some functions are actually named
31180 something starting with __ and the normal name is an alias. */
31181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31182 choke me
31183 #else
31184 char (*f) () = $ac_func;
31185 #endif
31186 #ifdef __cplusplus
31188 #endif
31191 main ()
31193 return f != $ac_func;
31195 return 0;
31197 _ACEOF
31198 rm -f conftest.$ac_objext conftest$ac_exeext
31199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31200 (eval $ac_link) 2>conftest.er1
31201 ac_status=$?
31202 grep -v '^ *+' conftest.er1 >conftest.err
31203 rm -f conftest.er1
31204 cat conftest.err >&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } &&
31207 { ac_try='test -z "$ac_c_werror_flag"
31208 || test ! -s conftest.err'
31209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31210 (eval $ac_try) 2>&5
31211 ac_status=$?
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); }; } &&
31214 { ac_try='test -s conftest$ac_exeext'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31217 ac_status=$?
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; }; then
31220 eval "$as_ac_var=yes"
31221 else
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31225 eval "$as_ac_var=no"
31227 rm -f conftest.err conftest.$ac_objext \
31228 conftest$ac_exeext conftest.$ac_ext
31230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31232 if test `eval echo '${'$as_ac_var'}'` = yes; then
31233 cat >>confdefs.h <<_ACEOF
31234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31235 _ACEOF
31238 done
31248 echo "$as_me:$LINENO: checking for modff declaration" >&5
31249 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31250 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31251 if test "${glibcxx_cv_func_modff_use+set}" = set; then
31252 echo $ECHO_N "(cached) $ECHO_C" >&6
31253 else
31257 ac_ext=cc
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263 cat >conftest.$ac_ext <<_ACEOF
31264 /* confdefs.h. */
31265 _ACEOF
31266 cat confdefs.h >>conftest.$ac_ext
31267 cat >>conftest.$ac_ext <<_ACEOF
31268 /* end confdefs.h. */
31269 #include <math.h>
31271 main ()
31273 modff(0, 0);
31275 return 0;
31277 _ACEOF
31278 rm -f conftest.$ac_objext
31279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31280 (eval $ac_compile) 2>conftest.er1
31281 ac_status=$?
31282 grep -v '^ *+' conftest.er1 >conftest.err
31283 rm -f conftest.er1
31284 cat conftest.err >&5
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); } &&
31287 { ac_try='test -z "$ac_cxx_werror_flag"
31288 || test ! -s conftest.err'
31289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31290 (eval $ac_try) 2>&5
31291 ac_status=$?
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; } &&
31294 { ac_try='test -s conftest.$ac_objext'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; }; then
31300 glibcxx_cv_func_modff_use=yes
31301 else
31302 echo "$as_me: failed program was:" >&5
31303 sed 's/^/| /' conftest.$ac_ext >&5
31305 glibcxx_cv_func_modff_use=no
31307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31319 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31321 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31323 for ac_func in modff
31325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31326 echo "$as_me:$LINENO: checking for $ac_func" >&5
31327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31328 if eval "test \"\${$as_ac_var+set}\" = set"; then
31329 echo $ECHO_N "(cached) $ECHO_C" >&6
31330 else
31331 if test x$gcc_no_link = xyes; then
31332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31334 { (exit 1); exit 1; }; }
31336 cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h. */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31344 #define $ac_func innocuous_$ac_func
31346 /* System header to define __stub macros and hopefully few prototypes,
31347 which can conflict with char $ac_func (); below.
31348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31349 <limits.h> exists even on freestanding compilers. */
31351 #ifdef __STDC__
31352 # include <limits.h>
31353 #else
31354 # include <assert.h>
31355 #endif
31357 #undef $ac_func
31359 /* Override any gcc2 internal prototype to avoid an error. */
31360 #ifdef __cplusplus
31361 extern "C"
31363 #endif
31364 /* We use char because int might match the return type of a gcc2
31365 builtin and then its argument prototype would still apply. */
31366 char $ac_func ();
31367 /* The GNU C library defines this for functions which it implements
31368 to always fail with ENOSYS. Some functions are actually named
31369 something starting with __ and the normal name is an alias. */
31370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31371 choke me
31372 #else
31373 char (*f) () = $ac_func;
31374 #endif
31375 #ifdef __cplusplus
31377 #endif
31380 main ()
31382 return f != $ac_func;
31384 return 0;
31386 _ACEOF
31387 rm -f conftest.$ac_objext conftest$ac_exeext
31388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31389 (eval $ac_link) 2>conftest.er1
31390 ac_status=$?
31391 grep -v '^ *+' conftest.er1 >conftest.err
31392 rm -f conftest.er1
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } &&
31396 { ac_try='test -z "$ac_c_werror_flag"
31397 || test ! -s conftest.err'
31398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31399 (eval $ac_try) 2>&5
31400 ac_status=$?
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); }; } &&
31403 { ac_try='test -s conftest$ac_exeext'
31404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 (eval $ac_try) 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; }; then
31409 eval "$as_ac_var=yes"
31410 else
31411 echo "$as_me: failed program was:" >&5
31412 sed 's/^/| /' conftest.$ac_ext >&5
31414 eval "$as_ac_var=no"
31416 rm -f conftest.err conftest.$ac_objext \
31417 conftest$ac_exeext conftest.$ac_ext
31419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31421 if test `eval echo '${'$as_ac_var'}'` = yes; then
31422 cat >>confdefs.h <<_ACEOF
31423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31424 _ACEOF
31427 done
31429 else
31431 echo "$as_me:$LINENO: checking for _modff declaration" >&5
31432 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31433 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31434 if test "${glibcxx_cv_func__modff_use+set}" = set; then
31435 echo $ECHO_N "(cached) $ECHO_C" >&6
31436 else
31440 ac_ext=cc
31441 ac_cpp='$CXXCPP $CPPFLAGS'
31442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31446 cat >conftest.$ac_ext <<_ACEOF
31447 /* confdefs.h. */
31448 _ACEOF
31449 cat confdefs.h >>conftest.$ac_ext
31450 cat >>conftest.$ac_ext <<_ACEOF
31451 /* end confdefs.h. */
31452 #include <math.h>
31454 main ()
31456 _modff(0, 0);
31458 return 0;
31460 _ACEOF
31461 rm -f conftest.$ac_objext
31462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31463 (eval $ac_compile) 2>conftest.er1
31464 ac_status=$?
31465 grep -v '^ *+' conftest.er1 >conftest.err
31466 rm -f conftest.er1
31467 cat conftest.err >&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); } &&
31470 { ac_try='test -z "$ac_cxx_werror_flag"
31471 || test ! -s conftest.err'
31472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31473 (eval $ac_try) 2>&5
31474 ac_status=$?
31475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31476 (exit $ac_status); }; } &&
31477 { ac_try='test -s conftest.$ac_objext'
31478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31479 (eval $ac_try) 2>&5
31480 ac_status=$?
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); }; }; then
31483 glibcxx_cv_func__modff_use=yes
31484 else
31485 echo "$as_me: failed program was:" >&5
31486 sed 's/^/| /' conftest.$ac_ext >&5
31488 glibcxx_cv_func__modff_use=no
31490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31502 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31504 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31506 for ac_func in _modff
31508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31509 echo "$as_me:$LINENO: checking for $ac_func" >&5
31510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31511 if eval "test \"\${$as_ac_var+set}\" = set"; then
31512 echo $ECHO_N "(cached) $ECHO_C" >&6
31513 else
31514 if test x$gcc_no_link = xyes; then
31515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31517 { (exit 1); exit 1; }; }
31519 cat >conftest.$ac_ext <<_ACEOF
31520 /* confdefs.h. */
31521 _ACEOF
31522 cat confdefs.h >>conftest.$ac_ext
31523 cat >>conftest.$ac_ext <<_ACEOF
31524 /* end confdefs.h. */
31525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31527 #define $ac_func innocuous_$ac_func
31529 /* System header to define __stub macros and hopefully few prototypes,
31530 which can conflict with char $ac_func (); below.
31531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31532 <limits.h> exists even on freestanding compilers. */
31534 #ifdef __STDC__
31535 # include <limits.h>
31536 #else
31537 # include <assert.h>
31538 #endif
31540 #undef $ac_func
31542 /* Override any gcc2 internal prototype to avoid an error. */
31543 #ifdef __cplusplus
31544 extern "C"
31546 #endif
31547 /* We use char because int might match the return type of a gcc2
31548 builtin and then its argument prototype would still apply. */
31549 char $ac_func ();
31550 /* The GNU C library defines this for functions which it implements
31551 to always fail with ENOSYS. Some functions are actually named
31552 something starting with __ and the normal name is an alias. */
31553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31554 choke me
31555 #else
31556 char (*f) () = $ac_func;
31557 #endif
31558 #ifdef __cplusplus
31560 #endif
31563 main ()
31565 return f != $ac_func;
31567 return 0;
31569 _ACEOF
31570 rm -f conftest.$ac_objext conftest$ac_exeext
31571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31572 (eval $ac_link) 2>conftest.er1
31573 ac_status=$?
31574 grep -v '^ *+' conftest.er1 >conftest.err
31575 rm -f conftest.er1
31576 cat conftest.err >&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } &&
31579 { ac_try='test -z "$ac_c_werror_flag"
31580 || test ! -s conftest.err'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; } &&
31586 { ac_try='test -s conftest$ac_exeext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 eval "$as_ac_var=yes"
31593 else
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31597 eval "$as_ac_var=no"
31599 rm -f conftest.err conftest.$ac_objext \
31600 conftest$ac_exeext conftest.$ac_ext
31602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31604 if test `eval echo '${'$as_ac_var'}'` = yes; then
31605 cat >>confdefs.h <<_ACEOF
31606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31607 _ACEOF
31610 done
31620 echo "$as_me:$LINENO: checking for modf declaration" >&5
31621 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31622 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31623 if test "${glibcxx_cv_func_modf_use+set}" = set; then
31624 echo $ECHO_N "(cached) $ECHO_C" >&6
31625 else
31629 ac_ext=cc
31630 ac_cpp='$CXXCPP $CPPFLAGS'
31631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31635 cat >conftest.$ac_ext <<_ACEOF
31636 /* confdefs.h. */
31637 _ACEOF
31638 cat confdefs.h >>conftest.$ac_ext
31639 cat >>conftest.$ac_ext <<_ACEOF
31640 /* end confdefs.h. */
31641 #include <math.h>
31643 main ()
31645 modf(0, 0);
31647 return 0;
31649 _ACEOF
31650 rm -f conftest.$ac_objext
31651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31652 (eval $ac_compile) 2>conftest.er1
31653 ac_status=$?
31654 grep -v '^ *+' conftest.er1 >conftest.err
31655 rm -f conftest.er1
31656 cat conftest.err >&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); } &&
31659 { ac_try='test -z "$ac_cxx_werror_flag"
31660 || test ! -s conftest.err'
31661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31662 (eval $ac_try) 2>&5
31663 ac_status=$?
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; } &&
31666 { ac_try='test -s conftest.$ac_objext'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31669 ac_status=$?
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; }; then
31672 glibcxx_cv_func_modf_use=yes
31673 else
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31677 glibcxx_cv_func_modf_use=no
31679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31680 ac_ext=c
31681 ac_cpp='$CPP $CPPFLAGS'
31682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
31691 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
31693 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31695 for ac_func in modf
31697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31698 echo "$as_me:$LINENO: checking for $ac_func" >&5
31699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31700 if eval "test \"\${$as_ac_var+set}\" = set"; then
31701 echo $ECHO_N "(cached) $ECHO_C" >&6
31702 else
31703 if test x$gcc_no_link = xyes; then
31704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31706 { (exit 1); exit 1; }; }
31708 cat >conftest.$ac_ext <<_ACEOF
31709 /* confdefs.h. */
31710 _ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31716 #define $ac_func innocuous_$ac_func
31718 /* System header to define __stub macros and hopefully few prototypes,
31719 which can conflict with char $ac_func (); below.
31720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31721 <limits.h> exists even on freestanding compilers. */
31723 #ifdef __STDC__
31724 # include <limits.h>
31725 #else
31726 # include <assert.h>
31727 #endif
31729 #undef $ac_func
31731 /* Override any gcc2 internal prototype to avoid an error. */
31732 #ifdef __cplusplus
31733 extern "C"
31735 #endif
31736 /* We use char because int might match the return type of a gcc2
31737 builtin and then its argument prototype would still apply. */
31738 char $ac_func ();
31739 /* The GNU C library defines this for functions which it implements
31740 to always fail with ENOSYS. Some functions are actually named
31741 something starting with __ and the normal name is an alias. */
31742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31743 choke me
31744 #else
31745 char (*f) () = $ac_func;
31746 #endif
31747 #ifdef __cplusplus
31749 #endif
31752 main ()
31754 return f != $ac_func;
31756 return 0;
31758 _ACEOF
31759 rm -f conftest.$ac_objext conftest$ac_exeext
31760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31761 (eval $ac_link) 2>conftest.er1
31762 ac_status=$?
31763 grep -v '^ *+' conftest.er1 >conftest.err
31764 rm -f conftest.er1
31765 cat conftest.err >&5
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); } &&
31768 { ac_try='test -z "$ac_c_werror_flag"
31769 || test ! -s conftest.err'
31770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31771 (eval $ac_try) 2>&5
31772 ac_status=$?
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); }; } &&
31775 { ac_try='test -s conftest$ac_exeext'
31776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31777 (eval $ac_try) 2>&5
31778 ac_status=$?
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); }; }; then
31781 eval "$as_ac_var=yes"
31782 else
31783 echo "$as_me: failed program was:" >&5
31784 sed 's/^/| /' conftest.$ac_ext >&5
31786 eval "$as_ac_var=no"
31788 rm -f conftest.err conftest.$ac_objext \
31789 conftest$ac_exeext conftest.$ac_ext
31791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31793 if test `eval echo '${'$as_ac_var'}'` = yes; then
31794 cat >>confdefs.h <<_ACEOF
31795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31796 _ACEOF
31799 done
31801 else
31803 echo "$as_me:$LINENO: checking for _modf declaration" >&5
31804 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
31805 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31806 if test "${glibcxx_cv_func__modf_use+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31808 else
31812 ac_ext=cc
31813 ac_cpp='$CXXCPP $CPPFLAGS'
31814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31818 cat >conftest.$ac_ext <<_ACEOF
31819 /* confdefs.h. */
31820 _ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824 #include <math.h>
31826 main ()
31828 _modf(0, 0);
31830 return 0;
31832 _ACEOF
31833 rm -f conftest.$ac_objext
31834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31835 (eval $ac_compile) 2>conftest.er1
31836 ac_status=$?
31837 grep -v '^ *+' conftest.er1 >conftest.err
31838 rm -f conftest.er1
31839 cat conftest.err >&5
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); } &&
31842 { ac_try='test -z "$ac_cxx_werror_flag"
31843 || test ! -s conftest.err'
31844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31845 (eval $ac_try) 2>&5
31846 ac_status=$?
31847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31848 (exit $ac_status); }; } &&
31849 { ac_try='test -s conftest.$ac_objext'
31850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851 (eval $ac_try) 2>&5
31852 ac_status=$?
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); }; }; then
31855 glibcxx_cv_func__modf_use=yes
31856 else
31857 echo "$as_me: failed program was:" >&5
31858 sed 's/^/| /' conftest.$ac_ext >&5
31860 glibcxx_cv_func__modf_use=no
31862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31863 ac_ext=c
31864 ac_cpp='$CPP $CPPFLAGS'
31865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
31874 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
31876 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31878 for ac_func in _modf
31880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31881 echo "$as_me:$LINENO: checking for $ac_func" >&5
31882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31883 if eval "test \"\${$as_ac_var+set}\" = set"; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
31885 else
31886 if test x$gcc_no_link = xyes; then
31887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31889 { (exit 1); exit 1; }; }
31891 cat >conftest.$ac_ext <<_ACEOF
31892 /* confdefs.h. */
31893 _ACEOF
31894 cat confdefs.h >>conftest.$ac_ext
31895 cat >>conftest.$ac_ext <<_ACEOF
31896 /* end confdefs.h. */
31897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31899 #define $ac_func innocuous_$ac_func
31901 /* System header to define __stub macros and hopefully few prototypes,
31902 which can conflict with char $ac_func (); below.
31903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31904 <limits.h> exists even on freestanding compilers. */
31906 #ifdef __STDC__
31907 # include <limits.h>
31908 #else
31909 # include <assert.h>
31910 #endif
31912 #undef $ac_func
31914 /* Override any gcc2 internal prototype to avoid an error. */
31915 #ifdef __cplusplus
31916 extern "C"
31918 #endif
31919 /* We use char because int might match the return type of a gcc2
31920 builtin and then its argument prototype would still apply. */
31921 char $ac_func ();
31922 /* The GNU C library defines this for functions which it implements
31923 to always fail with ENOSYS. Some functions are actually named
31924 something starting with __ and the normal name is an alias. */
31925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31926 choke me
31927 #else
31928 char (*f) () = $ac_func;
31929 #endif
31930 #ifdef __cplusplus
31932 #endif
31935 main ()
31937 return f != $ac_func;
31939 return 0;
31941 _ACEOF
31942 rm -f conftest.$ac_objext conftest$ac_exeext
31943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31944 (eval $ac_link) 2>conftest.er1
31945 ac_status=$?
31946 grep -v '^ *+' conftest.er1 >conftest.err
31947 rm -f conftest.er1
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } &&
31951 { ac_try='test -z "$ac_c_werror_flag"
31952 || test ! -s conftest.err'
31953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31954 (eval $ac_try) 2>&5
31955 ac_status=$?
31956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31957 (exit $ac_status); }; } &&
31958 { ac_try='test -s conftest$ac_exeext'
31959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31960 (eval $ac_try) 2>&5
31961 ac_status=$?
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); }; }; then
31964 eval "$as_ac_var=yes"
31965 else
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31969 eval "$as_ac_var=no"
31971 rm -f conftest.err conftest.$ac_objext \
31972 conftest$ac_exeext conftest.$ac_ext
31974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31976 if test `eval echo '${'$as_ac_var'}'` = yes; then
31977 cat >>confdefs.h <<_ACEOF
31978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31979 _ACEOF
31982 done
31992 echo "$as_me:$LINENO: checking for powf declaration" >&5
31993 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
31994 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31995 if test "${glibcxx_cv_func_powf_use+set}" = set; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31997 else
32001 ac_ext=cc
32002 ac_cpp='$CXXCPP $CPPFLAGS'
32003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32007 cat >conftest.$ac_ext <<_ACEOF
32008 /* confdefs.h. */
32009 _ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32013 #include <math.h>
32015 main ()
32017 powf(0, 0);
32019 return 0;
32021 _ACEOF
32022 rm -f conftest.$ac_objext
32023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32024 (eval $ac_compile) 2>conftest.er1
32025 ac_status=$?
32026 grep -v '^ *+' conftest.er1 >conftest.err
32027 rm -f conftest.er1
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } &&
32031 { ac_try='test -z "$ac_cxx_werror_flag"
32032 || test ! -s conftest.err'
32033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32034 (eval $ac_try) 2>&5
32035 ac_status=$?
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); }; } &&
32038 { ac_try='test -s conftest.$ac_objext'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; }; then
32044 glibcxx_cv_func_powf_use=yes
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32049 glibcxx_cv_func_powf_use=no
32051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32052 ac_ext=c
32053 ac_cpp='$CPP $CPPFLAGS'
32054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32063 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32065 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32067 for ac_func in powf
32069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32070 echo "$as_me:$LINENO: checking for $ac_func" >&5
32071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32072 if eval "test \"\${$as_ac_var+set}\" = set"; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32074 else
32075 if test x$gcc_no_link = xyes; then
32076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32078 { (exit 1); exit 1; }; }
32080 cat >conftest.$ac_ext <<_ACEOF
32081 /* confdefs.h. */
32082 _ACEOF
32083 cat confdefs.h >>conftest.$ac_ext
32084 cat >>conftest.$ac_ext <<_ACEOF
32085 /* end confdefs.h. */
32086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32088 #define $ac_func innocuous_$ac_func
32090 /* System header to define __stub macros and hopefully few prototypes,
32091 which can conflict with char $ac_func (); below.
32092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32093 <limits.h> exists even on freestanding compilers. */
32095 #ifdef __STDC__
32096 # include <limits.h>
32097 #else
32098 # include <assert.h>
32099 #endif
32101 #undef $ac_func
32103 /* Override any gcc2 internal prototype to avoid an error. */
32104 #ifdef __cplusplus
32105 extern "C"
32107 #endif
32108 /* We use char because int might match the return type of a gcc2
32109 builtin and then its argument prototype would still apply. */
32110 char $ac_func ();
32111 /* The GNU C library defines this for functions which it implements
32112 to always fail with ENOSYS. Some functions are actually named
32113 something starting with __ and the normal name is an alias. */
32114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32115 choke me
32116 #else
32117 char (*f) () = $ac_func;
32118 #endif
32119 #ifdef __cplusplus
32121 #endif
32124 main ()
32126 return f != $ac_func;
32128 return 0;
32130 _ACEOF
32131 rm -f conftest.$ac_objext conftest$ac_exeext
32132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32133 (eval $ac_link) 2>conftest.er1
32134 ac_status=$?
32135 grep -v '^ *+' conftest.er1 >conftest.err
32136 rm -f conftest.er1
32137 cat conftest.err >&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try='test -z "$ac_c_werror_flag"
32141 || test ! -s conftest.err'
32142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32143 (eval $ac_try) 2>&5
32144 ac_status=$?
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; } &&
32147 { ac_try='test -s conftest$ac_exeext'
32148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32149 (eval $ac_try) 2>&5
32150 ac_status=$?
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); }; }; then
32153 eval "$as_ac_var=yes"
32154 else
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.$ac_ext >&5
32158 eval "$as_ac_var=no"
32160 rm -f conftest.err conftest.$ac_objext \
32161 conftest$ac_exeext conftest.$ac_ext
32163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32165 if test `eval echo '${'$as_ac_var'}'` = yes; then
32166 cat >>confdefs.h <<_ACEOF
32167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32168 _ACEOF
32171 done
32173 else
32175 echo "$as_me:$LINENO: checking for _powf declaration" >&5
32176 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32177 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32178 if test "${glibcxx_cv_func__powf_use+set}" = set; then
32179 echo $ECHO_N "(cached) $ECHO_C" >&6
32180 else
32184 ac_ext=cc
32185 ac_cpp='$CXXCPP $CPPFLAGS'
32186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32190 cat >conftest.$ac_ext <<_ACEOF
32191 /* confdefs.h. */
32192 _ACEOF
32193 cat confdefs.h >>conftest.$ac_ext
32194 cat >>conftest.$ac_ext <<_ACEOF
32195 /* end confdefs.h. */
32196 #include <math.h>
32198 main ()
32200 _powf(0, 0);
32202 return 0;
32204 _ACEOF
32205 rm -f conftest.$ac_objext
32206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32207 (eval $ac_compile) 2>conftest.er1
32208 ac_status=$?
32209 grep -v '^ *+' conftest.er1 >conftest.err
32210 rm -f conftest.er1
32211 cat conftest.err >&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } &&
32214 { ac_try='test -z "$ac_cxx_werror_flag"
32215 || test ! -s conftest.err'
32216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32217 (eval $ac_try) 2>&5
32218 ac_status=$?
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); }; } &&
32221 { ac_try='test -s conftest.$ac_objext'
32222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32223 (eval $ac_try) 2>&5
32224 ac_status=$?
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); }; }; then
32227 glibcxx_cv_func__powf_use=yes
32228 else
32229 echo "$as_me: failed program was:" >&5
32230 sed 's/^/| /' conftest.$ac_ext >&5
32232 glibcxx_cv_func__powf_use=no
32234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32235 ac_ext=c
32236 ac_cpp='$CPP $CPPFLAGS'
32237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32246 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32248 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32250 for ac_func in _powf
32252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32253 echo "$as_me:$LINENO: checking for $ac_func" >&5
32254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32255 if eval "test \"\${$as_ac_var+set}\" = set"; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 else
32258 if test x$gcc_no_link = xyes; then
32259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32261 { (exit 1); exit 1; }; }
32263 cat >conftest.$ac_ext <<_ACEOF
32264 /* confdefs.h. */
32265 _ACEOF
32266 cat confdefs.h >>conftest.$ac_ext
32267 cat >>conftest.$ac_ext <<_ACEOF
32268 /* end confdefs.h. */
32269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32271 #define $ac_func innocuous_$ac_func
32273 /* System header to define __stub macros and hopefully few prototypes,
32274 which can conflict with char $ac_func (); below.
32275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32276 <limits.h> exists even on freestanding compilers. */
32278 #ifdef __STDC__
32279 # include <limits.h>
32280 #else
32281 # include <assert.h>
32282 #endif
32284 #undef $ac_func
32286 /* Override any gcc2 internal prototype to avoid an error. */
32287 #ifdef __cplusplus
32288 extern "C"
32290 #endif
32291 /* We use char because int might match the return type of a gcc2
32292 builtin and then its argument prototype would still apply. */
32293 char $ac_func ();
32294 /* The GNU C library defines this for functions which it implements
32295 to always fail with ENOSYS. Some functions are actually named
32296 something starting with __ and the normal name is an alias. */
32297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32298 choke me
32299 #else
32300 char (*f) () = $ac_func;
32301 #endif
32302 #ifdef __cplusplus
32304 #endif
32307 main ()
32309 return f != $ac_func;
32311 return 0;
32313 _ACEOF
32314 rm -f conftest.$ac_objext conftest$ac_exeext
32315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32316 (eval $ac_link) 2>conftest.er1
32317 ac_status=$?
32318 grep -v '^ *+' conftest.er1 >conftest.err
32319 rm -f conftest.er1
32320 cat conftest.err >&5
32321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32322 (exit $ac_status); } &&
32323 { ac_try='test -z "$ac_c_werror_flag"
32324 || test ! -s conftest.err'
32325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32326 (eval $ac_try) 2>&5
32327 ac_status=$?
32328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32329 (exit $ac_status); }; } &&
32330 { ac_try='test -s conftest$ac_exeext'
32331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32332 (eval $ac_try) 2>&5
32333 ac_status=$?
32334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32335 (exit $ac_status); }; }; then
32336 eval "$as_ac_var=yes"
32337 else
32338 echo "$as_me: failed program was:" >&5
32339 sed 's/^/| /' conftest.$ac_ext >&5
32341 eval "$as_ac_var=no"
32343 rm -f conftest.err conftest.$ac_objext \
32344 conftest$ac_exeext conftest.$ac_ext
32346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32348 if test `eval echo '${'$as_ac_var'}'` = yes; then
32349 cat >>confdefs.h <<_ACEOF
32350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32351 _ACEOF
32354 done
32364 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32365 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32366 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32367 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32373 ac_ext=cc
32374 ac_cpp='$CXXCPP $CPPFLAGS'
32375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32379 cat >conftest.$ac_ext <<_ACEOF
32380 /* confdefs.h. */
32381 _ACEOF
32382 cat confdefs.h >>conftest.$ac_ext
32383 cat >>conftest.$ac_ext <<_ACEOF
32384 /* end confdefs.h. */
32385 #include <math.h>
32386 #ifdef HAVE_IEEEFP_H
32387 #include <ieeefp.h>
32388 #endif
32391 main ()
32393 sqrtf(0);
32395 return 0;
32397 _ACEOF
32398 rm -f conftest.$ac_objext
32399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32400 (eval $ac_compile) 2>conftest.er1
32401 ac_status=$?
32402 grep -v '^ *+' conftest.er1 >conftest.err
32403 rm -f conftest.er1
32404 cat conftest.err >&5
32405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32406 (exit $ac_status); } &&
32407 { ac_try='test -z "$ac_cxx_werror_flag"
32408 || test ! -s conftest.err'
32409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32410 (eval $ac_try) 2>&5
32411 ac_status=$?
32412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32413 (exit $ac_status); }; } &&
32414 { ac_try='test -s conftest.$ac_objext'
32415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32416 (eval $ac_try) 2>&5
32417 ac_status=$?
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); }; }; then
32420 glibcxx_cv_func_sqrtf_use=yes
32421 else
32422 echo "$as_me: failed program was:" >&5
32423 sed 's/^/| /' conftest.$ac_ext >&5
32425 glibcxx_cv_func_sqrtf_use=no
32427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32439 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32441 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32443 for ac_func in sqrtf
32445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32446 echo "$as_me:$LINENO: checking for $ac_func" >&5
32447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32448 if eval "test \"\${$as_ac_var+set}\" = set"; then
32449 echo $ECHO_N "(cached) $ECHO_C" >&6
32450 else
32451 if test x$gcc_no_link = xyes; then
32452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32454 { (exit 1); exit 1; }; }
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32464 #define $ac_func innocuous_$ac_func
32466 /* System header to define __stub macros and hopefully few prototypes,
32467 which can conflict with char $ac_func (); below.
32468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32469 <limits.h> exists even on freestanding compilers. */
32471 #ifdef __STDC__
32472 # include <limits.h>
32473 #else
32474 # include <assert.h>
32475 #endif
32477 #undef $ac_func
32479 /* Override any gcc2 internal prototype to avoid an error. */
32480 #ifdef __cplusplus
32481 extern "C"
32483 #endif
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char $ac_func ();
32487 /* The GNU C library defines this for functions which it implements
32488 to always fail with ENOSYS. Some functions are actually named
32489 something starting with __ and the normal name is an alias. */
32490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32491 choke me
32492 #else
32493 char (*f) () = $ac_func;
32494 #endif
32495 #ifdef __cplusplus
32497 #endif
32500 main ()
32502 return f != $ac_func;
32504 return 0;
32506 _ACEOF
32507 rm -f conftest.$ac_objext conftest$ac_exeext
32508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32509 (eval $ac_link) 2>conftest.er1
32510 ac_status=$?
32511 grep -v '^ *+' conftest.er1 >conftest.err
32512 rm -f conftest.er1
32513 cat conftest.err >&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); } &&
32516 { ac_try='test -z "$ac_c_werror_flag"
32517 || test ! -s conftest.err'
32518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32519 (eval $ac_try) 2>&5
32520 ac_status=$?
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); }; } &&
32523 { ac_try='test -s conftest$ac_exeext'
32524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32525 (eval $ac_try) 2>&5
32526 ac_status=$?
32527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32528 (exit $ac_status); }; }; then
32529 eval "$as_ac_var=yes"
32530 else
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32534 eval "$as_ac_var=no"
32536 rm -f conftest.err conftest.$ac_objext \
32537 conftest$ac_exeext conftest.$ac_ext
32539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32541 if test `eval echo '${'$as_ac_var'}'` = yes; then
32542 cat >>confdefs.h <<_ACEOF
32543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32544 _ACEOF
32547 done
32549 else
32551 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32552 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32553 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32554 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32555 echo $ECHO_N "(cached) $ECHO_C" >&6
32556 else
32560 ac_ext=cc
32561 ac_cpp='$CXXCPP $CPPFLAGS'
32562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32566 cat >conftest.$ac_ext <<_ACEOF
32567 /* confdefs.h. */
32568 _ACEOF
32569 cat confdefs.h >>conftest.$ac_ext
32570 cat >>conftest.$ac_ext <<_ACEOF
32571 /* end confdefs.h. */
32572 #include <math.h>
32573 #ifdef HAVE_IEEEFP_H
32574 #include <ieeefp.h>
32575 #endif
32578 main ()
32580 _sqrtf(0);
32582 return 0;
32584 _ACEOF
32585 rm -f conftest.$ac_objext
32586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32587 (eval $ac_compile) 2>conftest.er1
32588 ac_status=$?
32589 grep -v '^ *+' conftest.er1 >conftest.err
32590 rm -f conftest.er1
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } &&
32594 { ac_try='test -z "$ac_cxx_werror_flag"
32595 || test ! -s conftest.err'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32598 ac_status=$?
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; } &&
32601 { ac_try='test -s conftest.$ac_objext'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 glibcxx_cv_func__sqrtf_use=yes
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32612 glibcxx_cv_func__sqrtf_use=no
32614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32626 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32628 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32630 for ac_func in _sqrtf
32632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32633 echo "$as_me:$LINENO: checking for $ac_func" >&5
32634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32635 if eval "test \"\${$as_ac_var+set}\" = set"; then
32636 echo $ECHO_N "(cached) $ECHO_C" >&6
32637 else
32638 if test x$gcc_no_link = xyes; then
32639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32641 { (exit 1); exit 1; }; }
32643 cat >conftest.$ac_ext <<_ACEOF
32644 /* confdefs.h. */
32645 _ACEOF
32646 cat confdefs.h >>conftest.$ac_ext
32647 cat >>conftest.$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32651 #define $ac_func innocuous_$ac_func
32653 /* System header to define __stub macros and hopefully few prototypes,
32654 which can conflict with char $ac_func (); below.
32655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32656 <limits.h> exists even on freestanding compilers. */
32658 #ifdef __STDC__
32659 # include <limits.h>
32660 #else
32661 # include <assert.h>
32662 #endif
32664 #undef $ac_func
32666 /* Override any gcc2 internal prototype to avoid an error. */
32667 #ifdef __cplusplus
32668 extern "C"
32670 #endif
32671 /* We use char because int might match the return type of a gcc2
32672 builtin and then its argument prototype would still apply. */
32673 char $ac_func ();
32674 /* The GNU C library defines this for functions which it implements
32675 to always fail with ENOSYS. Some functions are actually named
32676 something starting with __ and the normal name is an alias. */
32677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32678 choke me
32679 #else
32680 char (*f) () = $ac_func;
32681 #endif
32682 #ifdef __cplusplus
32684 #endif
32687 main ()
32689 return f != $ac_func;
32691 return 0;
32693 _ACEOF
32694 rm -f conftest.$ac_objext conftest$ac_exeext
32695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32696 (eval $ac_link) 2>conftest.er1
32697 ac_status=$?
32698 grep -v '^ *+' conftest.er1 >conftest.err
32699 rm -f conftest.er1
32700 cat conftest.err >&5
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); } &&
32703 { ac_try='test -z "$ac_c_werror_flag"
32704 || test ! -s conftest.err'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32707 ac_status=$?
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; } &&
32710 { ac_try='test -s conftest$ac_exeext'
32711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32712 (eval $ac_try) 2>&5
32713 ac_status=$?
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); }; }; then
32716 eval "$as_ac_var=yes"
32717 else
32718 echo "$as_me: failed program was:" >&5
32719 sed 's/^/| /' conftest.$ac_ext >&5
32721 eval "$as_ac_var=no"
32723 rm -f conftest.err conftest.$ac_objext \
32724 conftest$ac_exeext conftest.$ac_ext
32726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32728 if test `eval echo '${'$as_ac_var'}'` = yes; then
32729 cat >>confdefs.h <<_ACEOF
32730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32731 _ACEOF
32734 done
32744 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
32745 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
32746 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32747 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
32748 echo $ECHO_N "(cached) $ECHO_C" >&6
32749 else
32753 ac_ext=cc
32754 ac_cpp='$CXXCPP $CPPFLAGS'
32755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32759 cat >conftest.$ac_ext <<_ACEOF
32760 /* confdefs.h. */
32761 _ACEOF
32762 cat confdefs.h >>conftest.$ac_ext
32763 cat >>conftest.$ac_ext <<_ACEOF
32764 /* end confdefs.h. */
32765 #include <math.h>
32767 main ()
32769 sincosf(0, 0, 0);
32771 return 0;
32773 _ACEOF
32774 rm -f conftest.$ac_objext
32775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32776 (eval $ac_compile) 2>conftest.er1
32777 ac_status=$?
32778 grep -v '^ *+' conftest.er1 >conftest.err
32779 rm -f conftest.er1
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } &&
32783 { ac_try='test -z "$ac_cxx_werror_flag"
32784 || test ! -s conftest.err'
32785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32786 (eval $ac_try) 2>&5
32787 ac_status=$?
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); }; } &&
32790 { ac_try='test -s conftest.$ac_objext'
32791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 (eval $ac_try) 2>&5
32793 ac_status=$?
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; }; then
32796 glibcxx_cv_func_sincosf_use=yes
32797 else
32798 echo "$as_me: failed program was:" >&5
32799 sed 's/^/| /' conftest.$ac_ext >&5
32801 glibcxx_cv_func_sincosf_use=no
32803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
32815 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
32817 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32819 for ac_func in sincosf
32821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32822 echo "$as_me:$LINENO: checking for $ac_func" >&5
32823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32824 if eval "test \"\${$as_ac_var+set}\" = set"; then
32825 echo $ECHO_N "(cached) $ECHO_C" >&6
32826 else
32827 if test x$gcc_no_link = xyes; then
32828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32830 { (exit 1); exit 1; }; }
32832 cat >conftest.$ac_ext <<_ACEOF
32833 /* confdefs.h. */
32834 _ACEOF
32835 cat confdefs.h >>conftest.$ac_ext
32836 cat >>conftest.$ac_ext <<_ACEOF
32837 /* end confdefs.h. */
32838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32840 #define $ac_func innocuous_$ac_func
32842 /* System header to define __stub macros and hopefully few prototypes,
32843 which can conflict with char $ac_func (); below.
32844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32845 <limits.h> exists even on freestanding compilers. */
32847 #ifdef __STDC__
32848 # include <limits.h>
32849 #else
32850 # include <assert.h>
32851 #endif
32853 #undef $ac_func
32855 /* Override any gcc2 internal prototype to avoid an error. */
32856 #ifdef __cplusplus
32857 extern "C"
32859 #endif
32860 /* We use char because int might match the return type of a gcc2
32861 builtin and then its argument prototype would still apply. */
32862 char $ac_func ();
32863 /* The GNU C library defines this for functions which it implements
32864 to always fail with ENOSYS. Some functions are actually named
32865 something starting with __ and the normal name is an alias. */
32866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32867 choke me
32868 #else
32869 char (*f) () = $ac_func;
32870 #endif
32871 #ifdef __cplusplus
32873 #endif
32876 main ()
32878 return f != $ac_func;
32880 return 0;
32882 _ACEOF
32883 rm -f conftest.$ac_objext conftest$ac_exeext
32884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32885 (eval $ac_link) 2>conftest.er1
32886 ac_status=$?
32887 grep -v '^ *+' conftest.er1 >conftest.err
32888 rm -f conftest.er1
32889 cat conftest.err >&5
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); } &&
32892 { ac_try='test -z "$ac_c_werror_flag"
32893 || test ! -s conftest.err'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32896 ac_status=$?
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; } &&
32899 { ac_try='test -s conftest$ac_exeext'
32900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901 (eval $ac_try) 2>&5
32902 ac_status=$?
32903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32904 (exit $ac_status); }; }; then
32905 eval "$as_ac_var=yes"
32906 else
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.$ac_ext >&5
32910 eval "$as_ac_var=no"
32912 rm -f conftest.err conftest.$ac_objext \
32913 conftest$ac_exeext conftest.$ac_ext
32915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32917 if test `eval echo '${'$as_ac_var'}'` = yes; then
32918 cat >>confdefs.h <<_ACEOF
32919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32920 _ACEOF
32923 done
32925 else
32927 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
32928 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
32929 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32930 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32932 else
32936 ac_ext=cc
32937 ac_cpp='$CXXCPP $CPPFLAGS'
32938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32942 cat >conftest.$ac_ext <<_ACEOF
32943 /* confdefs.h. */
32944 _ACEOF
32945 cat confdefs.h >>conftest.$ac_ext
32946 cat >>conftest.$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32948 #include <math.h>
32950 main ()
32952 _sincosf(0, 0, 0);
32954 return 0;
32956 _ACEOF
32957 rm -f conftest.$ac_objext
32958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32959 (eval $ac_compile) 2>conftest.er1
32960 ac_status=$?
32961 grep -v '^ *+' conftest.er1 >conftest.err
32962 rm -f conftest.er1
32963 cat conftest.err >&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } &&
32966 { ac_try='test -z "$ac_cxx_werror_flag"
32967 || test ! -s conftest.err'
32968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32969 (eval $ac_try) 2>&5
32970 ac_status=$?
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); }; } &&
32973 { ac_try='test -s conftest.$ac_objext'
32974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975 (eval $ac_try) 2>&5
32976 ac_status=$?
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); }; }; then
32979 glibcxx_cv_func__sincosf_use=yes
32980 else
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.$ac_ext >&5
32984 glibcxx_cv_func__sincosf_use=no
32986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32987 ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
32998 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
33000 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33002 for ac_func in _sincosf
33004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33005 echo "$as_me:$LINENO: checking for $ac_func" >&5
33006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33007 if eval "test \"\${$as_ac_var+set}\" = set"; then
33008 echo $ECHO_N "(cached) $ECHO_C" >&6
33009 else
33010 if test x$gcc_no_link = xyes; then
33011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33013 { (exit 1); exit 1; }; }
33015 cat >conftest.$ac_ext <<_ACEOF
33016 /* confdefs.h. */
33017 _ACEOF
33018 cat confdefs.h >>conftest.$ac_ext
33019 cat >>conftest.$ac_ext <<_ACEOF
33020 /* end confdefs.h. */
33021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33023 #define $ac_func innocuous_$ac_func
33025 /* System header to define __stub macros and hopefully few prototypes,
33026 which can conflict with char $ac_func (); below.
33027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33028 <limits.h> exists even on freestanding compilers. */
33030 #ifdef __STDC__
33031 # include <limits.h>
33032 #else
33033 # include <assert.h>
33034 #endif
33036 #undef $ac_func
33038 /* Override any gcc2 internal prototype to avoid an error. */
33039 #ifdef __cplusplus
33040 extern "C"
33042 #endif
33043 /* We use char because int might match the return type of a gcc2
33044 builtin and then its argument prototype would still apply. */
33045 char $ac_func ();
33046 /* The GNU C library defines this for functions which it implements
33047 to always fail with ENOSYS. Some functions are actually named
33048 something starting with __ and the normal name is an alias. */
33049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33050 choke me
33051 #else
33052 char (*f) () = $ac_func;
33053 #endif
33054 #ifdef __cplusplus
33056 #endif
33059 main ()
33061 return f != $ac_func;
33063 return 0;
33065 _ACEOF
33066 rm -f conftest.$ac_objext conftest$ac_exeext
33067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33068 (eval $ac_link) 2>conftest.er1
33069 ac_status=$?
33070 grep -v '^ *+' conftest.er1 >conftest.err
33071 rm -f conftest.er1
33072 cat conftest.err >&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); } &&
33075 { ac_try='test -z "$ac_c_werror_flag"
33076 || test ! -s conftest.err'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33079 ac_status=$?
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; } &&
33082 { ac_try='test -s conftest$ac_exeext'
33083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33084 (eval $ac_try) 2>&5
33085 ac_status=$?
33086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33087 (exit $ac_status); }; }; then
33088 eval "$as_ac_var=yes"
33089 else
33090 echo "$as_me: failed program was:" >&5
33091 sed 's/^/| /' conftest.$ac_ext >&5
33093 eval "$as_ac_var=no"
33095 rm -f conftest.err conftest.$ac_objext \
33096 conftest$ac_exeext conftest.$ac_ext
33098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33100 if test `eval echo '${'$as_ac_var'}'` = yes; then
33101 cat >>confdefs.h <<_ACEOF
33102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33103 _ACEOF
33106 done
33116 echo "$as_me:$LINENO: checking for finitef declaration" >&5
33117 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33118 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33119 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 else
33125 ac_ext=cc
33126 ac_cpp='$CXXCPP $CPPFLAGS'
33127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33131 cat >conftest.$ac_ext <<_ACEOF
33132 /* confdefs.h. */
33133 _ACEOF
33134 cat confdefs.h >>conftest.$ac_ext
33135 cat >>conftest.$ac_ext <<_ACEOF
33136 /* end confdefs.h. */
33137 #include <math.h>
33138 #ifdef HAVE_IEEEFP_H
33139 #include <ieeefp.h>
33140 #endif
33143 main ()
33145 finitef(0);
33147 return 0;
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33153 ac_status=$?
33154 grep -v '^ *+' conftest.er1 >conftest.err
33155 rm -f conftest.er1
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try='test -z "$ac_cxx_werror_flag"
33160 || test ! -s conftest.err'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; } &&
33166 { ac_try='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 glibcxx_cv_func_finitef_use=yes
33173 else
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33177 glibcxx_cv_func_finitef_use=no
33179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33180 ac_ext=c
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33191 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33193 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33195 for ac_func in finitef
33197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33198 echo "$as_me:$LINENO: checking for $ac_func" >&5
33199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33200 if eval "test \"\${$as_ac_var+set}\" = set"; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203 if test x$gcc_no_link = xyes; then
33204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33206 { (exit 1); exit 1; }; }
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h. */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33216 #define $ac_func innocuous_$ac_func
33218 /* System header to define __stub macros and hopefully few prototypes,
33219 which can conflict with char $ac_func (); below.
33220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221 <limits.h> exists even on freestanding compilers. */
33223 #ifdef __STDC__
33224 # include <limits.h>
33225 #else
33226 # include <assert.h>
33227 #endif
33229 #undef $ac_func
33231 /* Override any gcc2 internal prototype to avoid an error. */
33232 #ifdef __cplusplus
33233 extern "C"
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33238 char $ac_func ();
33239 /* The GNU C library defines this for functions which it implements
33240 to always fail with ENOSYS. Some functions are actually named
33241 something starting with __ and the normal name is an alias. */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33243 choke me
33244 #else
33245 char (*f) () = $ac_func;
33246 #endif
33247 #ifdef __cplusplus
33249 #endif
33252 main ()
33254 return f != $ac_func;
33256 return 0;
33258 _ACEOF
33259 rm -f conftest.$ac_objext conftest$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261 (eval $ac_link) 2>conftest.er1
33262 ac_status=$?
33263 grep -v '^ *+' conftest.er1 >conftest.err
33264 rm -f conftest.er1
33265 cat conftest.err >&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try='test -s conftest$ac_exeext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 eval "$as_ac_var=yes"
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33286 eval "$as_ac_var=no"
33288 rm -f conftest.err conftest.$ac_objext \
33289 conftest$ac_exeext conftest.$ac_ext
33291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33293 if test `eval echo '${'$as_ac_var'}'` = yes; then
33294 cat >>confdefs.h <<_ACEOF
33295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33296 _ACEOF
33299 done
33301 else
33303 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33304 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33305 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33306 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33312 ac_ext=cc
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 #include <math.h>
33325 #ifdef HAVE_IEEEFP_H
33326 #include <ieeefp.h>
33327 #endif
33330 main ()
33332 _finitef(0);
33334 return 0;
33336 _ACEOF
33337 rm -f conftest.$ac_objext
33338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33339 (eval $ac_compile) 2>conftest.er1
33340 ac_status=$?
33341 grep -v '^ *+' conftest.er1 >conftest.err
33342 rm -f conftest.er1
33343 cat conftest.err >&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); } &&
33346 { ac_try='test -z "$ac_cxx_werror_flag"
33347 || test ! -s conftest.err'
33348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33349 (eval $ac_try) 2>&5
33350 ac_status=$?
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; } &&
33353 { ac_try='test -s conftest.$ac_objext'
33354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33355 (eval $ac_try) 2>&5
33356 ac_status=$?
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); }; }; then
33359 glibcxx_cv_func__finitef_use=yes
33360 else
33361 echo "$as_me: failed program was:" >&5
33362 sed 's/^/| /' conftest.$ac_ext >&5
33364 glibcxx_cv_func__finitef_use=no
33366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33378 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33380 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33382 for ac_func in _finitef
33384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33385 echo "$as_me:$LINENO: checking for $ac_func" >&5
33386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33387 if eval "test \"\${$as_ac_var+set}\" = set"; then
33388 echo $ECHO_N "(cached) $ECHO_C" >&6
33389 else
33390 if test x$gcc_no_link = xyes; then
33391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33393 { (exit 1); exit 1; }; }
33395 cat >conftest.$ac_ext <<_ACEOF
33396 /* confdefs.h. */
33397 _ACEOF
33398 cat confdefs.h >>conftest.$ac_ext
33399 cat >>conftest.$ac_ext <<_ACEOF
33400 /* end confdefs.h. */
33401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33403 #define $ac_func innocuous_$ac_func
33405 /* System header to define __stub macros and hopefully few prototypes,
33406 which can conflict with char $ac_func (); below.
33407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33408 <limits.h> exists even on freestanding compilers. */
33410 #ifdef __STDC__
33411 # include <limits.h>
33412 #else
33413 # include <assert.h>
33414 #endif
33416 #undef $ac_func
33418 /* Override any gcc2 internal prototype to avoid an error. */
33419 #ifdef __cplusplus
33420 extern "C"
33422 #endif
33423 /* We use char because int might match the return type of a gcc2
33424 builtin and then its argument prototype would still apply. */
33425 char $ac_func ();
33426 /* The GNU C library defines this for functions which it implements
33427 to always fail with ENOSYS. Some functions are actually named
33428 something starting with __ and the normal name is an alias. */
33429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33430 choke me
33431 #else
33432 char (*f) () = $ac_func;
33433 #endif
33434 #ifdef __cplusplus
33436 #endif
33439 main ()
33441 return f != $ac_func;
33443 return 0;
33445 _ACEOF
33446 rm -f conftest.$ac_objext conftest$ac_exeext
33447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33448 (eval $ac_link) 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } &&
33455 { ac_try='test -z "$ac_c_werror_flag"
33456 || test ! -s conftest.err'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; } &&
33462 { ac_try='test -s conftest$ac_exeext'
33463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33464 (eval $ac_try) 2>&5
33465 ac_status=$?
33466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33467 (exit $ac_status); }; }; then
33468 eval "$as_ac_var=yes"
33469 else
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.$ac_ext >&5
33473 eval "$as_ac_var=no"
33475 rm -f conftest.err conftest.$ac_objext \
33476 conftest$ac_exeext conftest.$ac_ext
33478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33480 if test `eval echo '${'$as_ac_var'}'` = yes; then
33481 cat >>confdefs.h <<_ACEOF
33482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33483 _ACEOF
33486 done
33496 echo "$as_me:$LINENO: checking for long double trig functions" >&5
33497 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33498 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33499 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 else
33504 ac_ext=cc
33505 ac_cpp='$CXXCPP $CPPFLAGS'
33506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33510 cat >conftest.$ac_ext <<_ACEOF
33511 /* confdefs.h. */
33512 _ACEOF
33513 cat confdefs.h >>conftest.$ac_ext
33514 cat >>conftest.$ac_ext <<_ACEOF
33515 /* end confdefs.h. */
33516 #include <math.h>
33518 main ()
33520 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33522 return 0;
33524 _ACEOF
33525 rm -f conftest.$ac_objext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33527 (eval $ac_compile) 2>conftest.er1
33528 ac_status=$?
33529 grep -v '^ *+' conftest.er1 >conftest.err
33530 rm -f conftest.er1
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try='test -z "$ac_cxx_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try='test -s conftest.$ac_objext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33544 ac_status=$?
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 glibcxx_cv_func_long_double_trig_use=yes
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33552 glibcxx_cv_func_long_double_trig_use=no
33554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33555 ac_ext=c
33556 ac_cpp='$CPP $CPPFLAGS'
33557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33564 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33565 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33575 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33578 echo "$as_me:$LINENO: checking for $ac_func" >&5
33579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33580 if eval "test \"\${$as_ac_var+set}\" = set"; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 else
33583 if test x$gcc_no_link = xyes; then
33584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33586 { (exit 1); exit 1; }; }
33588 cat >conftest.$ac_ext <<_ACEOF
33589 /* confdefs.h. */
33590 _ACEOF
33591 cat confdefs.h >>conftest.$ac_ext
33592 cat >>conftest.$ac_ext <<_ACEOF
33593 /* end confdefs.h. */
33594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33596 #define $ac_func innocuous_$ac_func
33598 /* System header to define __stub macros and hopefully few prototypes,
33599 which can conflict with char $ac_func (); below.
33600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33601 <limits.h> exists even on freestanding compilers. */
33603 #ifdef __STDC__
33604 # include <limits.h>
33605 #else
33606 # include <assert.h>
33607 #endif
33609 #undef $ac_func
33611 /* Override any gcc2 internal prototype to avoid an error. */
33612 #ifdef __cplusplus
33613 extern "C"
33615 #endif
33616 /* We use char because int might match the return type of a gcc2
33617 builtin and then its argument prototype would still apply. */
33618 char $ac_func ();
33619 /* The GNU C library defines this for functions which it implements
33620 to always fail with ENOSYS. Some functions are actually named
33621 something starting with __ and the normal name is an alias. */
33622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33623 choke me
33624 #else
33625 char (*f) () = $ac_func;
33626 #endif
33627 #ifdef __cplusplus
33629 #endif
33632 main ()
33634 return f != $ac_func;
33636 return 0;
33638 _ACEOF
33639 rm -f conftest.$ac_objext conftest$ac_exeext
33640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33641 (eval $ac_link) 2>conftest.er1
33642 ac_status=$?
33643 grep -v '^ *+' conftest.er1 >conftest.err
33644 rm -f conftest.er1
33645 cat conftest.err >&5
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); } &&
33648 { ac_try='test -z "$ac_c_werror_flag"
33649 || test ! -s conftest.err'
33650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33651 (eval $ac_try) 2>&5
33652 ac_status=$?
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); }; } &&
33655 { ac_try='test -s conftest$ac_exeext'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33658 ac_status=$?
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; }; then
33661 eval "$as_ac_var=yes"
33662 else
33663 echo "$as_me: failed program was:" >&5
33664 sed 's/^/| /' conftest.$ac_ext >&5
33666 eval "$as_ac_var=no"
33668 rm -f conftest.err conftest.$ac_objext \
33669 conftest$ac_exeext conftest.$ac_ext
33671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33673 if test `eval echo '${'$as_ac_var'}'` = yes; then
33674 cat >>confdefs.h <<_ACEOF
33675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33676 _ACEOF
33679 done
33681 else
33682 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
33683 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
33684 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
33685 echo $ECHO_N "(cached) $ECHO_C" >&6
33686 else
33690 ac_ext=cc
33691 ac_cpp='$CXXCPP $CPPFLAGS'
33692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696 cat >conftest.$ac_ext <<_ACEOF
33697 /* confdefs.h. */
33698 _ACEOF
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33702 #include <math.h>
33704 main ()
33706 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33708 return 0;
33710 _ACEOF
33711 rm -f conftest.$ac_objext
33712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33713 (eval $ac_compile) 2>conftest.er1
33714 ac_status=$?
33715 grep -v '^ *+' conftest.er1 >conftest.err
33716 rm -f conftest.er1
33717 cat conftest.err >&5
33718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33719 (exit $ac_status); } &&
33720 { ac_try='test -z "$ac_cxx_werror_flag"
33721 || test ! -s conftest.err'
33722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33723 (eval $ac_try) 2>&5
33724 ac_status=$?
33725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33726 (exit $ac_status); }; } &&
33727 { ac_try='test -s conftest.$ac_objext'
33728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33729 (eval $ac_try) 2>&5
33730 ac_status=$?
33731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33732 (exit $ac_status); }; }; then
33733 glibcxx_cv_func__long_double_trig_use=yes
33734 else
33735 echo "$as_me: failed program was:" >&5
33736 sed 's/^/| /' conftest.$ac_ext >&5
33738 glibcxx_cv_func__long_double_trig_use=no
33740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33741 ac_ext=c
33742 ac_cpp='$CPP $CPPFLAGS'
33743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
33750 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
33751 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33761 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33764 echo "$as_me:$LINENO: checking for $ac_func" >&5
33765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33766 if eval "test \"\${$as_ac_var+set}\" = set"; then
33767 echo $ECHO_N "(cached) $ECHO_C" >&6
33768 else
33769 if test x$gcc_no_link = xyes; then
33770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33772 { (exit 1); exit 1; }; }
33774 cat >conftest.$ac_ext <<_ACEOF
33775 /* confdefs.h. */
33776 _ACEOF
33777 cat confdefs.h >>conftest.$ac_ext
33778 cat >>conftest.$ac_ext <<_ACEOF
33779 /* end confdefs.h. */
33780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33782 #define $ac_func innocuous_$ac_func
33784 /* System header to define __stub macros and hopefully few prototypes,
33785 which can conflict with char $ac_func (); below.
33786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33787 <limits.h> exists even on freestanding compilers. */
33789 #ifdef __STDC__
33790 # include <limits.h>
33791 #else
33792 # include <assert.h>
33793 #endif
33795 #undef $ac_func
33797 /* Override any gcc2 internal prototype to avoid an error. */
33798 #ifdef __cplusplus
33799 extern "C"
33801 #endif
33802 /* We use char because int might match the return type of a gcc2
33803 builtin and then its argument prototype would still apply. */
33804 char $ac_func ();
33805 /* The GNU C library defines this for functions which it implements
33806 to always fail with ENOSYS. Some functions are actually named
33807 something starting with __ and the normal name is an alias. */
33808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33809 choke me
33810 #else
33811 char (*f) () = $ac_func;
33812 #endif
33813 #ifdef __cplusplus
33815 #endif
33818 main ()
33820 return f != $ac_func;
33822 return 0;
33824 _ACEOF
33825 rm -f conftest.$ac_objext conftest$ac_exeext
33826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33827 (eval $ac_link) 2>conftest.er1
33828 ac_status=$?
33829 grep -v '^ *+' conftest.er1 >conftest.err
33830 rm -f conftest.er1
33831 cat conftest.err >&5
33832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33833 (exit $ac_status); } &&
33834 { ac_try='test -z "$ac_c_werror_flag"
33835 || test ! -s conftest.err'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33838 ac_status=$?
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; } &&
33841 { ac_try='test -s conftest$ac_exeext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33844 ac_status=$?
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 eval "$as_ac_var=yes"
33848 else
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33852 eval "$as_ac_var=no"
33854 rm -f conftest.err conftest.$ac_objext \
33855 conftest$ac_exeext conftest.$ac_ext
33857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33859 if test `eval echo '${'$as_ac_var'}'` = yes; then
33860 cat >>confdefs.h <<_ACEOF
33861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33862 _ACEOF
33865 done
33883 echo "$as_me:$LINENO: checking for long double round functions" >&5
33884 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
33885 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
33886 echo $ECHO_N "(cached) $ECHO_C" >&6
33887 else
33891 ac_ext=cc
33892 ac_cpp='$CXXCPP $CPPFLAGS'
33893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33897 cat >conftest.$ac_ext <<_ACEOF
33898 /* confdefs.h. */
33899 _ACEOF
33900 cat confdefs.h >>conftest.$ac_ext
33901 cat >>conftest.$ac_ext <<_ACEOF
33902 /* end confdefs.h. */
33903 #include <math.h>
33905 main ()
33907 ceill (0); floorl (0);
33909 return 0;
33911 _ACEOF
33912 rm -f conftest.$ac_objext
33913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33914 (eval $ac_compile) 2>conftest.er1
33915 ac_status=$?
33916 grep -v '^ *+' conftest.er1 >conftest.err
33917 rm -f conftest.er1
33918 cat conftest.err >&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } &&
33921 { ac_try='test -z "$ac_cxx_werror_flag"
33922 || test ! -s conftest.err'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33925 ac_status=$?
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; } &&
33928 { ac_try='test -s conftest.$ac_objext'
33929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33930 (eval $ac_try) 2>&5
33931 ac_status=$?
33932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33933 (exit $ac_status); }; }; then
33934 glibcxx_cv_func_long_double_round_use=yes
33935 else
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33939 glibcxx_cv_func_long_double_round_use=no
33941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33942 ac_ext=c
33943 ac_cpp='$CPP $CPPFLAGS'
33944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33950 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
33951 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
33952 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33955 for ac_func in ceill floorl
33957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33958 echo "$as_me:$LINENO: checking for $ac_func" >&5
33959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33960 if eval "test \"\${$as_ac_var+set}\" = set"; then
33961 echo $ECHO_N "(cached) $ECHO_C" >&6
33962 else
33963 if test x$gcc_no_link = xyes; then
33964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33966 { (exit 1); exit 1; }; }
33968 cat >conftest.$ac_ext <<_ACEOF
33969 /* confdefs.h. */
33970 _ACEOF
33971 cat confdefs.h >>conftest.$ac_ext
33972 cat >>conftest.$ac_ext <<_ACEOF
33973 /* end confdefs.h. */
33974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33976 #define $ac_func innocuous_$ac_func
33978 /* System header to define __stub macros and hopefully few prototypes,
33979 which can conflict with char $ac_func (); below.
33980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33981 <limits.h> exists even on freestanding compilers. */
33983 #ifdef __STDC__
33984 # include <limits.h>
33985 #else
33986 # include <assert.h>
33987 #endif
33989 #undef $ac_func
33991 /* Override any gcc2 internal prototype to avoid an error. */
33992 #ifdef __cplusplus
33993 extern "C"
33995 #endif
33996 /* We use char because int might match the return type of a gcc2
33997 builtin and then its argument prototype would still apply. */
33998 char $ac_func ();
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34003 choke me
34004 #else
34005 char (*f) () = $ac_func;
34006 #endif
34007 #ifdef __cplusplus
34009 #endif
34012 main ()
34014 return f != $ac_func;
34016 return 0;
34018 _ACEOF
34019 rm -f conftest.$ac_objext conftest$ac_exeext
34020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34021 (eval $ac_link) 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } &&
34028 { ac_try='test -z "$ac_c_werror_flag"
34029 || test ! -s conftest.err'
34030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031 (eval $ac_try) 2>&5
34032 ac_status=$?
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); }; } &&
34035 { ac_try='test -s conftest$ac_exeext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 eval "$as_ac_var=yes"
34042 else
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34046 eval "$as_ac_var=no"
34048 rm -f conftest.err conftest.$ac_objext \
34049 conftest$ac_exeext conftest.$ac_ext
34051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34053 if test `eval echo '${'$as_ac_var'}'` = yes; then
34054 cat >>confdefs.h <<_ACEOF
34055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34056 _ACEOF
34059 done
34061 else
34062 echo "$as_me:$LINENO: checking for _long double round functions" >&5
34063 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34064 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34065 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 else
34070 ac_ext=cc
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34076 cat >conftest.$ac_ext <<_ACEOF
34077 /* confdefs.h. */
34078 _ACEOF
34079 cat confdefs.h >>conftest.$ac_ext
34080 cat >>conftest.$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34082 #include <math.h>
34084 main ()
34086 _ceill (0); _floorl (0);
34088 return 0;
34090 _ACEOF
34091 rm -f conftest.$ac_objext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34093 (eval $ac_compile) 2>conftest.er1
34094 ac_status=$?
34095 grep -v '^ *+' conftest.er1 >conftest.err
34096 rm -f conftest.er1
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } &&
34100 { ac_try='test -z "$ac_cxx_werror_flag"
34101 || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34104 ac_status=$?
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try='test -s conftest.$ac_objext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34110 ac_status=$?
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 glibcxx_cv_func__long_double_round_use=yes
34114 else
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34118 glibcxx_cv_func__long_double_round_use=no
34120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34121 ac_ext=c
34122 ac_cpp='$CPP $CPPFLAGS'
34123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34130 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34131 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34134 for ac_func in _ceill _floorl
34136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34137 echo "$as_me:$LINENO: checking for $ac_func" >&5
34138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34139 if eval "test \"\${$as_ac_var+set}\" = set"; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 else
34142 if test x$gcc_no_link = xyes; then
34143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34145 { (exit 1); exit 1; }; }
34147 cat >conftest.$ac_ext <<_ACEOF
34148 /* confdefs.h. */
34149 _ACEOF
34150 cat confdefs.h >>conftest.$ac_ext
34151 cat >>conftest.$ac_ext <<_ACEOF
34152 /* end confdefs.h. */
34153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34155 #define $ac_func innocuous_$ac_func
34157 /* System header to define __stub macros and hopefully few prototypes,
34158 which can conflict with char $ac_func (); below.
34159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34160 <limits.h> exists even on freestanding compilers. */
34162 #ifdef __STDC__
34163 # include <limits.h>
34164 #else
34165 # include <assert.h>
34166 #endif
34168 #undef $ac_func
34170 /* Override any gcc2 internal prototype to avoid an error. */
34171 #ifdef __cplusplus
34172 extern "C"
34174 #endif
34175 /* We use char because int might match the return type of a gcc2
34176 builtin and then its argument prototype would still apply. */
34177 char $ac_func ();
34178 /* The GNU C library defines this for functions which it implements
34179 to always fail with ENOSYS. Some functions are actually named
34180 something starting with __ and the normal name is an alias. */
34181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34182 choke me
34183 #else
34184 char (*f) () = $ac_func;
34185 #endif
34186 #ifdef __cplusplus
34188 #endif
34191 main ()
34193 return f != $ac_func;
34195 return 0;
34197 _ACEOF
34198 rm -f conftest.$ac_objext conftest$ac_exeext
34199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34200 (eval $ac_link) 2>conftest.er1
34201 ac_status=$?
34202 grep -v '^ *+' conftest.er1 >conftest.err
34203 rm -f conftest.er1
34204 cat conftest.err >&5
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); } &&
34207 { ac_try='test -z "$ac_c_werror_flag"
34208 || test ! -s conftest.err'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; } &&
34214 { ac_try='test -s conftest$ac_exeext'
34215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34216 (eval $ac_try) 2>&5
34217 ac_status=$?
34218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34219 (exit $ac_status); }; }; then
34220 eval "$as_ac_var=yes"
34221 else
34222 echo "$as_me: failed program was:" >&5
34223 sed 's/^/| /' conftest.$ac_ext >&5
34225 eval "$as_ac_var=no"
34227 rm -f conftest.err conftest.$ac_objext \
34228 conftest$ac_exeext conftest.$ac_ext
34230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34232 if test `eval echo '${'$as_ac_var'}'` = yes; then
34233 cat >>confdefs.h <<_ACEOF
34234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34235 _ACEOF
34238 done
34250 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34251 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34252 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34253 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34259 ac_ext=cc
34260 ac_cpp='$CXXCPP $CPPFLAGS'
34261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34265 cat >conftest.$ac_ext <<_ACEOF
34266 /* confdefs.h. */
34267 _ACEOF
34268 cat confdefs.h >>conftest.$ac_ext
34269 cat >>conftest.$ac_ext <<_ACEOF
34270 /* end confdefs.h. */
34271 #include <math.h>
34272 #ifdef HAVE_IEEEFP_H
34273 #include <ieeefp.h>
34274 #endif
34277 main ()
34279 isnanl(0);
34281 return 0;
34283 _ACEOF
34284 rm -f conftest.$ac_objext
34285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34286 (eval $ac_compile) 2>conftest.er1
34287 ac_status=$?
34288 grep -v '^ *+' conftest.er1 >conftest.err
34289 rm -f conftest.er1
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } &&
34293 { ac_try='test -z "$ac_cxx_werror_flag"
34294 || test ! -s conftest.err'
34295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34296 (eval $ac_try) 2>&5
34297 ac_status=$?
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); }; } &&
34300 { ac_try='test -s conftest.$ac_objext'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; }; then
34306 glibcxx_cv_func_isnanl_use=yes
34307 else
34308 echo "$as_me: failed program was:" >&5
34309 sed 's/^/| /' conftest.$ac_ext >&5
34311 glibcxx_cv_func_isnanl_use=no
34313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34314 ac_ext=c
34315 ac_cpp='$CPP $CPPFLAGS'
34316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34324 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34325 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34327 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34329 for ac_func in isnanl
34331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34332 echo "$as_me:$LINENO: checking for $ac_func" >&5
34333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34334 if eval "test \"\${$as_ac_var+set}\" = set"; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 else
34337 if test x$gcc_no_link = xyes; then
34338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34340 { (exit 1); exit 1; }; }
34342 cat >conftest.$ac_ext <<_ACEOF
34343 /* confdefs.h. */
34344 _ACEOF
34345 cat confdefs.h >>conftest.$ac_ext
34346 cat >>conftest.$ac_ext <<_ACEOF
34347 /* end confdefs.h. */
34348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34350 #define $ac_func innocuous_$ac_func
34352 /* System header to define __stub macros and hopefully few prototypes,
34353 which can conflict with char $ac_func (); below.
34354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34355 <limits.h> exists even on freestanding compilers. */
34357 #ifdef __STDC__
34358 # include <limits.h>
34359 #else
34360 # include <assert.h>
34361 #endif
34363 #undef $ac_func
34365 /* Override any gcc2 internal prototype to avoid an error. */
34366 #ifdef __cplusplus
34367 extern "C"
34369 #endif
34370 /* We use char because int might match the return type of a gcc2
34371 builtin and then its argument prototype would still apply. */
34372 char $ac_func ();
34373 /* The GNU C library defines this for functions which it implements
34374 to always fail with ENOSYS. Some functions are actually named
34375 something starting with __ and the normal name is an alias. */
34376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34377 choke me
34378 #else
34379 char (*f) () = $ac_func;
34380 #endif
34381 #ifdef __cplusplus
34383 #endif
34386 main ()
34388 return f != $ac_func;
34390 return 0;
34392 _ACEOF
34393 rm -f conftest.$ac_objext conftest$ac_exeext
34394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34395 (eval $ac_link) 2>conftest.er1
34396 ac_status=$?
34397 grep -v '^ *+' conftest.er1 >conftest.err
34398 rm -f conftest.er1
34399 cat conftest.err >&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } &&
34402 { ac_try='test -z "$ac_c_werror_flag"
34403 || test ! -s conftest.err'
34404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34405 (eval $ac_try) 2>&5
34406 ac_status=$?
34407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34408 (exit $ac_status); }; } &&
34409 { ac_try='test -s conftest$ac_exeext'
34410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34411 (eval $ac_try) 2>&5
34412 ac_status=$?
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); }; }; then
34415 eval "$as_ac_var=yes"
34416 else
34417 echo "$as_me: failed program was:" >&5
34418 sed 's/^/| /' conftest.$ac_ext >&5
34420 eval "$as_ac_var=no"
34422 rm -f conftest.err conftest.$ac_objext \
34423 conftest$ac_exeext conftest.$ac_ext
34425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34427 if test `eval echo '${'$as_ac_var'}'` = yes; then
34428 cat >>confdefs.h <<_ACEOF
34429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34430 _ACEOF
34433 done
34435 else
34437 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34438 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34439 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34440 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34441 echo $ECHO_N "(cached) $ECHO_C" >&6
34442 else
34446 ac_ext=cc
34447 ac_cpp='$CXXCPP $CPPFLAGS'
34448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458 #include <math.h>
34459 #ifdef HAVE_IEEEFP_H
34460 #include <ieeefp.h>
34461 #endif
34464 main ()
34466 _isnanl(0);
34468 return 0;
34470 _ACEOF
34471 rm -f conftest.$ac_objext
34472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34473 (eval $ac_compile) 2>conftest.er1
34474 ac_status=$?
34475 grep -v '^ *+' conftest.er1 >conftest.err
34476 rm -f conftest.er1
34477 cat conftest.err >&5
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); } &&
34480 { ac_try='test -z "$ac_cxx_werror_flag"
34481 || test ! -s conftest.err'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34484 ac_status=$?
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; } &&
34487 { ac_try='test -s conftest.$ac_objext'
34488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34489 (eval $ac_try) 2>&5
34490 ac_status=$?
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); }; }; then
34493 glibcxx_cv_func__isnanl_use=yes
34494 else
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34498 glibcxx_cv_func__isnanl_use=no
34500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34501 ac_ext=c
34502 ac_cpp='$CPP $CPPFLAGS'
34503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34512 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34514 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34516 for ac_func in _isnanl
34518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34519 echo "$as_me:$LINENO: checking for $ac_func" >&5
34520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34521 if eval "test \"\${$as_ac_var+set}\" = set"; then
34522 echo $ECHO_N "(cached) $ECHO_C" >&6
34523 else
34524 if test x$gcc_no_link = xyes; then
34525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34527 { (exit 1); exit 1; }; }
34529 cat >conftest.$ac_ext <<_ACEOF
34530 /* confdefs.h. */
34531 _ACEOF
34532 cat confdefs.h >>conftest.$ac_ext
34533 cat >>conftest.$ac_ext <<_ACEOF
34534 /* end confdefs.h. */
34535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34537 #define $ac_func innocuous_$ac_func
34539 /* System header to define __stub macros and hopefully few prototypes,
34540 which can conflict with char $ac_func (); below.
34541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34542 <limits.h> exists even on freestanding compilers. */
34544 #ifdef __STDC__
34545 # include <limits.h>
34546 #else
34547 # include <assert.h>
34548 #endif
34550 #undef $ac_func
34552 /* Override any gcc2 internal prototype to avoid an error. */
34553 #ifdef __cplusplus
34554 extern "C"
34556 #endif
34557 /* We use char because int might match the return type of a gcc2
34558 builtin and then its argument prototype would still apply. */
34559 char $ac_func ();
34560 /* The GNU C library defines this for functions which it implements
34561 to always fail with ENOSYS. Some functions are actually named
34562 something starting with __ and the normal name is an alias. */
34563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34564 choke me
34565 #else
34566 char (*f) () = $ac_func;
34567 #endif
34568 #ifdef __cplusplus
34570 #endif
34573 main ()
34575 return f != $ac_func;
34577 return 0;
34579 _ACEOF
34580 rm -f conftest.$ac_objext conftest$ac_exeext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34582 (eval $ac_link) 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } &&
34589 { ac_try='test -z "$ac_c_werror_flag"
34590 || test ! -s conftest.err'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; } &&
34596 { ac_try='test -s conftest$ac_exeext'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34599 ac_status=$?
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; }; then
34602 eval "$as_ac_var=yes"
34603 else
34604 echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34607 eval "$as_ac_var=no"
34609 rm -f conftest.err conftest.$ac_objext \
34610 conftest$ac_exeext conftest.$ac_ext
34612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34614 if test `eval echo '${'$as_ac_var'}'` = yes; then
34615 cat >>confdefs.h <<_ACEOF
34616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34617 _ACEOF
34620 done
34630 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34631 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34632 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34633 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34634 echo $ECHO_N "(cached) $ECHO_C" >&6
34635 else
34639 ac_ext=cc
34640 ac_cpp='$CXXCPP $CPPFLAGS'
34641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651 #include <math.h>
34652 #ifdef HAVE_IEEEFP_H
34653 #include <ieeefp.h>
34654 #endif
34657 main ()
34659 isinfl(0);
34661 return 0;
34663 _ACEOF
34664 rm -f conftest.$ac_objext
34665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34666 (eval $ac_compile) 2>conftest.er1
34667 ac_status=$?
34668 grep -v '^ *+' conftest.er1 >conftest.err
34669 rm -f conftest.er1
34670 cat conftest.err >&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } &&
34673 { ac_try='test -z "$ac_cxx_werror_flag"
34674 || test ! -s conftest.err'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34677 ac_status=$?
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; } &&
34680 { ac_try='test -s conftest.$ac_objext'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34683 ac_status=$?
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; }; then
34686 glibcxx_cv_func_isinfl_use=yes
34687 else
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34691 glibcxx_cv_func_isinfl_use=no
34693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34694 ac_ext=c
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
34705 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
34707 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
34709 for ac_func in isinfl
34711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34712 echo "$as_me:$LINENO: checking for $ac_func" >&5
34713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34714 if eval "test \"\${$as_ac_var+set}\" = set"; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34716 else
34717 if test x$gcc_no_link = xyes; then
34718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34720 { (exit 1); exit 1; }; }
34722 cat >conftest.$ac_ext <<_ACEOF
34723 /* confdefs.h. */
34724 _ACEOF
34725 cat confdefs.h >>conftest.$ac_ext
34726 cat >>conftest.$ac_ext <<_ACEOF
34727 /* end confdefs.h. */
34728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34730 #define $ac_func innocuous_$ac_func
34732 /* System header to define __stub macros and hopefully few prototypes,
34733 which can conflict with char $ac_func (); below.
34734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34735 <limits.h> exists even on freestanding compilers. */
34737 #ifdef __STDC__
34738 # include <limits.h>
34739 #else
34740 # include <assert.h>
34741 #endif
34743 #undef $ac_func
34745 /* Override any gcc2 internal prototype to avoid an error. */
34746 #ifdef __cplusplus
34747 extern "C"
34749 #endif
34750 /* We use char because int might match the return type of a gcc2
34751 builtin and then its argument prototype would still apply. */
34752 char $ac_func ();
34753 /* The GNU C library defines this for functions which it implements
34754 to always fail with ENOSYS. Some functions are actually named
34755 something starting with __ and the normal name is an alias. */
34756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34757 choke me
34758 #else
34759 char (*f) () = $ac_func;
34760 #endif
34761 #ifdef __cplusplus
34763 #endif
34766 main ()
34768 return f != $ac_func;
34770 return 0;
34772 _ACEOF
34773 rm -f conftest.$ac_objext conftest$ac_exeext
34774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34775 (eval $ac_link) 2>conftest.er1
34776 ac_status=$?
34777 grep -v '^ *+' conftest.er1 >conftest.err
34778 rm -f conftest.er1
34779 cat conftest.err >&5
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); } &&
34782 { ac_try='test -z "$ac_c_werror_flag"
34783 || test ! -s conftest.err'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34786 ac_status=$?
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; } &&
34789 { ac_try='test -s conftest$ac_exeext'
34790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791 (eval $ac_try) 2>&5
34792 ac_status=$?
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); }; }; then
34795 eval "$as_ac_var=yes"
34796 else
34797 echo "$as_me: failed program was:" >&5
34798 sed 's/^/| /' conftest.$ac_ext >&5
34800 eval "$as_ac_var=no"
34802 rm -f conftest.err conftest.$ac_objext \
34803 conftest$ac_exeext conftest.$ac_ext
34805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34807 if test `eval echo '${'$as_ac_var'}'` = yes; then
34808 cat >>confdefs.h <<_ACEOF
34809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34810 _ACEOF
34813 done
34815 else
34817 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
34818 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
34819 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
34820 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
34821 echo $ECHO_N "(cached) $ECHO_C" >&6
34822 else
34826 ac_ext=cc
34827 ac_cpp='$CXXCPP $CPPFLAGS'
34828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34832 cat >conftest.$ac_ext <<_ACEOF
34833 /* confdefs.h. */
34834 _ACEOF
34835 cat confdefs.h >>conftest.$ac_ext
34836 cat >>conftest.$ac_ext <<_ACEOF
34837 /* end confdefs.h. */
34838 #include <math.h>
34839 #ifdef HAVE_IEEEFP_H
34840 #include <ieeefp.h>
34841 #endif
34844 main ()
34846 _isinfl(0);
34848 return 0;
34850 _ACEOF
34851 rm -f conftest.$ac_objext
34852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34853 (eval $ac_compile) 2>conftest.er1
34854 ac_status=$?
34855 grep -v '^ *+' conftest.er1 >conftest.err
34856 rm -f conftest.er1
34857 cat conftest.err >&5
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); } &&
34860 { ac_try='test -z "$ac_cxx_werror_flag"
34861 || test ! -s conftest.err'
34862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34863 (eval $ac_try) 2>&5
34864 ac_status=$?
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); }; } &&
34867 { ac_try='test -s conftest.$ac_objext'
34868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34869 (eval $ac_try) 2>&5
34870 ac_status=$?
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); }; }; then
34873 glibcxx_cv_func__isinfl_use=yes
34874 else
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.$ac_ext >&5
34878 glibcxx_cv_func__isinfl_use=no
34880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34881 ac_ext=c
34882 ac_cpp='$CPP $CPPFLAGS'
34883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
34892 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
34894 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
34896 for ac_func in _isinfl
34898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34899 echo "$as_me:$LINENO: checking for $ac_func" >&5
34900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34901 if eval "test \"\${$as_ac_var+set}\" = set"; then
34902 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 else
34904 if test x$gcc_no_link = xyes; then
34905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34907 { (exit 1); exit 1; }; }
34909 cat >conftest.$ac_ext <<_ACEOF
34910 /* confdefs.h. */
34911 _ACEOF
34912 cat confdefs.h >>conftest.$ac_ext
34913 cat >>conftest.$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34917 #define $ac_func innocuous_$ac_func
34919 /* System header to define __stub macros and hopefully few prototypes,
34920 which can conflict with char $ac_func (); below.
34921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34922 <limits.h> exists even on freestanding compilers. */
34924 #ifdef __STDC__
34925 # include <limits.h>
34926 #else
34927 # include <assert.h>
34928 #endif
34930 #undef $ac_func
34932 /* Override any gcc2 internal prototype to avoid an error. */
34933 #ifdef __cplusplus
34934 extern "C"
34936 #endif
34937 /* We use char because int might match the return type of a gcc2
34938 builtin and then its argument prototype would still apply. */
34939 char $ac_func ();
34940 /* The GNU C library defines this for functions which it implements
34941 to always fail with ENOSYS. Some functions are actually named
34942 something starting with __ and the normal name is an alias. */
34943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34944 choke me
34945 #else
34946 char (*f) () = $ac_func;
34947 #endif
34948 #ifdef __cplusplus
34950 #endif
34953 main ()
34955 return f != $ac_func;
34957 return 0;
34959 _ACEOF
34960 rm -f conftest.$ac_objext conftest$ac_exeext
34961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34962 (eval $ac_link) 2>conftest.er1
34963 ac_status=$?
34964 grep -v '^ *+' conftest.er1 >conftest.err
34965 rm -f conftest.er1
34966 cat conftest.err >&5
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); } &&
34969 { ac_try='test -z "$ac_c_werror_flag"
34970 || test ! -s conftest.err'
34971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34972 (eval $ac_try) 2>&5
34973 ac_status=$?
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); }; } &&
34976 { ac_try='test -s conftest$ac_exeext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34979 ac_status=$?
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982 eval "$as_ac_var=yes"
34983 else
34984 echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.$ac_ext >&5
34987 eval "$as_ac_var=no"
34989 rm -f conftest.err conftest.$ac_objext \
34990 conftest$ac_exeext conftest.$ac_ext
34992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34994 if test `eval echo '${'$as_ac_var'}'` = yes; then
34995 cat >>confdefs.h <<_ACEOF
34996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34997 _ACEOF
35000 done
35010 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35011 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35012 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35013 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35014 echo $ECHO_N "(cached) $ECHO_C" >&6
35015 else
35019 ac_ext=cc
35020 ac_cpp='$CXXCPP $CPPFLAGS'
35021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35025 cat >conftest.$ac_ext <<_ACEOF
35026 /* confdefs.h. */
35027 _ACEOF
35028 cat confdefs.h >>conftest.$ac_ext
35029 cat >>conftest.$ac_ext <<_ACEOF
35030 /* end confdefs.h. */
35031 #include <math.h>
35033 main ()
35035 atan2l(0, 0);
35037 return 0;
35039 _ACEOF
35040 rm -f conftest.$ac_objext
35041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35042 (eval $ac_compile) 2>conftest.er1
35043 ac_status=$?
35044 grep -v '^ *+' conftest.er1 >conftest.err
35045 rm -f conftest.er1
35046 cat conftest.err >&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } &&
35049 { ac_try='test -z "$ac_cxx_werror_flag"
35050 || test ! -s conftest.err'
35051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35052 (eval $ac_try) 2>&5
35053 ac_status=$?
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); }; } &&
35056 { ac_try='test -s conftest.$ac_objext'
35057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35058 (eval $ac_try) 2>&5
35059 ac_status=$?
35060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35061 (exit $ac_status); }; }; then
35062 glibcxx_cv_func_atan2l_use=yes
35063 else
35064 echo "$as_me: failed program was:" >&5
35065 sed 's/^/| /' conftest.$ac_ext >&5
35067 glibcxx_cv_func_atan2l_use=no
35069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35070 ac_ext=c
35071 ac_cpp='$CPP $CPPFLAGS'
35072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35081 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35083 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35085 for ac_func in atan2l
35087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35088 echo "$as_me:$LINENO: checking for $ac_func" >&5
35089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35090 if eval "test \"\${$as_ac_var+set}\" = set"; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093 if test x$gcc_no_link = xyes; then
35094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35096 { (exit 1); exit 1; }; }
35098 cat >conftest.$ac_ext <<_ACEOF
35099 /* confdefs.h. */
35100 _ACEOF
35101 cat confdefs.h >>conftest.$ac_ext
35102 cat >>conftest.$ac_ext <<_ACEOF
35103 /* end confdefs.h. */
35104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35106 #define $ac_func innocuous_$ac_func
35108 /* System header to define __stub macros and hopefully few prototypes,
35109 which can conflict with char $ac_func (); below.
35110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35111 <limits.h> exists even on freestanding compilers. */
35113 #ifdef __STDC__
35114 # include <limits.h>
35115 #else
35116 # include <assert.h>
35117 #endif
35119 #undef $ac_func
35121 /* Override any gcc2 internal prototype to avoid an error. */
35122 #ifdef __cplusplus
35123 extern "C"
35125 #endif
35126 /* We use char because int might match the return type of a gcc2
35127 builtin and then its argument prototype would still apply. */
35128 char $ac_func ();
35129 /* The GNU C library defines this for functions which it implements
35130 to always fail with ENOSYS. Some functions are actually named
35131 something starting with __ and the normal name is an alias. */
35132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35133 choke me
35134 #else
35135 char (*f) () = $ac_func;
35136 #endif
35137 #ifdef __cplusplus
35139 #endif
35142 main ()
35144 return f != $ac_func;
35146 return 0;
35148 _ACEOF
35149 rm -f conftest.$ac_objext conftest$ac_exeext
35150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35151 (eval $ac_link) 2>conftest.er1
35152 ac_status=$?
35153 grep -v '^ *+' conftest.er1 >conftest.err
35154 rm -f conftest.er1
35155 cat conftest.err >&5
35156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 (exit $ac_status); } &&
35158 { ac_try='test -z "$ac_c_werror_flag"
35159 || test ! -s conftest.err'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35162 ac_status=$?
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; } &&
35165 { ac_try='test -s conftest$ac_exeext'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35168 ac_status=$?
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; }; then
35171 eval "$as_ac_var=yes"
35172 else
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35176 eval "$as_ac_var=no"
35178 rm -f conftest.err conftest.$ac_objext \
35179 conftest$ac_exeext conftest.$ac_ext
35181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35183 if test `eval echo '${'$as_ac_var'}'` = yes; then
35184 cat >>confdefs.h <<_ACEOF
35185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35186 _ACEOF
35189 done
35191 else
35193 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35194 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35195 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35196 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35197 echo $ECHO_N "(cached) $ECHO_C" >&6
35198 else
35202 ac_ext=cc
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35208 cat >conftest.$ac_ext <<_ACEOF
35209 /* confdefs.h. */
35210 _ACEOF
35211 cat confdefs.h >>conftest.$ac_ext
35212 cat >>conftest.$ac_ext <<_ACEOF
35213 /* end confdefs.h. */
35214 #include <math.h>
35216 main ()
35218 _atan2l(0, 0);
35220 return 0;
35222 _ACEOF
35223 rm -f conftest.$ac_objext
35224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35225 (eval $ac_compile) 2>conftest.er1
35226 ac_status=$?
35227 grep -v '^ *+' conftest.er1 >conftest.err
35228 rm -f conftest.er1
35229 cat conftest.err >&5
35230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35231 (exit $ac_status); } &&
35232 { ac_try='test -z "$ac_cxx_werror_flag"
35233 || test ! -s conftest.err'
35234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35235 (eval $ac_try) 2>&5
35236 ac_status=$?
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); }; } &&
35239 { ac_try='test -s conftest.$ac_objext'
35240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35241 (eval $ac_try) 2>&5
35242 ac_status=$?
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); }; }; then
35245 glibcxx_cv_func__atan2l_use=yes
35246 else
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35250 glibcxx_cv_func__atan2l_use=no
35252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35253 ac_ext=c
35254 ac_cpp='$CPP $CPPFLAGS'
35255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35263 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35264 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35266 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35268 for ac_func in _atan2l
35270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35271 echo "$as_me:$LINENO: checking for $ac_func" >&5
35272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35273 if eval "test \"\${$as_ac_var+set}\" = set"; then
35274 echo $ECHO_N "(cached) $ECHO_C" >&6
35275 else
35276 if test x$gcc_no_link = xyes; then
35277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35279 { (exit 1); exit 1; }; }
35281 cat >conftest.$ac_ext <<_ACEOF
35282 /* confdefs.h. */
35283 _ACEOF
35284 cat confdefs.h >>conftest.$ac_ext
35285 cat >>conftest.$ac_ext <<_ACEOF
35286 /* end confdefs.h. */
35287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35289 #define $ac_func innocuous_$ac_func
35291 /* System header to define __stub macros and hopefully few prototypes,
35292 which can conflict with char $ac_func (); below.
35293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35294 <limits.h> exists even on freestanding compilers. */
35296 #ifdef __STDC__
35297 # include <limits.h>
35298 #else
35299 # include <assert.h>
35300 #endif
35302 #undef $ac_func
35304 /* Override any gcc2 internal prototype to avoid an error. */
35305 #ifdef __cplusplus
35306 extern "C"
35308 #endif
35309 /* We use char because int might match the return type of a gcc2
35310 builtin and then its argument prototype would still apply. */
35311 char $ac_func ();
35312 /* The GNU C library defines this for functions which it implements
35313 to always fail with ENOSYS. Some functions are actually named
35314 something starting with __ and the normal name is an alias. */
35315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35316 choke me
35317 #else
35318 char (*f) () = $ac_func;
35319 #endif
35320 #ifdef __cplusplus
35322 #endif
35325 main ()
35327 return f != $ac_func;
35329 return 0;
35331 _ACEOF
35332 rm -f conftest.$ac_objext conftest$ac_exeext
35333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35334 (eval $ac_link) 2>conftest.er1
35335 ac_status=$?
35336 grep -v '^ *+' conftest.er1 >conftest.err
35337 rm -f conftest.er1
35338 cat conftest.err >&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); } &&
35341 { ac_try='test -z "$ac_c_werror_flag"
35342 || test ! -s conftest.err'
35343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35344 (eval $ac_try) 2>&5
35345 ac_status=$?
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); }; } &&
35348 { ac_try='test -s conftest$ac_exeext'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35351 ac_status=$?
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; }; then
35354 eval "$as_ac_var=yes"
35355 else
35356 echo "$as_me: failed program was:" >&5
35357 sed 's/^/| /' conftest.$ac_ext >&5
35359 eval "$as_ac_var=no"
35361 rm -f conftest.err conftest.$ac_objext \
35362 conftest$ac_exeext conftest.$ac_ext
35364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35366 if test `eval echo '${'$as_ac_var'}'` = yes; then
35367 cat >>confdefs.h <<_ACEOF
35368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35369 _ACEOF
35372 done
35382 echo "$as_me:$LINENO: checking for expl declaration" >&5
35383 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35384 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35385 if test "${glibcxx_cv_func_expl_use+set}" = set; then
35386 echo $ECHO_N "(cached) $ECHO_C" >&6
35387 else
35391 ac_ext=cc
35392 ac_cpp='$CXXCPP $CPPFLAGS'
35393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35397 cat >conftest.$ac_ext <<_ACEOF
35398 /* confdefs.h. */
35399 _ACEOF
35400 cat confdefs.h >>conftest.$ac_ext
35401 cat >>conftest.$ac_ext <<_ACEOF
35402 /* end confdefs.h. */
35403 #include <math.h>
35404 #ifdef HAVE_IEEEFP_H
35405 #include <ieeefp.h>
35406 #endif
35409 main ()
35411 expl(0);
35413 return 0;
35415 _ACEOF
35416 rm -f conftest.$ac_objext
35417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35418 (eval $ac_compile) 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } &&
35425 { ac_try='test -z "$ac_cxx_werror_flag"
35426 || test ! -s conftest.err'
35427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35428 (eval $ac_try) 2>&5
35429 ac_status=$?
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); }; } &&
35432 { ac_try='test -s conftest.$ac_objext'
35433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35434 (eval $ac_try) 2>&5
35435 ac_status=$?
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); }; }; then
35438 glibcxx_cv_func_expl_use=yes
35439 else
35440 echo "$as_me: failed program was:" >&5
35441 sed 's/^/| /' conftest.$ac_ext >&5
35443 glibcxx_cv_func_expl_use=no
35445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35446 ac_ext=c
35447 ac_cpp='$CPP $CPPFLAGS'
35448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35457 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35459 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35461 for ac_func in expl
35463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35464 echo "$as_me:$LINENO: checking for $ac_func" >&5
35465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35466 if eval "test \"\${$as_ac_var+set}\" = set"; then
35467 echo $ECHO_N "(cached) $ECHO_C" >&6
35468 else
35469 if test x$gcc_no_link = xyes; then
35470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35472 { (exit 1); exit 1; }; }
35474 cat >conftest.$ac_ext <<_ACEOF
35475 /* confdefs.h. */
35476 _ACEOF
35477 cat confdefs.h >>conftest.$ac_ext
35478 cat >>conftest.$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35482 #define $ac_func innocuous_$ac_func
35484 /* System header to define __stub macros and hopefully few prototypes,
35485 which can conflict with char $ac_func (); below.
35486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35487 <limits.h> exists even on freestanding compilers. */
35489 #ifdef __STDC__
35490 # include <limits.h>
35491 #else
35492 # include <assert.h>
35493 #endif
35495 #undef $ac_func
35497 /* Override any gcc2 internal prototype to avoid an error. */
35498 #ifdef __cplusplus
35499 extern "C"
35501 #endif
35502 /* We use char because int might match the return type of a gcc2
35503 builtin and then its argument prototype would still apply. */
35504 char $ac_func ();
35505 /* The GNU C library defines this for functions which it implements
35506 to always fail with ENOSYS. Some functions are actually named
35507 something starting with __ and the normal name is an alias. */
35508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35509 choke me
35510 #else
35511 char (*f) () = $ac_func;
35512 #endif
35513 #ifdef __cplusplus
35515 #endif
35518 main ()
35520 return f != $ac_func;
35522 return 0;
35524 _ACEOF
35525 rm -f conftest.$ac_objext conftest$ac_exeext
35526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35527 (eval $ac_link) 2>conftest.er1
35528 ac_status=$?
35529 grep -v '^ *+' conftest.er1 >conftest.err
35530 rm -f conftest.er1
35531 cat conftest.err >&5
35532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35533 (exit $ac_status); } &&
35534 { ac_try='test -z "$ac_c_werror_flag"
35535 || test ! -s conftest.err'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; } &&
35541 { ac_try='test -s conftest$ac_exeext'
35542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 (eval $ac_try) 2>&5
35544 ac_status=$?
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); }; }; then
35547 eval "$as_ac_var=yes"
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35552 eval "$as_ac_var=no"
35554 rm -f conftest.err conftest.$ac_objext \
35555 conftest$ac_exeext conftest.$ac_ext
35557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35559 if test `eval echo '${'$as_ac_var'}'` = yes; then
35560 cat >>confdefs.h <<_ACEOF
35561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35562 _ACEOF
35565 done
35567 else
35569 echo "$as_me:$LINENO: checking for _expl declaration" >&5
35570 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
35571 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35572 if test "${glibcxx_cv_func__expl_use+set}" = set; then
35573 echo $ECHO_N "(cached) $ECHO_C" >&6
35574 else
35578 ac_ext=cc
35579 ac_cpp='$CXXCPP $CPPFLAGS'
35580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35584 cat >conftest.$ac_ext <<_ACEOF
35585 /* confdefs.h. */
35586 _ACEOF
35587 cat confdefs.h >>conftest.$ac_ext
35588 cat >>conftest.$ac_ext <<_ACEOF
35589 /* end confdefs.h. */
35590 #include <math.h>
35591 #ifdef HAVE_IEEEFP_H
35592 #include <ieeefp.h>
35593 #endif
35596 main ()
35598 _expl(0);
35600 return 0;
35602 _ACEOF
35603 rm -f conftest.$ac_objext
35604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35605 (eval $ac_compile) 2>conftest.er1
35606 ac_status=$?
35607 grep -v '^ *+' conftest.er1 >conftest.err
35608 rm -f conftest.er1
35609 cat conftest.err >&5
35610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35611 (exit $ac_status); } &&
35612 { ac_try='test -z "$ac_cxx_werror_flag"
35613 || test ! -s conftest.err'
35614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35615 (eval $ac_try) 2>&5
35616 ac_status=$?
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); }; } &&
35619 { ac_try='test -s conftest.$ac_objext'
35620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35621 (eval $ac_try) 2>&5
35622 ac_status=$?
35623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624 (exit $ac_status); }; }; then
35625 glibcxx_cv_func__expl_use=yes
35626 else
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35630 glibcxx_cv_func__expl_use=no
35632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35633 ac_ext=c
35634 ac_cpp='$CPP $CPPFLAGS'
35635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
35644 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
35646 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35648 for ac_func in _expl
35650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35651 echo "$as_me:$LINENO: checking for $ac_func" >&5
35652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35653 if eval "test \"\${$as_ac_var+set}\" = set"; then
35654 echo $ECHO_N "(cached) $ECHO_C" >&6
35655 else
35656 if test x$gcc_no_link = xyes; then
35657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35659 { (exit 1); exit 1; }; }
35661 cat >conftest.$ac_ext <<_ACEOF
35662 /* confdefs.h. */
35663 _ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h. */
35667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35669 #define $ac_func innocuous_$ac_func
35671 /* System header to define __stub macros and hopefully few prototypes,
35672 which can conflict with char $ac_func (); below.
35673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35674 <limits.h> exists even on freestanding compilers. */
35676 #ifdef __STDC__
35677 # include <limits.h>
35678 #else
35679 # include <assert.h>
35680 #endif
35682 #undef $ac_func
35684 /* Override any gcc2 internal prototype to avoid an error. */
35685 #ifdef __cplusplus
35686 extern "C"
35688 #endif
35689 /* We use char because int might match the return type of a gcc2
35690 builtin and then its argument prototype would still apply. */
35691 char $ac_func ();
35692 /* The GNU C library defines this for functions which it implements
35693 to always fail with ENOSYS. Some functions are actually named
35694 something starting with __ and the normal name is an alias. */
35695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35696 choke me
35697 #else
35698 char (*f) () = $ac_func;
35699 #endif
35700 #ifdef __cplusplus
35702 #endif
35705 main ()
35707 return f != $ac_func;
35709 return 0;
35711 _ACEOF
35712 rm -f conftest.$ac_objext conftest$ac_exeext
35713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35714 (eval $ac_link) 2>conftest.er1
35715 ac_status=$?
35716 grep -v '^ *+' conftest.er1 >conftest.err
35717 rm -f conftest.er1
35718 cat conftest.err >&5
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); } &&
35721 { ac_try='test -z "$ac_c_werror_flag"
35722 || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try='test -s conftest$ac_exeext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35731 ac_status=$?
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35734 eval "$as_ac_var=yes"
35735 else
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.$ac_ext >&5
35739 eval "$as_ac_var=no"
35741 rm -f conftest.err conftest.$ac_objext \
35742 conftest$ac_exeext conftest.$ac_ext
35744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747 cat >>confdefs.h <<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35749 _ACEOF
35752 done
35762 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
35763 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
35764 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
35765 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35771 ac_ext=cc
35772 ac_cpp='$CXXCPP $CPPFLAGS'
35773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777 cat >conftest.$ac_ext <<_ACEOF
35778 /* confdefs.h. */
35779 _ACEOF
35780 cat confdefs.h >>conftest.$ac_ext
35781 cat >>conftest.$ac_ext <<_ACEOF
35782 /* end confdefs.h. */
35783 #include <math.h>
35784 #ifdef HAVE_IEEEFP_H
35785 #include <ieeefp.h>
35786 #endif
35789 main ()
35791 fabsl(0);
35793 return 0;
35795 _ACEOF
35796 rm -f conftest.$ac_objext
35797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35798 (eval $ac_compile) 2>conftest.er1
35799 ac_status=$?
35800 grep -v '^ *+' conftest.er1 >conftest.err
35801 rm -f conftest.er1
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } &&
35805 { ac_try='test -z "$ac_cxx_werror_flag"
35806 || test ! -s conftest.err'
35807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35808 (eval $ac_try) 2>&5
35809 ac_status=$?
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); }; } &&
35812 { ac_try='test -s conftest.$ac_objext'
35813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35814 (eval $ac_try) 2>&5
35815 ac_status=$?
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); }; }; then
35818 glibcxx_cv_func_fabsl_use=yes
35819 else
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.$ac_ext >&5
35823 glibcxx_cv_func_fabsl_use=no
35825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
35837 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
35839 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
35841 for ac_func in fabsl
35843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35844 echo "$as_me:$LINENO: checking for $ac_func" >&5
35845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35846 if eval "test \"\${$as_ac_var+set}\" = set"; then
35847 echo $ECHO_N "(cached) $ECHO_C" >&6
35848 else
35849 if test x$gcc_no_link = xyes; then
35850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35852 { (exit 1); exit 1; }; }
35854 cat >conftest.$ac_ext <<_ACEOF
35855 /* confdefs.h. */
35856 _ACEOF
35857 cat confdefs.h >>conftest.$ac_ext
35858 cat >>conftest.$ac_ext <<_ACEOF
35859 /* end confdefs.h. */
35860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35862 #define $ac_func innocuous_$ac_func
35864 /* System header to define __stub macros and hopefully few prototypes,
35865 which can conflict with char $ac_func (); below.
35866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35867 <limits.h> exists even on freestanding compilers. */
35869 #ifdef __STDC__
35870 # include <limits.h>
35871 #else
35872 # include <assert.h>
35873 #endif
35875 #undef $ac_func
35877 /* Override any gcc2 internal prototype to avoid an error. */
35878 #ifdef __cplusplus
35879 extern "C"
35881 #endif
35882 /* We use char because int might match the return type of a gcc2
35883 builtin and then its argument prototype would still apply. */
35884 char $ac_func ();
35885 /* The GNU C library defines this for functions which it implements
35886 to always fail with ENOSYS. Some functions are actually named
35887 something starting with __ and the normal name is an alias. */
35888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35889 choke me
35890 #else
35891 char (*f) () = $ac_func;
35892 #endif
35893 #ifdef __cplusplus
35895 #endif
35898 main ()
35900 return f != $ac_func;
35902 return 0;
35904 _ACEOF
35905 rm -f conftest.$ac_objext conftest$ac_exeext
35906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35907 (eval $ac_link) 2>conftest.er1
35908 ac_status=$?
35909 grep -v '^ *+' conftest.er1 >conftest.err
35910 rm -f conftest.er1
35911 cat conftest.err >&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } &&
35914 { ac_try='test -z "$ac_c_werror_flag"
35915 || test ! -s conftest.err'
35916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35917 (eval $ac_try) 2>&5
35918 ac_status=$?
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); }; } &&
35921 { ac_try='test -s conftest$ac_exeext'
35922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35923 (eval $ac_try) 2>&5
35924 ac_status=$?
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); }; }; then
35927 eval "$as_ac_var=yes"
35928 else
35929 echo "$as_me: failed program was:" >&5
35930 sed 's/^/| /' conftest.$ac_ext >&5
35932 eval "$as_ac_var=no"
35934 rm -f conftest.err conftest.$ac_objext \
35935 conftest$ac_exeext conftest.$ac_ext
35937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35939 if test `eval echo '${'$as_ac_var'}'` = yes; then
35940 cat >>confdefs.h <<_ACEOF
35941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35942 _ACEOF
35945 done
35947 else
35949 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
35950 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
35951 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
35952 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35954 else
35958 ac_ext=cc
35959 ac_cpp='$CXXCPP $CPPFLAGS'
35960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35964 cat >conftest.$ac_ext <<_ACEOF
35965 /* confdefs.h. */
35966 _ACEOF
35967 cat confdefs.h >>conftest.$ac_ext
35968 cat >>conftest.$ac_ext <<_ACEOF
35969 /* end confdefs.h. */
35970 #include <math.h>
35971 #ifdef HAVE_IEEEFP_H
35972 #include <ieeefp.h>
35973 #endif
35976 main ()
35978 _fabsl(0);
35980 return 0;
35982 _ACEOF
35983 rm -f conftest.$ac_objext
35984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35985 (eval $ac_compile) 2>conftest.er1
35986 ac_status=$?
35987 grep -v '^ *+' conftest.er1 >conftest.err
35988 rm -f conftest.er1
35989 cat conftest.err >&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } &&
35992 { ac_try='test -z "$ac_cxx_werror_flag"
35993 || test ! -s conftest.err'
35994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35995 (eval $ac_try) 2>&5
35996 ac_status=$?
35997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998 (exit $ac_status); }; } &&
35999 { ac_try='test -s conftest.$ac_objext'
36000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36001 (eval $ac_try) 2>&5
36002 ac_status=$?
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); }; }; then
36005 glibcxx_cv_func__fabsl_use=yes
36006 else
36007 echo "$as_me: failed program was:" >&5
36008 sed 's/^/| /' conftest.$ac_ext >&5
36010 glibcxx_cv_func__fabsl_use=no
36012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36013 ac_ext=c
36014 ac_cpp='$CPP $CPPFLAGS'
36015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36024 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36026 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36028 for ac_func in _fabsl
36030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36031 echo "$as_me:$LINENO: checking for $ac_func" >&5
36032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36033 if eval "test \"\${$as_ac_var+set}\" = set"; then
36034 echo $ECHO_N "(cached) $ECHO_C" >&6
36035 else
36036 if test x$gcc_no_link = xyes; then
36037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36039 { (exit 1); exit 1; }; }
36041 cat >conftest.$ac_ext <<_ACEOF
36042 /* confdefs.h. */
36043 _ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36049 #define $ac_func innocuous_$ac_func
36051 /* System header to define __stub macros and hopefully few prototypes,
36052 which can conflict with char $ac_func (); below.
36053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36054 <limits.h> exists even on freestanding compilers. */
36056 #ifdef __STDC__
36057 # include <limits.h>
36058 #else
36059 # include <assert.h>
36060 #endif
36062 #undef $ac_func
36064 /* Override any gcc2 internal prototype to avoid an error. */
36065 #ifdef __cplusplus
36066 extern "C"
36068 #endif
36069 /* We use char because int might match the return type of a gcc2
36070 builtin and then its argument prototype would still apply. */
36071 char $ac_func ();
36072 /* The GNU C library defines this for functions which it implements
36073 to always fail with ENOSYS. Some functions are actually named
36074 something starting with __ and the normal name is an alias. */
36075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36076 choke me
36077 #else
36078 char (*f) () = $ac_func;
36079 #endif
36080 #ifdef __cplusplus
36082 #endif
36085 main ()
36087 return f != $ac_func;
36089 return 0;
36091 _ACEOF
36092 rm -f conftest.$ac_objext conftest$ac_exeext
36093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36094 (eval $ac_link) 2>conftest.er1
36095 ac_status=$?
36096 grep -v '^ *+' conftest.er1 >conftest.err
36097 rm -f conftest.er1
36098 cat conftest.err >&5
36099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36100 (exit $ac_status); } &&
36101 { ac_try='test -z "$ac_c_werror_flag"
36102 || test ! -s conftest.err'
36103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36104 (eval $ac_try) 2>&5
36105 ac_status=$?
36106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107 (exit $ac_status); }; } &&
36108 { ac_try='test -s conftest$ac_exeext'
36109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36110 (eval $ac_try) 2>&5
36111 ac_status=$?
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); }; }; then
36114 eval "$as_ac_var=yes"
36115 else
36116 echo "$as_me: failed program was:" >&5
36117 sed 's/^/| /' conftest.$ac_ext >&5
36119 eval "$as_ac_var=no"
36121 rm -f conftest.err conftest.$ac_objext \
36122 conftest$ac_exeext conftest.$ac_ext
36124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36126 if test `eval echo '${'$as_ac_var'}'` = yes; then
36127 cat >>confdefs.h <<_ACEOF
36128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36129 _ACEOF
36132 done
36142 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36143 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36144 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36145 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36146 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 else
36151 ac_ext=cc
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157 cat >conftest.$ac_ext <<_ACEOF
36158 /* confdefs.h. */
36159 _ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36163 #include <math.h>
36165 main ()
36167 fmodl(0, 0);
36169 return 0;
36171 _ACEOF
36172 rm -f conftest.$ac_objext
36173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36174 (eval $ac_compile) 2>conftest.er1
36175 ac_status=$?
36176 grep -v '^ *+' conftest.er1 >conftest.err
36177 rm -f conftest.er1
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } &&
36181 { ac_try='test -z "$ac_cxx_werror_flag"
36182 || test ! -s conftest.err'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; } &&
36188 { ac_try='test -s conftest.$ac_objext'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36191 ac_status=$?
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; }; then
36194 glibcxx_cv_func_fmodl_use=yes
36195 else
36196 echo "$as_me: failed program was:" >&5
36197 sed 's/^/| /' conftest.$ac_ext >&5
36199 glibcxx_cv_func_fmodl_use=no
36201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36202 ac_ext=c
36203 ac_cpp='$CPP $CPPFLAGS'
36204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36213 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36215 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36217 for ac_func in fmodl
36219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36220 echo "$as_me:$LINENO: checking for $ac_func" >&5
36221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36222 if eval "test \"\${$as_ac_var+set}\" = set"; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36224 else
36225 if test x$gcc_no_link = xyes; then
36226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36228 { (exit 1); exit 1; }; }
36230 cat >conftest.$ac_ext <<_ACEOF
36231 /* confdefs.h. */
36232 _ACEOF
36233 cat confdefs.h >>conftest.$ac_ext
36234 cat >>conftest.$ac_ext <<_ACEOF
36235 /* end confdefs.h. */
36236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36238 #define $ac_func innocuous_$ac_func
36240 /* System header to define __stub macros and hopefully few prototypes,
36241 which can conflict with char $ac_func (); below.
36242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36243 <limits.h> exists even on freestanding compilers. */
36245 #ifdef __STDC__
36246 # include <limits.h>
36247 #else
36248 # include <assert.h>
36249 #endif
36251 #undef $ac_func
36253 /* Override any gcc2 internal prototype to avoid an error. */
36254 #ifdef __cplusplus
36255 extern "C"
36257 #endif
36258 /* We use char because int might match the return type of a gcc2
36259 builtin and then its argument prototype would still apply. */
36260 char $ac_func ();
36261 /* The GNU C library defines this for functions which it implements
36262 to always fail with ENOSYS. Some functions are actually named
36263 something starting with __ and the normal name is an alias. */
36264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36265 choke me
36266 #else
36267 char (*f) () = $ac_func;
36268 #endif
36269 #ifdef __cplusplus
36271 #endif
36274 main ()
36276 return f != $ac_func;
36278 return 0;
36280 _ACEOF
36281 rm -f conftest.$ac_objext conftest$ac_exeext
36282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36283 (eval $ac_link) 2>conftest.er1
36284 ac_status=$?
36285 grep -v '^ *+' conftest.er1 >conftest.err
36286 rm -f conftest.er1
36287 cat conftest.err >&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); } &&
36290 { ac_try='test -z "$ac_c_werror_flag"
36291 || test ! -s conftest.err'
36292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36293 (eval $ac_try) 2>&5
36294 ac_status=$?
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); }; } &&
36297 { ac_try='test -s conftest$ac_exeext'
36298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36299 (eval $ac_try) 2>&5
36300 ac_status=$?
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); }; }; then
36303 eval "$as_ac_var=yes"
36304 else
36305 echo "$as_me: failed program was:" >&5
36306 sed 's/^/| /' conftest.$ac_ext >&5
36308 eval "$as_ac_var=no"
36310 rm -f conftest.err conftest.$ac_objext \
36311 conftest$ac_exeext conftest.$ac_ext
36313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36315 if test `eval echo '${'$as_ac_var'}'` = yes; then
36316 cat >>confdefs.h <<_ACEOF
36317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36318 _ACEOF
36321 done
36323 else
36325 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36326 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36327 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36328 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 else
36334 ac_ext=cc
36335 ac_cpp='$CXXCPP $CPPFLAGS'
36336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36340 cat >conftest.$ac_ext <<_ACEOF
36341 /* confdefs.h. */
36342 _ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346 #include <math.h>
36348 main ()
36350 _fmodl(0, 0);
36352 return 0;
36354 _ACEOF
36355 rm -f conftest.$ac_objext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36357 (eval $ac_compile) 2>conftest.er1
36358 ac_status=$?
36359 grep -v '^ *+' conftest.er1 >conftest.err
36360 rm -f conftest.er1
36361 cat conftest.err >&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try='test -z "$ac_cxx_werror_flag"
36365 || test ! -s conftest.err'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36368 ac_status=$?
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; } &&
36371 { ac_try='test -s conftest.$ac_objext'
36372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36373 (eval $ac_try) 2>&5
36374 ac_status=$?
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); }; }; then
36377 glibcxx_cv_func__fmodl_use=yes
36378 else
36379 echo "$as_me: failed program was:" >&5
36380 sed 's/^/| /' conftest.$ac_ext >&5
36382 glibcxx_cv_func__fmodl_use=no
36384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36385 ac_ext=c
36386 ac_cpp='$CPP $CPPFLAGS'
36387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36396 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36398 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36400 for ac_func in _fmodl
36402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36403 echo "$as_me:$LINENO: checking for $ac_func" >&5
36404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36405 if eval "test \"\${$as_ac_var+set}\" = set"; then
36406 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 else
36408 if test x$gcc_no_link = xyes; then
36409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36411 { (exit 1); exit 1; }; }
36413 cat >conftest.$ac_ext <<_ACEOF
36414 /* confdefs.h. */
36415 _ACEOF
36416 cat confdefs.h >>conftest.$ac_ext
36417 cat >>conftest.$ac_ext <<_ACEOF
36418 /* end confdefs.h. */
36419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36421 #define $ac_func innocuous_$ac_func
36423 /* System header to define __stub macros and hopefully few prototypes,
36424 which can conflict with char $ac_func (); below.
36425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36426 <limits.h> exists even on freestanding compilers. */
36428 #ifdef __STDC__
36429 # include <limits.h>
36430 #else
36431 # include <assert.h>
36432 #endif
36434 #undef $ac_func
36436 /* Override any gcc2 internal prototype to avoid an error. */
36437 #ifdef __cplusplus
36438 extern "C"
36440 #endif
36441 /* We use char because int might match the return type of a gcc2
36442 builtin and then its argument prototype would still apply. */
36443 char $ac_func ();
36444 /* The GNU C library defines this for functions which it implements
36445 to always fail with ENOSYS. Some functions are actually named
36446 something starting with __ and the normal name is an alias. */
36447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36448 choke me
36449 #else
36450 char (*f) () = $ac_func;
36451 #endif
36452 #ifdef __cplusplus
36454 #endif
36457 main ()
36459 return f != $ac_func;
36461 return 0;
36463 _ACEOF
36464 rm -f conftest.$ac_objext conftest$ac_exeext
36465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36466 (eval $ac_link) 2>conftest.er1
36467 ac_status=$?
36468 grep -v '^ *+' conftest.er1 >conftest.err
36469 rm -f conftest.er1
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } &&
36473 { ac_try='test -z "$ac_c_werror_flag"
36474 || test ! -s conftest.err'
36475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36476 (eval $ac_try) 2>&5
36477 ac_status=$?
36478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36479 (exit $ac_status); }; } &&
36480 { ac_try='test -s conftest$ac_exeext'
36481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36482 (eval $ac_try) 2>&5
36483 ac_status=$?
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); }; }; then
36486 eval "$as_ac_var=yes"
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36491 eval "$as_ac_var=no"
36493 rm -f conftest.err conftest.$ac_objext \
36494 conftest$ac_exeext conftest.$ac_ext
36496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36498 if test `eval echo '${'$as_ac_var'}'` = yes; then
36499 cat >>confdefs.h <<_ACEOF
36500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36501 _ACEOF
36504 done
36514 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36515 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36516 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36517 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 else
36523 ac_ext=cc
36524 ac_cpp='$CXXCPP $CPPFLAGS'
36525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36529 cat >conftest.$ac_ext <<_ACEOF
36530 /* confdefs.h. */
36531 _ACEOF
36532 cat confdefs.h >>conftest.$ac_ext
36533 cat >>conftest.$ac_ext <<_ACEOF
36534 /* end confdefs.h. */
36535 #include <math.h>
36537 main ()
36539 frexpl(0, 0);
36541 return 0;
36543 _ACEOF
36544 rm -f conftest.$ac_objext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36546 (eval $ac_compile) 2>conftest.er1
36547 ac_status=$?
36548 grep -v '^ *+' conftest.er1 >conftest.err
36549 rm -f conftest.er1
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } &&
36553 { ac_try='test -z "$ac_cxx_werror_flag"
36554 || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try='test -s conftest.$ac_objext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 glibcxx_cv_func_frexpl_use=yes
36567 else
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36571 glibcxx_cv_func_frexpl_use=no
36573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36574 ac_ext=c
36575 ac_cpp='$CPP $CPPFLAGS'
36576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
36585 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
36587 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36589 for ac_func in frexpl
36591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36592 echo "$as_me:$LINENO: checking for $ac_func" >&5
36593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36594 if eval "test \"\${$as_ac_var+set}\" = set"; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597 if test x$gcc_no_link = xyes; then
36598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36600 { (exit 1); exit 1; }; }
36602 cat >conftest.$ac_ext <<_ACEOF
36603 /* confdefs.h. */
36604 _ACEOF
36605 cat confdefs.h >>conftest.$ac_ext
36606 cat >>conftest.$ac_ext <<_ACEOF
36607 /* end confdefs.h. */
36608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36610 #define $ac_func innocuous_$ac_func
36612 /* System header to define __stub macros and hopefully few prototypes,
36613 which can conflict with char $ac_func (); below.
36614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36615 <limits.h> exists even on freestanding compilers. */
36617 #ifdef __STDC__
36618 # include <limits.h>
36619 #else
36620 # include <assert.h>
36621 #endif
36623 #undef $ac_func
36625 /* Override any gcc2 internal prototype to avoid an error. */
36626 #ifdef __cplusplus
36627 extern "C"
36629 #endif
36630 /* We use char because int might match the return type of a gcc2
36631 builtin and then its argument prototype would still apply. */
36632 char $ac_func ();
36633 /* The GNU C library defines this for functions which it implements
36634 to always fail with ENOSYS. Some functions are actually named
36635 something starting with __ and the normal name is an alias. */
36636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36637 choke me
36638 #else
36639 char (*f) () = $ac_func;
36640 #endif
36641 #ifdef __cplusplus
36643 #endif
36646 main ()
36648 return f != $ac_func;
36650 return 0;
36652 _ACEOF
36653 rm -f conftest.$ac_objext conftest$ac_exeext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36655 (eval $ac_link) 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try='test -z "$ac_c_werror_flag"
36663 || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try='test -s conftest$ac_exeext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675 eval "$as_ac_var=yes"
36676 else
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.$ac_ext >&5
36680 eval "$as_ac_var=no"
36682 rm -f conftest.err conftest.$ac_objext \
36683 conftest$ac_exeext conftest.$ac_ext
36685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36687 if test `eval echo '${'$as_ac_var'}'` = yes; then
36688 cat >>confdefs.h <<_ACEOF
36689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36690 _ACEOF
36693 done
36695 else
36697 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
36698 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
36699 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36700 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
36701 echo $ECHO_N "(cached) $ECHO_C" >&6
36702 else
36706 ac_ext=cc
36707 ac_cpp='$CXXCPP $CPPFLAGS'
36708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36712 cat >conftest.$ac_ext <<_ACEOF
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718 #include <math.h>
36720 main ()
36722 _frexpl(0, 0);
36724 return 0;
36726 _ACEOF
36727 rm -f conftest.$ac_objext
36728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36729 (eval $ac_compile) 2>conftest.er1
36730 ac_status=$?
36731 grep -v '^ *+' conftest.er1 >conftest.err
36732 rm -f conftest.er1
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } &&
36736 { ac_try='test -z "$ac_cxx_werror_flag"
36737 || test ! -s conftest.err'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36740 ac_status=$?
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; } &&
36743 { ac_try='test -s conftest.$ac_objext'
36744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745 (eval $ac_try) 2>&5
36746 ac_status=$?
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); }; }; then
36749 glibcxx_cv_func__frexpl_use=yes
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36754 glibcxx_cv_func__frexpl_use=no
36756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
36768 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
36770 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36772 for ac_func in _frexpl
36774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36775 echo "$as_me:$LINENO: checking for $ac_func" >&5
36776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36777 if eval "test \"\${$as_ac_var+set}\" = set"; then
36778 echo $ECHO_N "(cached) $ECHO_C" >&6
36779 else
36780 if test x$gcc_no_link = xyes; then
36781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36783 { (exit 1); exit 1; }; }
36785 cat >conftest.$ac_ext <<_ACEOF
36786 /* confdefs.h. */
36787 _ACEOF
36788 cat confdefs.h >>conftest.$ac_ext
36789 cat >>conftest.$ac_ext <<_ACEOF
36790 /* end confdefs.h. */
36791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36793 #define $ac_func innocuous_$ac_func
36795 /* System header to define __stub macros and hopefully few prototypes,
36796 which can conflict with char $ac_func (); below.
36797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36798 <limits.h> exists even on freestanding compilers. */
36800 #ifdef __STDC__
36801 # include <limits.h>
36802 #else
36803 # include <assert.h>
36804 #endif
36806 #undef $ac_func
36808 /* Override any gcc2 internal prototype to avoid an error. */
36809 #ifdef __cplusplus
36810 extern "C"
36812 #endif
36813 /* We use char because int might match the return type of a gcc2
36814 builtin and then its argument prototype would still apply. */
36815 char $ac_func ();
36816 /* The GNU C library defines this for functions which it implements
36817 to always fail with ENOSYS. Some functions are actually named
36818 something starting with __ and the normal name is an alias. */
36819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36820 choke me
36821 #else
36822 char (*f) () = $ac_func;
36823 #endif
36824 #ifdef __cplusplus
36826 #endif
36829 main ()
36831 return f != $ac_func;
36833 return 0;
36835 _ACEOF
36836 rm -f conftest.$ac_objext conftest$ac_exeext
36837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36838 (eval $ac_link) 2>conftest.er1
36839 ac_status=$?
36840 grep -v '^ *+' conftest.er1 >conftest.err
36841 rm -f conftest.er1
36842 cat conftest.err >&5
36843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36844 (exit $ac_status); } &&
36845 { ac_try='test -z "$ac_c_werror_flag"
36846 || test ! -s conftest.err'
36847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36848 (eval $ac_try) 2>&5
36849 ac_status=$?
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); }; } &&
36852 { ac_try='test -s conftest$ac_exeext'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36855 ac_status=$?
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; }; then
36858 eval "$as_ac_var=yes"
36859 else
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.$ac_ext >&5
36863 eval "$as_ac_var=no"
36865 rm -f conftest.err conftest.$ac_objext \
36866 conftest$ac_exeext conftest.$ac_ext
36868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36870 if test `eval echo '${'$as_ac_var'}'` = yes; then
36871 cat >>confdefs.h <<_ACEOF
36872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36873 _ACEOF
36876 done
36886 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
36887 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
36888 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36889 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36895 ac_ext=cc
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <math.h>
36909 main ()
36911 hypotl(0, 0);
36913 return 0;
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36918 (eval $ac_compile) 2>conftest.er1
36919 ac_status=$?
36920 grep -v '^ *+' conftest.er1 >conftest.err
36921 rm -f conftest.er1
36922 cat conftest.err >&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); } &&
36925 { ac_try='test -z "$ac_cxx_werror_flag"
36926 || test ! -s conftest.err'
36927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36928 (eval $ac_try) 2>&5
36929 ac_status=$?
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); }; } &&
36932 { ac_try='test -s conftest.$ac_objext'
36933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36934 (eval $ac_try) 2>&5
36935 ac_status=$?
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); }; }; then
36938 glibcxx_cv_func_hypotl_use=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36943 glibcxx_cv_func_hypotl_use=no
36945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
36957 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
36959 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36961 for ac_func in hypotl
36963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36964 echo "$as_me:$LINENO: checking for $ac_func" >&5
36965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36966 if eval "test \"\${$as_ac_var+set}\" = set"; then
36967 echo $ECHO_N "(cached) $ECHO_C" >&6
36968 else
36969 if test x$gcc_no_link = xyes; then
36970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36972 { (exit 1); exit 1; }; }
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36982 #define $ac_func innocuous_$ac_func
36984 /* System header to define __stub macros and hopefully few prototypes,
36985 which can conflict with char $ac_func (); below.
36986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36987 <limits.h> exists even on freestanding compilers. */
36989 #ifdef __STDC__
36990 # include <limits.h>
36991 #else
36992 # include <assert.h>
36993 #endif
36995 #undef $ac_func
36997 /* Override any gcc2 internal prototype to avoid an error. */
36998 #ifdef __cplusplus
36999 extern "C"
37001 #endif
37002 /* We use char because int might match the return type of a gcc2
37003 builtin and then its argument prototype would still apply. */
37004 char $ac_func ();
37005 /* The GNU C library defines this for functions which it implements
37006 to always fail with ENOSYS. Some functions are actually named
37007 something starting with __ and the normal name is an alias. */
37008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37009 choke me
37010 #else
37011 char (*f) () = $ac_func;
37012 #endif
37013 #ifdef __cplusplus
37015 #endif
37018 main ()
37020 return f != $ac_func;
37022 return 0;
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37027 (eval $ac_link) 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try='test -z "$ac_c_werror_flag"
37035 || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try='test -s conftest$ac_exeext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 eval "$as_ac_var=yes"
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37052 eval "$as_ac_var=no"
37054 rm -f conftest.err conftest.$ac_objext \
37055 conftest$ac_exeext conftest.$ac_ext
37057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37059 if test `eval echo '${'$as_ac_var'}'` = yes; then
37060 cat >>confdefs.h <<_ACEOF
37061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37062 _ACEOF
37065 done
37067 else
37069 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37070 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37071 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37072 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37078 ac_ext=cc
37079 ac_cpp='$CXXCPP $CPPFLAGS'
37080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37084 cat >conftest.$ac_ext <<_ACEOF
37085 /* confdefs.h. */
37086 _ACEOF
37087 cat confdefs.h >>conftest.$ac_ext
37088 cat >>conftest.$ac_ext <<_ACEOF
37089 /* end confdefs.h. */
37090 #include <math.h>
37092 main ()
37094 _hypotl(0, 0);
37096 return 0;
37098 _ACEOF
37099 rm -f conftest.$ac_objext
37100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37101 (eval $ac_compile) 2>conftest.er1
37102 ac_status=$?
37103 grep -v '^ *+' conftest.er1 >conftest.err
37104 rm -f conftest.er1
37105 cat conftest.err >&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } &&
37108 { ac_try='test -z "$ac_cxx_werror_flag"
37109 || test ! -s conftest.err'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37112 ac_status=$?
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; } &&
37115 { ac_try='test -s conftest.$ac_objext'
37116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37117 (eval $ac_try) 2>&5
37118 ac_status=$?
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); }; }; then
37121 glibcxx_cv_func__hypotl_use=yes
37122 else
37123 echo "$as_me: failed program was:" >&5
37124 sed 's/^/| /' conftest.$ac_ext >&5
37126 glibcxx_cv_func__hypotl_use=no
37128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37129 ac_ext=c
37130 ac_cpp='$CPP $CPPFLAGS'
37131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37140 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37142 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37144 for ac_func in _hypotl
37146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37147 echo "$as_me:$LINENO: checking for $ac_func" >&5
37148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37149 if eval "test \"\${$as_ac_var+set}\" = set"; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37151 else
37152 if test x$gcc_no_link = xyes; then
37153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37155 { (exit 1); exit 1; }; }
37157 cat >conftest.$ac_ext <<_ACEOF
37158 /* confdefs.h. */
37159 _ACEOF
37160 cat confdefs.h >>conftest.$ac_ext
37161 cat >>conftest.$ac_ext <<_ACEOF
37162 /* end confdefs.h. */
37163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37165 #define $ac_func innocuous_$ac_func
37167 /* System header to define __stub macros and hopefully few prototypes,
37168 which can conflict with char $ac_func (); below.
37169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37170 <limits.h> exists even on freestanding compilers. */
37172 #ifdef __STDC__
37173 # include <limits.h>
37174 #else
37175 # include <assert.h>
37176 #endif
37178 #undef $ac_func
37180 /* Override any gcc2 internal prototype to avoid an error. */
37181 #ifdef __cplusplus
37182 extern "C"
37184 #endif
37185 /* We use char because int might match the return type of a gcc2
37186 builtin and then its argument prototype would still apply. */
37187 char $ac_func ();
37188 /* The GNU C library defines this for functions which it implements
37189 to always fail with ENOSYS. Some functions are actually named
37190 something starting with __ and the normal name is an alias. */
37191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37192 choke me
37193 #else
37194 char (*f) () = $ac_func;
37195 #endif
37196 #ifdef __cplusplus
37198 #endif
37201 main ()
37203 return f != $ac_func;
37205 return 0;
37207 _ACEOF
37208 rm -f conftest.$ac_objext conftest$ac_exeext
37209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37210 (eval $ac_link) 2>conftest.er1
37211 ac_status=$?
37212 grep -v '^ *+' conftest.er1 >conftest.err
37213 rm -f conftest.er1
37214 cat conftest.err >&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); } &&
37217 { ac_try='test -z "$ac_c_werror_flag"
37218 || test ! -s conftest.err'
37219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220 (eval $ac_try) 2>&5
37221 ac_status=$?
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); }; } &&
37224 { ac_try='test -s conftest$ac_exeext'
37225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37226 (eval $ac_try) 2>&5
37227 ac_status=$?
37228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37229 (exit $ac_status); }; }; then
37230 eval "$as_ac_var=yes"
37231 else
37232 echo "$as_me: failed program was:" >&5
37233 sed 's/^/| /' conftest.$ac_ext >&5
37235 eval "$as_ac_var=no"
37237 rm -f conftest.err conftest.$ac_objext \
37238 conftest$ac_exeext conftest.$ac_ext
37240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37242 if test `eval echo '${'$as_ac_var'}'` = yes; then
37243 cat >>confdefs.h <<_ACEOF
37244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37245 _ACEOF
37248 done
37258 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37259 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37260 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37261 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37262 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 else
37267 ac_ext=cc
37268 ac_cpp='$CXXCPP $CPPFLAGS'
37269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37273 cat >conftest.$ac_ext <<_ACEOF
37274 /* confdefs.h. */
37275 _ACEOF
37276 cat confdefs.h >>conftest.$ac_ext
37277 cat >>conftest.$ac_ext <<_ACEOF
37278 /* end confdefs.h. */
37279 #include <math.h>
37281 main ()
37283 ldexpl(0, 0);
37285 return 0;
37287 _ACEOF
37288 rm -f conftest.$ac_objext
37289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37290 (eval $ac_compile) 2>conftest.er1
37291 ac_status=$?
37292 grep -v '^ *+' conftest.er1 >conftest.err
37293 rm -f conftest.er1
37294 cat conftest.err >&5
37295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37296 (exit $ac_status); } &&
37297 { ac_try='test -z "$ac_cxx_werror_flag"
37298 || test ! -s conftest.err'
37299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37300 (eval $ac_try) 2>&5
37301 ac_status=$?
37302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37303 (exit $ac_status); }; } &&
37304 { ac_try='test -s conftest.$ac_objext'
37305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37306 (eval $ac_try) 2>&5
37307 ac_status=$?
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); }; }; then
37310 glibcxx_cv_func_ldexpl_use=yes
37311 else
37312 echo "$as_me: failed program was:" >&5
37313 sed 's/^/| /' conftest.$ac_ext >&5
37315 glibcxx_cv_func_ldexpl_use=no
37317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37318 ac_ext=c
37319 ac_cpp='$CPP $CPPFLAGS'
37320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37329 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37331 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37333 for ac_func in ldexpl
37335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37336 echo "$as_me:$LINENO: checking for $ac_func" >&5
37337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37338 if eval "test \"\${$as_ac_var+set}\" = set"; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37341 if test x$gcc_no_link = xyes; then
37342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37344 { (exit 1); exit 1; }; }
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37361 #ifdef __STDC__
37362 # include <limits.h>
37363 #else
37364 # include <assert.h>
37365 #endif
37367 #undef $ac_func
37369 /* Override any gcc2 internal prototype to avoid an error. */
37370 #ifdef __cplusplus
37371 extern "C"
37373 #endif
37374 /* We use char because int might match the return type of a gcc2
37375 builtin and then its argument prototype would still apply. */
37376 char $ac_func ();
37377 /* The GNU C library defines this for functions which it implements
37378 to always fail with ENOSYS. Some functions are actually named
37379 something starting with __ and the normal name is an alias. */
37380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37381 choke me
37382 #else
37383 char (*f) () = $ac_func;
37384 #endif
37385 #ifdef __cplusplus
37387 #endif
37390 main ()
37392 return f != $ac_func;
37394 return 0;
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37399 (eval $ac_link) 2>conftest.er1
37400 ac_status=$?
37401 grep -v '^ *+' conftest.er1 >conftest.err
37402 rm -f conftest.er1
37403 cat conftest.err >&5
37404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37405 (exit $ac_status); } &&
37406 { ac_try='test -z "$ac_c_werror_flag"
37407 || test ! -s conftest.err'
37408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37409 (eval $ac_try) 2>&5
37410 ac_status=$?
37411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37412 (exit $ac_status); }; } &&
37413 { ac_try='test -s conftest$ac_exeext'
37414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37415 (eval $ac_try) 2>&5
37416 ac_status=$?
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); }; }; then
37419 eval "$as_ac_var=yes"
37420 else
37421 echo "$as_me: failed program was:" >&5
37422 sed 's/^/| /' conftest.$ac_ext >&5
37424 eval "$as_ac_var=no"
37426 rm -f conftest.err conftest.$ac_objext \
37427 conftest$ac_exeext conftest.$ac_ext
37429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37431 if test `eval echo '${'$as_ac_var'}'` = yes; then
37432 cat >>confdefs.h <<_ACEOF
37433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37434 _ACEOF
37437 done
37439 else
37441 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37442 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37443 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37444 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37445 echo $ECHO_N "(cached) $ECHO_C" >&6
37446 else
37450 ac_ext=cc
37451 ac_cpp='$CXXCPP $CPPFLAGS'
37452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37456 cat >conftest.$ac_ext <<_ACEOF
37457 /* confdefs.h. */
37458 _ACEOF
37459 cat confdefs.h >>conftest.$ac_ext
37460 cat >>conftest.$ac_ext <<_ACEOF
37461 /* end confdefs.h. */
37462 #include <math.h>
37464 main ()
37466 _ldexpl(0, 0);
37468 return 0;
37470 _ACEOF
37471 rm -f conftest.$ac_objext
37472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37473 (eval $ac_compile) 2>conftest.er1
37474 ac_status=$?
37475 grep -v '^ *+' conftest.er1 >conftest.err
37476 rm -f conftest.er1
37477 cat conftest.err >&5
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); } &&
37480 { ac_try='test -z "$ac_cxx_werror_flag"
37481 || test ! -s conftest.err'
37482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37483 (eval $ac_try) 2>&5
37484 ac_status=$?
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); }; } &&
37487 { ac_try='test -s conftest.$ac_objext'
37488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37489 (eval $ac_try) 2>&5
37490 ac_status=$?
37491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37492 (exit $ac_status); }; }; then
37493 glibcxx_cv_func__ldexpl_use=yes
37494 else
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37498 glibcxx_cv_func__ldexpl_use=no
37500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37512 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37514 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37516 for ac_func in _ldexpl
37518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37521 if eval "test \"\${$as_ac_var+set}\" = set"; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 if test x$gcc_no_link = xyes; then
37525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37527 { (exit 1); exit 1; }; }
37529 cat >conftest.$ac_ext <<_ACEOF
37530 /* confdefs.h. */
37531 _ACEOF
37532 cat confdefs.h >>conftest.$ac_ext
37533 cat >>conftest.$ac_ext <<_ACEOF
37534 /* end confdefs.h. */
37535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37537 #define $ac_func innocuous_$ac_func
37539 /* System header to define __stub macros and hopefully few prototypes,
37540 which can conflict with char $ac_func (); below.
37541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37542 <limits.h> exists even on freestanding compilers. */
37544 #ifdef __STDC__
37545 # include <limits.h>
37546 #else
37547 # include <assert.h>
37548 #endif
37550 #undef $ac_func
37552 /* Override any gcc2 internal prototype to avoid an error. */
37553 #ifdef __cplusplus
37554 extern "C"
37556 #endif
37557 /* We use char because int might match the return type of a gcc2
37558 builtin and then its argument prototype would still apply. */
37559 char $ac_func ();
37560 /* The GNU C library defines this for functions which it implements
37561 to always fail with ENOSYS. Some functions are actually named
37562 something starting with __ and the normal name is an alias. */
37563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37564 choke me
37565 #else
37566 char (*f) () = $ac_func;
37567 #endif
37568 #ifdef __cplusplus
37570 #endif
37573 main ()
37575 return f != $ac_func;
37577 return 0;
37579 _ACEOF
37580 rm -f conftest.$ac_objext conftest$ac_exeext
37581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37582 (eval $ac_link) 2>conftest.er1
37583 ac_status=$?
37584 grep -v '^ *+' conftest.er1 >conftest.err
37585 rm -f conftest.er1
37586 cat conftest.err >&5
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); } &&
37589 { ac_try='test -z "$ac_c_werror_flag"
37590 || test ! -s conftest.err'
37591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37592 (eval $ac_try) 2>&5
37593 ac_status=$?
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); }; } &&
37596 { ac_try='test -s conftest$ac_exeext'
37597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37598 (eval $ac_try) 2>&5
37599 ac_status=$?
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); }; }; then
37602 eval "$as_ac_var=yes"
37603 else
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.$ac_ext >&5
37607 eval "$as_ac_var=no"
37609 rm -f conftest.err conftest.$ac_objext \
37610 conftest$ac_exeext conftest.$ac_ext
37612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37614 if test `eval echo '${'$as_ac_var'}'` = yes; then
37615 cat >>confdefs.h <<_ACEOF
37616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37617 _ACEOF
37620 done
37630 echo "$as_me:$LINENO: checking for logl declaration" >&5
37631 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
37632 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37633 if test "${glibcxx_cv_func_logl_use+set}" = set; then
37634 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 else
37639 ac_ext=cc
37640 ac_cpp='$CXXCPP $CPPFLAGS'
37641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37645 cat >conftest.$ac_ext <<_ACEOF
37646 /* confdefs.h. */
37647 _ACEOF
37648 cat confdefs.h >>conftest.$ac_ext
37649 cat >>conftest.$ac_ext <<_ACEOF
37650 /* end confdefs.h. */
37651 #include <math.h>
37652 #ifdef HAVE_IEEEFP_H
37653 #include <ieeefp.h>
37654 #endif
37657 main ()
37659 logl(0);
37661 return 0;
37663 _ACEOF
37664 rm -f conftest.$ac_objext
37665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37666 (eval $ac_compile) 2>conftest.er1
37667 ac_status=$?
37668 grep -v '^ *+' conftest.er1 >conftest.err
37669 rm -f conftest.er1
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } &&
37673 { ac_try='test -z "$ac_cxx_werror_flag"
37674 || test ! -s conftest.err'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37677 ac_status=$?
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; } &&
37680 { ac_try='test -s conftest.$ac_objext'
37681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37682 (eval $ac_try) 2>&5
37683 ac_status=$?
37684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685 (exit $ac_status); }; }; then
37686 glibcxx_cv_func_logl_use=yes
37687 else
37688 echo "$as_me: failed program was:" >&5
37689 sed 's/^/| /' conftest.$ac_ext >&5
37691 glibcxx_cv_func_logl_use=no
37693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37694 ac_ext=c
37695 ac_cpp='$CPP $CPPFLAGS'
37696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
37705 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
37707 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37709 for ac_func in logl
37711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37712 echo "$as_me:$LINENO: checking for $ac_func" >&5
37713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37714 if eval "test \"\${$as_ac_var+set}\" = set"; then
37715 echo $ECHO_N "(cached) $ECHO_C" >&6
37716 else
37717 if test x$gcc_no_link = xyes; then
37718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37720 { (exit 1); exit 1; }; }
37722 cat >conftest.$ac_ext <<_ACEOF
37723 /* confdefs.h. */
37724 _ACEOF
37725 cat confdefs.h >>conftest.$ac_ext
37726 cat >>conftest.$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37730 #define $ac_func innocuous_$ac_func
37732 /* System header to define __stub macros and hopefully few prototypes,
37733 which can conflict with char $ac_func (); below.
37734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37735 <limits.h> exists even on freestanding compilers. */
37737 #ifdef __STDC__
37738 # include <limits.h>
37739 #else
37740 # include <assert.h>
37741 #endif
37743 #undef $ac_func
37745 /* Override any gcc2 internal prototype to avoid an error. */
37746 #ifdef __cplusplus
37747 extern "C"
37749 #endif
37750 /* We use char because int might match the return type of a gcc2
37751 builtin and then its argument prototype would still apply. */
37752 char $ac_func ();
37753 /* The GNU C library defines this for functions which it implements
37754 to always fail with ENOSYS. Some functions are actually named
37755 something starting with __ and the normal name is an alias. */
37756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37757 choke me
37758 #else
37759 char (*f) () = $ac_func;
37760 #endif
37761 #ifdef __cplusplus
37763 #endif
37766 main ()
37768 return f != $ac_func;
37770 return 0;
37772 _ACEOF
37773 rm -f conftest.$ac_objext conftest$ac_exeext
37774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37775 (eval $ac_link) 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } &&
37782 { ac_try='test -z "$ac_c_werror_flag"
37783 || test ! -s conftest.err'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37786 ac_status=$?
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; } &&
37789 { ac_try='test -s conftest$ac_exeext'
37790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37791 (eval $ac_try) 2>&5
37792 ac_status=$?
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); }; }; then
37795 eval "$as_ac_var=yes"
37796 else
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.$ac_ext >&5
37800 eval "$as_ac_var=no"
37802 rm -f conftest.err conftest.$ac_objext \
37803 conftest$ac_exeext conftest.$ac_ext
37805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37807 if test `eval echo '${'$as_ac_var'}'` = yes; then
37808 cat >>confdefs.h <<_ACEOF
37809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37810 _ACEOF
37813 done
37815 else
37817 echo "$as_me:$LINENO: checking for _logl declaration" >&5
37818 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
37819 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37820 if test "${glibcxx_cv_func__logl_use+set}" = set; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 else
37826 ac_ext=cc
37827 ac_cpp='$CXXCPP $CPPFLAGS'
37828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37832 cat >conftest.$ac_ext <<_ACEOF
37833 /* confdefs.h. */
37834 _ACEOF
37835 cat confdefs.h >>conftest.$ac_ext
37836 cat >>conftest.$ac_ext <<_ACEOF
37837 /* end confdefs.h. */
37838 #include <math.h>
37839 #ifdef HAVE_IEEEFP_H
37840 #include <ieeefp.h>
37841 #endif
37844 main ()
37846 _logl(0);
37848 return 0;
37850 _ACEOF
37851 rm -f conftest.$ac_objext
37852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37853 (eval $ac_compile) 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } &&
37860 { ac_try='test -z "$ac_cxx_werror_flag"
37861 || test ! -s conftest.err'
37862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37863 (eval $ac_try) 2>&5
37864 ac_status=$?
37865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37866 (exit $ac_status); }; } &&
37867 { ac_try='test -s conftest.$ac_objext'
37868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869 (eval $ac_try) 2>&5
37870 ac_status=$?
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); }; }; then
37873 glibcxx_cv_func__logl_use=yes
37874 else
37875 echo "$as_me: failed program was:" >&5
37876 sed 's/^/| /' conftest.$ac_ext >&5
37878 glibcxx_cv_func__logl_use=no
37880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37881 ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
37892 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
37894 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37896 for ac_func in _logl
37898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37899 echo "$as_me:$LINENO: checking for $ac_func" >&5
37900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37901 if eval "test \"\${$as_ac_var+set}\" = set"; then
37902 echo $ECHO_N "(cached) $ECHO_C" >&6
37903 else
37904 if test x$gcc_no_link = xyes; then
37905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37907 { (exit 1); exit 1; }; }
37909 cat >conftest.$ac_ext <<_ACEOF
37910 /* confdefs.h. */
37911 _ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37917 #define $ac_func innocuous_$ac_func
37919 /* System header to define __stub macros and hopefully few prototypes,
37920 which can conflict with char $ac_func (); below.
37921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37922 <limits.h> exists even on freestanding compilers. */
37924 #ifdef __STDC__
37925 # include <limits.h>
37926 #else
37927 # include <assert.h>
37928 #endif
37930 #undef $ac_func
37932 /* Override any gcc2 internal prototype to avoid an error. */
37933 #ifdef __cplusplus
37934 extern "C"
37936 #endif
37937 /* We use char because int might match the return type of a gcc2
37938 builtin and then its argument prototype would still apply. */
37939 char $ac_func ();
37940 /* The GNU C library defines this for functions which it implements
37941 to always fail with ENOSYS. Some functions are actually named
37942 something starting with __ and the normal name is an alias. */
37943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37944 choke me
37945 #else
37946 char (*f) () = $ac_func;
37947 #endif
37948 #ifdef __cplusplus
37950 #endif
37953 main ()
37955 return f != $ac_func;
37957 return 0;
37959 _ACEOF
37960 rm -f conftest.$ac_objext conftest$ac_exeext
37961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37962 (eval $ac_link) 2>conftest.er1
37963 ac_status=$?
37964 grep -v '^ *+' conftest.er1 >conftest.err
37965 rm -f conftest.er1
37966 cat conftest.err >&5
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); } &&
37969 { ac_try='test -z "$ac_c_werror_flag"
37970 || test ! -s conftest.err'
37971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37972 (eval $ac_try) 2>&5
37973 ac_status=$?
37974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37975 (exit $ac_status); }; } &&
37976 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37982 eval "$as_ac_var=yes"
37983 else
37984 echo "$as_me: failed program was:" >&5
37985 sed 's/^/| /' conftest.$ac_ext >&5
37987 eval "$as_ac_var=no"
37989 rm -f conftest.err conftest.$ac_objext \
37990 conftest$ac_exeext conftest.$ac_ext
37992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37994 if test `eval echo '${'$as_ac_var'}'` = yes; then
37995 cat >>confdefs.h <<_ACEOF
37996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37997 _ACEOF
38000 done
38010 echo "$as_me:$LINENO: checking for log10l declaration" >&5
38011 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38012 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38013 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38014 echo $ECHO_N "(cached) $ECHO_C" >&6
38015 else
38019 ac_ext=cc
38020 ac_cpp='$CXXCPP $CPPFLAGS'
38021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38025 cat >conftest.$ac_ext <<_ACEOF
38026 /* confdefs.h. */
38027 _ACEOF
38028 cat confdefs.h >>conftest.$ac_ext
38029 cat >>conftest.$ac_ext <<_ACEOF
38030 /* end confdefs.h. */
38031 #include <math.h>
38032 #ifdef HAVE_IEEEFP_H
38033 #include <ieeefp.h>
38034 #endif
38037 main ()
38039 log10l(0);
38041 return 0;
38043 _ACEOF
38044 rm -f conftest.$ac_objext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38046 (eval $ac_compile) 2>conftest.er1
38047 ac_status=$?
38048 grep -v '^ *+' conftest.er1 >conftest.err
38049 rm -f conftest.er1
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } &&
38053 { ac_try='test -z "$ac_cxx_werror_flag"
38054 || test ! -s conftest.err'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38057 ac_status=$?
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; } &&
38060 { ac_try='test -s conftest.$ac_objext'
38061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38062 (eval $ac_try) 2>&5
38063 ac_status=$?
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); }; }; then
38066 glibcxx_cv_func_log10l_use=yes
38067 else
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38071 glibcxx_cv_func_log10l_use=no
38073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38074 ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38085 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38087 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38089 for ac_func in log10l
38091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38092 echo "$as_me:$LINENO: checking for $ac_func" >&5
38093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38094 if eval "test \"\${$as_ac_var+set}\" = set"; then
38095 echo $ECHO_N "(cached) $ECHO_C" >&6
38096 else
38097 if test x$gcc_no_link = xyes; then
38098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38100 { (exit 1); exit 1; }; }
38102 cat >conftest.$ac_ext <<_ACEOF
38103 /* confdefs.h. */
38104 _ACEOF
38105 cat confdefs.h >>conftest.$ac_ext
38106 cat >>conftest.$ac_ext <<_ACEOF
38107 /* end confdefs.h. */
38108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38110 #define $ac_func innocuous_$ac_func
38112 /* System header to define __stub macros and hopefully few prototypes,
38113 which can conflict with char $ac_func (); below.
38114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38115 <limits.h> exists even on freestanding compilers. */
38117 #ifdef __STDC__
38118 # include <limits.h>
38119 #else
38120 # include <assert.h>
38121 #endif
38123 #undef $ac_func
38125 /* Override any gcc2 internal prototype to avoid an error. */
38126 #ifdef __cplusplus
38127 extern "C"
38129 #endif
38130 /* We use char because int might match the return type of a gcc2
38131 builtin and then its argument prototype would still apply. */
38132 char $ac_func ();
38133 /* The GNU C library defines this for functions which it implements
38134 to always fail with ENOSYS. Some functions are actually named
38135 something starting with __ and the normal name is an alias. */
38136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38137 choke me
38138 #else
38139 char (*f) () = $ac_func;
38140 #endif
38141 #ifdef __cplusplus
38143 #endif
38146 main ()
38148 return f != $ac_func;
38150 return 0;
38152 _ACEOF
38153 rm -f conftest.$ac_objext conftest$ac_exeext
38154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38155 (eval $ac_link) 2>conftest.er1
38156 ac_status=$?
38157 grep -v '^ *+' conftest.er1 >conftest.err
38158 rm -f conftest.er1
38159 cat conftest.err >&5
38160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38161 (exit $ac_status); } &&
38162 { ac_try='test -z "$ac_c_werror_flag"
38163 || test ! -s conftest.err'
38164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38165 (eval $ac_try) 2>&5
38166 ac_status=$?
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); }; } &&
38169 { ac_try='test -s conftest$ac_exeext'
38170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38171 (eval $ac_try) 2>&5
38172 ac_status=$?
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); }; }; then
38175 eval "$as_ac_var=yes"
38176 else
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38180 eval "$as_ac_var=no"
38182 rm -f conftest.err conftest.$ac_objext \
38183 conftest$ac_exeext conftest.$ac_ext
38185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38187 if test `eval echo '${'$as_ac_var'}'` = yes; then
38188 cat >>confdefs.h <<_ACEOF
38189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38190 _ACEOF
38193 done
38195 else
38197 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38198 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38199 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38200 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38201 echo $ECHO_N "(cached) $ECHO_C" >&6
38202 else
38206 ac_ext=cc
38207 ac_cpp='$CXXCPP $CPPFLAGS'
38208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38212 cat >conftest.$ac_ext <<_ACEOF
38213 /* confdefs.h. */
38214 _ACEOF
38215 cat confdefs.h >>conftest.$ac_ext
38216 cat >>conftest.$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38218 #include <math.h>
38219 #ifdef HAVE_IEEEFP_H
38220 #include <ieeefp.h>
38221 #endif
38224 main ()
38226 _log10l(0);
38228 return 0;
38230 _ACEOF
38231 rm -f conftest.$ac_objext
38232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38233 (eval $ac_compile) 2>conftest.er1
38234 ac_status=$?
38235 grep -v '^ *+' conftest.er1 >conftest.err
38236 rm -f conftest.er1
38237 cat conftest.err >&5
38238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38239 (exit $ac_status); } &&
38240 { ac_try='test -z "$ac_cxx_werror_flag"
38241 || test ! -s conftest.err'
38242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38243 (eval $ac_try) 2>&5
38244 ac_status=$?
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); }; } &&
38247 { ac_try='test -s conftest.$ac_objext'
38248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38249 (eval $ac_try) 2>&5
38250 ac_status=$?
38251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38252 (exit $ac_status); }; }; then
38253 glibcxx_cv_func__log10l_use=yes
38254 else
38255 echo "$as_me: failed program was:" >&5
38256 sed 's/^/| /' conftest.$ac_ext >&5
38258 glibcxx_cv_func__log10l_use=no
38260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38261 ac_ext=c
38262 ac_cpp='$CPP $CPPFLAGS'
38263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38272 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38274 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38276 for ac_func in _log10l
38278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38279 echo "$as_me:$LINENO: checking for $ac_func" >&5
38280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38281 if eval "test \"\${$as_ac_var+set}\" = set"; then
38282 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 else
38284 if test x$gcc_no_link = xyes; then
38285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38287 { (exit 1); exit 1; }; }
38289 cat >conftest.$ac_ext <<_ACEOF
38290 /* confdefs.h. */
38291 _ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38297 #define $ac_func innocuous_$ac_func
38299 /* System header to define __stub macros and hopefully few prototypes,
38300 which can conflict with char $ac_func (); below.
38301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38302 <limits.h> exists even on freestanding compilers. */
38304 #ifdef __STDC__
38305 # include <limits.h>
38306 #else
38307 # include <assert.h>
38308 #endif
38310 #undef $ac_func
38312 /* Override any gcc2 internal prototype to avoid an error. */
38313 #ifdef __cplusplus
38314 extern "C"
38316 #endif
38317 /* We use char because int might match the return type of a gcc2
38318 builtin and then its argument prototype would still apply. */
38319 char $ac_func ();
38320 /* The GNU C library defines this for functions which it implements
38321 to always fail with ENOSYS. Some functions are actually named
38322 something starting with __ and the normal name is an alias. */
38323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38324 choke me
38325 #else
38326 char (*f) () = $ac_func;
38327 #endif
38328 #ifdef __cplusplus
38330 #endif
38333 main ()
38335 return f != $ac_func;
38337 return 0;
38339 _ACEOF
38340 rm -f conftest.$ac_objext conftest$ac_exeext
38341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38342 (eval $ac_link) 2>conftest.er1
38343 ac_status=$?
38344 grep -v '^ *+' conftest.er1 >conftest.err
38345 rm -f conftest.er1
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } &&
38349 { ac_try='test -z "$ac_c_werror_flag"
38350 || test ! -s conftest.err'
38351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38352 (eval $ac_try) 2>&5
38353 ac_status=$?
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); }; } &&
38356 { ac_try='test -s conftest$ac_exeext'
38357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38358 (eval $ac_try) 2>&5
38359 ac_status=$?
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); }; }; then
38362 eval "$as_ac_var=yes"
38363 else
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38367 eval "$as_ac_var=no"
38369 rm -f conftest.err conftest.$ac_objext \
38370 conftest$ac_exeext conftest.$ac_ext
38372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38374 if test `eval echo '${'$as_ac_var'}'` = yes; then
38375 cat >>confdefs.h <<_ACEOF
38376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38377 _ACEOF
38380 done
38390 echo "$as_me:$LINENO: checking for modfl declaration" >&5
38391 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38392 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38393 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38394 echo $ECHO_N "(cached) $ECHO_C" >&6
38395 else
38399 ac_ext=cc
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38405 cat >conftest.$ac_ext <<_ACEOF
38406 /* confdefs.h. */
38407 _ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411 #include <math.h>
38413 main ()
38415 modfl(0, 0);
38417 return 0;
38419 _ACEOF
38420 rm -f conftest.$ac_objext
38421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38422 (eval $ac_compile) 2>conftest.er1
38423 ac_status=$?
38424 grep -v '^ *+' conftest.er1 >conftest.err
38425 rm -f conftest.er1
38426 cat conftest.err >&5
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); } &&
38429 { ac_try='test -z "$ac_cxx_werror_flag"
38430 || test ! -s conftest.err'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38433 ac_status=$?
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; } &&
38436 { ac_try='test -s conftest.$ac_objext'
38437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438 (eval $ac_try) 2>&5
38439 ac_status=$?
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); }; }; then
38442 glibcxx_cv_func_modfl_use=yes
38443 else
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.$ac_ext >&5
38447 glibcxx_cv_func_modfl_use=no
38449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38450 ac_ext=c
38451 ac_cpp='$CPP $CPPFLAGS'
38452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38461 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38463 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38465 for ac_func in modfl
38467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38468 echo "$as_me:$LINENO: checking for $ac_func" >&5
38469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38470 if eval "test \"\${$as_ac_var+set}\" = set"; then
38471 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 else
38473 if test x$gcc_no_link = xyes; then
38474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38476 { (exit 1); exit 1; }; }
38478 cat >conftest.$ac_ext <<_ACEOF
38479 /* confdefs.h. */
38480 _ACEOF
38481 cat confdefs.h >>conftest.$ac_ext
38482 cat >>conftest.$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38486 #define $ac_func innocuous_$ac_func
38488 /* System header to define __stub macros and hopefully few prototypes,
38489 which can conflict with char $ac_func (); below.
38490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38491 <limits.h> exists even on freestanding compilers. */
38493 #ifdef __STDC__
38494 # include <limits.h>
38495 #else
38496 # include <assert.h>
38497 #endif
38499 #undef $ac_func
38501 /* Override any gcc2 internal prototype to avoid an error. */
38502 #ifdef __cplusplus
38503 extern "C"
38505 #endif
38506 /* We use char because int might match the return type of a gcc2
38507 builtin and then its argument prototype would still apply. */
38508 char $ac_func ();
38509 /* The GNU C library defines this for functions which it implements
38510 to always fail with ENOSYS. Some functions are actually named
38511 something starting with __ and the normal name is an alias. */
38512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38513 choke me
38514 #else
38515 char (*f) () = $ac_func;
38516 #endif
38517 #ifdef __cplusplus
38519 #endif
38522 main ()
38524 return f != $ac_func;
38526 return 0;
38528 _ACEOF
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38531 (eval $ac_link) 2>conftest.er1
38532 ac_status=$?
38533 grep -v '^ *+' conftest.er1 >conftest.err
38534 rm -f conftest.er1
38535 cat conftest.err >&5
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); } &&
38538 { ac_try='test -z "$ac_c_werror_flag"
38539 || test ! -s conftest.err'
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); }; } &&
38545 { ac_try='test -s conftest$ac_exeext'
38546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547 (eval $ac_try) 2>&5
38548 ac_status=$?
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); }; }; then
38551 eval "$as_ac_var=yes"
38552 else
38553 echo "$as_me: failed program was:" >&5
38554 sed 's/^/| /' conftest.$ac_ext >&5
38556 eval "$as_ac_var=no"
38558 rm -f conftest.err conftest.$ac_objext \
38559 conftest$ac_exeext conftest.$ac_ext
38561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38563 if test `eval echo '${'$as_ac_var'}'` = yes; then
38564 cat >>confdefs.h <<_ACEOF
38565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38566 _ACEOF
38569 done
38571 else
38573 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
38574 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
38575 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38576 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38578 else
38582 ac_ext=cc
38583 ac_cpp='$CXXCPP $CPPFLAGS'
38584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38588 cat >conftest.$ac_ext <<_ACEOF
38589 /* confdefs.h. */
38590 _ACEOF
38591 cat confdefs.h >>conftest.$ac_ext
38592 cat >>conftest.$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38594 #include <math.h>
38596 main ()
38598 _modfl(0, 0);
38600 return 0;
38602 _ACEOF
38603 rm -f conftest.$ac_objext
38604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38605 (eval $ac_compile) 2>conftest.er1
38606 ac_status=$?
38607 grep -v '^ *+' conftest.er1 >conftest.err
38608 rm -f conftest.er1
38609 cat conftest.err >&5
38610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38611 (exit $ac_status); } &&
38612 { ac_try='test -z "$ac_cxx_werror_flag"
38613 || test ! -s conftest.err'
38614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38615 (eval $ac_try) 2>&5
38616 ac_status=$?
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); }; } &&
38619 { ac_try='test -s conftest.$ac_objext'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; }; then
38625 glibcxx_cv_func__modfl_use=yes
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38630 glibcxx_cv_func__modfl_use=no
38632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38633 ac_ext=c
38634 ac_cpp='$CPP $CPPFLAGS'
38635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
38644 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
38646 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38648 for ac_func in _modfl
38650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38651 echo "$as_me:$LINENO: checking for $ac_func" >&5
38652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38653 if eval "test \"\${$as_ac_var+set}\" = set"; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38655 else
38656 if test x$gcc_no_link = xyes; then
38657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38659 { (exit 1); exit 1; }; }
38661 cat >conftest.$ac_ext <<_ACEOF
38662 /* confdefs.h. */
38663 _ACEOF
38664 cat confdefs.h >>conftest.$ac_ext
38665 cat >>conftest.$ac_ext <<_ACEOF
38666 /* end confdefs.h. */
38667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38669 #define $ac_func innocuous_$ac_func
38671 /* System header to define __stub macros and hopefully few prototypes,
38672 which can conflict with char $ac_func (); below.
38673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38674 <limits.h> exists even on freestanding compilers. */
38676 #ifdef __STDC__
38677 # include <limits.h>
38678 #else
38679 # include <assert.h>
38680 #endif
38682 #undef $ac_func
38684 /* Override any gcc2 internal prototype to avoid an error. */
38685 #ifdef __cplusplus
38686 extern "C"
38688 #endif
38689 /* We use char because int might match the return type of a gcc2
38690 builtin and then its argument prototype would still apply. */
38691 char $ac_func ();
38692 /* The GNU C library defines this for functions which it implements
38693 to always fail with ENOSYS. Some functions are actually named
38694 something starting with __ and the normal name is an alias. */
38695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38696 choke me
38697 #else
38698 char (*f) () = $ac_func;
38699 #endif
38700 #ifdef __cplusplus
38702 #endif
38705 main ()
38707 return f != $ac_func;
38709 return 0;
38711 _ACEOF
38712 rm -f conftest.$ac_objext conftest$ac_exeext
38713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38714 (eval $ac_link) 2>conftest.er1
38715 ac_status=$?
38716 grep -v '^ *+' conftest.er1 >conftest.err
38717 rm -f conftest.er1
38718 cat conftest.err >&5
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); } &&
38721 { ac_try='test -z "$ac_c_werror_flag"
38722 || test ! -s conftest.err'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38725 ac_status=$?
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; } &&
38728 { ac_try='test -s conftest$ac_exeext'
38729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38730 (eval $ac_try) 2>&5
38731 ac_status=$?
38732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733 (exit $ac_status); }; }; then
38734 eval "$as_ac_var=yes"
38735 else
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38739 eval "$as_ac_var=no"
38741 rm -f conftest.err conftest.$ac_objext \
38742 conftest$ac_exeext conftest.$ac_ext
38744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38746 if test `eval echo '${'$as_ac_var'}'` = yes; then
38747 cat >>confdefs.h <<_ACEOF
38748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38749 _ACEOF
38752 done
38762 echo "$as_me:$LINENO: checking for powl declaration" >&5
38763 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
38764 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38765 if test "${glibcxx_cv_func_powl_use+set}" = set; then
38766 echo $ECHO_N "(cached) $ECHO_C" >&6
38767 else
38771 ac_ext=cc
38772 ac_cpp='$CXXCPP $CPPFLAGS'
38773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38777 cat >conftest.$ac_ext <<_ACEOF
38778 /* confdefs.h. */
38779 _ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38783 #include <math.h>
38785 main ()
38787 powl(0, 0);
38789 return 0;
38791 _ACEOF
38792 rm -f conftest.$ac_objext
38793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38794 (eval $ac_compile) 2>conftest.er1
38795 ac_status=$?
38796 grep -v '^ *+' conftest.er1 >conftest.err
38797 rm -f conftest.er1
38798 cat conftest.err >&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); } &&
38801 { ac_try='test -z "$ac_cxx_werror_flag"
38802 || test ! -s conftest.err'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38805 ac_status=$?
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; } &&
38808 { ac_try='test -s conftest.$ac_objext'
38809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38810 (eval $ac_try) 2>&5
38811 ac_status=$?
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); }; }; then
38814 glibcxx_cv_func_powl_use=yes
38815 else
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.$ac_ext >&5
38819 glibcxx_cv_func_powl_use=no
38821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38822 ac_ext=c
38823 ac_cpp='$CPP $CPPFLAGS'
38824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
38833 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
38835 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38837 for ac_func in powl
38839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38840 echo "$as_me:$LINENO: checking for $ac_func" >&5
38841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38842 if eval "test \"\${$as_ac_var+set}\" = set"; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 else
38845 if test x$gcc_no_link = xyes; then
38846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38848 { (exit 1); exit 1; }; }
38850 cat >conftest.$ac_ext <<_ACEOF
38851 /* confdefs.h. */
38852 _ACEOF
38853 cat confdefs.h >>conftest.$ac_ext
38854 cat >>conftest.$ac_ext <<_ACEOF
38855 /* end confdefs.h. */
38856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38858 #define $ac_func innocuous_$ac_func
38860 /* System header to define __stub macros and hopefully few prototypes,
38861 which can conflict with char $ac_func (); below.
38862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38863 <limits.h> exists even on freestanding compilers. */
38865 #ifdef __STDC__
38866 # include <limits.h>
38867 #else
38868 # include <assert.h>
38869 #endif
38871 #undef $ac_func
38873 /* Override any gcc2 internal prototype to avoid an error. */
38874 #ifdef __cplusplus
38875 extern "C"
38877 #endif
38878 /* We use char because int might match the return type of a gcc2
38879 builtin and then its argument prototype would still apply. */
38880 char $ac_func ();
38881 /* The GNU C library defines this for functions which it implements
38882 to always fail with ENOSYS. Some functions are actually named
38883 something starting with __ and the normal name is an alias. */
38884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38885 choke me
38886 #else
38887 char (*f) () = $ac_func;
38888 #endif
38889 #ifdef __cplusplus
38891 #endif
38894 main ()
38896 return f != $ac_func;
38898 return 0;
38900 _ACEOF
38901 rm -f conftest.$ac_objext conftest$ac_exeext
38902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38903 (eval $ac_link) 2>conftest.er1
38904 ac_status=$?
38905 grep -v '^ *+' conftest.er1 >conftest.err
38906 rm -f conftest.er1
38907 cat conftest.err >&5
38908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38909 (exit $ac_status); } &&
38910 { ac_try='test -z "$ac_c_werror_flag"
38911 || test ! -s conftest.err'
38912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38913 (eval $ac_try) 2>&5
38914 ac_status=$?
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); }; } &&
38917 { ac_try='test -s conftest$ac_exeext'
38918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38919 (eval $ac_try) 2>&5
38920 ac_status=$?
38921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922 (exit $ac_status); }; }; then
38923 eval "$as_ac_var=yes"
38924 else
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.$ac_ext >&5
38928 eval "$as_ac_var=no"
38930 rm -f conftest.err conftest.$ac_objext \
38931 conftest$ac_exeext conftest.$ac_ext
38933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38935 if test `eval echo '${'$as_ac_var'}'` = yes; then
38936 cat >>confdefs.h <<_ACEOF
38937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38938 _ACEOF
38941 done
38943 else
38945 echo "$as_me:$LINENO: checking for _powl declaration" >&5
38946 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
38947 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38948 if test "${glibcxx_cv_func__powl_use+set}" = set; then
38949 echo $ECHO_N "(cached) $ECHO_C" >&6
38950 else
38954 ac_ext=cc
38955 ac_cpp='$CXXCPP $CPPFLAGS'
38956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38960 cat >conftest.$ac_ext <<_ACEOF
38961 /* confdefs.h. */
38962 _ACEOF
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 #include <math.h>
38968 main ()
38970 _powl(0, 0);
38972 return 0;
38974 _ACEOF
38975 rm -f conftest.$ac_objext
38976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38977 (eval $ac_compile) 2>conftest.er1
38978 ac_status=$?
38979 grep -v '^ *+' conftest.er1 >conftest.err
38980 rm -f conftest.er1
38981 cat conftest.err >&5
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); } &&
38984 { ac_try='test -z "$ac_cxx_werror_flag"
38985 || test ! -s conftest.err'
38986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38987 (eval $ac_try) 2>&5
38988 ac_status=$?
38989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38990 (exit $ac_status); }; } &&
38991 { ac_try='test -s conftest.$ac_objext'
38992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38993 (eval $ac_try) 2>&5
38994 ac_status=$?
38995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38996 (exit $ac_status); }; }; then
38997 glibcxx_cv_func__powl_use=yes
38998 else
38999 echo "$as_me: failed program was:" >&5
39000 sed 's/^/| /' conftest.$ac_ext >&5
39002 glibcxx_cv_func__powl_use=no
39004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39005 ac_ext=c
39006 ac_cpp='$CPP $CPPFLAGS'
39007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39016 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39018 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39020 for ac_func in _powl
39022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39023 echo "$as_me:$LINENO: checking for $ac_func" >&5
39024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39025 if eval "test \"\${$as_ac_var+set}\" = set"; then
39026 echo $ECHO_N "(cached) $ECHO_C" >&6
39027 else
39028 if test x$gcc_no_link = xyes; then
39029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39031 { (exit 1); exit 1; }; }
39033 cat >conftest.$ac_ext <<_ACEOF
39034 /* confdefs.h. */
39035 _ACEOF
39036 cat confdefs.h >>conftest.$ac_ext
39037 cat >>conftest.$ac_ext <<_ACEOF
39038 /* end confdefs.h. */
39039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39041 #define $ac_func innocuous_$ac_func
39043 /* System header to define __stub macros and hopefully few prototypes,
39044 which can conflict with char $ac_func (); below.
39045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39046 <limits.h> exists even on freestanding compilers. */
39048 #ifdef __STDC__
39049 # include <limits.h>
39050 #else
39051 # include <assert.h>
39052 #endif
39054 #undef $ac_func
39056 /* Override any gcc2 internal prototype to avoid an error. */
39057 #ifdef __cplusplus
39058 extern "C"
39060 #endif
39061 /* We use char because int might match the return type of a gcc2
39062 builtin and then its argument prototype would still apply. */
39063 char $ac_func ();
39064 /* The GNU C library defines this for functions which it implements
39065 to always fail with ENOSYS. Some functions are actually named
39066 something starting with __ and the normal name is an alias. */
39067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39068 choke me
39069 #else
39070 char (*f) () = $ac_func;
39071 #endif
39072 #ifdef __cplusplus
39074 #endif
39077 main ()
39079 return f != $ac_func;
39081 return 0;
39083 _ACEOF
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39086 (eval $ac_link) 2>conftest.er1
39087 ac_status=$?
39088 grep -v '^ *+' conftest.er1 >conftest.err
39089 rm -f conftest.er1
39090 cat conftest.err >&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } &&
39093 { ac_try='test -z "$ac_c_werror_flag"
39094 || test ! -s conftest.err'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39097 ac_status=$?
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; } &&
39100 { ac_try='test -s conftest$ac_exeext'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; }; then
39106 eval "$as_ac_var=yes"
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39111 eval "$as_ac_var=no"
39113 rm -f conftest.err conftest.$ac_objext \
39114 conftest$ac_exeext conftest.$ac_ext
39116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39118 if test `eval echo '${'$as_ac_var'}'` = yes; then
39119 cat >>confdefs.h <<_ACEOF
39120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39121 _ACEOF
39124 done
39134 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39135 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39136 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39137 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 else
39143 ac_ext=cc
39144 ac_cpp='$CXXCPP $CPPFLAGS'
39145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149 cat >conftest.$ac_ext <<_ACEOF
39150 /* confdefs.h. */
39151 _ACEOF
39152 cat confdefs.h >>conftest.$ac_ext
39153 cat >>conftest.$ac_ext <<_ACEOF
39154 /* end confdefs.h. */
39155 #include <math.h>
39156 #ifdef HAVE_IEEEFP_H
39157 #include <ieeefp.h>
39158 #endif
39161 main ()
39163 sqrtl(0);
39165 return 0;
39167 _ACEOF
39168 rm -f conftest.$ac_objext
39169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39170 (eval $ac_compile) 2>conftest.er1
39171 ac_status=$?
39172 grep -v '^ *+' conftest.er1 >conftest.err
39173 rm -f conftest.er1
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } &&
39177 { ac_try='test -z "$ac_cxx_werror_flag"
39178 || test ! -s conftest.err'
39179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39180 (eval $ac_try) 2>&5
39181 ac_status=$?
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); }; } &&
39184 { ac_try='test -s conftest.$ac_objext'
39185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39186 (eval $ac_try) 2>&5
39187 ac_status=$?
39188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39189 (exit $ac_status); }; }; then
39190 glibcxx_cv_func_sqrtl_use=yes
39191 else
39192 echo "$as_me: failed program was:" >&5
39193 sed 's/^/| /' conftest.$ac_ext >&5
39195 glibcxx_cv_func_sqrtl_use=no
39197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39198 ac_ext=c
39199 ac_cpp='$CPP $CPPFLAGS'
39200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39209 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39211 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39213 for ac_func in sqrtl
39215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39216 echo "$as_me:$LINENO: checking for $ac_func" >&5
39217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39218 if eval "test \"\${$as_ac_var+set}\" = set"; then
39219 echo $ECHO_N "(cached) $ECHO_C" >&6
39220 else
39221 if test x$gcc_no_link = xyes; then
39222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39224 { (exit 1); exit 1; }; }
39226 cat >conftest.$ac_ext <<_ACEOF
39227 /* confdefs.h. */
39228 _ACEOF
39229 cat confdefs.h >>conftest.$ac_ext
39230 cat >>conftest.$ac_ext <<_ACEOF
39231 /* end confdefs.h. */
39232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39234 #define $ac_func innocuous_$ac_func
39236 /* System header to define __stub macros and hopefully few prototypes,
39237 which can conflict with char $ac_func (); below.
39238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39239 <limits.h> exists even on freestanding compilers. */
39241 #ifdef __STDC__
39242 # include <limits.h>
39243 #else
39244 # include <assert.h>
39245 #endif
39247 #undef $ac_func
39249 /* Override any gcc2 internal prototype to avoid an error. */
39250 #ifdef __cplusplus
39251 extern "C"
39253 #endif
39254 /* We use char because int might match the return type of a gcc2
39255 builtin and then its argument prototype would still apply. */
39256 char $ac_func ();
39257 /* The GNU C library defines this for functions which it implements
39258 to always fail with ENOSYS. Some functions are actually named
39259 something starting with __ and the normal name is an alias. */
39260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39261 choke me
39262 #else
39263 char (*f) () = $ac_func;
39264 #endif
39265 #ifdef __cplusplus
39267 #endif
39270 main ()
39272 return f != $ac_func;
39274 return 0;
39276 _ACEOF
39277 rm -f conftest.$ac_objext conftest$ac_exeext
39278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39279 (eval $ac_link) 2>conftest.er1
39280 ac_status=$?
39281 grep -v '^ *+' conftest.er1 >conftest.err
39282 rm -f conftest.er1
39283 cat conftest.err >&5
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); } &&
39286 { ac_try='test -z "$ac_c_werror_flag"
39287 || test ! -s conftest.err'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39290 ac_status=$?
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; } &&
39293 { ac_try='test -s conftest$ac_exeext'
39294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39295 (eval $ac_try) 2>&5
39296 ac_status=$?
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); }; }; then
39299 eval "$as_ac_var=yes"
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39304 eval "$as_ac_var=no"
39306 rm -f conftest.err conftest.$ac_objext \
39307 conftest$ac_exeext conftest.$ac_ext
39309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39311 if test `eval echo '${'$as_ac_var'}'` = yes; then
39312 cat >>confdefs.h <<_ACEOF
39313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39314 _ACEOF
39317 done
39319 else
39321 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39322 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39323 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39324 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39326 else
39330 ac_ext=cc
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 #include <math.h>
39343 #ifdef HAVE_IEEEFP_H
39344 #include <ieeefp.h>
39345 #endif
39348 main ()
39350 _sqrtl(0);
39352 return 0;
39354 _ACEOF
39355 rm -f conftest.$ac_objext
39356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39357 (eval $ac_compile) 2>conftest.er1
39358 ac_status=$?
39359 grep -v '^ *+' conftest.er1 >conftest.err
39360 rm -f conftest.er1
39361 cat conftest.err >&5
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); } &&
39364 { ac_try='test -z "$ac_cxx_werror_flag"
39365 || test ! -s conftest.err'
39366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39367 (eval $ac_try) 2>&5
39368 ac_status=$?
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); }; } &&
39371 { ac_try='test -s conftest.$ac_objext'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39374 ac_status=$?
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; }; then
39377 glibcxx_cv_func__sqrtl_use=yes
39378 else
39379 echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39382 glibcxx_cv_func__sqrtl_use=no
39384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39385 ac_ext=c
39386 ac_cpp='$CPP $CPPFLAGS'
39387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39396 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39398 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39400 for ac_func in _sqrtl
39402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39403 echo "$as_me:$LINENO: checking for $ac_func" >&5
39404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39405 if eval "test \"\${$as_ac_var+set}\" = set"; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39408 if test x$gcc_no_link = xyes; then
39409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39411 { (exit 1); exit 1; }; }
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h. */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h. */
39419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39421 #define $ac_func innocuous_$ac_func
39423 /* System header to define __stub macros and hopefully few prototypes,
39424 which can conflict with char $ac_func (); below.
39425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39426 <limits.h> exists even on freestanding compilers. */
39428 #ifdef __STDC__
39429 # include <limits.h>
39430 #else
39431 # include <assert.h>
39432 #endif
39434 #undef $ac_func
39436 /* Override any gcc2 internal prototype to avoid an error. */
39437 #ifdef __cplusplus
39438 extern "C"
39440 #endif
39441 /* We use char because int might match the return type of a gcc2
39442 builtin and then its argument prototype would still apply. */
39443 char $ac_func ();
39444 /* The GNU C library defines this for functions which it implements
39445 to always fail with ENOSYS. Some functions are actually named
39446 something starting with __ and the normal name is an alias. */
39447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39448 choke me
39449 #else
39450 char (*f) () = $ac_func;
39451 #endif
39452 #ifdef __cplusplus
39454 #endif
39457 main ()
39459 return f != $ac_func;
39461 return 0;
39463 _ACEOF
39464 rm -f conftest.$ac_objext conftest$ac_exeext
39465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39466 (eval $ac_link) 2>conftest.er1
39467 ac_status=$?
39468 grep -v '^ *+' conftest.er1 >conftest.err
39469 rm -f conftest.er1
39470 cat conftest.err >&5
39471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472 (exit $ac_status); } &&
39473 { ac_try='test -z "$ac_c_werror_flag"
39474 || test ! -s conftest.err'
39475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39476 (eval $ac_try) 2>&5
39477 ac_status=$?
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); }; } &&
39480 { ac_try='test -s conftest$ac_exeext'
39481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39482 (eval $ac_try) 2>&5
39483 ac_status=$?
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); }; }; then
39486 eval "$as_ac_var=yes"
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39491 eval "$as_ac_var=no"
39493 rm -f conftest.err conftest.$ac_objext \
39494 conftest$ac_exeext conftest.$ac_ext
39496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39498 if test `eval echo '${'$as_ac_var'}'` = yes; then
39499 cat >>confdefs.h <<_ACEOF
39500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39501 _ACEOF
39504 done
39514 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39515 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39516 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39517 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39518 echo $ECHO_N "(cached) $ECHO_C" >&6
39519 else
39523 ac_ext=cc
39524 ac_cpp='$CXXCPP $CPPFLAGS'
39525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39529 cat >conftest.$ac_ext <<_ACEOF
39530 /* confdefs.h. */
39531 _ACEOF
39532 cat confdefs.h >>conftest.$ac_ext
39533 cat >>conftest.$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39535 #include <math.h>
39537 main ()
39539 sincosl(0, 0, 0);
39541 return 0;
39543 _ACEOF
39544 rm -f conftest.$ac_objext
39545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39546 (eval $ac_compile) 2>conftest.er1
39547 ac_status=$?
39548 grep -v '^ *+' conftest.er1 >conftest.err
39549 rm -f conftest.er1
39550 cat conftest.err >&5
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); } &&
39553 { ac_try='test -z "$ac_cxx_werror_flag"
39554 || test ! -s conftest.err'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39557 ac_status=$?
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; } &&
39560 { ac_try='test -s conftest.$ac_objext'
39561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39562 (eval $ac_try) 2>&5
39563 ac_status=$?
39564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39565 (exit $ac_status); }; }; then
39566 glibcxx_cv_func_sincosl_use=yes
39567 else
39568 echo "$as_me: failed program was:" >&5
39569 sed 's/^/| /' conftest.$ac_ext >&5
39571 glibcxx_cv_func_sincosl_use=no
39573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39574 ac_ext=c
39575 ac_cpp='$CPP $CPPFLAGS'
39576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
39585 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
39587 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39589 for ac_func in sincosl
39591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39592 echo "$as_me:$LINENO: checking for $ac_func" >&5
39593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39594 if eval "test \"\${$as_ac_var+set}\" = set"; then
39595 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 else
39597 if test x$gcc_no_link = xyes; then
39598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39600 { (exit 1); exit 1; }; }
39602 cat >conftest.$ac_ext <<_ACEOF
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39610 #define $ac_func innocuous_$ac_func
39612 /* System header to define __stub macros and hopefully few prototypes,
39613 which can conflict with char $ac_func (); below.
39614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39615 <limits.h> exists even on freestanding compilers. */
39617 #ifdef __STDC__
39618 # include <limits.h>
39619 #else
39620 # include <assert.h>
39621 #endif
39623 #undef $ac_func
39625 /* Override any gcc2 internal prototype to avoid an error. */
39626 #ifdef __cplusplus
39627 extern "C"
39629 #endif
39630 /* We use char because int might match the return type of a gcc2
39631 builtin and then its argument prototype would still apply. */
39632 char $ac_func ();
39633 /* The GNU C library defines this for functions which it implements
39634 to always fail with ENOSYS. Some functions are actually named
39635 something starting with __ and the normal name is an alias. */
39636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39637 choke me
39638 #else
39639 char (*f) () = $ac_func;
39640 #endif
39641 #ifdef __cplusplus
39643 #endif
39646 main ()
39648 return f != $ac_func;
39650 return 0;
39652 _ACEOF
39653 rm -f conftest.$ac_objext conftest$ac_exeext
39654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39655 (eval $ac_link) 2>conftest.er1
39656 ac_status=$?
39657 grep -v '^ *+' conftest.er1 >conftest.err
39658 rm -f conftest.er1
39659 cat conftest.err >&5
39660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39661 (exit $ac_status); } &&
39662 { ac_try='test -z "$ac_c_werror_flag"
39663 || test ! -s conftest.err'
39664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665 (eval $ac_try) 2>&5
39666 ac_status=$?
39667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668 (exit $ac_status); }; } &&
39669 { ac_try='test -s conftest$ac_exeext'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39672 ac_status=$?
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; }; then
39675 eval "$as_ac_var=yes"
39676 else
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39680 eval "$as_ac_var=no"
39682 rm -f conftest.err conftest.$ac_objext \
39683 conftest$ac_exeext conftest.$ac_ext
39685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39687 if test `eval echo '${'$as_ac_var'}'` = yes; then
39688 cat >>confdefs.h <<_ACEOF
39689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39690 _ACEOF
39693 done
39695 else
39697 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
39698 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
39699 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39700 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
39701 echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39706 ac_ext=cc
39707 ac_cpp='$CXXCPP $CPPFLAGS'
39708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39712 cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h. */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h. */
39718 #include <math.h>
39720 main ()
39722 _sincosl(0, 0, 0);
39724 return 0;
39726 _ACEOF
39727 rm -f conftest.$ac_objext
39728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39729 (eval $ac_compile) 2>conftest.er1
39730 ac_status=$?
39731 grep -v '^ *+' conftest.er1 >conftest.err
39732 rm -f conftest.er1
39733 cat conftest.err >&5
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); } &&
39736 { ac_try='test -z "$ac_cxx_werror_flag"
39737 || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39740 ac_status=$?
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try='test -s conftest.$ac_objext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39746 ac_status=$?
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 glibcxx_cv_func__sincosl_use=yes
39750 else
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.$ac_ext >&5
39754 glibcxx_cv_func__sincosl_use=no
39756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39757 ac_ext=c
39758 ac_cpp='$CPP $CPPFLAGS'
39759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
39768 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
39770 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39772 for ac_func in _sincosl
39774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39775 echo "$as_me:$LINENO: checking for $ac_func" >&5
39776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39777 if eval "test \"\${$as_ac_var+set}\" = set"; then
39778 echo $ECHO_N "(cached) $ECHO_C" >&6
39779 else
39780 if test x$gcc_no_link = xyes; then
39781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39783 { (exit 1); exit 1; }; }
39785 cat >conftest.$ac_ext <<_ACEOF
39786 /* confdefs.h. */
39787 _ACEOF
39788 cat confdefs.h >>conftest.$ac_ext
39789 cat >>conftest.$ac_ext <<_ACEOF
39790 /* end confdefs.h. */
39791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39793 #define $ac_func innocuous_$ac_func
39795 /* System header to define __stub macros and hopefully few prototypes,
39796 which can conflict with char $ac_func (); below.
39797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39798 <limits.h> exists even on freestanding compilers. */
39800 #ifdef __STDC__
39801 # include <limits.h>
39802 #else
39803 # include <assert.h>
39804 #endif
39806 #undef $ac_func
39808 /* Override any gcc2 internal prototype to avoid an error. */
39809 #ifdef __cplusplus
39810 extern "C"
39812 #endif
39813 /* We use char because int might match the return type of a gcc2
39814 builtin and then its argument prototype would still apply. */
39815 char $ac_func ();
39816 /* The GNU C library defines this for functions which it implements
39817 to always fail with ENOSYS. Some functions are actually named
39818 something starting with __ and the normal name is an alias. */
39819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39820 choke me
39821 #else
39822 char (*f) () = $ac_func;
39823 #endif
39824 #ifdef __cplusplus
39826 #endif
39829 main ()
39831 return f != $ac_func;
39833 return 0;
39835 _ACEOF
39836 rm -f conftest.$ac_objext conftest$ac_exeext
39837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39838 (eval $ac_link) 2>conftest.er1
39839 ac_status=$?
39840 grep -v '^ *+' conftest.er1 >conftest.err
39841 rm -f conftest.er1
39842 cat conftest.err >&5
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); } &&
39845 { ac_try='test -z "$ac_c_werror_flag"
39846 || test ! -s conftest.err'
39847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39848 (eval $ac_try) 2>&5
39849 ac_status=$?
39850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39851 (exit $ac_status); }; } &&
39852 { ac_try='test -s conftest$ac_exeext'
39853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39854 (eval $ac_try) 2>&5
39855 ac_status=$?
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); }; }; then
39858 eval "$as_ac_var=yes"
39859 else
39860 echo "$as_me: failed program was:" >&5
39861 sed 's/^/| /' conftest.$ac_ext >&5
39863 eval "$as_ac_var=no"
39865 rm -f conftest.err conftest.$ac_objext \
39866 conftest$ac_exeext conftest.$ac_ext
39868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39870 if test `eval echo '${'$as_ac_var'}'` = yes; then
39871 cat >>confdefs.h <<_ACEOF
39872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39873 _ACEOF
39876 done
39886 echo "$as_me:$LINENO: checking for finitel declaration" >&5
39887 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
39888 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39889 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
39890 echo $ECHO_N "(cached) $ECHO_C" >&6
39891 else
39895 ac_ext=cc
39896 ac_cpp='$CXXCPP $CPPFLAGS'
39897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39901 cat >conftest.$ac_ext <<_ACEOF
39902 /* confdefs.h. */
39903 _ACEOF
39904 cat confdefs.h >>conftest.$ac_ext
39905 cat >>conftest.$ac_ext <<_ACEOF
39906 /* end confdefs.h. */
39907 #include <math.h>
39908 #ifdef HAVE_IEEEFP_H
39909 #include <ieeefp.h>
39910 #endif
39913 main ()
39915 finitel(0);
39917 return 0;
39919 _ACEOF
39920 rm -f conftest.$ac_objext
39921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39922 (eval $ac_compile) 2>conftest.er1
39923 ac_status=$?
39924 grep -v '^ *+' conftest.er1 >conftest.err
39925 rm -f conftest.er1
39926 cat conftest.err >&5
39927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928 (exit $ac_status); } &&
39929 { ac_try='test -z "$ac_cxx_werror_flag"
39930 || test ! -s conftest.err'
39931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39932 (eval $ac_try) 2>&5
39933 ac_status=$?
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); }; } &&
39936 { ac_try='test -s conftest.$ac_objext'
39937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39938 (eval $ac_try) 2>&5
39939 ac_status=$?
39940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39941 (exit $ac_status); }; }; then
39942 glibcxx_cv_func_finitel_use=yes
39943 else
39944 echo "$as_me: failed program was:" >&5
39945 sed 's/^/| /' conftest.$ac_ext >&5
39947 glibcxx_cv_func_finitel_use=no
39949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39950 ac_ext=c
39951 ac_cpp='$CPP $CPPFLAGS'
39952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
39961 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
39963 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39965 for ac_func in finitel
39967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39968 echo "$as_me:$LINENO: checking for $ac_func" >&5
39969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39970 if eval "test \"\${$as_ac_var+set}\" = set"; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 else
39973 if test x$gcc_no_link = xyes; then
39974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39976 { (exit 1); exit 1; }; }
39978 cat >conftest.$ac_ext <<_ACEOF
39979 /* confdefs.h. */
39980 _ACEOF
39981 cat confdefs.h >>conftest.$ac_ext
39982 cat >>conftest.$ac_ext <<_ACEOF
39983 /* end confdefs.h. */
39984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39986 #define $ac_func innocuous_$ac_func
39988 /* System header to define __stub macros and hopefully few prototypes,
39989 which can conflict with char $ac_func (); below.
39990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39991 <limits.h> exists even on freestanding compilers. */
39993 #ifdef __STDC__
39994 # include <limits.h>
39995 #else
39996 # include <assert.h>
39997 #endif
39999 #undef $ac_func
40001 /* Override any gcc2 internal prototype to avoid an error. */
40002 #ifdef __cplusplus
40003 extern "C"
40005 #endif
40006 /* We use char because int might match the return type of a gcc2
40007 builtin and then its argument prototype would still apply. */
40008 char $ac_func ();
40009 /* The GNU C library defines this for functions which it implements
40010 to always fail with ENOSYS. Some functions are actually named
40011 something starting with __ and the normal name is an alias. */
40012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40013 choke me
40014 #else
40015 char (*f) () = $ac_func;
40016 #endif
40017 #ifdef __cplusplus
40019 #endif
40022 main ()
40024 return f != $ac_func;
40026 return 0;
40028 _ACEOF
40029 rm -f conftest.$ac_objext conftest$ac_exeext
40030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40031 (eval $ac_link) 2>conftest.er1
40032 ac_status=$?
40033 grep -v '^ *+' conftest.er1 >conftest.err
40034 rm -f conftest.er1
40035 cat conftest.err >&5
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); } &&
40038 { ac_try='test -z "$ac_c_werror_flag"
40039 || test ! -s conftest.err'
40040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40041 (eval $ac_try) 2>&5
40042 ac_status=$?
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); }; } &&
40045 { ac_try='test -s conftest$ac_exeext'
40046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40047 (eval $ac_try) 2>&5
40048 ac_status=$?
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); }; }; then
40051 eval "$as_ac_var=yes"
40052 else
40053 echo "$as_me: failed program was:" >&5
40054 sed 's/^/| /' conftest.$ac_ext >&5
40056 eval "$as_ac_var=no"
40058 rm -f conftest.err conftest.$ac_objext \
40059 conftest$ac_exeext conftest.$ac_ext
40061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40063 if test `eval echo '${'$as_ac_var'}'` = yes; then
40064 cat >>confdefs.h <<_ACEOF
40065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40066 _ACEOF
40069 done
40071 else
40073 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40074 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40075 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40076 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40077 echo $ECHO_N "(cached) $ECHO_C" >&6
40078 else
40082 ac_ext=cc
40083 ac_cpp='$CXXCPP $CPPFLAGS'
40084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40088 cat >conftest.$ac_ext <<_ACEOF
40089 /* confdefs.h. */
40090 _ACEOF
40091 cat confdefs.h >>conftest.$ac_ext
40092 cat >>conftest.$ac_ext <<_ACEOF
40093 /* end confdefs.h. */
40094 #include <math.h>
40095 #ifdef HAVE_IEEEFP_H
40096 #include <ieeefp.h>
40097 #endif
40100 main ()
40102 _finitel(0);
40104 return 0;
40106 _ACEOF
40107 rm -f conftest.$ac_objext
40108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40109 (eval $ac_compile) 2>conftest.er1
40110 ac_status=$?
40111 grep -v '^ *+' conftest.er1 >conftest.err
40112 rm -f conftest.er1
40113 cat conftest.err >&5
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); } &&
40116 { ac_try='test -z "$ac_cxx_werror_flag"
40117 || test ! -s conftest.err'
40118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119 (eval $ac_try) 2>&5
40120 ac_status=$?
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); }; } &&
40123 { ac_try='test -s conftest.$ac_objext'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; }; then
40129 glibcxx_cv_func__finitel_use=yes
40130 else
40131 echo "$as_me: failed program was:" >&5
40132 sed 's/^/| /' conftest.$ac_ext >&5
40134 glibcxx_cv_func__finitel_use=no
40136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40137 ac_ext=c
40138 ac_cpp='$CPP $CPPFLAGS'
40139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40148 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40150 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40152 for ac_func in _finitel
40154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40155 echo "$as_me:$LINENO: checking for $ac_func" >&5
40156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40157 if eval "test \"\${$as_ac_var+set}\" = set"; then
40158 echo $ECHO_N "(cached) $ECHO_C" >&6
40159 else
40160 if test x$gcc_no_link = xyes; then
40161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40163 { (exit 1); exit 1; }; }
40165 cat >conftest.$ac_ext <<_ACEOF
40166 /* confdefs.h. */
40167 _ACEOF
40168 cat confdefs.h >>conftest.$ac_ext
40169 cat >>conftest.$ac_ext <<_ACEOF
40170 /* end confdefs.h. */
40171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40173 #define $ac_func innocuous_$ac_func
40175 /* System header to define __stub macros and hopefully few prototypes,
40176 which can conflict with char $ac_func (); below.
40177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40178 <limits.h> exists even on freestanding compilers. */
40180 #ifdef __STDC__
40181 # include <limits.h>
40182 #else
40183 # include <assert.h>
40184 #endif
40186 #undef $ac_func
40188 /* Override any gcc2 internal prototype to avoid an error. */
40189 #ifdef __cplusplus
40190 extern "C"
40192 #endif
40193 /* We use char because int might match the return type of a gcc2
40194 builtin and then its argument prototype would still apply. */
40195 char $ac_func ();
40196 /* The GNU C library defines this for functions which it implements
40197 to always fail with ENOSYS. Some functions are actually named
40198 something starting with __ and the normal name is an alias. */
40199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40200 choke me
40201 #else
40202 char (*f) () = $ac_func;
40203 #endif
40204 #ifdef __cplusplus
40206 #endif
40209 main ()
40211 return f != $ac_func;
40213 return 0;
40215 _ACEOF
40216 rm -f conftest.$ac_objext conftest$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_c_werror_flag"
40226 || test ! -s conftest.err'
40227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228 (eval $ac_try) 2>&5
40229 ac_status=$?
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); }; } &&
40232 { ac_try='test -s conftest$ac_exeext'
40233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40234 (eval $ac_try) 2>&5
40235 ac_status=$?
40236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40237 (exit $ac_status); }; }; then
40238 eval "$as_ac_var=yes"
40239 else
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.$ac_ext >&5
40243 eval "$as_ac_var=no"
40245 rm -f conftest.err conftest.$ac_objext \
40246 conftest$ac_exeext conftest.$ac_ext
40248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40250 if test `eval echo '${'$as_ac_var'}'` = yes; then
40251 cat >>confdefs.h <<_ACEOF
40252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40253 _ACEOF
40256 done
40265 LIBS="$ac_save_LIBS"
40266 CXXFLAGS="$ac_save_CXXFLAGS"
40269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40270 ac_save_CXXFLAGS="$CXXFLAGS"
40271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40274 echo "$as_me:$LINENO: checking for strtold declaration" >&5
40275 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
40276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
40278 echo $ECHO_N "(cached) $ECHO_C" >&6
40279 else
40283 ac_ext=cc
40284 ac_cpp='$CXXCPP $CPPFLAGS'
40285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40289 cat >conftest.$ac_ext <<_ACEOF
40290 /* confdefs.h. */
40291 _ACEOF
40292 cat confdefs.h >>conftest.$ac_ext
40293 cat >>conftest.$ac_ext <<_ACEOF
40294 /* end confdefs.h. */
40295 #include <stdlib.h>
40297 main ()
40299 strtold(0, 0);
40301 return 0;
40303 _ACEOF
40304 rm -f conftest.$ac_objext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40306 (eval $ac_compile) 2>conftest.er1
40307 ac_status=$?
40308 grep -v '^ *+' conftest.er1 >conftest.err
40309 rm -f conftest.er1
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } &&
40313 { ac_try='test -z "$ac_cxx_werror_flag"
40314 || test ! -s conftest.err'
40315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40316 (eval $ac_try) 2>&5
40317 ac_status=$?
40318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40319 (exit $ac_status); }; } &&
40320 { ac_try='test -s conftest.$ac_objext'
40321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40322 (eval $ac_try) 2>&5
40323 ac_status=$?
40324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40325 (exit $ac_status); }; }; then
40326 glibcxx_cv_func_strtold_use=yes
40327 else
40328 echo "$as_me: failed program was:" >&5
40329 sed 's/^/| /' conftest.$ac_ext >&5
40331 glibcxx_cv_func_strtold_use=no
40333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
40345 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
40346 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40348 for ac_func in strtold
40350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40351 echo "$as_me:$LINENO: checking for $ac_func" >&5
40352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40353 if eval "test \"\${$as_ac_var+set}\" = set"; then
40354 echo $ECHO_N "(cached) $ECHO_C" >&6
40355 else
40356 if test x$gcc_no_link = xyes; then
40357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40359 { (exit 1); exit 1; }; }
40361 cat >conftest.$ac_ext <<_ACEOF
40362 /* confdefs.h. */
40363 _ACEOF
40364 cat confdefs.h >>conftest.$ac_ext
40365 cat >>conftest.$ac_ext <<_ACEOF
40366 /* end confdefs.h. */
40367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40369 #define $ac_func innocuous_$ac_func
40371 /* System header to define __stub macros and hopefully few prototypes,
40372 which can conflict with char $ac_func (); below.
40373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40374 <limits.h> exists even on freestanding compilers. */
40376 #ifdef __STDC__
40377 # include <limits.h>
40378 #else
40379 # include <assert.h>
40380 #endif
40382 #undef $ac_func
40384 /* Override any gcc2 internal prototype to avoid an error. */
40385 #ifdef __cplusplus
40386 extern "C"
40388 #endif
40389 /* We use char because int might match the return type of a gcc2
40390 builtin and then its argument prototype would still apply. */
40391 char $ac_func ();
40392 /* The GNU C library defines this for functions which it implements
40393 to always fail with ENOSYS. Some functions are actually named
40394 something starting with __ and the normal name is an alias. */
40395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40396 choke me
40397 #else
40398 char (*f) () = $ac_func;
40399 #endif
40400 #ifdef __cplusplus
40402 #endif
40405 main ()
40407 return f != $ac_func;
40409 return 0;
40411 _ACEOF
40412 rm -f conftest.$ac_objext conftest$ac_exeext
40413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40414 (eval $ac_link) 2>conftest.er1
40415 ac_status=$?
40416 grep -v '^ *+' conftest.er1 >conftest.err
40417 rm -f conftest.er1
40418 cat conftest.err >&5
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); } &&
40421 { ac_try='test -z "$ac_c_werror_flag"
40422 || test ! -s conftest.err'
40423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40424 (eval $ac_try) 2>&5
40425 ac_status=$?
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); }; } &&
40428 { ac_try='test -s conftest$ac_exeext'
40429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40430 (eval $ac_try) 2>&5
40431 ac_status=$?
40432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40433 (exit $ac_status); }; }; then
40434 eval "$as_ac_var=yes"
40435 else
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40439 eval "$as_ac_var=no"
40441 rm -f conftest.err conftest.$ac_objext \
40442 conftest$ac_exeext conftest.$ac_ext
40444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40446 if test `eval echo '${'$as_ac_var'}'` = yes; then
40447 cat >>confdefs.h <<_ACEOF
40448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40449 _ACEOF
40452 done
40460 echo "$as_me:$LINENO: checking for strtof declaration" >&5
40461 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
40462 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40463 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
40464 echo $ECHO_N "(cached) $ECHO_C" >&6
40465 else
40469 ac_ext=cc
40470 ac_cpp='$CXXCPP $CPPFLAGS'
40471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40475 cat >conftest.$ac_ext <<_ACEOF
40476 /* confdefs.h. */
40477 _ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 #include <stdlib.h>
40483 main ()
40485 strtof(0, 0);
40487 return 0;
40489 _ACEOF
40490 rm -f conftest.$ac_objext
40491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40492 (eval $ac_compile) 2>conftest.er1
40493 ac_status=$?
40494 grep -v '^ *+' conftest.er1 >conftest.err
40495 rm -f conftest.er1
40496 cat conftest.err >&5
40497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498 (exit $ac_status); } &&
40499 { ac_try='test -z "$ac_cxx_werror_flag"
40500 || test ! -s conftest.err'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40503 ac_status=$?
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; } &&
40506 { ac_try='test -s conftest.$ac_objext'
40507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40508 (eval $ac_try) 2>&5
40509 ac_status=$?
40510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40511 (exit $ac_status); }; }; then
40512 glibcxx_cv_func_strtof_use=yes
40513 else
40514 echo "$as_me: failed program was:" >&5
40515 sed 's/^/| /' conftest.$ac_ext >&5
40517 glibcxx_cv_func_strtof_use=no
40519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
40531 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
40532 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40534 for ac_func in strtof
40536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40537 echo "$as_me:$LINENO: checking for $ac_func" >&5
40538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40539 if eval "test \"\${$as_ac_var+set}\" = set"; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 if test x$gcc_no_link = xyes; then
40543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40545 { (exit 1); exit 1; }; }
40547 cat >conftest.$ac_ext <<_ACEOF
40548 /* confdefs.h. */
40549 _ACEOF
40550 cat confdefs.h >>conftest.$ac_ext
40551 cat >>conftest.$ac_ext <<_ACEOF
40552 /* end confdefs.h. */
40553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40555 #define $ac_func innocuous_$ac_func
40557 /* System header to define __stub macros and hopefully few prototypes,
40558 which can conflict with char $ac_func (); below.
40559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40560 <limits.h> exists even on freestanding compilers. */
40562 #ifdef __STDC__
40563 # include <limits.h>
40564 #else
40565 # include <assert.h>
40566 #endif
40568 #undef $ac_func
40570 /* Override any gcc2 internal prototype to avoid an error. */
40571 #ifdef __cplusplus
40572 extern "C"
40574 #endif
40575 /* We use char because int might match the return type of a gcc2
40576 builtin and then its argument prototype would still apply. */
40577 char $ac_func ();
40578 /* The GNU C library defines this for functions which it implements
40579 to always fail with ENOSYS. Some functions are actually named
40580 something starting with __ and the normal name is an alias. */
40581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40582 choke me
40583 #else
40584 char (*f) () = $ac_func;
40585 #endif
40586 #ifdef __cplusplus
40588 #endif
40591 main ()
40593 return f != $ac_func;
40595 return 0;
40597 _ACEOF
40598 rm -f conftest.$ac_objext conftest$ac_exeext
40599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40600 (eval $ac_link) 2>conftest.er1
40601 ac_status=$?
40602 grep -v '^ *+' conftest.er1 >conftest.err
40603 rm -f conftest.er1
40604 cat conftest.err >&5
40605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40606 (exit $ac_status); } &&
40607 { ac_try='test -z "$ac_c_werror_flag"
40608 || test ! -s conftest.err'
40609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40610 (eval $ac_try) 2>&5
40611 ac_status=$?
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); }; } &&
40614 { ac_try='test -s conftest$ac_exeext'
40615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40616 (eval $ac_try) 2>&5
40617 ac_status=$?
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); }; }; then
40620 eval "$as_ac_var=yes"
40621 else
40622 echo "$as_me: failed program was:" >&5
40623 sed 's/^/| /' conftest.$ac_ext >&5
40625 eval "$as_ac_var=no"
40627 rm -f conftest.err conftest.$ac_objext \
40628 conftest$ac_exeext conftest.$ac_ext
40630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40632 if test `eval echo '${'$as_ac_var'}'` = yes; then
40633 cat >>confdefs.h <<_ACEOF
40634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40635 _ACEOF
40638 done
40646 CXXFLAGS="$ac_save_CXXFLAGS"
40649 # For /dev/random and /dev/urandom for TR1.
40652 echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
40653 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40654 if test "${glibcxx_cv_random_tr1+set}" = set; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 else
40658 if test -r /dev/random && test -r /dev/urandom; then
40659 glibcxx_cv_random_tr1=yes;
40660 else
40661 glibcxx_cv_random_tr1=no;
40666 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40667 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40669 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40671 cat >>confdefs.h <<\_ACEOF
40672 #define _GLIBCXX_USE_RANDOM_TR1 1
40673 _ACEOF
40679 # For TLS support.
40682 # Check whether --enable-tls or --disable-tls was given.
40683 if test "${enable_tls+set}" = set; then
40684 enableval="$enable_tls"
40686 case "$enableval" in
40687 yes|no) ;;
40688 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40689 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40690 { (exit 1); exit 1; }; } ;;
40691 esac
40693 else
40694 enable_tls=yes
40697 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40698 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40699 if test "${gcc_cv_have_tls+set}" = set; then
40700 echo $ECHO_N "(cached) $ECHO_C" >&6
40701 else
40703 if test "$cross_compiling" = yes; then
40704 if test x$gcc_no_link = xyes; then
40705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40707 { (exit 1); exit 1; }; }
40709 cat >conftest.$ac_ext <<_ACEOF
40710 __thread int a; int b; int main() { return a = b; }
40711 _ACEOF
40712 rm -f conftest.$ac_objext conftest$ac_exeext
40713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40714 (eval $ac_link) 2>conftest.er1
40715 ac_status=$?
40716 grep -v '^ *+' conftest.er1 >conftest.err
40717 rm -f conftest.er1
40718 cat conftest.err >&5
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); } &&
40721 { ac_try='test -z "$ac_c_werror_flag"
40722 || test ! -s conftest.err'
40723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40724 (eval $ac_try) 2>&5
40725 ac_status=$?
40726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40727 (exit $ac_status); }; } &&
40728 { ac_try='test -s conftest$ac_exeext'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40731 ac_status=$?
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; }; then
40734 chktls_save_LDFLAGS="$LDFLAGS"
40735 case $host in
40736 *-*-linux*)
40737 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
40739 esac
40740 chktls_save_CFLAGS="$CFLAGS"
40741 CFLAGS="-fPIC $CFLAGS"
40742 if test x$gcc_no_link = xyes; then
40743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40745 { (exit 1); exit 1; }; }
40747 cat >conftest.$ac_ext <<_ACEOF
40748 int f() { return 0; }
40749 _ACEOF
40750 rm -f conftest.$ac_objext conftest$ac_exeext
40751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40752 (eval $ac_link) 2>conftest.er1
40753 ac_status=$?
40754 grep -v '^ *+' conftest.er1 >conftest.err
40755 rm -f conftest.er1
40756 cat conftest.err >&5
40757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40758 (exit $ac_status); } &&
40759 { ac_try='test -z "$ac_c_werror_flag"
40760 || test ! -s conftest.err'
40761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40762 (eval $ac_try) 2>&5
40763 ac_status=$?
40764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40765 (exit $ac_status); }; } &&
40766 { ac_try='test -s conftest$ac_exeext'
40767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40768 (eval $ac_try) 2>&5
40769 ac_status=$?
40770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40771 (exit $ac_status); }; }; then
40772 if test x$gcc_no_link = xyes; then
40773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40775 { (exit 1); exit 1; }; }
40777 cat >conftest.$ac_ext <<_ACEOF
40778 __thread int a; int b; int f() { return a = b; }
40779 _ACEOF
40780 rm -f conftest.$ac_objext conftest$ac_exeext
40781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40782 (eval $ac_link) 2>conftest.er1
40783 ac_status=$?
40784 grep -v '^ *+' conftest.er1 >conftest.err
40785 rm -f conftest.er1
40786 cat conftest.err >&5
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); } &&
40789 { ac_try='test -z "$ac_c_werror_flag"
40790 || test ! -s conftest.err'
40791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40792 (eval $ac_try) 2>&5
40793 ac_status=$?
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); }; } &&
40796 { ac_try='test -s conftest$ac_exeext'
40797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40798 (eval $ac_try) 2>&5
40799 ac_status=$?
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); }; }; then
40802 gcc_cv_have_tls=yes
40803 else
40804 echo "$as_me: failed program was:" >&5
40805 sed 's/^/| /' conftest.$ac_ext >&5
40807 gcc_cv_have_tls=no
40809 rm -f conftest.err conftest.$ac_objext \
40810 conftest$ac_exeext conftest.$ac_ext
40811 else
40812 echo "$as_me: failed program was:" >&5
40813 sed 's/^/| /' conftest.$ac_ext >&5
40815 gcc_cv_have_tls=yes
40817 rm -f conftest.err conftest.$ac_objext \
40818 conftest$ac_exeext conftest.$ac_ext
40819 CFLAGS="$chktls_save_CFLAGS"
40820 LDFLAGS="$chktls_save_LDFLAGS"
40821 else
40822 echo "$as_me: failed program was:" >&5
40823 sed 's/^/| /' conftest.$ac_ext >&5
40825 gcc_cv_have_tls=no
40827 rm -f conftest.err conftest.$ac_objext \
40828 conftest$ac_exeext conftest.$ac_ext
40831 else
40832 cat >conftest.$ac_ext <<_ACEOF
40833 __thread int a; int b; int main() { return a = b; }
40834 _ACEOF
40835 rm -f conftest$ac_exeext
40836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40837 (eval $ac_link) 2>&5
40838 ac_status=$?
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40842 (eval $ac_try) 2>&5
40843 ac_status=$?
40844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40845 (exit $ac_status); }; }; then
40846 chktls_save_LDFLAGS="$LDFLAGS"
40847 LDFLAGS="-static $LDFLAGS"
40848 if test x$gcc_no_link = xyes; then
40849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40851 { (exit 1); exit 1; }; }
40853 cat >conftest.$ac_ext <<_ACEOF
40854 int main() { return 0; }
40855 _ACEOF
40856 rm -f conftest.$ac_objext conftest$ac_exeext
40857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40858 (eval $ac_link) 2>conftest.er1
40859 ac_status=$?
40860 grep -v '^ *+' conftest.er1 >conftest.err
40861 rm -f conftest.er1
40862 cat conftest.err >&5
40863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40864 (exit $ac_status); } &&
40865 { ac_try='test -z "$ac_c_werror_flag"
40866 || test ! -s conftest.err'
40867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40868 (eval $ac_try) 2>&5
40869 ac_status=$?
40870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40871 (exit $ac_status); }; } &&
40872 { ac_try='test -s conftest$ac_exeext'
40873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40874 (eval $ac_try) 2>&5
40875 ac_status=$?
40876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877 (exit $ac_status); }; }; then
40878 if test "$cross_compiling" = yes; then
40879 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40880 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40881 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40882 See \`config.log' for more details." >&5
40883 echo "$as_me: error: cannot run test program while cross compiling
40884 See \`config.log' for more details." >&2;}
40885 { (exit 1); exit 1; }; }; }
40886 else
40887 cat >conftest.$ac_ext <<_ACEOF
40888 __thread int a; int b; int main() { return a = b; }
40889 _ACEOF
40890 rm -f conftest$ac_exeext
40891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40892 (eval $ac_link) 2>&5
40893 ac_status=$?
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40897 (eval $ac_try) 2>&5
40898 ac_status=$?
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); }; }; then
40901 gcc_cv_have_tls=yes
40902 else
40903 echo "$as_me: program exited with status $ac_status" >&5
40904 echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.$ac_ext >&5
40907 ( exit $ac_status )
40908 gcc_cv_have_tls=no
40910 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40912 else
40913 echo "$as_me: failed program was:" >&5
40914 sed 's/^/| /' conftest.$ac_ext >&5
40916 gcc_cv_have_tls=yes
40918 rm -f conftest.err conftest.$ac_objext \
40919 conftest$ac_exeext conftest.$ac_ext
40920 LDFLAGS="$chktls_save_LDFLAGS"
40921 if test $gcc_cv_have_tls = yes; then
40922 chktls_save_CFLAGS="$CFLAGS"
40923 thread_CFLAGS=failed
40924 for flag in '' '-pthread' '-lpthread'; do
40925 CFLAGS="$flag $chktls_save_CFLAGS"
40926 if test x$gcc_no_link = xyes; then
40927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40929 { (exit 1); exit 1; }; }
40931 cat >conftest.$ac_ext <<_ACEOF
40932 /* confdefs.h. */
40933 _ACEOF
40934 cat confdefs.h >>conftest.$ac_ext
40935 cat >>conftest.$ac_ext <<_ACEOF
40936 /* end confdefs.h. */
40937 #include <pthread.h>
40938 void *g(void *d) { return NULL; }
40940 main ()
40942 pthread_t t; pthread_create(&t,NULL,g,NULL);
40944 return 0;
40946 _ACEOF
40947 rm -f conftest.$ac_objext conftest$ac_exeext
40948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40949 (eval $ac_link) 2>conftest.er1
40950 ac_status=$?
40951 grep -v '^ *+' conftest.er1 >conftest.err
40952 rm -f conftest.er1
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } &&
40956 { ac_try='test -z "$ac_c_werror_flag"
40957 || test ! -s conftest.err'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try='test -s conftest$ac_exeext'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40966 ac_status=$?
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; }; then
40969 thread_CFLAGS="$flag"
40970 else
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40975 rm -f conftest.err conftest.$ac_objext \
40976 conftest$ac_exeext conftest.$ac_ext
40977 if test "X$thread_CFLAGS" != Xfailed; then
40978 break
40980 done
40981 CFLAGS="$chktls_save_CFLAGS"
40982 if test "X$thread_CFLAGS" != Xfailed; then
40983 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40984 if test "$cross_compiling" = yes; then
40985 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
40986 echo "$as_me: error: in \`$ac_pwd':" >&2;}
40987 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40988 See \`config.log' for more details." >&5
40989 echo "$as_me: error: cannot run test program while cross compiling
40990 See \`config.log' for more details." >&2;}
40991 { (exit 1); exit 1; }; }; }
40992 else
40993 cat >conftest.$ac_ext <<_ACEOF
40994 /* confdefs.h. */
40995 _ACEOF
40996 cat confdefs.h >>conftest.$ac_ext
40997 cat >>conftest.$ac_ext <<_ACEOF
40998 /* end confdefs.h. */
40999 #include <pthread.h>
41000 __thread int a;
41001 static int *a_in_other_thread;
41002 static void *
41003 thread_func (void *arg)
41005 a_in_other_thread = &a;
41006 return (void *)0;
41009 main ()
41011 pthread_t thread;
41012 void *thread_retval;
41013 int *a_in_main_thread;
41014 if (pthread_create (&thread, (pthread_attr_t *)0,
41015 thread_func, (void *)0))
41016 return 0;
41017 a_in_main_thread = &a;
41018 if (pthread_join (thread, &thread_retval))
41019 return 0;
41020 return (a_in_other_thread == a_in_main_thread);
41022 return 0;
41024 _ACEOF
41025 rm -f conftest$ac_exeext
41026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41027 (eval $ac_link) 2>&5
41028 ac_status=$?
41029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41032 (eval $ac_try) 2>&5
41033 ac_status=$?
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); }; }; then
41036 gcc_cv_have_tls=yes
41037 else
41038 echo "$as_me: program exited with status $ac_status" >&5
41039 echo "$as_me: failed program was:" >&5
41040 sed 's/^/| /' conftest.$ac_ext >&5
41042 ( exit $ac_status )
41043 gcc_cv_have_tls=no
41045 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41047 CFLAGS="$chktls_save_CFLAGS"
41050 else
41051 echo "$as_me: program exited with status $ac_status" >&5
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41055 ( exit $ac_status )
41056 gcc_cv_have_tls=no
41058 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41061 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41062 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41063 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41065 cat >>confdefs.h <<\_ACEOF
41066 #define HAVE_TLS 1
41067 _ACEOF
41071 # For iconv support.
41073 if test "X$prefix" = "XNONE"; then
41074 acl_final_prefix="$ac_default_prefix"
41075 else
41076 acl_final_prefix="$prefix"
41078 if test "X$exec_prefix" = "XNONE"; then
41079 acl_final_exec_prefix='${prefix}'
41080 else
41081 acl_final_exec_prefix="$exec_prefix"
41083 acl_save_prefix="$prefix"
41084 prefix="$acl_final_prefix"
41085 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41086 prefix="$acl_save_prefix"
41089 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41090 if test "${with_gnu_ld+set}" = set; then
41091 withval="$with_gnu_ld"
41092 test "$withval" = no || with_gnu_ld=yes
41093 else
41094 with_gnu_ld=no
41096 # Prepare PATH_SEPARATOR.
41097 # The user is always right.
41098 if test "${PATH_SEPARATOR+set}" != set; then
41099 echo "#! /bin/sh" >conf$$.sh
41100 echo "exit 0" >>conf$$.sh
41101 chmod +x conf$$.sh
41102 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41103 PATH_SEPARATOR=';'
41104 else
41105 PATH_SEPARATOR=:
41107 rm -f conf$$.sh
41109 ac_prog=ld
41110 if test "$GCC" = yes; then
41111 # Check if gcc -print-prog-name=ld gives a path.
41112 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41113 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41114 case $host in
41115 *-*-mingw*)
41116 # gcc leaves a trailing carriage return which upsets mingw
41117 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41119 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41120 esac
41121 case $ac_prog in
41122 # Accept absolute paths.
41123 [\\/]* | [A-Za-z]:[\\/]*)
41124 re_direlt='/[^/][^/]*/\.\./'
41125 # Canonicalize the path of ld
41126 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41127 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41128 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41129 done
41130 test -z "$LD" && LD="$ac_prog"
41133 # If it fails, then pretend we aren't using GCC.
41134 ac_prog=ld
41137 # If it is relative, then search for the first ld in PATH.
41138 with_gnu_ld=unknown
41140 esac
41141 elif test "$with_gnu_ld" = yes; then
41142 echo "$as_me:$LINENO: checking for GNU ld" >&5
41143 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41144 else
41145 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41146 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41148 if test "${acl_cv_path_LD+set}" = set; then
41149 echo $ECHO_N "(cached) $ECHO_C" >&6
41150 else
41151 if test -z "$LD"; then
41152 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41153 for ac_dir in $PATH; do
41154 test -z "$ac_dir" && ac_dir=.
41155 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41156 acl_cv_path_LD="$ac_dir/$ac_prog"
41157 # Check to see if the program is GNU ld. I'd rather use --version,
41158 # but apparently some GNU ld's only accept -v.
41159 # Break only if it was the GNU/non-GNU ld that we prefer.
41160 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41161 test "$with_gnu_ld" != no && break
41162 else
41163 test "$with_gnu_ld" != yes && break
41166 done
41167 IFS="$ac_save_ifs"
41168 else
41169 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41173 LD="$acl_cv_path_LD"
41174 if test -n "$LD"; then
41175 echo "$as_me:$LINENO: result: $LD" >&5
41176 echo "${ECHO_T}$LD" >&6
41177 else
41178 echo "$as_me:$LINENO: result: no" >&5
41179 echo "${ECHO_T}no" >&6
41181 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41182 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41183 { (exit 1); exit 1; }; }
41184 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41185 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41186 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41187 echo $ECHO_N "(cached) $ECHO_C" >&6
41188 else
41189 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41190 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41191 acl_cv_prog_gnu_ld=yes
41192 else
41193 acl_cv_prog_gnu_ld=no
41196 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41197 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41198 with_gnu_ld=$acl_cv_prog_gnu_ld
41202 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41203 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41204 if test "${acl_cv_rpath+set}" = set; then
41205 echo $ECHO_N "(cached) $ECHO_C" >&6
41206 else
41208 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41209 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41210 . ./conftest.sh
41211 rm -f ./conftest.sh
41212 acl_cv_rpath=done
41215 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41216 echo "${ECHO_T}$acl_cv_rpath" >&6
41217 wl="$acl_cv_wl"
41218 libext="$acl_cv_libext"
41219 shlibext="$acl_cv_shlibext"
41220 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41221 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41222 hardcode_direct="$acl_cv_hardcode_direct"
41223 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41224 # Check whether --enable-rpath or --disable-rpath was given.
41225 if test "${enable_rpath+set}" = set; then
41226 enableval="$enable_rpath"
41228 else
41229 enable_rpath=yes
41238 use_additional=yes
41240 acl_save_prefix="$prefix"
41241 prefix="$acl_final_prefix"
41242 acl_save_exec_prefix="$exec_prefix"
41243 exec_prefix="$acl_final_exec_prefix"
41245 eval additional_includedir=\"$includedir\"
41246 eval additional_libdir=\"$libdir\"
41248 exec_prefix="$acl_save_exec_prefix"
41249 prefix="$acl_save_prefix"
41252 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41253 if test "${with_libiconv_prefix+set}" = set; then
41254 withval="$with_libiconv_prefix"
41256 if test "X$withval" = "Xno"; then
41257 use_additional=no
41258 else
41259 if test "X$withval" = "X"; then
41261 acl_save_prefix="$prefix"
41262 prefix="$acl_final_prefix"
41263 acl_save_exec_prefix="$exec_prefix"
41264 exec_prefix="$acl_final_exec_prefix"
41266 eval additional_includedir=\"$includedir\"
41267 eval additional_libdir=\"$libdir\"
41269 exec_prefix="$acl_save_exec_prefix"
41270 prefix="$acl_save_prefix"
41272 else
41273 additional_includedir="$withval/include"
41274 additional_libdir="$withval/lib"
41279 LIBICONV=
41280 LTLIBICONV=
41281 INCICONV=
41282 rpathdirs=
41283 ltrpathdirs=
41284 names_already_handled=
41285 names_next_round='iconv '
41286 while test -n "$names_next_round"; do
41287 names_this_round="$names_next_round"
41288 names_next_round=
41289 for name in $names_this_round; do
41290 already_handled=
41291 for n in $names_already_handled; do
41292 if test "$n" = "$name"; then
41293 already_handled=yes
41294 break
41296 done
41297 if test -z "$already_handled"; then
41298 names_already_handled="$names_already_handled $name"
41299 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41300 eval value=\"\$HAVE_LIB$uppername\"
41301 if test -n "$value"; then
41302 if test "$value" = yes; then
41303 eval value=\"\$LIB$uppername\"
41304 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41305 eval value=\"\$LTLIB$uppername\"
41306 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41307 else
41310 else
41311 found_dir=
41312 found_la=
41313 found_so=
41314 found_a=
41315 if test $use_additional = yes; then
41316 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41317 found_dir="$additional_libdir"
41318 found_so="$additional_libdir/lib$name.$shlibext"
41319 if test -f "$additional_libdir/lib$name.la"; then
41320 found_la="$additional_libdir/lib$name.la"
41322 else
41323 if test -f "$additional_libdir/lib$name.$libext"; then
41324 found_dir="$additional_libdir"
41325 found_a="$additional_libdir/lib$name.$libext"
41326 if test -f "$additional_libdir/lib$name.la"; then
41327 found_la="$additional_libdir/lib$name.la"
41332 if test "X$found_dir" = "X"; then
41333 for x in $LDFLAGS $LTLIBICONV; do
41335 acl_save_prefix="$prefix"
41336 prefix="$acl_final_prefix"
41337 acl_save_exec_prefix="$exec_prefix"
41338 exec_prefix="$acl_final_exec_prefix"
41339 eval x=\"$x\"
41340 exec_prefix="$acl_save_exec_prefix"
41341 prefix="$acl_save_prefix"
41343 case "$x" in
41344 -L*)
41345 dir=`echo "X$x" | sed -e 's/^X-L//'`
41346 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41347 found_dir="$dir"
41348 found_so="$dir/lib$name.$shlibext"
41349 if test -f "$dir/lib$name.la"; then
41350 found_la="$dir/lib$name.la"
41352 else
41353 if test -f "$dir/lib$name.$libext"; then
41354 found_dir="$dir"
41355 found_a="$dir/lib$name.$libext"
41356 if test -f "$dir/lib$name.la"; then
41357 found_la="$dir/lib$name.la"
41362 esac
41363 if test "X$found_dir" != "X"; then
41364 break
41366 done
41368 if test "X$found_dir" != "X"; then
41369 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41370 if test "X$found_so" != "X"; then
41371 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41372 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41373 else
41374 haveit=
41375 for x in $ltrpathdirs; do
41376 if test "X$x" = "X$found_dir"; then
41377 haveit=yes
41378 break
41380 done
41381 if test -z "$haveit"; then
41382 ltrpathdirs="$ltrpathdirs $found_dir"
41384 if test "$hardcode_direct" = yes; then
41385 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41386 else
41387 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41388 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41389 haveit=
41390 for x in $rpathdirs; do
41391 if test "X$x" = "X$found_dir"; then
41392 haveit=yes
41393 break
41395 done
41396 if test -z "$haveit"; then
41397 rpathdirs="$rpathdirs $found_dir"
41399 else
41400 haveit=
41401 for x in $LDFLAGS $LIBICONV; do
41403 acl_save_prefix="$prefix"
41404 prefix="$acl_final_prefix"
41405 acl_save_exec_prefix="$exec_prefix"
41406 exec_prefix="$acl_final_exec_prefix"
41407 eval x=\"$x\"
41408 exec_prefix="$acl_save_exec_prefix"
41409 prefix="$acl_save_prefix"
41411 if test "X$x" = "X-L$found_dir"; then
41412 haveit=yes
41413 break
41415 done
41416 if test -z "$haveit"; then
41417 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41419 if test "$hardcode_minus_L" != no; then
41420 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41421 else
41422 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41427 else
41428 if test "X$found_a" != "X"; then
41429 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41430 else
41431 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41434 additional_includedir=
41435 case "$found_dir" in
41436 */lib | */lib/)
41437 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41438 additional_includedir="$basedir/include"
41440 esac
41441 if test "X$additional_includedir" != "X"; then
41442 if test "X$additional_includedir" != "X/usr/include"; then
41443 haveit=
41444 if test "X$additional_includedir" = "X/usr/local/include"; then
41445 if test -n "$GCC"; then
41446 case $host_os in
41447 linux*) haveit=yes;;
41448 esac
41451 if test -z "$haveit"; then
41452 for x in $CPPFLAGS $INCICONV; do
41454 acl_save_prefix="$prefix"
41455 prefix="$acl_final_prefix"
41456 acl_save_exec_prefix="$exec_prefix"
41457 exec_prefix="$acl_final_exec_prefix"
41458 eval x=\"$x\"
41459 exec_prefix="$acl_save_exec_prefix"
41460 prefix="$acl_save_prefix"
41462 if test "X$x" = "X-I$additional_includedir"; then
41463 haveit=yes
41464 break
41466 done
41467 if test -z "$haveit"; then
41468 if test -d "$additional_includedir"; then
41469 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41475 if test -n "$found_la"; then
41476 save_libdir="$libdir"
41477 case "$found_la" in
41478 */* | *\\*) . "$found_la" ;;
41479 *) . "./$found_la" ;;
41480 esac
41481 libdir="$save_libdir"
41482 for dep in $dependency_libs; do
41483 case "$dep" in
41484 -L*)
41485 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41486 if test "X$additional_libdir" != "X/usr/lib"; then
41487 haveit=
41488 if test "X$additional_libdir" = "X/usr/local/lib"; then
41489 if test -n "$GCC"; then
41490 case $host_os in
41491 linux*) haveit=yes;;
41492 esac
41495 if test -z "$haveit"; then
41496 haveit=
41497 for x in $LDFLAGS $LIBICONV; do
41499 acl_save_prefix="$prefix"
41500 prefix="$acl_final_prefix"
41501 acl_save_exec_prefix="$exec_prefix"
41502 exec_prefix="$acl_final_exec_prefix"
41503 eval x=\"$x\"
41504 exec_prefix="$acl_save_exec_prefix"
41505 prefix="$acl_save_prefix"
41507 if test "X$x" = "X-L$additional_libdir"; then
41508 haveit=yes
41509 break
41511 done
41512 if test -z "$haveit"; then
41513 if test -d "$additional_libdir"; then
41514 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41517 haveit=
41518 for x in $LDFLAGS $LTLIBICONV; do
41520 acl_save_prefix="$prefix"
41521 prefix="$acl_final_prefix"
41522 acl_save_exec_prefix="$exec_prefix"
41523 exec_prefix="$acl_final_exec_prefix"
41524 eval x=\"$x\"
41525 exec_prefix="$acl_save_exec_prefix"
41526 prefix="$acl_save_prefix"
41528 if test "X$x" = "X-L$additional_libdir"; then
41529 haveit=yes
41530 break
41532 done
41533 if test -z "$haveit"; then
41534 if test -d "$additional_libdir"; then
41535 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41541 -R*)
41542 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41543 if test "$enable_rpath" != no; then
41544 haveit=
41545 for x in $rpathdirs; do
41546 if test "X$x" = "X$dir"; then
41547 haveit=yes
41548 break
41550 done
41551 if test -z "$haveit"; then
41552 rpathdirs="$rpathdirs $dir"
41554 haveit=
41555 for x in $ltrpathdirs; do
41556 if test "X$x" = "X$dir"; then
41557 haveit=yes
41558 break
41560 done
41561 if test -z "$haveit"; then
41562 ltrpathdirs="$ltrpathdirs $dir"
41566 -l*)
41567 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41569 *.la)
41570 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41573 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41574 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41576 esac
41577 done
41579 else
41580 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41581 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41585 done
41586 done
41587 if test "X$rpathdirs" != "X"; then
41588 if test -n "$hardcode_libdir_separator"; then
41589 alldirs=
41590 for found_dir in $rpathdirs; do
41591 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41592 done
41593 acl_save_libdir="$libdir"
41594 libdir="$alldirs"
41595 eval flag=\"$hardcode_libdir_flag_spec\"
41596 libdir="$acl_save_libdir"
41597 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41598 else
41599 for found_dir in $rpathdirs; do
41600 acl_save_libdir="$libdir"
41601 libdir="$found_dir"
41602 eval flag=\"$hardcode_libdir_flag_spec\"
41603 libdir="$acl_save_libdir"
41604 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41605 done
41608 if test "X$ltrpathdirs" != "X"; then
41609 for found_dir in $ltrpathdirs; do
41610 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41611 done
41620 am_save_CPPFLAGS="$CPPFLAGS"
41622 for element in $INCICONV; do
41623 haveit=
41624 for x in $CPPFLAGS; do
41626 acl_save_prefix="$prefix"
41627 prefix="$acl_final_prefix"
41628 acl_save_exec_prefix="$exec_prefix"
41629 exec_prefix="$acl_final_exec_prefix"
41630 eval x=\"$x\"
41631 exec_prefix="$acl_save_exec_prefix"
41632 prefix="$acl_save_prefix"
41634 if test "X$x" = "X$element"; then
41635 haveit=yes
41636 break
41638 done
41639 if test -z "$haveit"; then
41640 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41642 done
41645 echo "$as_me:$LINENO: checking for iconv" >&5
41646 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41647 if test "${am_cv_func_iconv+set}" = set; then
41648 echo $ECHO_N "(cached) $ECHO_C" >&6
41649 else
41651 am_cv_func_iconv="no, consider installing GNU libiconv"
41652 am_cv_lib_iconv=no
41653 if test x$gcc_no_link = xyes; then
41654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41656 { (exit 1); exit 1; }; }
41658 cat >conftest.$ac_ext <<_ACEOF
41659 /* confdefs.h. */
41660 _ACEOF
41661 cat confdefs.h >>conftest.$ac_ext
41662 cat >>conftest.$ac_ext <<_ACEOF
41663 /* end confdefs.h. */
41664 #include <stdlib.h>
41665 #include <iconv.h>
41667 main ()
41669 iconv_t cd = iconv_open("","");
41670 iconv(cd,NULL,NULL,NULL,NULL);
41671 iconv_close(cd);
41673 return 0;
41675 _ACEOF
41676 rm -f conftest.$ac_objext conftest$ac_exeext
41677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41678 (eval $ac_link) 2>conftest.er1
41679 ac_status=$?
41680 grep -v '^ *+' conftest.er1 >conftest.err
41681 rm -f conftest.er1
41682 cat conftest.err >&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } &&
41685 { ac_try='test -z "$ac_c_werror_flag"
41686 || test ! -s conftest.err'
41687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41688 (eval $ac_try) 2>&5
41689 ac_status=$?
41690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41691 (exit $ac_status); }; } &&
41692 { ac_try='test -s conftest$ac_exeext'
41693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41694 (eval $ac_try) 2>&5
41695 ac_status=$?
41696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41697 (exit $ac_status); }; }; then
41698 am_cv_func_iconv=yes
41699 else
41700 echo "$as_me: failed program was:" >&5
41701 sed 's/^/| /' conftest.$ac_ext >&5
41704 rm -f conftest.err conftest.$ac_objext \
41705 conftest$ac_exeext conftest.$ac_ext
41706 if test "$am_cv_func_iconv" != yes; then
41707 am_save_LIBS="$LIBS"
41708 LIBS="$LIBS $LIBICONV"
41709 if test x$gcc_no_link = xyes; then
41710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41712 { (exit 1); exit 1; }; }
41714 cat >conftest.$ac_ext <<_ACEOF
41715 /* confdefs.h. */
41716 _ACEOF
41717 cat confdefs.h >>conftest.$ac_ext
41718 cat >>conftest.$ac_ext <<_ACEOF
41719 /* end confdefs.h. */
41720 #include <stdlib.h>
41721 #include <iconv.h>
41723 main ()
41725 iconv_t cd = iconv_open("","");
41726 iconv(cd,NULL,NULL,NULL,NULL);
41727 iconv_close(cd);
41729 return 0;
41731 _ACEOF
41732 rm -f conftest.$ac_objext conftest$ac_exeext
41733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41734 (eval $ac_link) 2>conftest.er1
41735 ac_status=$?
41736 grep -v '^ *+' conftest.er1 >conftest.err
41737 rm -f conftest.er1
41738 cat conftest.err >&5
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); } &&
41741 { ac_try='test -z "$ac_c_werror_flag"
41742 || test ! -s conftest.err'
41743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41744 (eval $ac_try) 2>&5
41745 ac_status=$?
41746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41747 (exit $ac_status); }; } &&
41748 { ac_try='test -s conftest$ac_exeext'
41749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41750 (eval $ac_try) 2>&5
41751 ac_status=$?
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); }; }; then
41754 am_cv_lib_iconv=yes
41755 am_cv_func_iconv=yes
41756 else
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.$ac_ext >&5
41761 rm -f conftest.err conftest.$ac_objext \
41762 conftest$ac_exeext conftest.$ac_ext
41763 LIBS="$am_save_LIBS"
41767 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41768 echo "${ECHO_T}$am_cv_func_iconv" >&6
41769 if test "$am_cv_func_iconv" = yes; then
41771 cat >>confdefs.h <<\_ACEOF
41772 #define HAVE_ICONV 1
41773 _ACEOF
41776 if test "$am_cv_lib_iconv" = yes; then
41777 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41778 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41779 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41780 echo "${ECHO_T}$LIBICONV" >&6
41781 else
41782 CPPFLAGS="$am_save_CPPFLAGS"
41783 LIBICONV=
41784 LTLIBICONV=
41789 if test "$am_cv_func_iconv" = yes; then
41790 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41791 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41792 if test "${am_cv_proto_iconv+set}" = set; then
41793 echo $ECHO_N "(cached) $ECHO_C" >&6
41794 else
41796 cat >conftest.$ac_ext <<_ACEOF
41797 /* confdefs.h. */
41798 _ACEOF
41799 cat confdefs.h >>conftest.$ac_ext
41800 cat >>conftest.$ac_ext <<_ACEOF
41801 /* end confdefs.h. */
41803 #include <stdlib.h>
41804 #include <iconv.h>
41805 extern
41806 #ifdef __cplusplus
41808 #endif
41809 #if defined(__STDC__) || defined(__cplusplus)
41810 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41811 #else
41812 size_t iconv();
41813 #endif
41816 main ()
41820 return 0;
41822 _ACEOF
41823 rm -f conftest.$ac_objext
41824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41825 (eval $ac_compile) 2>conftest.er1
41826 ac_status=$?
41827 grep -v '^ *+' conftest.er1 >conftest.err
41828 rm -f conftest.er1
41829 cat conftest.err >&5
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); } &&
41832 { ac_try='test -z "$ac_c_werror_flag"
41833 || test ! -s conftest.err'
41834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41835 (eval $ac_try) 2>&5
41836 ac_status=$?
41837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41838 (exit $ac_status); }; } &&
41839 { ac_try='test -s conftest.$ac_objext'
41840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41841 (eval $ac_try) 2>&5
41842 ac_status=$?
41843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844 (exit $ac_status); }; }; then
41845 am_cv_proto_iconv_arg1=""
41846 else
41847 echo "$as_me: failed program was:" >&5
41848 sed 's/^/| /' conftest.$ac_ext >&5
41850 am_cv_proto_iconv_arg1="const"
41852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41853 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);"
41856 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41857 echo "$as_me:$LINENO: result: ${ac_t:-
41858 }$am_cv_proto_iconv" >&5
41859 echo "${ECHO_T}${ac_t:-
41860 }$am_cv_proto_iconv" >&6
41862 cat >>confdefs.h <<_ACEOF
41863 #define ICONV_CONST $am_cv_proto_iconv_arg1
41864 _ACEOF
41869 else
41871 # This lets us hard-code the functionality we know we'll have in the cross
41872 # target environment. "Let" is a sugar-coated word placed on an especially
41873 # dull and tedious hack, actually.
41875 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41876 # that involve linking, can't be used:
41877 # "cannot open sim-crt0.o"
41878 # "cannot open crt0.o"
41879 # etc. All this is because there currently exists no unified, consistent
41880 # way for top level CC information to be passed down to target directories:
41881 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41882 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41883 # crosses can be removed.
41885 # If Canadian cross, then don't pick up tools from the build directory.
41886 # Used only in GLIBCXX_EXPORT_INCLUDES.
41887 if test -n "$with_cross_host" &&
41888 test x"$build_alias" != x"$with_cross_host" &&
41889 test x"$build" != x"$target";
41890 then
41891 CANADIAN=yes
41892 else
41893 CANADIAN=no
41896 # Construct crosses by hand, eliminating bits that need ld...
41897 # GLIBCXX_CHECK_MATH_SUPPORT
41899 # First, test for "known" system libraries. We may be using newlib even
41900 # on a hosted environment.
41901 if test "x${with_newlib}" = "xyes"; then
41902 os_include_dir="os/newlib"
41903 cat >>confdefs.h <<\_ACEOF
41904 #define HAVE_HYPOT 1
41905 _ACEOF
41908 # GLIBCXX_CHECK_STDLIB_SUPPORT
41909 cat >>confdefs.h <<\_ACEOF
41910 #define HAVE_STRTOF 1
41911 _ACEOF
41914 cat >>confdefs.h <<\_ACEOF
41915 #define HAVE_ACOSF 1
41916 _ACEOF
41918 cat >>confdefs.h <<\_ACEOF
41919 #define HAVE_ASINF 1
41920 _ACEOF
41922 cat >>confdefs.h <<\_ACEOF
41923 #define HAVE_ATAN2F 1
41924 _ACEOF
41926 cat >>confdefs.h <<\_ACEOF
41927 #define HAVE_ATANF 1
41928 _ACEOF
41930 cat >>confdefs.h <<\_ACEOF
41931 #define HAVE_CEILF 1
41932 _ACEOF
41934 cat >>confdefs.h <<\_ACEOF
41935 #define HAVE_COSF 1
41936 _ACEOF
41938 cat >>confdefs.h <<\_ACEOF
41939 #define HAVE_COSHF 1
41940 _ACEOF
41942 cat >>confdefs.h <<\_ACEOF
41943 #define HAVE_EXPF 1
41944 _ACEOF
41946 cat >>confdefs.h <<\_ACEOF
41947 #define HAVE_FABSF 1
41948 _ACEOF
41950 cat >>confdefs.h <<\_ACEOF
41951 #define HAVE_FLOORF 1
41952 _ACEOF
41954 cat >>confdefs.h <<\_ACEOF
41955 #define HAVE_FMODF 1
41956 _ACEOF
41958 cat >>confdefs.h <<\_ACEOF
41959 #define HAVE_FREXPF 1
41960 _ACEOF
41962 cat >>confdefs.h <<\_ACEOF
41963 #define HAVE_LDEXPF 1
41964 _ACEOF
41966 cat >>confdefs.h <<\_ACEOF
41967 #define HAVE_LOG10F 1
41968 _ACEOF
41970 cat >>confdefs.h <<\_ACEOF
41971 #define HAVE_LOGF 1
41972 _ACEOF
41974 cat >>confdefs.h <<\_ACEOF
41975 #define HAVE_MODFF 1
41976 _ACEOF
41978 cat >>confdefs.h <<\_ACEOF
41979 #define HAVE_POWF 1
41980 _ACEOF
41982 cat >>confdefs.h <<\_ACEOF
41983 #define HAVE_SINF 1
41984 _ACEOF
41986 cat >>confdefs.h <<\_ACEOF
41987 #define HAVE_SINHF 1
41988 _ACEOF
41990 cat >>confdefs.h <<\_ACEOF
41991 #define HAVE_SQRTF 1
41992 _ACEOF
41994 cat >>confdefs.h <<\_ACEOF
41995 #define HAVE_TANF 1
41996 _ACEOF
41998 cat >>confdefs.h <<\_ACEOF
41999 #define HAVE_TANHF 1
42000 _ACEOF
42003 cat >>confdefs.h <<\_ACEOF
42004 #define HAVE_ICONV 1
42005 _ACEOF
42007 else
42009 # Base decisions on target environment.
42010 case "${host}" in
42011 arm*-*-symbianelf*)
42012 # This is a freestanding configuration; there is nothing to do here.
42015 mips*-sde-elf*)
42016 # These definitions are for the SDE C library rather than newlib.
42017 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42020 # All these tests are for C++; save the language and the compiler flags.
42021 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42022 # found in GLIBCXX_CONFIGURE.
42025 ac_ext=cc
42026 ac_cpp='$CXXCPP $CPPFLAGS'
42027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42032 ac_save_CXXFLAGS="$CXXFLAGS"
42034 # Check for maintainer-mode bits.
42035 if test x"$USE_MAINTAINER_MODE" = xno; then
42036 WERROR=''
42037 else
42038 WERROR='-Werror'
42041 # Check for -ffunction-sections -fdata-sections
42042 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42043 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42044 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42045 cat >conftest.$ac_ext <<_ACEOF
42046 /* confdefs.h. */
42047 _ACEOF
42048 cat confdefs.h >>conftest.$ac_ext
42049 cat >>conftest.$ac_ext <<_ACEOF
42050 /* end confdefs.h. */
42051 int foo; void bar() { };
42053 main ()
42057 return 0;
42059 _ACEOF
42060 rm -f conftest.$ac_objext
42061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42062 (eval $ac_compile) 2>conftest.er1
42063 ac_status=$?
42064 grep -v '^ *+' conftest.er1 >conftest.err
42065 rm -f conftest.er1
42066 cat conftest.err >&5
42067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42068 (exit $ac_status); } &&
42069 { ac_try='test -z "$ac_cxx_werror_flag"
42070 || test ! -s conftest.err'
42071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42072 (eval $ac_try) 2>&5
42073 ac_status=$?
42074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42075 (exit $ac_status); }; } &&
42076 { ac_try='test -s conftest.$ac_objext'
42077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42078 (eval $ac_try) 2>&5
42079 ac_status=$?
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); }; }; then
42082 ac_fdsections=yes
42083 else
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.$ac_ext >&5
42087 ac_fdsections=no
42089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42090 if test "$ac_test_CXXFLAGS" = set; then
42091 CXXFLAGS="$ac_save_CXXFLAGS"
42092 else
42093 # this is the suspicious part
42094 CXXFLAGS=''
42096 if test x"$ac_fdsections" = x"yes"; then
42097 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42099 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42100 echo "${ECHO_T}$ac_fdsections" >&6
42102 ac_ext=c
42103 ac_cpp='$CPP $CPPFLAGS'
42104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42112 # If we're not using GNU ld, then there's no point in even trying these
42113 # tests. Check for that first. We should have already tested for gld
42114 # by now (in libtool), but require it now just to be safe...
42115 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42116 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42120 # The name set by libtool depends on the version of libtool. Shame on us
42121 # for depending on an impl detail, but c'est la vie. Older versions used
42122 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42123 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42124 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42125 # set (hence we're using an older libtool), then set it.
42126 if test x${with_gnu_ld+set} != xset; then
42127 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42128 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42129 with_gnu_ld=no
42130 else
42131 with_gnu_ld=$ac_cv_prog_gnu_ld
42135 # Start by getting the version number. I think the libtool test already
42136 # does some of this, but throws away the result.
42137 glibcxx_ld_is_gold=no
42138 if test x"$with_gnu_ld" = x"yes"; then
42139 echo "$as_me:$LINENO: checking for ld version" >&5
42140 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42142 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
42143 glibcxx_ld_is_gold=yes
42145 ldver=`$LD --version 2>/dev/null | head -1 | \
42146 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
42148 glibcxx_gnu_ld_version=`echo $ldver | \
42149 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42150 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42151 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42154 # Set --gc-sections.
42155 glibcxx_have_gc_sections=no
42156 if test "$glibcxx_ld_is_gold" = "yes"; then
42157 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
42158 glibcxx_have_gc_sections=yes
42160 else
42161 glibcxx_gcsections_min_ld=21602
42162 if test x"$with_gnu_ld" = x"yes" &&
42163 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42164 glibcxx_have_gc_sections=yes
42167 if test "$glibcxx_have_gc_sections" = "yes"; then
42168 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42169 # NB: This flag only works reliably after 2.16.1. Configure tests
42170 # for this are difficult, so hard wire a value that should work.
42172 ac_test_CFLAGS="${CFLAGS+set}"
42173 ac_save_CFLAGS="$CFLAGS"
42174 CFLAGS='-Wl,--gc-sections'
42176 # Check for -Wl,--gc-sections
42177 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42178 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42179 if test x$gcc_no_link = xyes; then
42180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42182 { (exit 1); exit 1; }; }
42184 cat >conftest.$ac_ext <<_ACEOF
42185 /* confdefs.h. */
42186 _ACEOF
42187 cat confdefs.h >>conftest.$ac_ext
42188 cat >>conftest.$ac_ext <<_ACEOF
42189 /* end confdefs.h. */
42190 int one(void) { return 1; }
42191 int two(void) { return 2; }
42194 main ()
42196 two();
42198 return 0;
42200 _ACEOF
42201 rm -f conftest.$ac_objext conftest$ac_exeext
42202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42203 (eval $ac_link) 2>conftest.er1
42204 ac_status=$?
42205 grep -v '^ *+' conftest.er1 >conftest.err
42206 rm -f conftest.er1
42207 cat conftest.err >&5
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); } &&
42210 { ac_try='test -z "$ac_c_werror_flag"
42211 || test ! -s conftest.err'
42212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42213 (eval $ac_try) 2>&5
42214 ac_status=$?
42215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42216 (exit $ac_status); }; } &&
42217 { ac_try='test -s conftest$ac_exeext'
42218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42219 (eval $ac_try) 2>&5
42220 ac_status=$?
42221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42222 (exit $ac_status); }; }; then
42223 ac_gcsections=yes
42224 else
42225 echo "$as_me: failed program was:" >&5
42226 sed 's/^/| /' conftest.$ac_ext >&5
42228 ac_gcsections=no
42230 rm -f conftest.err conftest.$ac_objext \
42231 conftest$ac_exeext conftest.$ac_ext
42232 if test "$ac_gcsections" = "yes"; then
42233 rm -f conftest.c
42234 touch conftest.c
42235 if $CC -c conftest.c; then
42236 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42237 grep "Warning: gc-sections option ignored" > /dev/null; then
42238 ac_gcsections=no
42241 rm -f conftest.c conftest.o conftest
42243 if test "$ac_gcsections" = "yes"; then
42244 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42246 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42247 echo "${ECHO_T}$ac_gcsections" >&6
42249 if test "$ac_test_CFLAGS" = set; then
42250 CFLAGS="$ac_save_CFLAGS"
42251 else
42252 # this is the suspicious part
42253 CFLAGS=''
42257 # Set -z,relro.
42258 # Note this is only for shared objects.
42259 ac_ld_relro=no
42260 if test x"$with_gnu_ld" = x"yes"; then
42261 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42262 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42263 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42264 if test -n "$cxx_z_relo"; then
42265 OPT_LDFLAGS="-Wl,-z,relro"
42266 ac_ld_relro=yes
42268 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42269 echo "${ECHO_T}$ac_ld_relro" >&6
42272 # Set linker optimization flags.
42273 if test x"$with_gnu_ld" = x"yes"; then
42274 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42281 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42282 ac_save_CXXFLAGS="$CXXFLAGS"
42283 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42285 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42286 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42287 if test "${ac_cv_lib_m_sin+set}" = set; then
42288 echo $ECHO_N "(cached) $ECHO_C" >&6
42289 else
42290 ac_check_lib_save_LIBS=$LIBS
42291 LIBS="-lm $LIBS"
42292 if test x$gcc_no_link = xyes; then
42293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42295 { (exit 1); exit 1; }; }
42297 cat >conftest.$ac_ext <<_ACEOF
42298 /* confdefs.h. */
42299 _ACEOF
42300 cat confdefs.h >>conftest.$ac_ext
42301 cat >>conftest.$ac_ext <<_ACEOF
42302 /* end confdefs.h. */
42304 /* Override any gcc2 internal prototype to avoid an error. */
42305 #ifdef __cplusplus
42306 extern "C"
42307 #endif
42308 /* We use char because int might match the return type of a gcc2
42309 builtin and then its argument prototype would still apply. */
42310 char sin ();
42312 main ()
42314 sin ();
42316 return 0;
42318 _ACEOF
42319 rm -f conftest.$ac_objext conftest$ac_exeext
42320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42321 (eval $ac_link) 2>conftest.er1
42322 ac_status=$?
42323 grep -v '^ *+' conftest.er1 >conftest.err
42324 rm -f conftest.er1
42325 cat conftest.err >&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } &&
42328 { ac_try='test -z "$ac_c_werror_flag"
42329 || test ! -s conftest.err'
42330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42331 (eval $ac_try) 2>&5
42332 ac_status=$?
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); }; } &&
42335 { ac_try='test -s conftest$ac_exeext'
42336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42337 (eval $ac_try) 2>&5
42338 ac_status=$?
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); }; }; then
42341 ac_cv_lib_m_sin=yes
42342 else
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42346 ac_cv_lib_m_sin=no
42348 rm -f conftest.err conftest.$ac_objext \
42349 conftest$ac_exeext conftest.$ac_ext
42350 LIBS=$ac_check_lib_save_LIBS
42352 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42353 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42354 if test $ac_cv_lib_m_sin = yes; then
42355 libm="-lm"
42358 ac_save_LIBS="$LIBS"
42359 LIBS="$LIBS $libm"
42363 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42364 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42365 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42366 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42367 echo $ECHO_N "(cached) $ECHO_C" >&6
42368 else
42372 ac_ext=cc
42373 ac_cpp='$CXXCPP $CPPFLAGS'
42374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42378 cat >conftest.$ac_ext <<_ACEOF
42379 /* confdefs.h. */
42380 _ACEOF
42381 cat confdefs.h >>conftest.$ac_ext
42382 cat >>conftest.$ac_ext <<_ACEOF
42383 /* end confdefs.h. */
42384 #include <math.h>
42385 #ifdef HAVE_IEEEFP_H
42386 #include <ieeefp.h>
42387 #endif
42390 main ()
42392 isinf(0);
42394 return 0;
42396 _ACEOF
42397 rm -f conftest.$ac_objext
42398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42399 (eval $ac_compile) 2>conftest.er1
42400 ac_status=$?
42401 grep -v '^ *+' conftest.er1 >conftest.err
42402 rm -f conftest.er1
42403 cat conftest.err >&5
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); } &&
42406 { ac_try='test -z "$ac_cxx_werror_flag"
42407 || test ! -s conftest.err'
42408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42409 (eval $ac_try) 2>&5
42410 ac_status=$?
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); }; } &&
42413 { ac_try='test -s conftest.$ac_objext'
42414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42415 (eval $ac_try) 2>&5
42416 ac_status=$?
42417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418 (exit $ac_status); }; }; then
42419 glibcxx_cv_func_isinf_use=yes
42420 else
42421 echo "$as_me: failed program was:" >&5
42422 sed 's/^/| /' conftest.$ac_ext >&5
42424 glibcxx_cv_func_isinf_use=no
42426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42427 ac_ext=c
42428 ac_cpp='$CPP $CPPFLAGS'
42429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42438 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42440 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42442 for ac_func in isinf
42444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42445 echo "$as_me:$LINENO: checking for $ac_func" >&5
42446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42447 if eval "test \"\${$as_ac_var+set}\" = set"; then
42448 echo $ECHO_N "(cached) $ECHO_C" >&6
42449 else
42450 if test x$gcc_no_link = xyes; then
42451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42453 { (exit 1); exit 1; }; }
42455 cat >conftest.$ac_ext <<_ACEOF
42456 /* confdefs.h. */
42457 _ACEOF
42458 cat confdefs.h >>conftest.$ac_ext
42459 cat >>conftest.$ac_ext <<_ACEOF
42460 /* end confdefs.h. */
42461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42463 #define $ac_func innocuous_$ac_func
42465 /* System header to define __stub macros and hopefully few prototypes,
42466 which can conflict with char $ac_func (); below.
42467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42468 <limits.h> exists even on freestanding compilers. */
42470 #ifdef __STDC__
42471 # include <limits.h>
42472 #else
42473 # include <assert.h>
42474 #endif
42476 #undef $ac_func
42478 /* Override any gcc2 internal prototype to avoid an error. */
42479 #ifdef __cplusplus
42480 extern "C"
42482 #endif
42483 /* We use char because int might match the return type of a gcc2
42484 builtin and then its argument prototype would still apply. */
42485 char $ac_func ();
42486 /* The GNU C library defines this for functions which it implements
42487 to always fail with ENOSYS. Some functions are actually named
42488 something starting with __ and the normal name is an alias. */
42489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42490 choke me
42491 #else
42492 char (*f) () = $ac_func;
42493 #endif
42494 #ifdef __cplusplus
42496 #endif
42499 main ()
42501 return f != $ac_func;
42503 return 0;
42505 _ACEOF
42506 rm -f conftest.$ac_objext conftest$ac_exeext
42507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42508 (eval $ac_link) 2>conftest.er1
42509 ac_status=$?
42510 grep -v '^ *+' conftest.er1 >conftest.err
42511 rm -f conftest.er1
42512 cat conftest.err >&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); } &&
42515 { ac_try='test -z "$ac_c_werror_flag"
42516 || test ! -s conftest.err'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42519 ac_status=$?
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; } &&
42522 { ac_try='test -s conftest$ac_exeext'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42525 ac_status=$?
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; }; then
42528 eval "$as_ac_var=yes"
42529 else
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42533 eval "$as_ac_var=no"
42535 rm -f conftest.err conftest.$ac_objext \
42536 conftest$ac_exeext conftest.$ac_ext
42538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42540 if test `eval echo '${'$as_ac_var'}'` = yes; then
42541 cat >>confdefs.h <<_ACEOF
42542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42543 _ACEOF
42546 done
42548 else
42550 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42551 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42552 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42553 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42554 echo $ECHO_N "(cached) $ECHO_C" >&6
42555 else
42559 ac_ext=cc
42560 ac_cpp='$CXXCPP $CPPFLAGS'
42561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42565 cat >conftest.$ac_ext <<_ACEOF
42566 /* confdefs.h. */
42567 _ACEOF
42568 cat confdefs.h >>conftest.$ac_ext
42569 cat >>conftest.$ac_ext <<_ACEOF
42570 /* end confdefs.h. */
42571 #include <math.h>
42572 #ifdef HAVE_IEEEFP_H
42573 #include <ieeefp.h>
42574 #endif
42577 main ()
42579 _isinf(0);
42581 return 0;
42583 _ACEOF
42584 rm -f conftest.$ac_objext
42585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42586 (eval $ac_compile) 2>conftest.er1
42587 ac_status=$?
42588 grep -v '^ *+' conftest.er1 >conftest.err
42589 rm -f conftest.er1
42590 cat conftest.err >&5
42591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592 (exit $ac_status); } &&
42593 { ac_try='test -z "$ac_cxx_werror_flag"
42594 || test ! -s conftest.err'
42595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42596 (eval $ac_try) 2>&5
42597 ac_status=$?
42598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599 (exit $ac_status); }; } &&
42600 { ac_try='test -s conftest.$ac_objext'
42601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42602 (eval $ac_try) 2>&5
42603 ac_status=$?
42604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605 (exit $ac_status); }; }; then
42606 glibcxx_cv_func__isinf_use=yes
42607 else
42608 echo "$as_me: failed program was:" >&5
42609 sed 's/^/| /' conftest.$ac_ext >&5
42611 glibcxx_cv_func__isinf_use=no
42613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42614 ac_ext=c
42615 ac_cpp='$CPP $CPPFLAGS'
42616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42625 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42627 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42629 for ac_func in _isinf
42631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42632 echo "$as_me:$LINENO: checking for $ac_func" >&5
42633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42634 if eval "test \"\${$as_ac_var+set}\" = set"; then
42635 echo $ECHO_N "(cached) $ECHO_C" >&6
42636 else
42637 if test x$gcc_no_link = xyes; then
42638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42640 { (exit 1); exit 1; }; }
42642 cat >conftest.$ac_ext <<_ACEOF
42643 /* confdefs.h. */
42644 _ACEOF
42645 cat confdefs.h >>conftest.$ac_ext
42646 cat >>conftest.$ac_ext <<_ACEOF
42647 /* end confdefs.h. */
42648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42650 #define $ac_func innocuous_$ac_func
42652 /* System header to define __stub macros and hopefully few prototypes,
42653 which can conflict with char $ac_func (); below.
42654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42655 <limits.h> exists even on freestanding compilers. */
42657 #ifdef __STDC__
42658 # include <limits.h>
42659 #else
42660 # include <assert.h>
42661 #endif
42663 #undef $ac_func
42665 /* Override any gcc2 internal prototype to avoid an error. */
42666 #ifdef __cplusplus
42667 extern "C"
42669 #endif
42670 /* We use char because int might match the return type of a gcc2
42671 builtin and then its argument prototype would still apply. */
42672 char $ac_func ();
42673 /* The GNU C library defines this for functions which it implements
42674 to always fail with ENOSYS. Some functions are actually named
42675 something starting with __ and the normal name is an alias. */
42676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42677 choke me
42678 #else
42679 char (*f) () = $ac_func;
42680 #endif
42681 #ifdef __cplusplus
42683 #endif
42686 main ()
42688 return f != $ac_func;
42690 return 0;
42692 _ACEOF
42693 rm -f conftest.$ac_objext conftest$ac_exeext
42694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42695 (eval $ac_link) 2>conftest.er1
42696 ac_status=$?
42697 grep -v '^ *+' conftest.er1 >conftest.err
42698 rm -f conftest.er1
42699 cat conftest.err >&5
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); } &&
42702 { ac_try='test -z "$ac_c_werror_flag"
42703 || test ! -s conftest.err'
42704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42705 (eval $ac_try) 2>&5
42706 ac_status=$?
42707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42708 (exit $ac_status); }; } &&
42709 { ac_try='test -s conftest$ac_exeext'
42710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42711 (eval $ac_try) 2>&5
42712 ac_status=$?
42713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42714 (exit $ac_status); }; }; then
42715 eval "$as_ac_var=yes"
42716 else
42717 echo "$as_me: failed program was:" >&5
42718 sed 's/^/| /' conftest.$ac_ext >&5
42720 eval "$as_ac_var=no"
42722 rm -f conftest.err conftest.$ac_objext \
42723 conftest$ac_exeext conftest.$ac_ext
42725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42727 if test `eval echo '${'$as_ac_var'}'` = yes; then
42728 cat >>confdefs.h <<_ACEOF
42729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42730 _ACEOF
42733 done
42743 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42744 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42745 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42746 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42752 ac_ext=cc
42753 ac_cpp='$CXXCPP $CPPFLAGS'
42754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42758 cat >conftest.$ac_ext <<_ACEOF
42759 /* confdefs.h. */
42760 _ACEOF
42761 cat confdefs.h >>conftest.$ac_ext
42762 cat >>conftest.$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42764 #include <math.h>
42765 #ifdef HAVE_IEEEFP_H
42766 #include <ieeefp.h>
42767 #endif
42770 main ()
42772 isnan(0);
42774 return 0;
42776 _ACEOF
42777 rm -f conftest.$ac_objext
42778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42779 (eval $ac_compile) 2>conftest.er1
42780 ac_status=$?
42781 grep -v '^ *+' conftest.er1 >conftest.err
42782 rm -f conftest.er1
42783 cat conftest.err >&5
42784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42785 (exit $ac_status); } &&
42786 { ac_try='test -z "$ac_cxx_werror_flag"
42787 || test ! -s conftest.err'
42788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42789 (eval $ac_try) 2>&5
42790 ac_status=$?
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); }; } &&
42793 { ac_try='test -s conftest.$ac_objext'
42794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42795 (eval $ac_try) 2>&5
42796 ac_status=$?
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; }; then
42799 glibcxx_cv_func_isnan_use=yes
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42804 glibcxx_cv_func_isnan_use=no
42806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42807 ac_ext=c
42808 ac_cpp='$CPP $CPPFLAGS'
42809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42818 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42820 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42822 for ac_func in isnan
42824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42825 echo "$as_me:$LINENO: checking for $ac_func" >&5
42826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42827 if eval "test \"\${$as_ac_var+set}\" = set"; then
42828 echo $ECHO_N "(cached) $ECHO_C" >&6
42829 else
42830 if test x$gcc_no_link = xyes; then
42831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42833 { (exit 1); exit 1; }; }
42835 cat >conftest.$ac_ext <<_ACEOF
42836 /* confdefs.h. */
42837 _ACEOF
42838 cat confdefs.h >>conftest.$ac_ext
42839 cat >>conftest.$ac_ext <<_ACEOF
42840 /* end confdefs.h. */
42841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42843 #define $ac_func innocuous_$ac_func
42845 /* System header to define __stub macros and hopefully few prototypes,
42846 which can conflict with char $ac_func (); below.
42847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42848 <limits.h> exists even on freestanding compilers. */
42850 #ifdef __STDC__
42851 # include <limits.h>
42852 #else
42853 # include <assert.h>
42854 #endif
42856 #undef $ac_func
42858 /* Override any gcc2 internal prototype to avoid an error. */
42859 #ifdef __cplusplus
42860 extern "C"
42862 #endif
42863 /* We use char because int might match the return type of a gcc2
42864 builtin and then its argument prototype would still apply. */
42865 char $ac_func ();
42866 /* The GNU C library defines this for functions which it implements
42867 to always fail with ENOSYS. Some functions are actually named
42868 something starting with __ and the normal name is an alias. */
42869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42870 choke me
42871 #else
42872 char (*f) () = $ac_func;
42873 #endif
42874 #ifdef __cplusplus
42876 #endif
42879 main ()
42881 return f != $ac_func;
42883 return 0;
42885 _ACEOF
42886 rm -f conftest.$ac_objext conftest$ac_exeext
42887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42888 (eval $ac_link) 2>conftest.er1
42889 ac_status=$?
42890 grep -v '^ *+' conftest.er1 >conftest.err
42891 rm -f conftest.er1
42892 cat conftest.err >&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); } &&
42895 { ac_try='test -z "$ac_c_werror_flag"
42896 || test ! -s conftest.err'
42897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42898 (eval $ac_try) 2>&5
42899 ac_status=$?
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); }; } &&
42902 { ac_try='test -s conftest$ac_exeext'
42903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42904 (eval $ac_try) 2>&5
42905 ac_status=$?
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); }; }; then
42908 eval "$as_ac_var=yes"
42909 else
42910 echo "$as_me: failed program was:" >&5
42911 sed 's/^/| /' conftest.$ac_ext >&5
42913 eval "$as_ac_var=no"
42915 rm -f conftest.err conftest.$ac_objext \
42916 conftest$ac_exeext conftest.$ac_ext
42918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42920 if test `eval echo '${'$as_ac_var'}'` = yes; then
42921 cat >>confdefs.h <<_ACEOF
42922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42923 _ACEOF
42926 done
42928 else
42930 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42931 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42932 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42933 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42934 echo $ECHO_N "(cached) $ECHO_C" >&6
42935 else
42939 ac_ext=cc
42940 ac_cpp='$CXXCPP $CPPFLAGS'
42941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42945 cat >conftest.$ac_ext <<_ACEOF
42946 /* confdefs.h. */
42947 _ACEOF
42948 cat confdefs.h >>conftest.$ac_ext
42949 cat >>conftest.$ac_ext <<_ACEOF
42950 /* end confdefs.h. */
42951 #include <math.h>
42952 #ifdef HAVE_IEEEFP_H
42953 #include <ieeefp.h>
42954 #endif
42957 main ()
42959 _isnan(0);
42961 return 0;
42963 _ACEOF
42964 rm -f conftest.$ac_objext
42965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42966 (eval $ac_compile) 2>conftest.er1
42967 ac_status=$?
42968 grep -v '^ *+' conftest.er1 >conftest.err
42969 rm -f conftest.er1
42970 cat conftest.err >&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } &&
42973 { ac_try='test -z "$ac_cxx_werror_flag"
42974 || test ! -s conftest.err'
42975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42976 (eval $ac_try) 2>&5
42977 ac_status=$?
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); }; } &&
42980 { ac_try='test -s conftest.$ac_objext'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42983 ac_status=$?
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; }; then
42986 glibcxx_cv_func__isnan_use=yes
42987 else
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.$ac_ext >&5
42991 glibcxx_cv_func__isnan_use=no
42993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42994 ac_ext=c
42995 ac_cpp='$CPP $CPPFLAGS'
42996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43005 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43007 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43009 for ac_func in _isnan
43011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43012 echo "$as_me:$LINENO: checking for $ac_func" >&5
43013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43014 if eval "test \"\${$as_ac_var+set}\" = set"; then
43015 echo $ECHO_N "(cached) $ECHO_C" >&6
43016 else
43017 if test x$gcc_no_link = xyes; then
43018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43020 { (exit 1); exit 1; }; }
43022 cat >conftest.$ac_ext <<_ACEOF
43023 /* confdefs.h. */
43024 _ACEOF
43025 cat confdefs.h >>conftest.$ac_ext
43026 cat >>conftest.$ac_ext <<_ACEOF
43027 /* end confdefs.h. */
43028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43030 #define $ac_func innocuous_$ac_func
43032 /* System header to define __stub macros and hopefully few prototypes,
43033 which can conflict with char $ac_func (); below.
43034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43035 <limits.h> exists even on freestanding compilers. */
43037 #ifdef __STDC__
43038 # include <limits.h>
43039 #else
43040 # include <assert.h>
43041 #endif
43043 #undef $ac_func
43045 /* Override any gcc2 internal prototype to avoid an error. */
43046 #ifdef __cplusplus
43047 extern "C"
43049 #endif
43050 /* We use char because int might match the return type of a gcc2
43051 builtin and then its argument prototype would still apply. */
43052 char $ac_func ();
43053 /* The GNU C library defines this for functions which it implements
43054 to always fail with ENOSYS. Some functions are actually named
43055 something starting with __ and the normal name is an alias. */
43056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43057 choke me
43058 #else
43059 char (*f) () = $ac_func;
43060 #endif
43061 #ifdef __cplusplus
43063 #endif
43066 main ()
43068 return f != $ac_func;
43070 return 0;
43072 _ACEOF
43073 rm -f conftest.$ac_objext conftest$ac_exeext
43074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43075 (eval $ac_link) 2>conftest.er1
43076 ac_status=$?
43077 grep -v '^ *+' conftest.er1 >conftest.err
43078 rm -f conftest.er1
43079 cat conftest.err >&5
43080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081 (exit $ac_status); } &&
43082 { ac_try='test -z "$ac_c_werror_flag"
43083 || test ! -s conftest.err'
43084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43085 (eval $ac_try) 2>&5
43086 ac_status=$?
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); }; } &&
43089 { ac_try='test -s conftest$ac_exeext'
43090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091 (eval $ac_try) 2>&5
43092 ac_status=$?
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; }; then
43095 eval "$as_ac_var=yes"
43096 else
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.$ac_ext >&5
43100 eval "$as_ac_var=no"
43102 rm -f conftest.err conftest.$ac_objext \
43103 conftest$ac_exeext conftest.$ac_ext
43105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43107 if test `eval echo '${'$as_ac_var'}'` = yes; then
43108 cat >>confdefs.h <<_ACEOF
43109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43110 _ACEOF
43113 done
43123 echo "$as_me:$LINENO: checking for finite declaration" >&5
43124 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43125 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43126 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43127 echo $ECHO_N "(cached) $ECHO_C" >&6
43128 else
43132 ac_ext=cc
43133 ac_cpp='$CXXCPP $CPPFLAGS'
43134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43138 cat >conftest.$ac_ext <<_ACEOF
43139 /* confdefs.h. */
43140 _ACEOF
43141 cat confdefs.h >>conftest.$ac_ext
43142 cat >>conftest.$ac_ext <<_ACEOF
43143 /* end confdefs.h. */
43144 #include <math.h>
43145 #ifdef HAVE_IEEEFP_H
43146 #include <ieeefp.h>
43147 #endif
43150 main ()
43152 finite(0);
43154 return 0;
43156 _ACEOF
43157 rm -f conftest.$ac_objext
43158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43159 (eval $ac_compile) 2>conftest.er1
43160 ac_status=$?
43161 grep -v '^ *+' conftest.er1 >conftest.err
43162 rm -f conftest.er1
43163 cat conftest.err >&5
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); } &&
43166 { ac_try='test -z "$ac_cxx_werror_flag"
43167 || test ! -s conftest.err'
43168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43169 (eval $ac_try) 2>&5
43170 ac_status=$?
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); }; } &&
43173 { ac_try='test -s conftest.$ac_objext'
43174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43175 (eval $ac_try) 2>&5
43176 ac_status=$?
43177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43178 (exit $ac_status); }; }; then
43179 glibcxx_cv_func_finite_use=yes
43180 else
43181 echo "$as_me: failed program was:" >&5
43182 sed 's/^/| /' conftest.$ac_ext >&5
43184 glibcxx_cv_func_finite_use=no
43186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43187 ac_ext=c
43188 ac_cpp='$CPP $CPPFLAGS'
43189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43198 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43200 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43202 for ac_func in finite
43204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43205 echo "$as_me:$LINENO: checking for $ac_func" >&5
43206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43207 if eval "test \"\${$as_ac_var+set}\" = set"; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43209 else
43210 if test x$gcc_no_link = xyes; then
43211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43213 { (exit 1); exit 1; }; }
43215 cat >conftest.$ac_ext <<_ACEOF
43216 /* confdefs.h. */
43217 _ACEOF
43218 cat confdefs.h >>conftest.$ac_ext
43219 cat >>conftest.$ac_ext <<_ACEOF
43220 /* end confdefs.h. */
43221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43223 #define $ac_func innocuous_$ac_func
43225 /* System header to define __stub macros and hopefully few prototypes,
43226 which can conflict with char $ac_func (); below.
43227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43228 <limits.h> exists even on freestanding compilers. */
43230 #ifdef __STDC__
43231 # include <limits.h>
43232 #else
43233 # include <assert.h>
43234 #endif
43236 #undef $ac_func
43238 /* Override any gcc2 internal prototype to avoid an error. */
43239 #ifdef __cplusplus
43240 extern "C"
43242 #endif
43243 /* We use char because int might match the return type of a gcc2
43244 builtin and then its argument prototype would still apply. */
43245 char $ac_func ();
43246 /* The GNU C library defines this for functions which it implements
43247 to always fail with ENOSYS. Some functions are actually named
43248 something starting with __ and the normal name is an alias. */
43249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43250 choke me
43251 #else
43252 char (*f) () = $ac_func;
43253 #endif
43254 #ifdef __cplusplus
43256 #endif
43259 main ()
43261 return f != $ac_func;
43263 return 0;
43265 _ACEOF
43266 rm -f conftest.$ac_objext conftest$ac_exeext
43267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43268 (eval $ac_link) 2>conftest.er1
43269 ac_status=$?
43270 grep -v '^ *+' conftest.er1 >conftest.err
43271 rm -f conftest.er1
43272 cat conftest.err >&5
43273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43274 (exit $ac_status); } &&
43275 { ac_try='test -z "$ac_c_werror_flag"
43276 || test ! -s conftest.err'
43277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43278 (eval $ac_try) 2>&5
43279 ac_status=$?
43280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43281 (exit $ac_status); }; } &&
43282 { ac_try='test -s conftest$ac_exeext'
43283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43284 (eval $ac_try) 2>&5
43285 ac_status=$?
43286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43287 (exit $ac_status); }; }; then
43288 eval "$as_ac_var=yes"
43289 else
43290 echo "$as_me: failed program was:" >&5
43291 sed 's/^/| /' conftest.$ac_ext >&5
43293 eval "$as_ac_var=no"
43295 rm -f conftest.err conftest.$ac_objext \
43296 conftest$ac_exeext conftest.$ac_ext
43298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43300 if test `eval echo '${'$as_ac_var'}'` = yes; then
43301 cat >>confdefs.h <<_ACEOF
43302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43303 _ACEOF
43306 done
43308 else
43310 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43311 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43312 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43313 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43314 echo $ECHO_N "(cached) $ECHO_C" >&6
43315 else
43319 ac_ext=cc
43320 ac_cpp='$CXXCPP $CPPFLAGS'
43321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43325 cat >conftest.$ac_ext <<_ACEOF
43326 /* confdefs.h. */
43327 _ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331 #include <math.h>
43332 #ifdef HAVE_IEEEFP_H
43333 #include <ieeefp.h>
43334 #endif
43337 main ()
43339 _finite(0);
43341 return 0;
43343 _ACEOF
43344 rm -f conftest.$ac_objext
43345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43346 (eval $ac_compile) 2>conftest.er1
43347 ac_status=$?
43348 grep -v '^ *+' conftest.er1 >conftest.err
43349 rm -f conftest.er1
43350 cat conftest.err >&5
43351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352 (exit $ac_status); } &&
43353 { ac_try='test -z "$ac_cxx_werror_flag"
43354 || test ! -s conftest.err'
43355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43356 (eval $ac_try) 2>&5
43357 ac_status=$?
43358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43359 (exit $ac_status); }; } &&
43360 { ac_try='test -s conftest.$ac_objext'
43361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43362 (eval $ac_try) 2>&5
43363 ac_status=$?
43364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43365 (exit $ac_status); }; }; then
43366 glibcxx_cv_func__finite_use=yes
43367 else
43368 echo "$as_me: failed program was:" >&5
43369 sed 's/^/| /' conftest.$ac_ext >&5
43371 glibcxx_cv_func__finite_use=no
43373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43374 ac_ext=c
43375 ac_cpp='$CPP $CPPFLAGS'
43376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43385 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43387 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43389 for ac_func in _finite
43391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43392 echo "$as_me:$LINENO: checking for $ac_func" >&5
43393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43394 if eval "test \"\${$as_ac_var+set}\" = set"; then
43395 echo $ECHO_N "(cached) $ECHO_C" >&6
43396 else
43397 if test x$gcc_no_link = xyes; then
43398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43400 { (exit 1); exit 1; }; }
43402 cat >conftest.$ac_ext <<_ACEOF
43403 /* confdefs.h. */
43404 _ACEOF
43405 cat confdefs.h >>conftest.$ac_ext
43406 cat >>conftest.$ac_ext <<_ACEOF
43407 /* end confdefs.h. */
43408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43410 #define $ac_func innocuous_$ac_func
43412 /* System header to define __stub macros and hopefully few prototypes,
43413 which can conflict with char $ac_func (); below.
43414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43415 <limits.h> exists even on freestanding compilers. */
43417 #ifdef __STDC__
43418 # include <limits.h>
43419 #else
43420 # include <assert.h>
43421 #endif
43423 #undef $ac_func
43425 /* Override any gcc2 internal prototype to avoid an error. */
43426 #ifdef __cplusplus
43427 extern "C"
43429 #endif
43430 /* We use char because int might match the return type of a gcc2
43431 builtin and then its argument prototype would still apply. */
43432 char $ac_func ();
43433 /* The GNU C library defines this for functions which it implements
43434 to always fail with ENOSYS. Some functions are actually named
43435 something starting with __ and the normal name is an alias. */
43436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43437 choke me
43438 #else
43439 char (*f) () = $ac_func;
43440 #endif
43441 #ifdef __cplusplus
43443 #endif
43446 main ()
43448 return f != $ac_func;
43450 return 0;
43452 _ACEOF
43453 rm -f conftest.$ac_objext conftest$ac_exeext
43454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43455 (eval $ac_link) 2>conftest.er1
43456 ac_status=$?
43457 grep -v '^ *+' conftest.er1 >conftest.err
43458 rm -f conftest.er1
43459 cat conftest.err >&5
43460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43461 (exit $ac_status); } &&
43462 { ac_try='test -z "$ac_c_werror_flag"
43463 || test ! -s conftest.err'
43464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43465 (eval $ac_try) 2>&5
43466 ac_status=$?
43467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43468 (exit $ac_status); }; } &&
43469 { ac_try='test -s conftest$ac_exeext'
43470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43471 (eval $ac_try) 2>&5
43472 ac_status=$?
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); }; }; then
43475 eval "$as_ac_var=yes"
43476 else
43477 echo "$as_me: failed program was:" >&5
43478 sed 's/^/| /' conftest.$ac_ext >&5
43480 eval "$as_ac_var=no"
43482 rm -f conftest.err conftest.$ac_objext \
43483 conftest$ac_exeext conftest.$ac_ext
43485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43487 if test `eval echo '${'$as_ac_var'}'` = yes; then
43488 cat >>confdefs.h <<_ACEOF
43489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43490 _ACEOF
43493 done
43503 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43504 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43505 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43506 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43507 echo $ECHO_N "(cached) $ECHO_C" >&6
43508 else
43512 ac_ext=cc
43513 ac_cpp='$CXXCPP $CPPFLAGS'
43514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43518 cat >conftest.$ac_ext <<_ACEOF
43519 /* confdefs.h. */
43520 _ACEOF
43521 cat confdefs.h >>conftest.$ac_ext
43522 cat >>conftest.$ac_ext <<_ACEOF
43523 /* end confdefs.h. */
43524 #include <math.h>
43526 main ()
43528 sincos(0, 0, 0);
43530 return 0;
43532 _ACEOF
43533 rm -f conftest.$ac_objext
43534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43535 (eval $ac_compile) 2>conftest.er1
43536 ac_status=$?
43537 grep -v '^ *+' conftest.er1 >conftest.err
43538 rm -f conftest.er1
43539 cat conftest.err >&5
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); } &&
43542 { ac_try='test -z "$ac_cxx_werror_flag"
43543 || test ! -s conftest.err'
43544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43545 (eval $ac_try) 2>&5
43546 ac_status=$?
43547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43548 (exit $ac_status); }; } &&
43549 { ac_try='test -s conftest.$ac_objext'
43550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43551 (eval $ac_try) 2>&5
43552 ac_status=$?
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); }; }; then
43555 glibcxx_cv_func_sincos_use=yes
43556 else
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.$ac_ext >&5
43560 glibcxx_cv_func_sincos_use=no
43562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43563 ac_ext=c
43564 ac_cpp='$CPP $CPPFLAGS'
43565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43574 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43576 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43578 for ac_func in sincos
43580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43581 echo "$as_me:$LINENO: checking for $ac_func" >&5
43582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43583 if eval "test \"\${$as_ac_var+set}\" = set"; then
43584 echo $ECHO_N "(cached) $ECHO_C" >&6
43585 else
43586 if test x$gcc_no_link = xyes; then
43587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43589 { (exit 1); exit 1; }; }
43591 cat >conftest.$ac_ext <<_ACEOF
43592 /* confdefs.h. */
43593 _ACEOF
43594 cat confdefs.h >>conftest.$ac_ext
43595 cat >>conftest.$ac_ext <<_ACEOF
43596 /* end confdefs.h. */
43597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43599 #define $ac_func innocuous_$ac_func
43601 /* System header to define __stub macros and hopefully few prototypes,
43602 which can conflict with char $ac_func (); below.
43603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43604 <limits.h> exists even on freestanding compilers. */
43606 #ifdef __STDC__
43607 # include <limits.h>
43608 #else
43609 # include <assert.h>
43610 #endif
43612 #undef $ac_func
43614 /* Override any gcc2 internal prototype to avoid an error. */
43615 #ifdef __cplusplus
43616 extern "C"
43618 #endif
43619 /* We use char because int might match the return type of a gcc2
43620 builtin and then its argument prototype would still apply. */
43621 char $ac_func ();
43622 /* The GNU C library defines this for functions which it implements
43623 to always fail with ENOSYS. Some functions are actually named
43624 something starting with __ and the normal name is an alias. */
43625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43626 choke me
43627 #else
43628 char (*f) () = $ac_func;
43629 #endif
43630 #ifdef __cplusplus
43632 #endif
43635 main ()
43637 return f != $ac_func;
43639 return 0;
43641 _ACEOF
43642 rm -f conftest.$ac_objext conftest$ac_exeext
43643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43644 (eval $ac_link) 2>conftest.er1
43645 ac_status=$?
43646 grep -v '^ *+' conftest.er1 >conftest.err
43647 rm -f conftest.er1
43648 cat conftest.err >&5
43649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43650 (exit $ac_status); } &&
43651 { ac_try='test -z "$ac_c_werror_flag"
43652 || test ! -s conftest.err'
43653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43654 (eval $ac_try) 2>&5
43655 ac_status=$?
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); }; } &&
43658 { ac_try='test -s conftest$ac_exeext'
43659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43660 (eval $ac_try) 2>&5
43661 ac_status=$?
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); }; }; then
43664 eval "$as_ac_var=yes"
43665 else
43666 echo "$as_me: failed program was:" >&5
43667 sed 's/^/| /' conftest.$ac_ext >&5
43669 eval "$as_ac_var=no"
43671 rm -f conftest.err conftest.$ac_objext \
43672 conftest$ac_exeext conftest.$ac_ext
43674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43676 if test `eval echo '${'$as_ac_var'}'` = yes; then
43677 cat >>confdefs.h <<_ACEOF
43678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43679 _ACEOF
43682 done
43684 else
43686 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43687 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43688 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43689 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 else
43695 ac_ext=cc
43696 ac_cpp='$CXXCPP $CPPFLAGS'
43697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43701 cat >conftest.$ac_ext <<_ACEOF
43702 /* confdefs.h. */
43703 _ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43707 #include <math.h>
43709 main ()
43711 _sincos(0, 0, 0);
43713 return 0;
43715 _ACEOF
43716 rm -f conftest.$ac_objext
43717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43718 (eval $ac_compile) 2>conftest.er1
43719 ac_status=$?
43720 grep -v '^ *+' conftest.er1 >conftest.err
43721 rm -f conftest.er1
43722 cat conftest.err >&5
43723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43724 (exit $ac_status); } &&
43725 { ac_try='test -z "$ac_cxx_werror_flag"
43726 || test ! -s conftest.err'
43727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43728 (eval $ac_try) 2>&5
43729 ac_status=$?
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); }; } &&
43732 { ac_try='test -s conftest.$ac_objext'
43733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43734 (eval $ac_try) 2>&5
43735 ac_status=$?
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); }; }; then
43738 glibcxx_cv_func__sincos_use=yes
43739 else
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43743 glibcxx_cv_func__sincos_use=no
43745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43746 ac_ext=c
43747 ac_cpp='$CPP $CPPFLAGS'
43748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43757 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43759 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43761 for ac_func in _sincos
43763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43764 echo "$as_me:$LINENO: checking for $ac_func" >&5
43765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43766 if eval "test \"\${$as_ac_var+set}\" = set"; then
43767 echo $ECHO_N "(cached) $ECHO_C" >&6
43768 else
43769 if test x$gcc_no_link = xyes; then
43770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43772 { (exit 1); exit 1; }; }
43774 cat >conftest.$ac_ext <<_ACEOF
43775 /* confdefs.h. */
43776 _ACEOF
43777 cat confdefs.h >>conftest.$ac_ext
43778 cat >>conftest.$ac_ext <<_ACEOF
43779 /* end confdefs.h. */
43780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43782 #define $ac_func innocuous_$ac_func
43784 /* System header to define __stub macros and hopefully few prototypes,
43785 which can conflict with char $ac_func (); below.
43786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43787 <limits.h> exists even on freestanding compilers. */
43789 #ifdef __STDC__
43790 # include <limits.h>
43791 #else
43792 # include <assert.h>
43793 #endif
43795 #undef $ac_func
43797 /* Override any gcc2 internal prototype to avoid an error. */
43798 #ifdef __cplusplus
43799 extern "C"
43801 #endif
43802 /* We use char because int might match the return type of a gcc2
43803 builtin and then its argument prototype would still apply. */
43804 char $ac_func ();
43805 /* The GNU C library defines this for functions which it implements
43806 to always fail with ENOSYS. Some functions are actually named
43807 something starting with __ and the normal name is an alias. */
43808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43809 choke me
43810 #else
43811 char (*f) () = $ac_func;
43812 #endif
43813 #ifdef __cplusplus
43815 #endif
43818 main ()
43820 return f != $ac_func;
43822 return 0;
43824 _ACEOF
43825 rm -f conftest.$ac_objext conftest$ac_exeext
43826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43827 (eval $ac_link) 2>conftest.er1
43828 ac_status=$?
43829 grep -v '^ *+' conftest.er1 >conftest.err
43830 rm -f conftest.er1
43831 cat conftest.err >&5
43832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43833 (exit $ac_status); } &&
43834 { ac_try='test -z "$ac_c_werror_flag"
43835 || test ! -s conftest.err'
43836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43837 (eval $ac_try) 2>&5
43838 ac_status=$?
43839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43840 (exit $ac_status); }; } &&
43841 { ac_try='test -s conftest$ac_exeext'
43842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43843 (eval $ac_try) 2>&5
43844 ac_status=$?
43845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846 (exit $ac_status); }; }; then
43847 eval "$as_ac_var=yes"
43848 else
43849 echo "$as_me: failed program was:" >&5
43850 sed 's/^/| /' conftest.$ac_ext >&5
43852 eval "$as_ac_var=no"
43854 rm -f conftest.err conftest.$ac_objext \
43855 conftest$ac_exeext conftest.$ac_ext
43857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43859 if test `eval echo '${'$as_ac_var'}'` = yes; then
43860 cat >>confdefs.h <<_ACEOF
43861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43862 _ACEOF
43865 done
43875 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
43876 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
43877 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
43878 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
43879 echo $ECHO_N "(cached) $ECHO_C" >&6
43880 else
43884 ac_ext=cc
43885 ac_cpp='$CXXCPP $CPPFLAGS'
43886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43890 cat >conftest.$ac_ext <<_ACEOF
43891 /* confdefs.h. */
43892 _ACEOF
43893 cat confdefs.h >>conftest.$ac_ext
43894 cat >>conftest.$ac_ext <<_ACEOF
43895 /* end confdefs.h. */
43896 #include <math.h>
43897 #ifdef HAVE_IEEEFP_H
43898 #include <ieeefp.h>
43899 #endif
43902 main ()
43904 fpclass(0);
43906 return 0;
43908 _ACEOF
43909 rm -f conftest.$ac_objext
43910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43911 (eval $ac_compile) 2>conftest.er1
43912 ac_status=$?
43913 grep -v '^ *+' conftest.er1 >conftest.err
43914 rm -f conftest.er1
43915 cat conftest.err >&5
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); } &&
43918 { ac_try='test -z "$ac_cxx_werror_flag"
43919 || test ! -s conftest.err'
43920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43921 (eval $ac_try) 2>&5
43922 ac_status=$?
43923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43924 (exit $ac_status); }; } &&
43925 { ac_try='test -s conftest.$ac_objext'
43926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43927 (eval $ac_try) 2>&5
43928 ac_status=$?
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); }; }; then
43931 glibcxx_cv_func_fpclass_use=yes
43932 else
43933 echo "$as_me: failed program was:" >&5
43934 sed 's/^/| /' conftest.$ac_ext >&5
43936 glibcxx_cv_func_fpclass_use=no
43938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43939 ac_ext=c
43940 ac_cpp='$CPP $CPPFLAGS'
43941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
43950 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
43952 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
43954 for ac_func in fpclass
43956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43957 echo "$as_me:$LINENO: checking for $ac_func" >&5
43958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43959 if eval "test \"\${$as_ac_var+set}\" = set"; then
43960 echo $ECHO_N "(cached) $ECHO_C" >&6
43961 else
43962 if test x$gcc_no_link = xyes; then
43963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43965 { (exit 1); exit 1; }; }
43967 cat >conftest.$ac_ext <<_ACEOF
43968 /* confdefs.h. */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43975 #define $ac_func innocuous_$ac_func
43977 /* System header to define __stub macros and hopefully few prototypes,
43978 which can conflict with char $ac_func (); below.
43979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43980 <limits.h> exists even on freestanding compilers. */
43982 #ifdef __STDC__
43983 # include <limits.h>
43984 #else
43985 # include <assert.h>
43986 #endif
43988 #undef $ac_func
43990 /* Override any gcc2 internal prototype to avoid an error. */
43991 #ifdef __cplusplus
43992 extern "C"
43994 #endif
43995 /* We use char because int might match the return type of a gcc2
43996 builtin and then its argument prototype would still apply. */
43997 char $ac_func ();
43998 /* The GNU C library defines this for functions which it implements
43999 to always fail with ENOSYS. Some functions are actually named
44000 something starting with __ and the normal name is an alias. */
44001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44002 choke me
44003 #else
44004 char (*f) () = $ac_func;
44005 #endif
44006 #ifdef __cplusplus
44008 #endif
44011 main ()
44013 return f != $ac_func;
44015 return 0;
44017 _ACEOF
44018 rm -f conftest.$ac_objext conftest$ac_exeext
44019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44020 (eval $ac_link) 2>conftest.er1
44021 ac_status=$?
44022 grep -v '^ *+' conftest.er1 >conftest.err
44023 rm -f conftest.er1
44024 cat conftest.err >&5
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } &&
44027 { ac_try='test -z "$ac_c_werror_flag"
44028 || test ! -s conftest.err'
44029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44030 (eval $ac_try) 2>&5
44031 ac_status=$?
44032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44033 (exit $ac_status); }; } &&
44034 { ac_try='test -s conftest$ac_exeext'
44035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44036 (eval $ac_try) 2>&5
44037 ac_status=$?
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); }; }; then
44040 eval "$as_ac_var=yes"
44041 else
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44045 eval "$as_ac_var=no"
44047 rm -f conftest.err conftest.$ac_objext \
44048 conftest$ac_exeext conftest.$ac_ext
44050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44052 if test `eval echo '${'$as_ac_var'}'` = yes; then
44053 cat >>confdefs.h <<_ACEOF
44054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44055 _ACEOF
44058 done
44060 else
44062 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44063 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44064 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44065 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44066 echo $ECHO_N "(cached) $ECHO_C" >&6
44067 else
44071 ac_ext=cc
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44077 cat >conftest.$ac_ext <<_ACEOF
44078 /* confdefs.h. */
44079 _ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44083 #include <math.h>
44084 #ifdef HAVE_IEEEFP_H
44085 #include <ieeefp.h>
44086 #endif
44089 main ()
44091 _fpclass(0);
44093 return 0;
44095 _ACEOF
44096 rm -f conftest.$ac_objext
44097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44098 (eval $ac_compile) 2>conftest.er1
44099 ac_status=$?
44100 grep -v '^ *+' conftest.er1 >conftest.err
44101 rm -f conftest.er1
44102 cat conftest.err >&5
44103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44104 (exit $ac_status); } &&
44105 { ac_try='test -z "$ac_cxx_werror_flag"
44106 || test ! -s conftest.err'
44107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44108 (eval $ac_try) 2>&5
44109 ac_status=$?
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); }; } &&
44112 { ac_try='test -s conftest.$ac_objext'
44113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44114 (eval $ac_try) 2>&5
44115 ac_status=$?
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); }; }; then
44118 glibcxx_cv_func__fpclass_use=yes
44119 else
44120 echo "$as_me: failed program was:" >&5
44121 sed 's/^/| /' conftest.$ac_ext >&5
44123 glibcxx_cv_func__fpclass_use=no
44125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44126 ac_ext=c
44127 ac_cpp='$CPP $CPPFLAGS'
44128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44136 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44137 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44139 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44141 for ac_func in _fpclass
44143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44144 echo "$as_me:$LINENO: checking for $ac_func" >&5
44145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44146 if eval "test \"\${$as_ac_var+set}\" = set"; then
44147 echo $ECHO_N "(cached) $ECHO_C" >&6
44148 else
44149 if test x$gcc_no_link = xyes; then
44150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44152 { (exit 1); exit 1; }; }
44154 cat >conftest.$ac_ext <<_ACEOF
44155 /* confdefs.h. */
44156 _ACEOF
44157 cat confdefs.h >>conftest.$ac_ext
44158 cat >>conftest.$ac_ext <<_ACEOF
44159 /* end confdefs.h. */
44160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44162 #define $ac_func innocuous_$ac_func
44164 /* System header to define __stub macros and hopefully few prototypes,
44165 which can conflict with char $ac_func (); below.
44166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44167 <limits.h> exists even on freestanding compilers. */
44169 #ifdef __STDC__
44170 # include <limits.h>
44171 #else
44172 # include <assert.h>
44173 #endif
44175 #undef $ac_func
44177 /* Override any gcc2 internal prototype to avoid an error. */
44178 #ifdef __cplusplus
44179 extern "C"
44181 #endif
44182 /* We use char because int might match the return type of a gcc2
44183 builtin and then its argument prototype would still apply. */
44184 char $ac_func ();
44185 /* The GNU C library defines this for functions which it implements
44186 to always fail with ENOSYS. Some functions are actually named
44187 something starting with __ and the normal name is an alias. */
44188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44189 choke me
44190 #else
44191 char (*f) () = $ac_func;
44192 #endif
44193 #ifdef __cplusplus
44195 #endif
44198 main ()
44200 return f != $ac_func;
44202 return 0;
44204 _ACEOF
44205 rm -f conftest.$ac_objext conftest$ac_exeext
44206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44207 (eval $ac_link) 2>conftest.er1
44208 ac_status=$?
44209 grep -v '^ *+' conftest.er1 >conftest.err
44210 rm -f conftest.er1
44211 cat conftest.err >&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); } &&
44214 { ac_try='test -z "$ac_c_werror_flag"
44215 || test ! -s conftest.err'
44216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44217 (eval $ac_try) 2>&5
44218 ac_status=$?
44219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44220 (exit $ac_status); }; } &&
44221 { ac_try='test -s conftest$ac_exeext'
44222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44223 (eval $ac_try) 2>&5
44224 ac_status=$?
44225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226 (exit $ac_status); }; }; then
44227 eval "$as_ac_var=yes"
44228 else
44229 echo "$as_me: failed program was:" >&5
44230 sed 's/^/| /' conftest.$ac_ext >&5
44232 eval "$as_ac_var=no"
44234 rm -f conftest.err conftest.$ac_objext \
44235 conftest$ac_exeext conftest.$ac_ext
44237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44239 if test `eval echo '${'$as_ac_var'}'` = yes; then
44240 cat >>confdefs.h <<_ACEOF
44241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44242 _ACEOF
44245 done
44255 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44256 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44257 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44258 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44259 echo $ECHO_N "(cached) $ECHO_C" >&6
44260 else
44264 ac_ext=cc
44265 ac_cpp='$CXXCPP $CPPFLAGS'
44266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44270 cat >conftest.$ac_ext <<_ACEOF
44271 /* confdefs.h. */
44272 _ACEOF
44273 cat confdefs.h >>conftest.$ac_ext
44274 cat >>conftest.$ac_ext <<_ACEOF
44275 /* end confdefs.h. */
44276 #include <math.h>
44277 #ifdef HAVE_IEEEFP_H
44278 #include <ieeefp.h>
44279 #endif
44282 main ()
44284 qfpclass(0);
44286 return 0;
44288 _ACEOF
44289 rm -f conftest.$ac_objext
44290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44291 (eval $ac_compile) 2>conftest.er1
44292 ac_status=$?
44293 grep -v '^ *+' conftest.er1 >conftest.err
44294 rm -f conftest.er1
44295 cat conftest.err >&5
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); } &&
44298 { ac_try='test -z "$ac_cxx_werror_flag"
44299 || test ! -s conftest.err'
44300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44301 (eval $ac_try) 2>&5
44302 ac_status=$?
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); }; } &&
44305 { ac_try='test -s conftest.$ac_objext'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; }; then
44311 glibcxx_cv_func_qfpclass_use=yes
44312 else
44313 echo "$as_me: failed program was:" >&5
44314 sed 's/^/| /' conftest.$ac_ext >&5
44316 glibcxx_cv_func_qfpclass_use=no
44318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44319 ac_ext=c
44320 ac_cpp='$CPP $CPPFLAGS'
44321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44330 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44332 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44334 for ac_func in qfpclass
44336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44337 echo "$as_me:$LINENO: checking for $ac_func" >&5
44338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44339 if eval "test \"\${$as_ac_var+set}\" = set"; then
44340 echo $ECHO_N "(cached) $ECHO_C" >&6
44341 else
44342 if test x$gcc_no_link = xyes; then
44343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44345 { (exit 1); exit 1; }; }
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44355 #define $ac_func innocuous_$ac_func
44357 /* System header to define __stub macros and hopefully few prototypes,
44358 which can conflict with char $ac_func (); below.
44359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44360 <limits.h> exists even on freestanding compilers. */
44362 #ifdef __STDC__
44363 # include <limits.h>
44364 #else
44365 # include <assert.h>
44366 #endif
44368 #undef $ac_func
44370 /* Override any gcc2 internal prototype to avoid an error. */
44371 #ifdef __cplusplus
44372 extern "C"
44374 #endif
44375 /* We use char because int might match the return type of a gcc2
44376 builtin and then its argument prototype would still apply. */
44377 char $ac_func ();
44378 /* The GNU C library defines this for functions which it implements
44379 to always fail with ENOSYS. Some functions are actually named
44380 something starting with __ and the normal name is an alias. */
44381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44382 choke me
44383 #else
44384 char (*f) () = $ac_func;
44385 #endif
44386 #ifdef __cplusplus
44388 #endif
44391 main ()
44393 return f != $ac_func;
44395 return 0;
44397 _ACEOF
44398 rm -f conftest.$ac_objext conftest$ac_exeext
44399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44400 (eval $ac_link) 2>conftest.er1
44401 ac_status=$?
44402 grep -v '^ *+' conftest.er1 >conftest.err
44403 rm -f conftest.er1
44404 cat conftest.err >&5
44405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406 (exit $ac_status); } &&
44407 { ac_try='test -z "$ac_c_werror_flag"
44408 || test ! -s conftest.err'
44409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44410 (eval $ac_try) 2>&5
44411 ac_status=$?
44412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44413 (exit $ac_status); }; } &&
44414 { ac_try='test -s conftest$ac_exeext'
44415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44416 (eval $ac_try) 2>&5
44417 ac_status=$?
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; }; then
44420 eval "$as_ac_var=yes"
44421 else
44422 echo "$as_me: failed program was:" >&5
44423 sed 's/^/| /' conftest.$ac_ext >&5
44425 eval "$as_ac_var=no"
44427 rm -f conftest.err conftest.$ac_objext \
44428 conftest$ac_exeext conftest.$ac_ext
44430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44432 if test `eval echo '${'$as_ac_var'}'` = yes; then
44433 cat >>confdefs.h <<_ACEOF
44434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44435 _ACEOF
44438 done
44440 else
44442 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44443 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44444 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44445 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44451 ac_ext=cc
44452 ac_cpp='$CXXCPP $CPPFLAGS'
44453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44457 cat >conftest.$ac_ext <<_ACEOF
44458 /* confdefs.h. */
44459 _ACEOF
44460 cat confdefs.h >>conftest.$ac_ext
44461 cat >>conftest.$ac_ext <<_ACEOF
44462 /* end confdefs.h. */
44463 #include <math.h>
44464 #ifdef HAVE_IEEEFP_H
44465 #include <ieeefp.h>
44466 #endif
44469 main ()
44471 _qfpclass(0);
44473 return 0;
44475 _ACEOF
44476 rm -f conftest.$ac_objext
44477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44478 (eval $ac_compile) 2>conftest.er1
44479 ac_status=$?
44480 grep -v '^ *+' conftest.er1 >conftest.err
44481 rm -f conftest.er1
44482 cat conftest.err >&5
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); } &&
44485 { ac_try='test -z "$ac_cxx_werror_flag"
44486 || test ! -s conftest.err'
44487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44488 (eval $ac_try) 2>&5
44489 ac_status=$?
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); }; } &&
44492 { ac_try='test -s conftest.$ac_objext'
44493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44494 (eval $ac_try) 2>&5
44495 ac_status=$?
44496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44497 (exit $ac_status); }; }; then
44498 glibcxx_cv_func__qfpclass_use=yes
44499 else
44500 echo "$as_me: failed program was:" >&5
44501 sed 's/^/| /' conftest.$ac_ext >&5
44503 glibcxx_cv_func__qfpclass_use=no
44505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44517 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44519 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44521 for ac_func in _qfpclass
44523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44524 echo "$as_me:$LINENO: checking for $ac_func" >&5
44525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44526 if eval "test \"\${$as_ac_var+set}\" = set"; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44529 if test x$gcc_no_link = xyes; then
44530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44532 { (exit 1); exit 1; }; }
44534 cat >conftest.$ac_ext <<_ACEOF
44535 /* confdefs.h. */
44536 _ACEOF
44537 cat confdefs.h >>conftest.$ac_ext
44538 cat >>conftest.$ac_ext <<_ACEOF
44539 /* end confdefs.h. */
44540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44542 #define $ac_func innocuous_$ac_func
44544 /* System header to define __stub macros and hopefully few prototypes,
44545 which can conflict with char $ac_func (); below.
44546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44547 <limits.h> exists even on freestanding compilers. */
44549 #ifdef __STDC__
44550 # include <limits.h>
44551 #else
44552 # include <assert.h>
44553 #endif
44555 #undef $ac_func
44557 /* Override any gcc2 internal prototype to avoid an error. */
44558 #ifdef __cplusplus
44559 extern "C"
44561 #endif
44562 /* We use char because int might match the return type of a gcc2
44563 builtin and then its argument prototype would still apply. */
44564 char $ac_func ();
44565 /* The GNU C library defines this for functions which it implements
44566 to always fail with ENOSYS. Some functions are actually named
44567 something starting with __ and the normal name is an alias. */
44568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44569 choke me
44570 #else
44571 char (*f) () = $ac_func;
44572 #endif
44573 #ifdef __cplusplus
44575 #endif
44578 main ()
44580 return f != $ac_func;
44582 return 0;
44584 _ACEOF
44585 rm -f conftest.$ac_objext conftest$ac_exeext
44586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44587 (eval $ac_link) 2>conftest.er1
44588 ac_status=$?
44589 grep -v '^ *+' conftest.er1 >conftest.err
44590 rm -f conftest.er1
44591 cat conftest.err >&5
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); } &&
44594 { ac_try='test -z "$ac_c_werror_flag"
44595 || test ! -s conftest.err'
44596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44597 (eval $ac_try) 2>&5
44598 ac_status=$?
44599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44600 (exit $ac_status); }; } &&
44601 { ac_try='test -s conftest$ac_exeext'
44602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44603 (eval $ac_try) 2>&5
44604 ac_status=$?
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); }; }; then
44607 eval "$as_ac_var=yes"
44608 else
44609 echo "$as_me: failed program was:" >&5
44610 sed 's/^/| /' conftest.$ac_ext >&5
44612 eval "$as_ac_var=no"
44614 rm -f conftest.err conftest.$ac_objext \
44615 conftest$ac_exeext conftest.$ac_ext
44617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44619 if test `eval echo '${'$as_ac_var'}'` = yes; then
44620 cat >>confdefs.h <<_ACEOF
44621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44622 _ACEOF
44625 done
44635 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44636 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44637 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44638 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44639 echo $ECHO_N "(cached) $ECHO_C" >&6
44640 else
44644 ac_ext=cc
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44650 cat >conftest.$ac_ext <<_ACEOF
44651 /* confdefs.h. */
44652 _ACEOF
44653 cat confdefs.h >>conftest.$ac_ext
44654 cat >>conftest.$ac_ext <<_ACEOF
44655 /* end confdefs.h. */
44656 #include <math.h>
44658 main ()
44660 hypot(0, 0);
44662 return 0;
44664 _ACEOF
44665 rm -f conftest.$ac_objext
44666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44667 (eval $ac_compile) 2>conftest.er1
44668 ac_status=$?
44669 grep -v '^ *+' conftest.er1 >conftest.err
44670 rm -f conftest.er1
44671 cat conftest.err >&5
44672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44673 (exit $ac_status); } &&
44674 { ac_try='test -z "$ac_cxx_werror_flag"
44675 || test ! -s conftest.err'
44676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44677 (eval $ac_try) 2>&5
44678 ac_status=$?
44679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680 (exit $ac_status); }; } &&
44681 { ac_try='test -s conftest.$ac_objext'
44682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683 (eval $ac_try) 2>&5
44684 ac_status=$?
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); }; }; then
44687 glibcxx_cv_func_hypot_use=yes
44688 else
44689 echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.$ac_ext >&5
44692 glibcxx_cv_func_hypot_use=no
44694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44695 ac_ext=c
44696 ac_cpp='$CPP $CPPFLAGS'
44697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44705 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44706 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44708 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44710 for ac_func in hypot
44712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44713 echo "$as_me:$LINENO: checking for $ac_func" >&5
44714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44715 if eval "test \"\${$as_ac_var+set}\" = set"; then
44716 echo $ECHO_N "(cached) $ECHO_C" >&6
44717 else
44718 if test x$gcc_no_link = xyes; then
44719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44721 { (exit 1); exit 1; }; }
44723 cat >conftest.$ac_ext <<_ACEOF
44724 /* confdefs.h. */
44725 _ACEOF
44726 cat confdefs.h >>conftest.$ac_ext
44727 cat >>conftest.$ac_ext <<_ACEOF
44728 /* end confdefs.h. */
44729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44731 #define $ac_func innocuous_$ac_func
44733 /* System header to define __stub macros and hopefully few prototypes,
44734 which can conflict with char $ac_func (); below.
44735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44736 <limits.h> exists even on freestanding compilers. */
44738 #ifdef __STDC__
44739 # include <limits.h>
44740 #else
44741 # include <assert.h>
44742 #endif
44744 #undef $ac_func
44746 /* Override any gcc2 internal prototype to avoid an error. */
44747 #ifdef __cplusplus
44748 extern "C"
44750 #endif
44751 /* We use char because int might match the return type of a gcc2
44752 builtin and then its argument prototype would still apply. */
44753 char $ac_func ();
44754 /* The GNU C library defines this for functions which it implements
44755 to always fail with ENOSYS. Some functions are actually named
44756 something starting with __ and the normal name is an alias. */
44757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44758 choke me
44759 #else
44760 char (*f) () = $ac_func;
44761 #endif
44762 #ifdef __cplusplus
44764 #endif
44767 main ()
44769 return f != $ac_func;
44771 return 0;
44773 _ACEOF
44774 rm -f conftest.$ac_objext conftest$ac_exeext
44775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44776 (eval $ac_link) 2>conftest.er1
44777 ac_status=$?
44778 grep -v '^ *+' conftest.er1 >conftest.err
44779 rm -f conftest.er1
44780 cat conftest.err >&5
44781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782 (exit $ac_status); } &&
44783 { ac_try='test -z "$ac_c_werror_flag"
44784 || test ! -s conftest.err'
44785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44786 (eval $ac_try) 2>&5
44787 ac_status=$?
44788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44789 (exit $ac_status); }; } &&
44790 { ac_try='test -s conftest$ac_exeext'
44791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44792 (eval $ac_try) 2>&5
44793 ac_status=$?
44794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44795 (exit $ac_status); }; }; then
44796 eval "$as_ac_var=yes"
44797 else
44798 echo "$as_me: failed program was:" >&5
44799 sed 's/^/| /' conftest.$ac_ext >&5
44801 eval "$as_ac_var=no"
44803 rm -f conftest.err conftest.$ac_objext \
44804 conftest$ac_exeext conftest.$ac_ext
44806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44808 if test `eval echo '${'$as_ac_var'}'` = yes; then
44809 cat >>confdefs.h <<_ACEOF
44810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44811 _ACEOF
44814 done
44816 else
44818 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
44819 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
44820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
44821 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
44822 echo $ECHO_N "(cached) $ECHO_C" >&6
44823 else
44827 ac_ext=cc
44828 ac_cpp='$CXXCPP $CPPFLAGS'
44829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44833 cat >conftest.$ac_ext <<_ACEOF
44834 /* confdefs.h. */
44835 _ACEOF
44836 cat confdefs.h >>conftest.$ac_ext
44837 cat >>conftest.$ac_ext <<_ACEOF
44838 /* end confdefs.h. */
44839 #include <math.h>
44841 main ()
44843 _hypot(0, 0);
44845 return 0;
44847 _ACEOF
44848 rm -f conftest.$ac_objext
44849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44850 (eval $ac_compile) 2>conftest.er1
44851 ac_status=$?
44852 grep -v '^ *+' conftest.er1 >conftest.err
44853 rm -f conftest.er1
44854 cat conftest.err >&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); } &&
44857 { ac_try='test -z "$ac_cxx_werror_flag"
44858 || test ! -s conftest.err'
44859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44860 (eval $ac_try) 2>&5
44861 ac_status=$?
44862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44863 (exit $ac_status); }; } &&
44864 { ac_try='test -s conftest.$ac_objext'
44865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44866 (eval $ac_try) 2>&5
44867 ac_status=$?
44868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44869 (exit $ac_status); }; }; then
44870 glibcxx_cv_func__hypot_use=yes
44871 else
44872 echo "$as_me: failed program was:" >&5
44873 sed 's/^/| /' conftest.$ac_ext >&5
44875 glibcxx_cv_func__hypot_use=no
44877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44878 ac_ext=c
44879 ac_cpp='$CPP $CPPFLAGS'
44880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44888 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
44889 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
44891 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
44893 for ac_func in _hypot
44895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44896 echo "$as_me:$LINENO: checking for $ac_func" >&5
44897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44898 if eval "test \"\${$as_ac_var+set}\" = set"; then
44899 echo $ECHO_N "(cached) $ECHO_C" >&6
44900 else
44901 if test x$gcc_no_link = xyes; then
44902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44904 { (exit 1); exit 1; }; }
44906 cat >conftest.$ac_ext <<_ACEOF
44907 /* confdefs.h. */
44908 _ACEOF
44909 cat confdefs.h >>conftest.$ac_ext
44910 cat >>conftest.$ac_ext <<_ACEOF
44911 /* end confdefs.h. */
44912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44914 #define $ac_func innocuous_$ac_func
44916 /* System header to define __stub macros and hopefully few prototypes,
44917 which can conflict with char $ac_func (); below.
44918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44919 <limits.h> exists even on freestanding compilers. */
44921 #ifdef __STDC__
44922 # include <limits.h>
44923 #else
44924 # include <assert.h>
44925 #endif
44927 #undef $ac_func
44929 /* Override any gcc2 internal prototype to avoid an error. */
44930 #ifdef __cplusplus
44931 extern "C"
44933 #endif
44934 /* We use char because int might match the return type of a gcc2
44935 builtin and then its argument prototype would still apply. */
44936 char $ac_func ();
44937 /* The GNU C library defines this for functions which it implements
44938 to always fail with ENOSYS. Some functions are actually named
44939 something starting with __ and the normal name is an alias. */
44940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44941 choke me
44942 #else
44943 char (*f) () = $ac_func;
44944 #endif
44945 #ifdef __cplusplus
44947 #endif
44950 main ()
44952 return f != $ac_func;
44954 return 0;
44956 _ACEOF
44957 rm -f conftest.$ac_objext conftest$ac_exeext
44958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44959 (eval $ac_link) 2>conftest.er1
44960 ac_status=$?
44961 grep -v '^ *+' conftest.er1 >conftest.err
44962 rm -f conftest.er1
44963 cat conftest.err >&5
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); } &&
44966 { ac_try='test -z "$ac_c_werror_flag"
44967 || test ! -s conftest.err'
44968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44969 (eval $ac_try) 2>&5
44970 ac_status=$?
44971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44972 (exit $ac_status); }; } &&
44973 { ac_try='test -s conftest$ac_exeext'
44974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44975 (eval $ac_try) 2>&5
44976 ac_status=$?
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); }; }; then
44979 eval "$as_ac_var=yes"
44980 else
44981 echo "$as_me: failed program was:" >&5
44982 sed 's/^/| /' conftest.$ac_ext >&5
44984 eval "$as_ac_var=no"
44986 rm -f conftest.err conftest.$ac_objext \
44987 conftest$ac_exeext conftest.$ac_ext
44989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44991 if test `eval echo '${'$as_ac_var'}'` = yes; then
44992 cat >>confdefs.h <<_ACEOF
44993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44994 _ACEOF
44997 done
45007 echo "$as_me:$LINENO: checking for float trig functions" >&5
45008 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45009 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45010 echo $ECHO_N "(cached) $ECHO_C" >&6
45011 else
45015 ac_ext=cc
45016 ac_cpp='$CXXCPP $CPPFLAGS'
45017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45021 cat >conftest.$ac_ext <<_ACEOF
45022 /* confdefs.h. */
45023 _ACEOF
45024 cat confdefs.h >>conftest.$ac_ext
45025 cat >>conftest.$ac_ext <<_ACEOF
45026 /* end confdefs.h. */
45027 #include <math.h>
45029 main ()
45031 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45033 return 0;
45035 _ACEOF
45036 rm -f conftest.$ac_objext
45037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45038 (eval $ac_compile) 2>conftest.er1
45039 ac_status=$?
45040 grep -v '^ *+' conftest.er1 >conftest.err
45041 rm -f conftest.er1
45042 cat conftest.err >&5
45043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45044 (exit $ac_status); } &&
45045 { ac_try='test -z "$ac_cxx_werror_flag"
45046 || test ! -s conftest.err'
45047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45048 (eval $ac_try) 2>&5
45049 ac_status=$?
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); }; } &&
45052 { ac_try='test -s conftest.$ac_objext'
45053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45054 (eval $ac_try) 2>&5
45055 ac_status=$?
45056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45057 (exit $ac_status); }; }; then
45058 glibcxx_cv_func_float_trig_use=yes
45059 else
45060 echo "$as_me: failed program was:" >&5
45061 sed 's/^/| /' conftest.$ac_ext >&5
45063 glibcxx_cv_func_float_trig_use=no
45065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45066 ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45075 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45076 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45086 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45089 echo "$as_me:$LINENO: checking for $ac_func" >&5
45090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45091 if eval "test \"\${$as_ac_var+set}\" = set"; then
45092 echo $ECHO_N "(cached) $ECHO_C" >&6
45093 else
45094 if test x$gcc_no_link = xyes; then
45095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45097 { (exit 1); exit 1; }; }
45099 cat >conftest.$ac_ext <<_ACEOF
45100 /* confdefs.h. */
45101 _ACEOF
45102 cat confdefs.h >>conftest.$ac_ext
45103 cat >>conftest.$ac_ext <<_ACEOF
45104 /* end confdefs.h. */
45105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45107 #define $ac_func innocuous_$ac_func
45109 /* System header to define __stub macros and hopefully few prototypes,
45110 which can conflict with char $ac_func (); below.
45111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45112 <limits.h> exists even on freestanding compilers. */
45114 #ifdef __STDC__
45115 # include <limits.h>
45116 #else
45117 # include <assert.h>
45118 #endif
45120 #undef $ac_func
45122 /* Override any gcc2 internal prototype to avoid an error. */
45123 #ifdef __cplusplus
45124 extern "C"
45126 #endif
45127 /* We use char because int might match the return type of a gcc2
45128 builtin and then its argument prototype would still apply. */
45129 char $ac_func ();
45130 /* The GNU C library defines this for functions which it implements
45131 to always fail with ENOSYS. Some functions are actually named
45132 something starting with __ and the normal name is an alias. */
45133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45134 choke me
45135 #else
45136 char (*f) () = $ac_func;
45137 #endif
45138 #ifdef __cplusplus
45140 #endif
45143 main ()
45145 return f != $ac_func;
45147 return 0;
45149 _ACEOF
45150 rm -f conftest.$ac_objext conftest$ac_exeext
45151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45152 (eval $ac_link) 2>conftest.er1
45153 ac_status=$?
45154 grep -v '^ *+' conftest.er1 >conftest.err
45155 rm -f conftest.er1
45156 cat conftest.err >&5
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); } &&
45159 { ac_try='test -z "$ac_c_werror_flag"
45160 || test ! -s conftest.err'
45161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45162 (eval $ac_try) 2>&5
45163 ac_status=$?
45164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165 (exit $ac_status); }; } &&
45166 { ac_try='test -s conftest$ac_exeext'
45167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45168 (eval $ac_try) 2>&5
45169 ac_status=$?
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; }; then
45172 eval "$as_ac_var=yes"
45173 else
45174 echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45177 eval "$as_ac_var=no"
45179 rm -f conftest.err conftest.$ac_objext \
45180 conftest$ac_exeext conftest.$ac_ext
45182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45184 if test `eval echo '${'$as_ac_var'}'` = yes; then
45185 cat >>confdefs.h <<_ACEOF
45186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45187 _ACEOF
45190 done
45192 else
45193 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45194 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45195 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45196 echo $ECHO_N "(cached) $ECHO_C" >&6
45197 else
45201 ac_ext=cc
45202 ac_cpp='$CXXCPP $CPPFLAGS'
45203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45207 cat >conftest.$ac_ext <<_ACEOF
45208 /* confdefs.h. */
45209 _ACEOF
45210 cat confdefs.h >>conftest.$ac_ext
45211 cat >>conftest.$ac_ext <<_ACEOF
45212 /* end confdefs.h. */
45213 #include <math.h>
45215 main ()
45217 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45219 return 0;
45221 _ACEOF
45222 rm -f conftest.$ac_objext
45223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45224 (eval $ac_compile) 2>conftest.er1
45225 ac_status=$?
45226 grep -v '^ *+' conftest.er1 >conftest.err
45227 rm -f conftest.er1
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try='test -z "$ac_cxx_werror_flag"
45232 || test ! -s conftest.err'
45233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45234 (eval $ac_try) 2>&5
45235 ac_status=$?
45236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45237 (exit $ac_status); }; } &&
45238 { ac_try='test -s conftest.$ac_objext'
45239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240 (eval $ac_try) 2>&5
45241 ac_status=$?
45242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243 (exit $ac_status); }; }; then
45244 glibcxx_cv_func__float_trig_use=yes
45245 else
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45249 glibcxx_cv_func__float_trig_use=no
45251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45252 ac_ext=c
45253 ac_cpp='$CPP $CPPFLAGS'
45254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45261 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45262 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45275 echo "$as_me:$LINENO: checking for $ac_func" >&5
45276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45277 if eval "test \"\${$as_ac_var+set}\" = set"; then
45278 echo $ECHO_N "(cached) $ECHO_C" >&6
45279 else
45280 if test x$gcc_no_link = xyes; then
45281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45283 { (exit 1); exit 1; }; }
45285 cat >conftest.$ac_ext <<_ACEOF
45286 /* confdefs.h. */
45287 _ACEOF
45288 cat confdefs.h >>conftest.$ac_ext
45289 cat >>conftest.$ac_ext <<_ACEOF
45290 /* end confdefs.h. */
45291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45293 #define $ac_func innocuous_$ac_func
45295 /* System header to define __stub macros and hopefully few prototypes,
45296 which can conflict with char $ac_func (); below.
45297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45298 <limits.h> exists even on freestanding compilers. */
45300 #ifdef __STDC__
45301 # include <limits.h>
45302 #else
45303 # include <assert.h>
45304 #endif
45306 #undef $ac_func
45308 /* Override any gcc2 internal prototype to avoid an error. */
45309 #ifdef __cplusplus
45310 extern "C"
45312 #endif
45313 /* We use char because int might match the return type of a gcc2
45314 builtin and then its argument prototype would still apply. */
45315 char $ac_func ();
45316 /* The GNU C library defines this for functions which it implements
45317 to always fail with ENOSYS. Some functions are actually named
45318 something starting with __ and the normal name is an alias. */
45319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45320 choke me
45321 #else
45322 char (*f) () = $ac_func;
45323 #endif
45324 #ifdef __cplusplus
45326 #endif
45329 main ()
45331 return f != $ac_func;
45333 return 0;
45335 _ACEOF
45336 rm -f conftest.$ac_objext conftest$ac_exeext
45337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45338 (eval $ac_link) 2>conftest.er1
45339 ac_status=$?
45340 grep -v '^ *+' conftest.er1 >conftest.err
45341 rm -f conftest.er1
45342 cat conftest.err >&5
45343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45344 (exit $ac_status); } &&
45345 { ac_try='test -z "$ac_c_werror_flag"
45346 || test ! -s conftest.err'
45347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45348 (eval $ac_try) 2>&5
45349 ac_status=$?
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; } &&
45352 { ac_try='test -s conftest$ac_exeext'
45353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354 (eval $ac_try) 2>&5
45355 ac_status=$?
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); }; }; then
45358 eval "$as_ac_var=yes"
45359 else
45360 echo "$as_me: failed program was:" >&5
45361 sed 's/^/| /' conftest.$ac_ext >&5
45363 eval "$as_ac_var=no"
45365 rm -f conftest.err conftest.$ac_objext \
45366 conftest$ac_exeext conftest.$ac_ext
45368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45370 if test `eval echo '${'$as_ac_var'}'` = yes; then
45371 cat >>confdefs.h <<_ACEOF
45372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45373 _ACEOF
45376 done
45394 echo "$as_me:$LINENO: checking for float round functions" >&5
45395 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45396 if test "${glibcxx_cv_func_float_round_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>
45416 main ()
45418 ceilf (0); floorf (0);
45420 return 0;
45422 _ACEOF
45423 rm -f conftest.$ac_objext
45424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45425 (eval $ac_compile) 2>conftest.er1
45426 ac_status=$?
45427 grep -v '^ *+' conftest.er1 >conftest.err
45428 rm -f conftest.er1
45429 cat conftest.err >&5
45430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45431 (exit $ac_status); } &&
45432 { ac_try='test -z "$ac_cxx_werror_flag"
45433 || test ! -s conftest.err'
45434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45435 (eval $ac_try) 2>&5
45436 ac_status=$?
45437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438 (exit $ac_status); }; } &&
45439 { ac_try='test -s conftest.$ac_objext'
45440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45441 (eval $ac_try) 2>&5
45442 ac_status=$?
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; }; then
45445 glibcxx_cv_func_float_round_use=yes
45446 else
45447 echo "$as_me: failed program was:" >&5
45448 sed 's/^/| /' conftest.$ac_ext >&5
45450 glibcxx_cv_func_float_round_use=no
45452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45453 ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45462 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45463 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45466 for ac_func in ceilf floorf
45468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45469 echo "$as_me:$LINENO: checking for $ac_func" >&5
45470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45471 if eval "test \"\${$as_ac_var+set}\" = set"; then
45472 echo $ECHO_N "(cached) $ECHO_C" >&6
45473 else
45474 if test x$gcc_no_link = xyes; then
45475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45477 { (exit 1); exit 1; }; }
45479 cat >conftest.$ac_ext <<_ACEOF
45480 /* confdefs.h. */
45481 _ACEOF
45482 cat confdefs.h >>conftest.$ac_ext
45483 cat >>conftest.$ac_ext <<_ACEOF
45484 /* end confdefs.h. */
45485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45487 #define $ac_func innocuous_$ac_func
45489 /* System header to define __stub macros and hopefully few prototypes,
45490 which can conflict with char $ac_func (); below.
45491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45492 <limits.h> exists even on freestanding compilers. */
45494 #ifdef __STDC__
45495 # include <limits.h>
45496 #else
45497 # include <assert.h>
45498 #endif
45500 #undef $ac_func
45502 /* Override any gcc2 internal prototype to avoid an error. */
45503 #ifdef __cplusplus
45504 extern "C"
45506 #endif
45507 /* We use char because int might match the return type of a gcc2
45508 builtin and then its argument prototype would still apply. */
45509 char $ac_func ();
45510 /* The GNU C library defines this for functions which it implements
45511 to always fail with ENOSYS. Some functions are actually named
45512 something starting with __ and the normal name is an alias. */
45513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45514 choke me
45515 #else
45516 char (*f) () = $ac_func;
45517 #endif
45518 #ifdef __cplusplus
45520 #endif
45523 main ()
45525 return f != $ac_func;
45527 return 0;
45529 _ACEOF
45530 rm -f conftest.$ac_objext conftest$ac_exeext
45531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45532 (eval $ac_link) 2>conftest.er1
45533 ac_status=$?
45534 grep -v '^ *+' conftest.er1 >conftest.err
45535 rm -f conftest.er1
45536 cat conftest.err >&5
45537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45538 (exit $ac_status); } &&
45539 { ac_try='test -z "$ac_c_werror_flag"
45540 || test ! -s conftest.err'
45541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45542 (eval $ac_try) 2>&5
45543 ac_status=$?
45544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545 (exit $ac_status); }; } &&
45546 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
45552 eval "$as_ac_var=yes"
45553 else
45554 echo "$as_me: failed program was:" >&5
45555 sed 's/^/| /' conftest.$ac_ext >&5
45557 eval "$as_ac_var=no"
45559 rm -f conftest.err conftest.$ac_objext \
45560 conftest$ac_exeext conftest.$ac_ext
45562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45564 if test `eval echo '${'$as_ac_var'}'` = yes; then
45565 cat >>confdefs.h <<_ACEOF
45566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45567 _ACEOF
45570 done
45572 else
45573 echo "$as_me:$LINENO: checking for _float round functions" >&5
45574 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45575 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45576 echo $ECHO_N "(cached) $ECHO_C" >&6
45577 else
45581 ac_ext=cc
45582 ac_cpp='$CXXCPP $CPPFLAGS'
45583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45587 cat >conftest.$ac_ext <<_ACEOF
45588 /* confdefs.h. */
45589 _ACEOF
45590 cat confdefs.h >>conftest.$ac_ext
45591 cat >>conftest.$ac_ext <<_ACEOF
45592 /* end confdefs.h. */
45593 #include <math.h>
45595 main ()
45597 _ceilf (0); _floorf (0);
45599 return 0;
45601 _ACEOF
45602 rm -f conftest.$ac_objext
45603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45604 (eval $ac_compile) 2>conftest.er1
45605 ac_status=$?
45606 grep -v '^ *+' conftest.er1 >conftest.err
45607 rm -f conftest.er1
45608 cat conftest.err >&5
45609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45610 (exit $ac_status); } &&
45611 { ac_try='test -z "$ac_cxx_werror_flag"
45612 || test ! -s conftest.err'
45613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45614 (eval $ac_try) 2>&5
45615 ac_status=$?
45616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45617 (exit $ac_status); }; } &&
45618 { ac_try='test -s conftest.$ac_objext'
45619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45620 (eval $ac_try) 2>&5
45621 ac_status=$?
45622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45623 (exit $ac_status); }; }; then
45624 glibcxx_cv_func__float_round_use=yes
45625 else
45626 echo "$as_me: failed program was:" >&5
45627 sed 's/^/| /' conftest.$ac_ext >&5
45629 glibcxx_cv_func__float_round_use=no
45631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45632 ac_ext=c
45633 ac_cpp='$CPP $CPPFLAGS'
45634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45640 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45641 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45642 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45645 for ac_func in _ceilf _floorf
45647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45648 echo "$as_me:$LINENO: checking for $ac_func" >&5
45649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45650 if eval "test \"\${$as_ac_var+set}\" = set"; then
45651 echo $ECHO_N "(cached) $ECHO_C" >&6
45652 else
45653 if test x$gcc_no_link = xyes; then
45654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45656 { (exit 1); exit 1; }; }
45658 cat >conftest.$ac_ext <<_ACEOF
45659 /* confdefs.h. */
45660 _ACEOF
45661 cat confdefs.h >>conftest.$ac_ext
45662 cat >>conftest.$ac_ext <<_ACEOF
45663 /* end confdefs.h. */
45664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45666 #define $ac_func innocuous_$ac_func
45668 /* System header to define __stub macros and hopefully few prototypes,
45669 which can conflict with char $ac_func (); below.
45670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45671 <limits.h> exists even on freestanding compilers. */
45673 #ifdef __STDC__
45674 # include <limits.h>
45675 #else
45676 # include <assert.h>
45677 #endif
45679 #undef $ac_func
45681 /* Override any gcc2 internal prototype to avoid an error. */
45682 #ifdef __cplusplus
45683 extern "C"
45685 #endif
45686 /* We use char because int might match the return type of a gcc2
45687 builtin and then its argument prototype would still apply. */
45688 char $ac_func ();
45689 /* The GNU C library defines this for functions which it implements
45690 to always fail with ENOSYS. Some functions are actually named
45691 something starting with __ and the normal name is an alias. */
45692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45693 choke me
45694 #else
45695 char (*f) () = $ac_func;
45696 #endif
45697 #ifdef __cplusplus
45699 #endif
45702 main ()
45704 return f != $ac_func;
45706 return 0;
45708 _ACEOF
45709 rm -f conftest.$ac_objext conftest$ac_exeext
45710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45711 (eval $ac_link) 2>conftest.er1
45712 ac_status=$?
45713 grep -v '^ *+' conftest.er1 >conftest.err
45714 rm -f conftest.er1
45715 cat conftest.err >&5
45716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717 (exit $ac_status); } &&
45718 { ac_try='test -z "$ac_c_werror_flag"
45719 || test ! -s conftest.err'
45720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45721 (eval $ac_try) 2>&5
45722 ac_status=$?
45723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45724 (exit $ac_status); }; } &&
45725 { ac_try='test -s conftest$ac_exeext'
45726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45727 (eval $ac_try) 2>&5
45728 ac_status=$?
45729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45730 (exit $ac_status); }; }; then
45731 eval "$as_ac_var=yes"
45732 else
45733 echo "$as_me: failed program was:" >&5
45734 sed 's/^/| /' conftest.$ac_ext >&5
45736 eval "$as_ac_var=no"
45738 rm -f conftest.err conftest.$ac_objext \
45739 conftest$ac_exeext conftest.$ac_ext
45741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45743 if test `eval echo '${'$as_ac_var'}'` = yes; then
45744 cat >>confdefs.h <<_ACEOF
45745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45746 _ACEOF
45749 done
45761 echo "$as_me:$LINENO: checking for expf declaration" >&5
45762 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45763 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45764 if test "${glibcxx_cv_func_expf_use+set}" = set; then
45765 echo $ECHO_N "(cached) $ECHO_C" >&6
45766 else
45770 ac_ext=cc
45771 ac_cpp='$CXXCPP $CPPFLAGS'
45772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45776 cat >conftest.$ac_ext <<_ACEOF
45777 /* confdefs.h. */
45778 _ACEOF
45779 cat confdefs.h >>conftest.$ac_ext
45780 cat >>conftest.$ac_ext <<_ACEOF
45781 /* end confdefs.h. */
45782 #include <math.h>
45783 #ifdef HAVE_IEEEFP_H
45784 #include <ieeefp.h>
45785 #endif
45788 main ()
45790 expf(0);
45792 return 0;
45794 _ACEOF
45795 rm -f conftest.$ac_objext
45796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45797 (eval $ac_compile) 2>conftest.er1
45798 ac_status=$?
45799 grep -v '^ *+' conftest.er1 >conftest.err
45800 rm -f conftest.er1
45801 cat conftest.err >&5
45802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45803 (exit $ac_status); } &&
45804 { ac_try='test -z "$ac_cxx_werror_flag"
45805 || test ! -s conftest.err'
45806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45807 (eval $ac_try) 2>&5
45808 ac_status=$?
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); }; } &&
45811 { ac_try='test -s conftest.$ac_objext'
45812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45813 (eval $ac_try) 2>&5
45814 ac_status=$?
45815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45816 (exit $ac_status); }; }; then
45817 glibcxx_cv_func_expf_use=yes
45818 else
45819 echo "$as_me: failed program was:" >&5
45820 sed 's/^/| /' conftest.$ac_ext >&5
45822 glibcxx_cv_func_expf_use=no
45824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45825 ac_ext=c
45826 ac_cpp='$CPP $CPPFLAGS'
45827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45835 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
45836 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
45838 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45840 for ac_func in expf
45842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45843 echo "$as_me:$LINENO: checking for $ac_func" >&5
45844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45845 if eval "test \"\${$as_ac_var+set}\" = set"; then
45846 echo $ECHO_N "(cached) $ECHO_C" >&6
45847 else
45848 if test x$gcc_no_link = xyes; then
45849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45851 { (exit 1); exit 1; }; }
45853 cat >conftest.$ac_ext <<_ACEOF
45854 /* confdefs.h. */
45855 _ACEOF
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h. */
45859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45861 #define $ac_func innocuous_$ac_func
45863 /* System header to define __stub macros and hopefully few prototypes,
45864 which can conflict with char $ac_func (); below.
45865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45866 <limits.h> exists even on freestanding compilers. */
45868 #ifdef __STDC__
45869 # include <limits.h>
45870 #else
45871 # include <assert.h>
45872 #endif
45874 #undef $ac_func
45876 /* Override any gcc2 internal prototype to avoid an error. */
45877 #ifdef __cplusplus
45878 extern "C"
45880 #endif
45881 /* We use char because int might match the return type of a gcc2
45882 builtin and then its argument prototype would still apply. */
45883 char $ac_func ();
45884 /* The GNU C library defines this for functions which it implements
45885 to always fail with ENOSYS. Some functions are actually named
45886 something starting with __ and the normal name is an alias. */
45887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45888 choke me
45889 #else
45890 char (*f) () = $ac_func;
45891 #endif
45892 #ifdef __cplusplus
45894 #endif
45897 main ()
45899 return f != $ac_func;
45901 return 0;
45903 _ACEOF
45904 rm -f conftest.$ac_objext conftest$ac_exeext
45905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45906 (eval $ac_link) 2>conftest.er1
45907 ac_status=$?
45908 grep -v '^ *+' conftest.er1 >conftest.err
45909 rm -f conftest.er1
45910 cat conftest.err >&5
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); } &&
45913 { ac_try='test -z "$ac_c_werror_flag"
45914 || test ! -s conftest.err'
45915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45916 (eval $ac_try) 2>&5
45917 ac_status=$?
45918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45919 (exit $ac_status); }; } &&
45920 { ac_try='test -s conftest$ac_exeext'
45921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45922 (eval $ac_try) 2>&5
45923 ac_status=$?
45924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925 (exit $ac_status); }; }; then
45926 eval "$as_ac_var=yes"
45927 else
45928 echo "$as_me: failed program was:" >&5
45929 sed 's/^/| /' conftest.$ac_ext >&5
45931 eval "$as_ac_var=no"
45933 rm -f conftest.err conftest.$ac_objext \
45934 conftest$ac_exeext conftest.$ac_ext
45936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45938 if test `eval echo '${'$as_ac_var'}'` = yes; then
45939 cat >>confdefs.h <<_ACEOF
45940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45941 _ACEOF
45944 done
45946 else
45948 echo "$as_me:$LINENO: checking for _expf declaration" >&5
45949 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
45950 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45951 if test "${glibcxx_cv_func__expf_use+set}" = set; then
45952 echo $ECHO_N "(cached) $ECHO_C" >&6
45953 else
45957 ac_ext=cc
45958 ac_cpp='$CXXCPP $CPPFLAGS'
45959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45963 cat >conftest.$ac_ext <<_ACEOF
45964 /* confdefs.h. */
45965 _ACEOF
45966 cat confdefs.h >>conftest.$ac_ext
45967 cat >>conftest.$ac_ext <<_ACEOF
45968 /* end confdefs.h. */
45969 #include <math.h>
45970 #ifdef HAVE_IEEEFP_H
45971 #include <ieeefp.h>
45972 #endif
45975 main ()
45977 _expf(0);
45979 return 0;
45981 _ACEOF
45982 rm -f conftest.$ac_objext
45983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45984 (eval $ac_compile) 2>conftest.er1
45985 ac_status=$?
45986 grep -v '^ *+' conftest.er1 >conftest.err
45987 rm -f conftest.er1
45988 cat conftest.err >&5
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); } &&
45991 { ac_try='test -z "$ac_cxx_werror_flag"
45992 || test ! -s conftest.err'
45993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45994 (eval $ac_try) 2>&5
45995 ac_status=$?
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); }; } &&
45998 { ac_try='test -s conftest.$ac_objext'
45999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46000 (eval $ac_try) 2>&5
46001 ac_status=$?
46002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46003 (exit $ac_status); }; }; then
46004 glibcxx_cv_func__expf_use=yes
46005 else
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46009 glibcxx_cv_func__expf_use=no
46011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46012 ac_ext=c
46013 ac_cpp='$CPP $CPPFLAGS'
46014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46023 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46025 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46027 for ac_func in _expf
46029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46030 echo "$as_me:$LINENO: checking for $ac_func" >&5
46031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46032 if eval "test \"\${$as_ac_var+set}\" = set"; then
46033 echo $ECHO_N "(cached) $ECHO_C" >&6
46034 else
46035 if test x$gcc_no_link = xyes; then
46036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46038 { (exit 1); exit 1; }; }
46040 cat >conftest.$ac_ext <<_ACEOF
46041 /* confdefs.h. */
46042 _ACEOF
46043 cat confdefs.h >>conftest.$ac_ext
46044 cat >>conftest.$ac_ext <<_ACEOF
46045 /* end confdefs.h. */
46046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46048 #define $ac_func innocuous_$ac_func
46050 /* System header to define __stub macros and hopefully few prototypes,
46051 which can conflict with char $ac_func (); below.
46052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46053 <limits.h> exists even on freestanding compilers. */
46055 #ifdef __STDC__
46056 # include <limits.h>
46057 #else
46058 # include <assert.h>
46059 #endif
46061 #undef $ac_func
46063 /* Override any gcc2 internal prototype to avoid an error. */
46064 #ifdef __cplusplus
46065 extern "C"
46067 #endif
46068 /* We use char because int might match the return type of a gcc2
46069 builtin and then its argument prototype would still apply. */
46070 char $ac_func ();
46071 /* The GNU C library defines this for functions which it implements
46072 to always fail with ENOSYS. Some functions are actually named
46073 something starting with __ and the normal name is an alias. */
46074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46075 choke me
46076 #else
46077 char (*f) () = $ac_func;
46078 #endif
46079 #ifdef __cplusplus
46081 #endif
46084 main ()
46086 return f != $ac_func;
46088 return 0;
46090 _ACEOF
46091 rm -f conftest.$ac_objext conftest$ac_exeext
46092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46093 (eval $ac_link) 2>conftest.er1
46094 ac_status=$?
46095 grep -v '^ *+' conftest.er1 >conftest.err
46096 rm -f conftest.er1
46097 cat conftest.err >&5
46098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46099 (exit $ac_status); } &&
46100 { ac_try='test -z "$ac_c_werror_flag"
46101 || test ! -s conftest.err'
46102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46103 (eval $ac_try) 2>&5
46104 ac_status=$?
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; } &&
46107 { ac_try='test -s conftest$ac_exeext'
46108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46109 (eval $ac_try) 2>&5
46110 ac_status=$?
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); }; }; then
46113 eval "$as_ac_var=yes"
46114 else
46115 echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.$ac_ext >&5
46118 eval "$as_ac_var=no"
46120 rm -f conftest.err conftest.$ac_objext \
46121 conftest$ac_exeext conftest.$ac_ext
46123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46125 if test `eval echo '${'$as_ac_var'}'` = yes; then
46126 cat >>confdefs.h <<_ACEOF
46127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46128 _ACEOF
46131 done
46141 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46142 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46143 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46144 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46145 echo $ECHO_N "(cached) $ECHO_C" >&6
46146 else
46150 ac_ext=cc
46151 ac_cpp='$CXXCPP $CPPFLAGS'
46152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46156 cat >conftest.$ac_ext <<_ACEOF
46157 /* confdefs.h. */
46158 _ACEOF
46159 cat confdefs.h >>conftest.$ac_ext
46160 cat >>conftest.$ac_ext <<_ACEOF
46161 /* end confdefs.h. */
46162 #include <math.h>
46163 #ifdef HAVE_IEEEFP_H
46164 #include <ieeefp.h>
46165 #endif
46168 main ()
46170 isnanf(0);
46172 return 0;
46174 _ACEOF
46175 rm -f conftest.$ac_objext
46176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46177 (eval $ac_compile) 2>conftest.er1
46178 ac_status=$?
46179 grep -v '^ *+' conftest.er1 >conftest.err
46180 rm -f conftest.er1
46181 cat conftest.err >&5
46182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183 (exit $ac_status); } &&
46184 { ac_try='test -z "$ac_cxx_werror_flag"
46185 || test ! -s conftest.err'
46186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46187 (eval $ac_try) 2>&5
46188 ac_status=$?
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); }; } &&
46191 { ac_try='test -s conftest.$ac_objext'
46192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193 (eval $ac_try) 2>&5
46194 ac_status=$?
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); }; }; then
46197 glibcxx_cv_func_isnanf_use=yes
46198 else
46199 echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46202 glibcxx_cv_func_isnanf_use=no
46204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46205 ac_ext=c
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46216 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46218 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46220 for ac_func in isnanf
46222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46223 echo "$as_me:$LINENO: checking for $ac_func" >&5
46224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46225 if eval "test \"\${$as_ac_var+set}\" = set"; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46228 if test x$gcc_no_link = xyes; then
46229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46231 { (exit 1); exit 1; }; }
46233 cat >conftest.$ac_ext <<_ACEOF
46234 /* confdefs.h. */
46235 _ACEOF
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46241 #define $ac_func innocuous_$ac_func
46243 /* System header to define __stub macros and hopefully few prototypes,
46244 which can conflict with char $ac_func (); below.
46245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46246 <limits.h> exists even on freestanding compilers. */
46248 #ifdef __STDC__
46249 # include <limits.h>
46250 #else
46251 # include <assert.h>
46252 #endif
46254 #undef $ac_func
46256 /* Override any gcc2 internal prototype to avoid an error. */
46257 #ifdef __cplusplus
46258 extern "C"
46260 #endif
46261 /* We use char because int might match the return type of a gcc2
46262 builtin and then its argument prototype would still apply. */
46263 char $ac_func ();
46264 /* The GNU C library defines this for functions which it implements
46265 to always fail with ENOSYS. Some functions are actually named
46266 something starting with __ and the normal name is an alias. */
46267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46268 choke me
46269 #else
46270 char (*f) () = $ac_func;
46271 #endif
46272 #ifdef __cplusplus
46274 #endif
46277 main ()
46279 return f != $ac_func;
46281 return 0;
46283 _ACEOF
46284 rm -f conftest.$ac_objext conftest$ac_exeext
46285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46286 (eval $ac_link) 2>conftest.er1
46287 ac_status=$?
46288 grep -v '^ *+' conftest.er1 >conftest.err
46289 rm -f conftest.er1
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } &&
46293 { ac_try='test -z "$ac_c_werror_flag"
46294 || test ! -s conftest.err'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; } &&
46300 { ac_try='test -s conftest$ac_exeext'
46301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46302 (eval $ac_try) 2>&5
46303 ac_status=$?
46304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46305 (exit $ac_status); }; }; then
46306 eval "$as_ac_var=yes"
46307 else
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.$ac_ext >&5
46311 eval "$as_ac_var=no"
46313 rm -f conftest.err conftest.$ac_objext \
46314 conftest$ac_exeext conftest.$ac_ext
46316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46318 if test `eval echo '${'$as_ac_var'}'` = yes; then
46319 cat >>confdefs.h <<_ACEOF
46320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46321 _ACEOF
46324 done
46326 else
46328 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46329 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46330 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46331 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46332 echo $ECHO_N "(cached) $ECHO_C" >&6
46333 else
46337 ac_ext=cc
46338 ac_cpp='$CXXCPP $CPPFLAGS'
46339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46343 cat >conftest.$ac_ext <<_ACEOF
46344 /* confdefs.h. */
46345 _ACEOF
46346 cat confdefs.h >>conftest.$ac_ext
46347 cat >>conftest.$ac_ext <<_ACEOF
46348 /* end confdefs.h. */
46349 #include <math.h>
46350 #ifdef HAVE_IEEEFP_H
46351 #include <ieeefp.h>
46352 #endif
46355 main ()
46357 _isnanf(0);
46359 return 0;
46361 _ACEOF
46362 rm -f conftest.$ac_objext
46363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46364 (eval $ac_compile) 2>conftest.er1
46365 ac_status=$?
46366 grep -v '^ *+' conftest.er1 >conftest.err
46367 rm -f conftest.er1
46368 cat conftest.err >&5
46369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46370 (exit $ac_status); } &&
46371 { ac_try='test -z "$ac_cxx_werror_flag"
46372 || test ! -s conftest.err'
46373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46374 (eval $ac_try) 2>&5
46375 ac_status=$?
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); }; } &&
46378 { ac_try='test -s conftest.$ac_objext'
46379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46380 (eval $ac_try) 2>&5
46381 ac_status=$?
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); }; }; then
46384 glibcxx_cv_func__isnanf_use=yes
46385 else
46386 echo "$as_me: failed program was:" >&5
46387 sed 's/^/| /' conftest.$ac_ext >&5
46389 glibcxx_cv_func__isnanf_use=no
46391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46392 ac_ext=c
46393 ac_cpp='$CPP $CPPFLAGS'
46394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46403 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46405 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46407 for ac_func in _isnanf
46409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46410 echo "$as_me:$LINENO: checking for $ac_func" >&5
46411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46412 if eval "test \"\${$as_ac_var+set}\" = set"; then
46413 echo $ECHO_N "(cached) $ECHO_C" >&6
46414 else
46415 if test x$gcc_no_link = xyes; then
46416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46418 { (exit 1); exit 1; }; }
46420 cat >conftest.$ac_ext <<_ACEOF
46421 /* confdefs.h. */
46422 _ACEOF
46423 cat confdefs.h >>conftest.$ac_ext
46424 cat >>conftest.$ac_ext <<_ACEOF
46425 /* end confdefs.h. */
46426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46428 #define $ac_func innocuous_$ac_func
46430 /* System header to define __stub macros and hopefully few prototypes,
46431 which can conflict with char $ac_func (); below.
46432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46433 <limits.h> exists even on freestanding compilers. */
46435 #ifdef __STDC__
46436 # include <limits.h>
46437 #else
46438 # include <assert.h>
46439 #endif
46441 #undef $ac_func
46443 /* Override any gcc2 internal prototype to avoid an error. */
46444 #ifdef __cplusplus
46445 extern "C"
46447 #endif
46448 /* We use char because int might match the return type of a gcc2
46449 builtin and then its argument prototype would still apply. */
46450 char $ac_func ();
46451 /* The GNU C library defines this for functions which it implements
46452 to always fail with ENOSYS. Some functions are actually named
46453 something starting with __ and the normal name is an alias. */
46454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46455 choke me
46456 #else
46457 char (*f) () = $ac_func;
46458 #endif
46459 #ifdef __cplusplus
46461 #endif
46464 main ()
46466 return f != $ac_func;
46468 return 0;
46470 _ACEOF
46471 rm -f conftest.$ac_objext conftest$ac_exeext
46472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46473 (eval $ac_link) 2>conftest.er1
46474 ac_status=$?
46475 grep -v '^ *+' conftest.er1 >conftest.err
46476 rm -f conftest.er1
46477 cat conftest.err >&5
46478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46479 (exit $ac_status); } &&
46480 { ac_try='test -z "$ac_c_werror_flag"
46481 || test ! -s conftest.err'
46482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46483 (eval $ac_try) 2>&5
46484 ac_status=$?
46485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486 (exit $ac_status); }; } &&
46487 { ac_try='test -s conftest$ac_exeext'
46488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46489 (eval $ac_try) 2>&5
46490 ac_status=$?
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); }; }; then
46493 eval "$as_ac_var=yes"
46494 else
46495 echo "$as_me: failed program was:" >&5
46496 sed 's/^/| /' conftest.$ac_ext >&5
46498 eval "$as_ac_var=no"
46500 rm -f conftest.err conftest.$ac_objext \
46501 conftest$ac_exeext conftest.$ac_ext
46503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46505 if test `eval echo '${'$as_ac_var'}'` = yes; then
46506 cat >>confdefs.h <<_ACEOF
46507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46508 _ACEOF
46511 done
46521 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46522 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46523 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46524 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46525 echo $ECHO_N "(cached) $ECHO_C" >&6
46526 else
46530 ac_ext=cc
46531 ac_cpp='$CXXCPP $CPPFLAGS'
46532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46536 cat >conftest.$ac_ext <<_ACEOF
46537 /* confdefs.h. */
46538 _ACEOF
46539 cat confdefs.h >>conftest.$ac_ext
46540 cat >>conftest.$ac_ext <<_ACEOF
46541 /* end confdefs.h. */
46542 #include <math.h>
46543 #ifdef HAVE_IEEEFP_H
46544 #include <ieeefp.h>
46545 #endif
46548 main ()
46550 isinff(0);
46552 return 0;
46554 _ACEOF
46555 rm -f conftest.$ac_objext
46556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46557 (eval $ac_compile) 2>conftest.er1
46558 ac_status=$?
46559 grep -v '^ *+' conftest.er1 >conftest.err
46560 rm -f conftest.er1
46561 cat conftest.err >&5
46562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563 (exit $ac_status); } &&
46564 { ac_try='test -z "$ac_cxx_werror_flag"
46565 || test ! -s conftest.err'
46566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46567 (eval $ac_try) 2>&5
46568 ac_status=$?
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); }; } &&
46571 { ac_try='test -s conftest.$ac_objext'
46572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46573 (eval $ac_try) 2>&5
46574 ac_status=$?
46575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46576 (exit $ac_status); }; }; then
46577 glibcxx_cv_func_isinff_use=yes
46578 else
46579 echo "$as_me: failed program was:" >&5
46580 sed 's/^/| /' conftest.$ac_ext >&5
46582 glibcxx_cv_func_isinff_use=no
46584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46585 ac_ext=c
46586 ac_cpp='$CPP $CPPFLAGS'
46587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46596 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46598 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46600 for ac_func in isinff
46602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46603 echo "$as_me:$LINENO: checking for $ac_func" >&5
46604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46605 if eval "test \"\${$as_ac_var+set}\" = set"; then
46606 echo $ECHO_N "(cached) $ECHO_C" >&6
46607 else
46608 if test x$gcc_no_link = xyes; then
46609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46611 { (exit 1); exit 1; }; }
46613 cat >conftest.$ac_ext <<_ACEOF
46614 /* confdefs.h. */
46615 _ACEOF
46616 cat confdefs.h >>conftest.$ac_ext
46617 cat >>conftest.$ac_ext <<_ACEOF
46618 /* end confdefs.h. */
46619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46621 #define $ac_func innocuous_$ac_func
46623 /* System header to define __stub macros and hopefully few prototypes,
46624 which can conflict with char $ac_func (); below.
46625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46626 <limits.h> exists even on freestanding compilers. */
46628 #ifdef __STDC__
46629 # include <limits.h>
46630 #else
46631 # include <assert.h>
46632 #endif
46634 #undef $ac_func
46636 /* Override any gcc2 internal prototype to avoid an error. */
46637 #ifdef __cplusplus
46638 extern "C"
46640 #endif
46641 /* We use char because int might match the return type of a gcc2
46642 builtin and then its argument prototype would still apply. */
46643 char $ac_func ();
46644 /* The GNU C library defines this for functions which it implements
46645 to always fail with ENOSYS. Some functions are actually named
46646 something starting with __ and the normal name is an alias. */
46647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46648 choke me
46649 #else
46650 char (*f) () = $ac_func;
46651 #endif
46652 #ifdef __cplusplus
46654 #endif
46657 main ()
46659 return f != $ac_func;
46661 return 0;
46663 _ACEOF
46664 rm -f conftest.$ac_objext conftest$ac_exeext
46665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46666 (eval $ac_link) 2>conftest.er1
46667 ac_status=$?
46668 grep -v '^ *+' conftest.er1 >conftest.err
46669 rm -f conftest.er1
46670 cat conftest.err >&5
46671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46672 (exit $ac_status); } &&
46673 { ac_try='test -z "$ac_c_werror_flag"
46674 || test ! -s conftest.err'
46675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46676 (eval $ac_try) 2>&5
46677 ac_status=$?
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); }; } &&
46680 { ac_try='test -s conftest$ac_exeext'
46681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46682 (eval $ac_try) 2>&5
46683 ac_status=$?
46684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46685 (exit $ac_status); }; }; then
46686 eval "$as_ac_var=yes"
46687 else
46688 echo "$as_me: failed program was:" >&5
46689 sed 's/^/| /' conftest.$ac_ext >&5
46691 eval "$as_ac_var=no"
46693 rm -f conftest.err conftest.$ac_objext \
46694 conftest$ac_exeext conftest.$ac_ext
46696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46698 if test `eval echo '${'$as_ac_var'}'` = yes; then
46699 cat >>confdefs.h <<_ACEOF
46700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46701 _ACEOF
46704 done
46706 else
46708 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46709 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46710 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46711 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46712 echo $ECHO_N "(cached) $ECHO_C" >&6
46713 else
46717 ac_ext=cc
46718 ac_cpp='$CXXCPP $CPPFLAGS'
46719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46723 cat >conftest.$ac_ext <<_ACEOF
46724 /* confdefs.h. */
46725 _ACEOF
46726 cat confdefs.h >>conftest.$ac_ext
46727 cat >>conftest.$ac_ext <<_ACEOF
46728 /* end confdefs.h. */
46729 #include <math.h>
46730 #ifdef HAVE_IEEEFP_H
46731 #include <ieeefp.h>
46732 #endif
46735 main ()
46737 _isinff(0);
46739 return 0;
46741 _ACEOF
46742 rm -f conftest.$ac_objext
46743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46744 (eval $ac_compile) 2>conftest.er1
46745 ac_status=$?
46746 grep -v '^ *+' conftest.er1 >conftest.err
46747 rm -f conftest.er1
46748 cat conftest.err >&5
46749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46750 (exit $ac_status); } &&
46751 { ac_try='test -z "$ac_cxx_werror_flag"
46752 || test ! -s conftest.err'
46753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46754 (eval $ac_try) 2>&5
46755 ac_status=$?
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); }; } &&
46758 { ac_try='test -s conftest.$ac_objext'
46759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46760 (eval $ac_try) 2>&5
46761 ac_status=$?
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); }; }; then
46764 glibcxx_cv_func__isinff_use=yes
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46769 glibcxx_cv_func__isinff_use=no
46771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46772 ac_ext=c
46773 ac_cpp='$CPP $CPPFLAGS'
46774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
46783 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
46785 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46787 for ac_func in _isinff
46789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46790 echo "$as_me:$LINENO: checking for $ac_func" >&5
46791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46792 if eval "test \"\${$as_ac_var+set}\" = set"; then
46793 echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46795 if test x$gcc_no_link = xyes; then
46796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46798 { (exit 1); exit 1; }; }
46800 cat >conftest.$ac_ext <<_ACEOF
46801 /* confdefs.h. */
46802 _ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h. */
46806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46808 #define $ac_func innocuous_$ac_func
46810 /* System header to define __stub macros and hopefully few prototypes,
46811 which can conflict with char $ac_func (); below.
46812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46813 <limits.h> exists even on freestanding compilers. */
46815 #ifdef __STDC__
46816 # include <limits.h>
46817 #else
46818 # include <assert.h>
46819 #endif
46821 #undef $ac_func
46823 /* Override any gcc2 internal prototype to avoid an error. */
46824 #ifdef __cplusplus
46825 extern "C"
46827 #endif
46828 /* We use char because int might match the return type of a gcc2
46829 builtin and then its argument prototype would still apply. */
46830 char $ac_func ();
46831 /* The GNU C library defines this for functions which it implements
46832 to always fail with ENOSYS. Some functions are actually named
46833 something starting with __ and the normal name is an alias. */
46834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46835 choke me
46836 #else
46837 char (*f) () = $ac_func;
46838 #endif
46839 #ifdef __cplusplus
46841 #endif
46844 main ()
46846 return f != $ac_func;
46848 return 0;
46850 _ACEOF
46851 rm -f conftest.$ac_objext conftest$ac_exeext
46852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46853 (eval $ac_link) 2>conftest.er1
46854 ac_status=$?
46855 grep -v '^ *+' conftest.er1 >conftest.err
46856 rm -f conftest.er1
46857 cat conftest.err >&5
46858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46859 (exit $ac_status); } &&
46860 { ac_try='test -z "$ac_c_werror_flag"
46861 || test ! -s conftest.err'
46862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46863 (eval $ac_try) 2>&5
46864 ac_status=$?
46865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46866 (exit $ac_status); }; } &&
46867 { ac_try='test -s conftest$ac_exeext'
46868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46869 (eval $ac_try) 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; }; then
46873 eval "$as_ac_var=yes"
46874 else
46875 echo "$as_me: failed program was:" >&5
46876 sed 's/^/| /' conftest.$ac_ext >&5
46878 eval "$as_ac_var=no"
46880 rm -f conftest.err conftest.$ac_objext \
46881 conftest$ac_exeext conftest.$ac_ext
46883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46885 if test `eval echo '${'$as_ac_var'}'` = yes; then
46886 cat >>confdefs.h <<_ACEOF
46887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46888 _ACEOF
46891 done
46901 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
46902 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
46903 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46904 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 else
46910 ac_ext=cc
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat >conftest.$ac_ext <<_ACEOF
46917 /* confdefs.h. */
46918 _ACEOF
46919 cat confdefs.h >>conftest.$ac_ext
46920 cat >>conftest.$ac_ext <<_ACEOF
46921 /* end confdefs.h. */
46922 #include <math.h>
46924 main ()
46926 atan2f(0, 0);
46928 return 0;
46930 _ACEOF
46931 rm -f conftest.$ac_objext
46932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46933 (eval $ac_compile) 2>conftest.er1
46934 ac_status=$?
46935 grep -v '^ *+' conftest.er1 >conftest.err
46936 rm -f conftest.er1
46937 cat conftest.err >&5
46938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46939 (exit $ac_status); } &&
46940 { ac_try='test -z "$ac_cxx_werror_flag"
46941 || test ! -s conftest.err'
46942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46943 (eval $ac_try) 2>&5
46944 ac_status=$?
46945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946 (exit $ac_status); }; } &&
46947 { ac_try='test -s conftest.$ac_objext'
46948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46949 (eval $ac_try) 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; }; then
46953 glibcxx_cv_func_atan2f_use=yes
46954 else
46955 echo "$as_me: failed program was:" >&5
46956 sed 's/^/| /' conftest.$ac_ext >&5
46958 glibcxx_cv_func_atan2f_use=no
46960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46961 ac_ext=c
46962 ac_cpp='$CPP $CPPFLAGS'
46963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
46972 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
46974 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46976 for ac_func in atan2f
46978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46979 echo "$as_me:$LINENO: checking for $ac_func" >&5
46980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46981 if eval "test \"\${$as_ac_var+set}\" = set"; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46983 else
46984 if test x$gcc_no_link = xyes; then
46985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46987 { (exit 1); exit 1; }; }
46989 cat >conftest.$ac_ext <<_ACEOF
46990 /* confdefs.h. */
46991 _ACEOF
46992 cat confdefs.h >>conftest.$ac_ext
46993 cat >>conftest.$ac_ext <<_ACEOF
46994 /* end confdefs.h. */
46995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46997 #define $ac_func innocuous_$ac_func
46999 /* System header to define __stub macros and hopefully few prototypes,
47000 which can conflict with char $ac_func (); below.
47001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47002 <limits.h> exists even on freestanding compilers. */
47004 #ifdef __STDC__
47005 # include <limits.h>
47006 #else
47007 # include <assert.h>
47008 #endif
47010 #undef $ac_func
47012 /* Override any gcc2 internal prototype to avoid an error. */
47013 #ifdef __cplusplus
47014 extern "C"
47016 #endif
47017 /* We use char because int might match the return type of a gcc2
47018 builtin and then its argument prototype would still apply. */
47019 char $ac_func ();
47020 /* The GNU C library defines this for functions which it implements
47021 to always fail with ENOSYS. Some functions are actually named
47022 something starting with __ and the normal name is an alias. */
47023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47024 choke me
47025 #else
47026 char (*f) () = $ac_func;
47027 #endif
47028 #ifdef __cplusplus
47030 #endif
47033 main ()
47035 return f != $ac_func;
47037 return 0;
47039 _ACEOF
47040 rm -f conftest.$ac_objext conftest$ac_exeext
47041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47042 (eval $ac_link) 2>conftest.er1
47043 ac_status=$?
47044 grep -v '^ *+' conftest.er1 >conftest.err
47045 rm -f conftest.er1
47046 cat conftest.err >&5
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); } &&
47049 { ac_try='test -z "$ac_c_werror_flag"
47050 || test ! -s conftest.err'
47051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47052 (eval $ac_try) 2>&5
47053 ac_status=$?
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; } &&
47056 { ac_try='test -s conftest$ac_exeext'
47057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47058 (eval $ac_try) 2>&5
47059 ac_status=$?
47060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47061 (exit $ac_status); }; }; then
47062 eval "$as_ac_var=yes"
47063 else
47064 echo "$as_me: failed program was:" >&5
47065 sed 's/^/| /' conftest.$ac_ext >&5
47067 eval "$as_ac_var=no"
47069 rm -f conftest.err conftest.$ac_objext \
47070 conftest$ac_exeext conftest.$ac_ext
47072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47074 if test `eval echo '${'$as_ac_var'}'` = yes; then
47075 cat >>confdefs.h <<_ACEOF
47076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47077 _ACEOF
47080 done
47082 else
47084 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47085 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47086 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47087 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47088 echo $ECHO_N "(cached) $ECHO_C" >&6
47089 else
47093 ac_ext=cc
47094 ac_cpp='$CXXCPP $CPPFLAGS'
47095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099 cat >conftest.$ac_ext <<_ACEOF
47100 /* confdefs.h. */
47101 _ACEOF
47102 cat confdefs.h >>conftest.$ac_ext
47103 cat >>conftest.$ac_ext <<_ACEOF
47104 /* end confdefs.h. */
47105 #include <math.h>
47107 main ()
47109 _atan2f(0, 0);
47111 return 0;
47113 _ACEOF
47114 rm -f conftest.$ac_objext
47115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47116 (eval $ac_compile) 2>conftest.er1
47117 ac_status=$?
47118 grep -v '^ *+' conftest.er1 >conftest.err
47119 rm -f conftest.er1
47120 cat conftest.err >&5
47121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47122 (exit $ac_status); } &&
47123 { ac_try='test -z "$ac_cxx_werror_flag"
47124 || test ! -s conftest.err'
47125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47126 (eval $ac_try) 2>&5
47127 ac_status=$?
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); }; } &&
47130 { ac_try='test -s conftest.$ac_objext'
47131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47132 (eval $ac_try) 2>&5
47133 ac_status=$?
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; }; then
47136 glibcxx_cv_func__atan2f_use=yes
47137 else
47138 echo "$as_me: failed program was:" >&5
47139 sed 's/^/| /' conftest.$ac_ext >&5
47141 glibcxx_cv_func__atan2f_use=no
47143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47144 ac_ext=c
47145 ac_cpp='$CPP $CPPFLAGS'
47146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47155 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47157 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47159 for ac_func in _atan2f
47161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47162 echo "$as_me:$LINENO: checking for $ac_func" >&5
47163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47164 if eval "test \"\${$as_ac_var+set}\" = set"; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47166 else
47167 if test x$gcc_no_link = xyes; then
47168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47170 { (exit 1); exit 1; }; }
47172 cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h. */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47180 #define $ac_func innocuous_$ac_func
47182 /* System header to define __stub macros and hopefully few prototypes,
47183 which can conflict with char $ac_func (); below.
47184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47185 <limits.h> exists even on freestanding compilers. */
47187 #ifdef __STDC__
47188 # include <limits.h>
47189 #else
47190 # include <assert.h>
47191 #endif
47193 #undef $ac_func
47195 /* Override any gcc2 internal prototype to avoid an error. */
47196 #ifdef __cplusplus
47197 extern "C"
47199 #endif
47200 /* We use char because int might match the return type of a gcc2
47201 builtin and then its argument prototype would still apply. */
47202 char $ac_func ();
47203 /* The GNU C library defines this for functions which it implements
47204 to always fail with ENOSYS. Some functions are actually named
47205 something starting with __ and the normal name is an alias. */
47206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47207 choke me
47208 #else
47209 char (*f) () = $ac_func;
47210 #endif
47211 #ifdef __cplusplus
47213 #endif
47216 main ()
47218 return f != $ac_func;
47220 return 0;
47222 _ACEOF
47223 rm -f conftest.$ac_objext conftest$ac_exeext
47224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47225 (eval $ac_link) 2>conftest.er1
47226 ac_status=$?
47227 grep -v '^ *+' conftest.er1 >conftest.err
47228 rm -f conftest.er1
47229 cat conftest.err >&5
47230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47231 (exit $ac_status); } &&
47232 { ac_try='test -z "$ac_c_werror_flag"
47233 || test ! -s conftest.err'
47234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47235 (eval $ac_try) 2>&5
47236 ac_status=$?
47237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47238 (exit $ac_status); }; } &&
47239 { ac_try='test -s conftest$ac_exeext'
47240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47241 (eval $ac_try) 2>&5
47242 ac_status=$?
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); }; }; then
47245 eval "$as_ac_var=yes"
47246 else
47247 echo "$as_me: failed program was:" >&5
47248 sed 's/^/| /' conftest.$ac_ext >&5
47250 eval "$as_ac_var=no"
47252 rm -f conftest.err conftest.$ac_objext \
47253 conftest$ac_exeext conftest.$ac_ext
47255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47257 if test `eval echo '${'$as_ac_var'}'` = yes; then
47258 cat >>confdefs.h <<_ACEOF
47259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47260 _ACEOF
47263 done
47273 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47274 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47275 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47276 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47277 echo $ECHO_N "(cached) $ECHO_C" >&6
47278 else
47282 ac_ext=cc
47283 ac_cpp='$CXXCPP $CPPFLAGS'
47284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47288 cat >conftest.$ac_ext <<_ACEOF
47289 /* confdefs.h. */
47290 _ACEOF
47291 cat confdefs.h >>conftest.$ac_ext
47292 cat >>conftest.$ac_ext <<_ACEOF
47293 /* end confdefs.h. */
47294 #include <math.h>
47295 #ifdef HAVE_IEEEFP_H
47296 #include <ieeefp.h>
47297 #endif
47300 main ()
47302 fabsf(0);
47304 return 0;
47306 _ACEOF
47307 rm -f conftest.$ac_objext
47308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47309 (eval $ac_compile) 2>conftest.er1
47310 ac_status=$?
47311 grep -v '^ *+' conftest.er1 >conftest.err
47312 rm -f conftest.er1
47313 cat conftest.err >&5
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); } &&
47316 { ac_try='test -z "$ac_cxx_werror_flag"
47317 || test ! -s conftest.err'
47318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47319 (eval $ac_try) 2>&5
47320 ac_status=$?
47321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47322 (exit $ac_status); }; } &&
47323 { ac_try='test -s conftest.$ac_objext'
47324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47325 (eval $ac_try) 2>&5
47326 ac_status=$?
47327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47328 (exit $ac_status); }; }; then
47329 glibcxx_cv_func_fabsf_use=yes
47330 else
47331 echo "$as_me: failed program was:" >&5
47332 sed 's/^/| /' conftest.$ac_ext >&5
47334 glibcxx_cv_func_fabsf_use=no
47336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47337 ac_ext=c
47338 ac_cpp='$CPP $CPPFLAGS'
47339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47347 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47348 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47350 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47352 for ac_func in fabsf
47354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47355 echo "$as_me:$LINENO: checking for $ac_func" >&5
47356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47357 if eval "test \"\${$as_ac_var+set}\" = set"; then
47358 echo $ECHO_N "(cached) $ECHO_C" >&6
47359 else
47360 if test x$gcc_no_link = xyes; then
47361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47363 { (exit 1); exit 1; }; }
47365 cat >conftest.$ac_ext <<_ACEOF
47366 /* confdefs.h. */
47367 _ACEOF
47368 cat confdefs.h >>conftest.$ac_ext
47369 cat >>conftest.$ac_ext <<_ACEOF
47370 /* end confdefs.h. */
47371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47373 #define $ac_func innocuous_$ac_func
47375 /* System header to define __stub macros and hopefully few prototypes,
47376 which can conflict with char $ac_func (); below.
47377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47378 <limits.h> exists even on freestanding compilers. */
47380 #ifdef __STDC__
47381 # include <limits.h>
47382 #else
47383 # include <assert.h>
47384 #endif
47386 #undef $ac_func
47388 /* Override any gcc2 internal prototype to avoid an error. */
47389 #ifdef __cplusplus
47390 extern "C"
47392 #endif
47393 /* We use char because int might match the return type of a gcc2
47394 builtin and then its argument prototype would still apply. */
47395 char $ac_func ();
47396 /* The GNU C library defines this for functions which it implements
47397 to always fail with ENOSYS. Some functions are actually named
47398 something starting with __ and the normal name is an alias. */
47399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47400 choke me
47401 #else
47402 char (*f) () = $ac_func;
47403 #endif
47404 #ifdef __cplusplus
47406 #endif
47409 main ()
47411 return f != $ac_func;
47413 return 0;
47415 _ACEOF
47416 rm -f conftest.$ac_objext conftest$ac_exeext
47417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47418 (eval $ac_link) 2>conftest.er1
47419 ac_status=$?
47420 grep -v '^ *+' conftest.er1 >conftest.err
47421 rm -f conftest.er1
47422 cat conftest.err >&5
47423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47424 (exit $ac_status); } &&
47425 { ac_try='test -z "$ac_c_werror_flag"
47426 || test ! -s conftest.err'
47427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47428 (eval $ac_try) 2>&5
47429 ac_status=$?
47430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47431 (exit $ac_status); }; } &&
47432 { ac_try='test -s conftest$ac_exeext'
47433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47434 (eval $ac_try) 2>&5
47435 ac_status=$?
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; }; then
47438 eval "$as_ac_var=yes"
47439 else
47440 echo "$as_me: failed program was:" >&5
47441 sed 's/^/| /' conftest.$ac_ext >&5
47443 eval "$as_ac_var=no"
47445 rm -f conftest.err conftest.$ac_objext \
47446 conftest$ac_exeext conftest.$ac_ext
47448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47450 if test `eval echo '${'$as_ac_var'}'` = yes; then
47451 cat >>confdefs.h <<_ACEOF
47452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47453 _ACEOF
47456 done
47458 else
47460 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47461 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47462 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47463 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47464 echo $ECHO_N "(cached) $ECHO_C" >&6
47465 else
47469 ac_ext=cc
47470 ac_cpp='$CXXCPP $CPPFLAGS'
47471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47475 cat >conftest.$ac_ext <<_ACEOF
47476 /* confdefs.h. */
47477 _ACEOF
47478 cat confdefs.h >>conftest.$ac_ext
47479 cat >>conftest.$ac_ext <<_ACEOF
47480 /* end confdefs.h. */
47481 #include <math.h>
47482 #ifdef HAVE_IEEEFP_H
47483 #include <ieeefp.h>
47484 #endif
47487 main ()
47489 _fabsf(0);
47491 return 0;
47493 _ACEOF
47494 rm -f conftest.$ac_objext
47495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47496 (eval $ac_compile) 2>conftest.er1
47497 ac_status=$?
47498 grep -v '^ *+' conftest.er1 >conftest.err
47499 rm -f conftest.er1
47500 cat conftest.err >&5
47501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502 (exit $ac_status); } &&
47503 { ac_try='test -z "$ac_cxx_werror_flag"
47504 || test ! -s conftest.err'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; } &&
47510 { ac_try='test -s conftest.$ac_objext'
47511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47512 (eval $ac_try) 2>&5
47513 ac_status=$?
47514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47515 (exit $ac_status); }; }; then
47516 glibcxx_cv_func__fabsf_use=yes
47517 else
47518 echo "$as_me: failed program was:" >&5
47519 sed 's/^/| /' conftest.$ac_ext >&5
47521 glibcxx_cv_func__fabsf_use=no
47523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_ext=c
47525 ac_cpp='$CPP $CPPFLAGS'
47526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47535 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47537 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47539 for ac_func in _fabsf
47541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47542 echo "$as_me:$LINENO: checking for $ac_func" >&5
47543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47544 if eval "test \"\${$as_ac_var+set}\" = set"; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 else
47547 if test x$gcc_no_link = xyes; then
47548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47550 { (exit 1); exit 1; }; }
47552 cat >conftest.$ac_ext <<_ACEOF
47553 /* confdefs.h. */
47554 _ACEOF
47555 cat confdefs.h >>conftest.$ac_ext
47556 cat >>conftest.$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47560 #define $ac_func innocuous_$ac_func
47562 /* System header to define __stub macros and hopefully few prototypes,
47563 which can conflict with char $ac_func (); below.
47564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47565 <limits.h> exists even on freestanding compilers. */
47567 #ifdef __STDC__
47568 # include <limits.h>
47569 #else
47570 # include <assert.h>
47571 #endif
47573 #undef $ac_func
47575 /* Override any gcc2 internal prototype to avoid an error. */
47576 #ifdef __cplusplus
47577 extern "C"
47579 #endif
47580 /* We use char because int might match the return type of a gcc2
47581 builtin and then its argument prototype would still apply. */
47582 char $ac_func ();
47583 /* The GNU C library defines this for functions which it implements
47584 to always fail with ENOSYS. Some functions are actually named
47585 something starting with __ and the normal name is an alias. */
47586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47587 choke me
47588 #else
47589 char (*f) () = $ac_func;
47590 #endif
47591 #ifdef __cplusplus
47593 #endif
47596 main ()
47598 return f != $ac_func;
47600 return 0;
47602 _ACEOF
47603 rm -f conftest.$ac_objext conftest$ac_exeext
47604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47605 (eval $ac_link) 2>conftest.er1
47606 ac_status=$?
47607 grep -v '^ *+' conftest.er1 >conftest.err
47608 rm -f conftest.er1
47609 cat conftest.err >&5
47610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47611 (exit $ac_status); } &&
47612 { ac_try='test -z "$ac_c_werror_flag"
47613 || test ! -s conftest.err'
47614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47615 (eval $ac_try) 2>&5
47616 ac_status=$?
47617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47618 (exit $ac_status); }; } &&
47619 { ac_try='test -s conftest$ac_exeext'
47620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47621 (eval $ac_try) 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; }; then
47625 eval "$as_ac_var=yes"
47626 else
47627 echo "$as_me: failed program was:" >&5
47628 sed 's/^/| /' conftest.$ac_ext >&5
47630 eval "$as_ac_var=no"
47632 rm -f conftest.err conftest.$ac_objext \
47633 conftest$ac_exeext conftest.$ac_ext
47635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47637 if test `eval echo '${'$as_ac_var'}'` = yes; then
47638 cat >>confdefs.h <<_ACEOF
47639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47640 _ACEOF
47643 done
47653 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47654 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47655 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47656 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47657 echo $ECHO_N "(cached) $ECHO_C" >&6
47658 else
47662 ac_ext=cc
47663 ac_cpp='$CXXCPP $CPPFLAGS'
47664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47668 cat >conftest.$ac_ext <<_ACEOF
47669 /* confdefs.h. */
47670 _ACEOF
47671 cat confdefs.h >>conftest.$ac_ext
47672 cat >>conftest.$ac_ext <<_ACEOF
47673 /* end confdefs.h. */
47674 #include <math.h>
47676 main ()
47678 fmodf(0, 0);
47680 return 0;
47682 _ACEOF
47683 rm -f conftest.$ac_objext
47684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47685 (eval $ac_compile) 2>conftest.er1
47686 ac_status=$?
47687 grep -v '^ *+' conftest.er1 >conftest.err
47688 rm -f conftest.er1
47689 cat conftest.err >&5
47690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47691 (exit $ac_status); } &&
47692 { ac_try='test -z "$ac_cxx_werror_flag"
47693 || test ! -s conftest.err'
47694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47695 (eval $ac_try) 2>&5
47696 ac_status=$?
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); }; } &&
47699 { ac_try='test -s conftest.$ac_objext'
47700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47701 (eval $ac_try) 2>&5
47702 ac_status=$?
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); }; }; then
47705 glibcxx_cv_func_fmodf_use=yes
47706 else
47707 echo "$as_me: failed program was:" >&5
47708 sed 's/^/| /' conftest.$ac_ext >&5
47710 glibcxx_cv_func_fmodf_use=no
47712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47713 ac_ext=c
47714 ac_cpp='$CPP $CPPFLAGS'
47715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47724 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47726 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47728 for ac_func in fmodf
47730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47731 echo "$as_me:$LINENO: checking for $ac_func" >&5
47732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47733 if eval "test \"\${$as_ac_var+set}\" = set"; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 else
47736 if test x$gcc_no_link = xyes; then
47737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47739 { (exit 1); exit 1; }; }
47741 cat >conftest.$ac_ext <<_ACEOF
47742 /* confdefs.h. */
47743 _ACEOF
47744 cat confdefs.h >>conftest.$ac_ext
47745 cat >>conftest.$ac_ext <<_ACEOF
47746 /* end confdefs.h. */
47747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47749 #define $ac_func innocuous_$ac_func
47751 /* System header to define __stub macros and hopefully few prototypes,
47752 which can conflict with char $ac_func (); below.
47753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47754 <limits.h> exists even on freestanding compilers. */
47756 #ifdef __STDC__
47757 # include <limits.h>
47758 #else
47759 # include <assert.h>
47760 #endif
47762 #undef $ac_func
47764 /* Override any gcc2 internal prototype to avoid an error. */
47765 #ifdef __cplusplus
47766 extern "C"
47768 #endif
47769 /* We use char because int might match the return type of a gcc2
47770 builtin and then its argument prototype would still apply. */
47771 char $ac_func ();
47772 /* The GNU C library defines this for functions which it implements
47773 to always fail with ENOSYS. Some functions are actually named
47774 something starting with __ and the normal name is an alias. */
47775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47776 choke me
47777 #else
47778 char (*f) () = $ac_func;
47779 #endif
47780 #ifdef __cplusplus
47782 #endif
47785 main ()
47787 return f != $ac_func;
47789 return 0;
47791 _ACEOF
47792 rm -f conftest.$ac_objext conftest$ac_exeext
47793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47794 (eval $ac_link) 2>conftest.er1
47795 ac_status=$?
47796 grep -v '^ *+' conftest.er1 >conftest.err
47797 rm -f conftest.er1
47798 cat conftest.err >&5
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); } &&
47801 { ac_try='test -z "$ac_c_werror_flag"
47802 || test ! -s conftest.err'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47805 ac_status=$?
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; } &&
47808 { ac_try='test -s conftest$ac_exeext'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47811 ac_status=$?
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; }; then
47814 eval "$as_ac_var=yes"
47815 else
47816 echo "$as_me: failed program was:" >&5
47817 sed 's/^/| /' conftest.$ac_ext >&5
47819 eval "$as_ac_var=no"
47821 rm -f conftest.err conftest.$ac_objext \
47822 conftest$ac_exeext conftest.$ac_ext
47824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47826 if test `eval echo '${'$as_ac_var'}'` = yes; then
47827 cat >>confdefs.h <<_ACEOF
47828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47829 _ACEOF
47832 done
47834 else
47836 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
47837 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
47838 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47839 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47845 ac_ext=cc
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat >conftest.$ac_ext <<_ACEOF
47852 /* confdefs.h. */
47853 _ACEOF
47854 cat confdefs.h >>conftest.$ac_ext
47855 cat >>conftest.$ac_ext <<_ACEOF
47856 /* end confdefs.h. */
47857 #include <math.h>
47859 main ()
47861 _fmodf(0, 0);
47863 return 0;
47865 _ACEOF
47866 rm -f conftest.$ac_objext
47867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47868 (eval $ac_compile) 2>conftest.er1
47869 ac_status=$?
47870 grep -v '^ *+' conftest.er1 >conftest.err
47871 rm -f conftest.er1
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } &&
47875 { ac_try='test -z "$ac_cxx_werror_flag"
47876 || test ! -s conftest.err'
47877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878 (eval $ac_try) 2>&5
47879 ac_status=$?
47880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881 (exit $ac_status); }; } &&
47882 { ac_try='test -s conftest.$ac_objext'
47883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47884 (eval $ac_try) 2>&5
47885 ac_status=$?
47886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47887 (exit $ac_status); }; }; then
47888 glibcxx_cv_func__fmodf_use=yes
47889 else
47890 echo "$as_me: failed program was:" >&5
47891 sed 's/^/| /' conftest.$ac_ext >&5
47893 glibcxx_cv_func__fmodf_use=no
47895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47896 ac_ext=c
47897 ac_cpp='$CPP $CPPFLAGS'
47898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47906 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
47907 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
47909 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47911 for ac_func in _fmodf
47913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47914 echo "$as_me:$LINENO: checking for $ac_func" >&5
47915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47916 if eval "test \"\${$as_ac_var+set}\" = set"; then
47917 echo $ECHO_N "(cached) $ECHO_C" >&6
47918 else
47919 if test x$gcc_no_link = xyes; then
47920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47922 { (exit 1); exit 1; }; }
47924 cat >conftest.$ac_ext <<_ACEOF
47925 /* confdefs.h. */
47926 _ACEOF
47927 cat confdefs.h >>conftest.$ac_ext
47928 cat >>conftest.$ac_ext <<_ACEOF
47929 /* end confdefs.h. */
47930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47932 #define $ac_func innocuous_$ac_func
47934 /* System header to define __stub macros and hopefully few prototypes,
47935 which can conflict with char $ac_func (); below.
47936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47937 <limits.h> exists even on freestanding compilers. */
47939 #ifdef __STDC__
47940 # include <limits.h>
47941 #else
47942 # include <assert.h>
47943 #endif
47945 #undef $ac_func
47947 /* Override any gcc2 internal prototype to avoid an error. */
47948 #ifdef __cplusplus
47949 extern "C"
47951 #endif
47952 /* We use char because int might match the return type of a gcc2
47953 builtin and then its argument prototype would still apply. */
47954 char $ac_func ();
47955 /* The GNU C library defines this for functions which it implements
47956 to always fail with ENOSYS. Some functions are actually named
47957 something starting with __ and the normal name is an alias. */
47958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47959 choke me
47960 #else
47961 char (*f) () = $ac_func;
47962 #endif
47963 #ifdef __cplusplus
47965 #endif
47968 main ()
47970 return f != $ac_func;
47972 return 0;
47974 _ACEOF
47975 rm -f conftest.$ac_objext conftest$ac_exeext
47976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47977 (eval $ac_link) 2>conftest.er1
47978 ac_status=$?
47979 grep -v '^ *+' conftest.er1 >conftest.err
47980 rm -f conftest.er1
47981 cat conftest.err >&5
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); } &&
47984 { ac_try='test -z "$ac_c_werror_flag"
47985 || test ! -s conftest.err'
47986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47987 (eval $ac_try) 2>&5
47988 ac_status=$?
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); }; } &&
47991 { ac_try='test -s conftest$ac_exeext'
47992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47993 (eval $ac_try) 2>&5
47994 ac_status=$?
47995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47996 (exit $ac_status); }; }; then
47997 eval "$as_ac_var=yes"
47998 else
47999 echo "$as_me: failed program was:" >&5
48000 sed 's/^/| /' conftest.$ac_ext >&5
48002 eval "$as_ac_var=no"
48004 rm -f conftest.err conftest.$ac_objext \
48005 conftest$ac_exeext conftest.$ac_ext
48007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48009 if test `eval echo '${'$as_ac_var'}'` = yes; then
48010 cat >>confdefs.h <<_ACEOF
48011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48012 _ACEOF
48015 done
48025 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48026 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48027 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48028 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48029 echo $ECHO_N "(cached) $ECHO_C" >&6
48030 else
48034 ac_ext=cc
48035 ac_cpp='$CXXCPP $CPPFLAGS'
48036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48040 cat >conftest.$ac_ext <<_ACEOF
48041 /* confdefs.h. */
48042 _ACEOF
48043 cat confdefs.h >>conftest.$ac_ext
48044 cat >>conftest.$ac_ext <<_ACEOF
48045 /* end confdefs.h. */
48046 #include <math.h>
48048 main ()
48050 frexpf(0, 0);
48052 return 0;
48054 _ACEOF
48055 rm -f conftest.$ac_objext
48056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48057 (eval $ac_compile) 2>conftest.er1
48058 ac_status=$?
48059 grep -v '^ *+' conftest.er1 >conftest.err
48060 rm -f conftest.er1
48061 cat conftest.err >&5
48062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48063 (exit $ac_status); } &&
48064 { ac_try='test -z "$ac_cxx_werror_flag"
48065 || test ! -s conftest.err'
48066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48067 (eval $ac_try) 2>&5
48068 ac_status=$?
48069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48070 (exit $ac_status); }; } &&
48071 { ac_try='test -s conftest.$ac_objext'
48072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48073 (eval $ac_try) 2>&5
48074 ac_status=$?
48075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48076 (exit $ac_status); }; }; then
48077 glibcxx_cv_func_frexpf_use=yes
48078 else
48079 echo "$as_me: failed program was:" >&5
48080 sed 's/^/| /' conftest.$ac_ext >&5
48082 glibcxx_cv_func_frexpf_use=no
48084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48085 ac_ext=c
48086 ac_cpp='$CPP $CPPFLAGS'
48087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48095 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48096 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48098 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48100 for ac_func in frexpf
48102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48103 echo "$as_me:$LINENO: checking for $ac_func" >&5
48104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48105 if eval "test \"\${$as_ac_var+set}\" = set"; then
48106 echo $ECHO_N "(cached) $ECHO_C" >&6
48107 else
48108 if test x$gcc_no_link = xyes; then
48109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48111 { (exit 1); exit 1; }; }
48113 cat >conftest.$ac_ext <<_ACEOF
48114 /* confdefs.h. */
48115 _ACEOF
48116 cat confdefs.h >>conftest.$ac_ext
48117 cat >>conftest.$ac_ext <<_ACEOF
48118 /* end confdefs.h. */
48119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48121 #define $ac_func innocuous_$ac_func
48123 /* System header to define __stub macros and hopefully few prototypes,
48124 which can conflict with char $ac_func (); below.
48125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48126 <limits.h> exists even on freestanding compilers. */
48128 #ifdef __STDC__
48129 # include <limits.h>
48130 #else
48131 # include <assert.h>
48132 #endif
48134 #undef $ac_func
48136 /* Override any gcc2 internal prototype to avoid an error. */
48137 #ifdef __cplusplus
48138 extern "C"
48140 #endif
48141 /* We use char because int might match the return type of a gcc2
48142 builtin and then its argument prototype would still apply. */
48143 char $ac_func ();
48144 /* The GNU C library defines this for functions which it implements
48145 to always fail with ENOSYS. Some functions are actually named
48146 something starting with __ and the normal name is an alias. */
48147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48148 choke me
48149 #else
48150 char (*f) () = $ac_func;
48151 #endif
48152 #ifdef __cplusplus
48154 #endif
48157 main ()
48159 return f != $ac_func;
48161 return 0;
48163 _ACEOF
48164 rm -f conftest.$ac_objext conftest$ac_exeext
48165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48166 (eval $ac_link) 2>conftest.er1
48167 ac_status=$?
48168 grep -v '^ *+' conftest.er1 >conftest.err
48169 rm -f conftest.er1
48170 cat conftest.err >&5
48171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48172 (exit $ac_status); } &&
48173 { ac_try='test -z "$ac_c_werror_flag"
48174 || test ! -s conftest.err'
48175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48176 (eval $ac_try) 2>&5
48177 ac_status=$?
48178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48179 (exit $ac_status); }; } &&
48180 { ac_try='test -s conftest$ac_exeext'
48181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48182 (eval $ac_try) 2>&5
48183 ac_status=$?
48184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48185 (exit $ac_status); }; }; then
48186 eval "$as_ac_var=yes"
48187 else
48188 echo "$as_me: failed program was:" >&5
48189 sed 's/^/| /' conftest.$ac_ext >&5
48191 eval "$as_ac_var=no"
48193 rm -f conftest.err conftest.$ac_objext \
48194 conftest$ac_exeext conftest.$ac_ext
48196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48198 if test `eval echo '${'$as_ac_var'}'` = yes; then
48199 cat >>confdefs.h <<_ACEOF
48200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48201 _ACEOF
48204 done
48206 else
48208 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48209 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48210 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48211 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48212 echo $ECHO_N "(cached) $ECHO_C" >&6
48213 else
48217 ac_ext=cc
48218 ac_cpp='$CXXCPP $CPPFLAGS'
48219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48223 cat >conftest.$ac_ext <<_ACEOF
48224 /* confdefs.h. */
48225 _ACEOF
48226 cat confdefs.h >>conftest.$ac_ext
48227 cat >>conftest.$ac_ext <<_ACEOF
48228 /* end confdefs.h. */
48229 #include <math.h>
48231 main ()
48233 _frexpf(0, 0);
48235 return 0;
48237 _ACEOF
48238 rm -f conftest.$ac_objext
48239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48240 (eval $ac_compile) 2>conftest.er1
48241 ac_status=$?
48242 grep -v '^ *+' conftest.er1 >conftest.err
48243 rm -f conftest.er1
48244 cat conftest.err >&5
48245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48246 (exit $ac_status); } &&
48247 { ac_try='test -z "$ac_cxx_werror_flag"
48248 || test ! -s conftest.err'
48249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48250 (eval $ac_try) 2>&5
48251 ac_status=$?
48252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253 (exit $ac_status); }; } &&
48254 { ac_try='test -s conftest.$ac_objext'
48255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48256 (eval $ac_try) 2>&5
48257 ac_status=$?
48258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48259 (exit $ac_status); }; }; then
48260 glibcxx_cv_func__frexpf_use=yes
48261 else
48262 echo "$as_me: failed program was:" >&5
48263 sed 's/^/| /' conftest.$ac_ext >&5
48265 glibcxx_cv_func__frexpf_use=no
48267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48268 ac_ext=c
48269 ac_cpp='$CPP $CPPFLAGS'
48270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48279 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48281 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48283 for ac_func in _frexpf
48285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48286 echo "$as_me:$LINENO: checking for $ac_func" >&5
48287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48288 if eval "test \"\${$as_ac_var+set}\" = set"; then
48289 echo $ECHO_N "(cached) $ECHO_C" >&6
48290 else
48291 if test x$gcc_no_link = xyes; then
48292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48294 { (exit 1); exit 1; }; }
48296 cat >conftest.$ac_ext <<_ACEOF
48297 /* confdefs.h. */
48298 _ACEOF
48299 cat confdefs.h >>conftest.$ac_ext
48300 cat >>conftest.$ac_ext <<_ACEOF
48301 /* end confdefs.h. */
48302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48304 #define $ac_func innocuous_$ac_func
48306 /* System header to define __stub macros and hopefully few prototypes,
48307 which can conflict with char $ac_func (); below.
48308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48309 <limits.h> exists even on freestanding compilers. */
48311 #ifdef __STDC__
48312 # include <limits.h>
48313 #else
48314 # include <assert.h>
48315 #endif
48317 #undef $ac_func
48319 /* Override any gcc2 internal prototype to avoid an error. */
48320 #ifdef __cplusplus
48321 extern "C"
48323 #endif
48324 /* We use char because int might match the return type of a gcc2
48325 builtin and then its argument prototype would still apply. */
48326 char $ac_func ();
48327 /* The GNU C library defines this for functions which it implements
48328 to always fail with ENOSYS. Some functions are actually named
48329 something starting with __ and the normal name is an alias. */
48330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48331 choke me
48332 #else
48333 char (*f) () = $ac_func;
48334 #endif
48335 #ifdef __cplusplus
48337 #endif
48340 main ()
48342 return f != $ac_func;
48344 return 0;
48346 _ACEOF
48347 rm -f conftest.$ac_objext conftest$ac_exeext
48348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48349 (eval $ac_link) 2>conftest.er1
48350 ac_status=$?
48351 grep -v '^ *+' conftest.er1 >conftest.err
48352 rm -f conftest.er1
48353 cat conftest.err >&5
48354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48355 (exit $ac_status); } &&
48356 { ac_try='test -z "$ac_c_werror_flag"
48357 || test ! -s conftest.err'
48358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48359 (eval $ac_try) 2>&5
48360 ac_status=$?
48361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48362 (exit $ac_status); }; } &&
48363 { ac_try='test -s conftest$ac_exeext'
48364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48365 (eval $ac_try) 2>&5
48366 ac_status=$?
48367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48368 (exit $ac_status); }; }; then
48369 eval "$as_ac_var=yes"
48370 else
48371 echo "$as_me: failed program was:" >&5
48372 sed 's/^/| /' conftest.$ac_ext >&5
48374 eval "$as_ac_var=no"
48376 rm -f conftest.err conftest.$ac_objext \
48377 conftest$ac_exeext conftest.$ac_ext
48379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48381 if test `eval echo '${'$as_ac_var'}'` = yes; then
48382 cat >>confdefs.h <<_ACEOF
48383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48384 _ACEOF
48387 done
48397 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48398 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48399 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48400 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48401 echo $ECHO_N "(cached) $ECHO_C" >&6
48402 else
48406 ac_ext=cc
48407 ac_cpp='$CXXCPP $CPPFLAGS'
48408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48412 cat >conftest.$ac_ext <<_ACEOF
48413 /* confdefs.h. */
48414 _ACEOF
48415 cat confdefs.h >>conftest.$ac_ext
48416 cat >>conftest.$ac_ext <<_ACEOF
48417 /* end confdefs.h. */
48418 #include <math.h>
48420 main ()
48422 hypotf(0, 0);
48424 return 0;
48426 _ACEOF
48427 rm -f conftest.$ac_objext
48428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48429 (eval $ac_compile) 2>conftest.er1
48430 ac_status=$?
48431 grep -v '^ *+' conftest.er1 >conftest.err
48432 rm -f conftest.er1
48433 cat conftest.err >&5
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); } &&
48436 { ac_try='test -z "$ac_cxx_werror_flag"
48437 || test ! -s conftest.err'
48438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48439 (eval $ac_try) 2>&5
48440 ac_status=$?
48441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48442 (exit $ac_status); }; } &&
48443 { ac_try='test -s conftest.$ac_objext'
48444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48445 (eval $ac_try) 2>&5
48446 ac_status=$?
48447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48448 (exit $ac_status); }; }; then
48449 glibcxx_cv_func_hypotf_use=yes
48450 else
48451 echo "$as_me: failed program was:" >&5
48452 sed 's/^/| /' conftest.$ac_ext >&5
48454 glibcxx_cv_func_hypotf_use=no
48456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48468 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48470 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48472 for ac_func in hypotf
48474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48475 echo "$as_me:$LINENO: checking for $ac_func" >&5
48476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48477 if eval "test \"\${$as_ac_var+set}\" = set"; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48479 else
48480 if test x$gcc_no_link = xyes; then
48481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48483 { (exit 1); exit 1; }; }
48485 cat >conftest.$ac_ext <<_ACEOF
48486 /* confdefs.h. */
48487 _ACEOF
48488 cat confdefs.h >>conftest.$ac_ext
48489 cat >>conftest.$ac_ext <<_ACEOF
48490 /* end confdefs.h. */
48491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48493 #define $ac_func innocuous_$ac_func
48495 /* System header to define __stub macros and hopefully few prototypes,
48496 which can conflict with char $ac_func (); below.
48497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48498 <limits.h> exists even on freestanding compilers. */
48500 #ifdef __STDC__
48501 # include <limits.h>
48502 #else
48503 # include <assert.h>
48504 #endif
48506 #undef $ac_func
48508 /* Override any gcc2 internal prototype to avoid an error. */
48509 #ifdef __cplusplus
48510 extern "C"
48512 #endif
48513 /* We use char because int might match the return type of a gcc2
48514 builtin and then its argument prototype would still apply. */
48515 char $ac_func ();
48516 /* The GNU C library defines this for functions which it implements
48517 to always fail with ENOSYS. Some functions are actually named
48518 something starting with __ and the normal name is an alias. */
48519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48520 choke me
48521 #else
48522 char (*f) () = $ac_func;
48523 #endif
48524 #ifdef __cplusplus
48526 #endif
48529 main ()
48531 return f != $ac_func;
48533 return 0;
48535 _ACEOF
48536 rm -f conftest.$ac_objext conftest$ac_exeext
48537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48538 (eval $ac_link) 2>conftest.er1
48539 ac_status=$?
48540 grep -v '^ *+' conftest.er1 >conftest.err
48541 rm -f conftest.er1
48542 cat conftest.err >&5
48543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48544 (exit $ac_status); } &&
48545 { ac_try='test -z "$ac_c_werror_flag"
48546 || test ! -s conftest.err'
48547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48548 (eval $ac_try) 2>&5
48549 ac_status=$?
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); }; } &&
48552 { ac_try='test -s conftest$ac_exeext'
48553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48554 (eval $ac_try) 2>&5
48555 ac_status=$?
48556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48557 (exit $ac_status); }; }; then
48558 eval "$as_ac_var=yes"
48559 else
48560 echo "$as_me: failed program was:" >&5
48561 sed 's/^/| /' conftest.$ac_ext >&5
48563 eval "$as_ac_var=no"
48565 rm -f conftest.err conftest.$ac_objext \
48566 conftest$ac_exeext conftest.$ac_ext
48568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48570 if test `eval echo '${'$as_ac_var'}'` = yes; then
48571 cat >>confdefs.h <<_ACEOF
48572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48573 _ACEOF
48576 done
48578 else
48580 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48581 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48582 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48583 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48584 echo $ECHO_N "(cached) $ECHO_C" >&6
48585 else
48589 ac_ext=cc
48590 ac_cpp='$CXXCPP $CPPFLAGS'
48591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48595 cat >conftest.$ac_ext <<_ACEOF
48596 /* confdefs.h. */
48597 _ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h. */
48601 #include <math.h>
48603 main ()
48605 _hypotf(0, 0);
48607 return 0;
48609 _ACEOF
48610 rm -f conftest.$ac_objext
48611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48612 (eval $ac_compile) 2>conftest.er1
48613 ac_status=$?
48614 grep -v '^ *+' conftest.er1 >conftest.err
48615 rm -f conftest.er1
48616 cat conftest.err >&5
48617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48618 (exit $ac_status); } &&
48619 { ac_try='test -z "$ac_cxx_werror_flag"
48620 || test ! -s conftest.err'
48621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48622 (eval $ac_try) 2>&5
48623 ac_status=$?
48624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48625 (exit $ac_status); }; } &&
48626 { ac_try='test -s conftest.$ac_objext'
48627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48628 (eval $ac_try) 2>&5
48629 ac_status=$?
48630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48631 (exit $ac_status); }; }; then
48632 glibcxx_cv_func__hypotf_use=yes
48633 else
48634 echo "$as_me: failed program was:" >&5
48635 sed 's/^/| /' conftest.$ac_ext >&5
48637 glibcxx_cv_func__hypotf_use=no
48639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48640 ac_ext=c
48641 ac_cpp='$CPP $CPPFLAGS'
48642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48651 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48653 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48655 for ac_func in _hypotf
48657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48658 echo "$as_me:$LINENO: checking for $ac_func" >&5
48659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48660 if eval "test \"\${$as_ac_var+set}\" = set"; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48662 else
48663 if test x$gcc_no_link = xyes; then
48664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48666 { (exit 1); exit 1; }; }
48668 cat >conftest.$ac_ext <<_ACEOF
48669 /* confdefs.h. */
48670 _ACEOF
48671 cat confdefs.h >>conftest.$ac_ext
48672 cat >>conftest.$ac_ext <<_ACEOF
48673 /* end confdefs.h. */
48674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48676 #define $ac_func innocuous_$ac_func
48678 /* System header to define __stub macros and hopefully few prototypes,
48679 which can conflict with char $ac_func (); below.
48680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48681 <limits.h> exists even on freestanding compilers. */
48683 #ifdef __STDC__
48684 # include <limits.h>
48685 #else
48686 # include <assert.h>
48687 #endif
48689 #undef $ac_func
48691 /* Override any gcc2 internal prototype to avoid an error. */
48692 #ifdef __cplusplus
48693 extern "C"
48695 #endif
48696 /* We use char because int might match the return type of a gcc2
48697 builtin and then its argument prototype would still apply. */
48698 char $ac_func ();
48699 /* The GNU C library defines this for functions which it implements
48700 to always fail with ENOSYS. Some functions are actually named
48701 something starting with __ and the normal name is an alias. */
48702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48703 choke me
48704 #else
48705 char (*f) () = $ac_func;
48706 #endif
48707 #ifdef __cplusplus
48709 #endif
48712 main ()
48714 return f != $ac_func;
48716 return 0;
48718 _ACEOF
48719 rm -f conftest.$ac_objext conftest$ac_exeext
48720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48721 (eval $ac_link) 2>conftest.er1
48722 ac_status=$?
48723 grep -v '^ *+' conftest.er1 >conftest.err
48724 rm -f conftest.er1
48725 cat conftest.err >&5
48726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48727 (exit $ac_status); } &&
48728 { ac_try='test -z "$ac_c_werror_flag"
48729 || test ! -s conftest.err'
48730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48731 (eval $ac_try) 2>&5
48732 ac_status=$?
48733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48734 (exit $ac_status); }; } &&
48735 { ac_try='test -s conftest$ac_exeext'
48736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48737 (eval $ac_try) 2>&5
48738 ac_status=$?
48739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48740 (exit $ac_status); }; }; then
48741 eval "$as_ac_var=yes"
48742 else
48743 echo "$as_me: failed program was:" >&5
48744 sed 's/^/| /' conftest.$ac_ext >&5
48746 eval "$as_ac_var=no"
48748 rm -f conftest.err conftest.$ac_objext \
48749 conftest$ac_exeext conftest.$ac_ext
48751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48753 if test `eval echo '${'$as_ac_var'}'` = yes; then
48754 cat >>confdefs.h <<_ACEOF
48755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48756 _ACEOF
48759 done
48769 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
48770 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
48771 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48772 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
48773 echo $ECHO_N "(cached) $ECHO_C" >&6
48774 else
48778 ac_ext=cc
48779 ac_cpp='$CXXCPP $CPPFLAGS'
48780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48784 cat >conftest.$ac_ext <<_ACEOF
48785 /* confdefs.h. */
48786 _ACEOF
48787 cat confdefs.h >>conftest.$ac_ext
48788 cat >>conftest.$ac_ext <<_ACEOF
48789 /* end confdefs.h. */
48790 #include <math.h>
48792 main ()
48794 ldexpf(0, 0);
48796 return 0;
48798 _ACEOF
48799 rm -f conftest.$ac_objext
48800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48801 (eval $ac_compile) 2>conftest.er1
48802 ac_status=$?
48803 grep -v '^ *+' conftest.er1 >conftest.err
48804 rm -f conftest.er1
48805 cat conftest.err >&5
48806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48807 (exit $ac_status); } &&
48808 { ac_try='test -z "$ac_cxx_werror_flag"
48809 || test ! -s conftest.err'
48810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48811 (eval $ac_try) 2>&5
48812 ac_status=$?
48813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48814 (exit $ac_status); }; } &&
48815 { ac_try='test -s conftest.$ac_objext'
48816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48817 (eval $ac_try) 2>&5
48818 ac_status=$?
48819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48820 (exit $ac_status); }; }; then
48821 glibcxx_cv_func_ldexpf_use=yes
48822 else
48823 echo "$as_me: failed program was:" >&5
48824 sed 's/^/| /' conftest.$ac_ext >&5
48826 glibcxx_cv_func_ldexpf_use=no
48828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48829 ac_ext=c
48830 ac_cpp='$CPP $CPPFLAGS'
48831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
48840 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
48842 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48844 for ac_func in ldexpf
48846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48847 echo "$as_me:$LINENO: checking for $ac_func" >&5
48848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48849 if eval "test \"\${$as_ac_var+set}\" = set"; then
48850 echo $ECHO_N "(cached) $ECHO_C" >&6
48851 else
48852 if test x$gcc_no_link = xyes; then
48853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48855 { (exit 1); exit 1; }; }
48857 cat >conftest.$ac_ext <<_ACEOF
48858 /* confdefs.h. */
48859 _ACEOF
48860 cat confdefs.h >>conftest.$ac_ext
48861 cat >>conftest.$ac_ext <<_ACEOF
48862 /* end confdefs.h. */
48863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48865 #define $ac_func innocuous_$ac_func
48867 /* System header to define __stub macros and hopefully few prototypes,
48868 which can conflict with char $ac_func (); below.
48869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48870 <limits.h> exists even on freestanding compilers. */
48872 #ifdef __STDC__
48873 # include <limits.h>
48874 #else
48875 # include <assert.h>
48876 #endif
48878 #undef $ac_func
48880 /* Override any gcc2 internal prototype to avoid an error. */
48881 #ifdef __cplusplus
48882 extern "C"
48884 #endif
48885 /* We use char because int might match the return type of a gcc2
48886 builtin and then its argument prototype would still apply. */
48887 char $ac_func ();
48888 /* The GNU C library defines this for functions which it implements
48889 to always fail with ENOSYS. Some functions are actually named
48890 something starting with __ and the normal name is an alias. */
48891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48892 choke me
48893 #else
48894 char (*f) () = $ac_func;
48895 #endif
48896 #ifdef __cplusplus
48898 #endif
48901 main ()
48903 return f != $ac_func;
48905 return 0;
48907 _ACEOF
48908 rm -f conftest.$ac_objext conftest$ac_exeext
48909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48910 (eval $ac_link) 2>conftest.er1
48911 ac_status=$?
48912 grep -v '^ *+' conftest.er1 >conftest.err
48913 rm -f conftest.er1
48914 cat conftest.err >&5
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); } &&
48917 { ac_try='test -z "$ac_c_werror_flag"
48918 || test ! -s conftest.err'
48919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48920 (eval $ac_try) 2>&5
48921 ac_status=$?
48922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48923 (exit $ac_status); }; } &&
48924 { ac_try='test -s conftest$ac_exeext'
48925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48926 (eval $ac_try) 2>&5
48927 ac_status=$?
48928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48929 (exit $ac_status); }; }; then
48930 eval "$as_ac_var=yes"
48931 else
48932 echo "$as_me: failed program was:" >&5
48933 sed 's/^/| /' conftest.$ac_ext >&5
48935 eval "$as_ac_var=no"
48937 rm -f conftest.err conftest.$ac_objext \
48938 conftest$ac_exeext conftest.$ac_ext
48940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48942 if test `eval echo '${'$as_ac_var'}'` = yes; then
48943 cat >>confdefs.h <<_ACEOF
48944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48945 _ACEOF
48948 done
48950 else
48952 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
48953 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
48954 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48955 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48957 else
48961 ac_ext=cc
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967 cat >conftest.$ac_ext <<_ACEOF
48968 /* confdefs.h. */
48969 _ACEOF
48970 cat confdefs.h >>conftest.$ac_ext
48971 cat >>conftest.$ac_ext <<_ACEOF
48972 /* end confdefs.h. */
48973 #include <math.h>
48975 main ()
48977 _ldexpf(0, 0);
48979 return 0;
48981 _ACEOF
48982 rm -f conftest.$ac_objext
48983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48984 (eval $ac_compile) 2>conftest.er1
48985 ac_status=$?
48986 grep -v '^ *+' conftest.er1 >conftest.err
48987 rm -f conftest.er1
48988 cat conftest.err >&5
48989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48990 (exit $ac_status); } &&
48991 { ac_try='test -z "$ac_cxx_werror_flag"
48992 || test ! -s conftest.err'
48993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48994 (eval $ac_try) 2>&5
48995 ac_status=$?
48996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48997 (exit $ac_status); }; } &&
48998 { ac_try='test -s conftest.$ac_objext'
48999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49000 (eval $ac_try) 2>&5
49001 ac_status=$?
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); }; }; then
49004 glibcxx_cv_func__ldexpf_use=yes
49005 else
49006 echo "$as_me: failed program was:" >&5
49007 sed 's/^/| /' conftest.$ac_ext >&5
49009 glibcxx_cv_func__ldexpf_use=no
49011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49012 ac_ext=c
49013 ac_cpp='$CPP $CPPFLAGS'
49014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49023 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49025 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49027 for ac_func in _ldexpf
49029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49030 echo "$as_me:$LINENO: checking for $ac_func" >&5
49031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49032 if eval "test \"\${$as_ac_var+set}\" = set"; then
49033 echo $ECHO_N "(cached) $ECHO_C" >&6
49034 else
49035 if test x$gcc_no_link = xyes; then
49036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49038 { (exit 1); exit 1; }; }
49040 cat >conftest.$ac_ext <<_ACEOF
49041 /* confdefs.h. */
49042 _ACEOF
49043 cat confdefs.h >>conftest.$ac_ext
49044 cat >>conftest.$ac_ext <<_ACEOF
49045 /* end confdefs.h. */
49046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49048 #define $ac_func innocuous_$ac_func
49050 /* System header to define __stub macros and hopefully few prototypes,
49051 which can conflict with char $ac_func (); below.
49052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49053 <limits.h> exists even on freestanding compilers. */
49055 #ifdef __STDC__
49056 # include <limits.h>
49057 #else
49058 # include <assert.h>
49059 #endif
49061 #undef $ac_func
49063 /* Override any gcc2 internal prototype to avoid an error. */
49064 #ifdef __cplusplus
49065 extern "C"
49067 #endif
49068 /* We use char because int might match the return type of a gcc2
49069 builtin and then its argument prototype would still apply. */
49070 char $ac_func ();
49071 /* The GNU C library defines this for functions which it implements
49072 to always fail with ENOSYS. Some functions are actually named
49073 something starting with __ and the normal name is an alias. */
49074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49075 choke me
49076 #else
49077 char (*f) () = $ac_func;
49078 #endif
49079 #ifdef __cplusplus
49081 #endif
49084 main ()
49086 return f != $ac_func;
49088 return 0;
49090 _ACEOF
49091 rm -f conftest.$ac_objext conftest$ac_exeext
49092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49093 (eval $ac_link) 2>conftest.er1
49094 ac_status=$?
49095 grep -v '^ *+' conftest.er1 >conftest.err
49096 rm -f conftest.er1
49097 cat conftest.err >&5
49098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099 (exit $ac_status); } &&
49100 { ac_try='test -z "$ac_c_werror_flag"
49101 || test ! -s conftest.err'
49102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49103 (eval $ac_try) 2>&5
49104 ac_status=$?
49105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49106 (exit $ac_status); }; } &&
49107 { ac_try='test -s conftest$ac_exeext'
49108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49109 (eval $ac_try) 2>&5
49110 ac_status=$?
49111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112 (exit $ac_status); }; }; then
49113 eval "$as_ac_var=yes"
49114 else
49115 echo "$as_me: failed program was:" >&5
49116 sed 's/^/| /' conftest.$ac_ext >&5
49118 eval "$as_ac_var=no"
49120 rm -f conftest.err conftest.$ac_objext \
49121 conftest$ac_exeext conftest.$ac_ext
49123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49125 if test `eval echo '${'$as_ac_var'}'` = yes; then
49126 cat >>confdefs.h <<_ACEOF
49127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49128 _ACEOF
49131 done
49141 echo "$as_me:$LINENO: checking for logf declaration" >&5
49142 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49143 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49144 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49145 echo $ECHO_N "(cached) $ECHO_C" >&6
49146 else
49150 ac_ext=cc
49151 ac_cpp='$CXXCPP $CPPFLAGS'
49152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49156 cat >conftest.$ac_ext <<_ACEOF
49157 /* confdefs.h. */
49158 _ACEOF
49159 cat confdefs.h >>conftest.$ac_ext
49160 cat >>conftest.$ac_ext <<_ACEOF
49161 /* end confdefs.h. */
49162 #include <math.h>
49163 #ifdef HAVE_IEEEFP_H
49164 #include <ieeefp.h>
49165 #endif
49168 main ()
49170 logf(0);
49172 return 0;
49174 _ACEOF
49175 rm -f conftest.$ac_objext
49176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49177 (eval $ac_compile) 2>conftest.er1
49178 ac_status=$?
49179 grep -v '^ *+' conftest.er1 >conftest.err
49180 rm -f conftest.er1
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } &&
49184 { ac_try='test -z "$ac_cxx_werror_flag"
49185 || test ! -s conftest.err'
49186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49187 (eval $ac_try) 2>&5
49188 ac_status=$?
49189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49190 (exit $ac_status); }; } &&
49191 { ac_try='test -s conftest.$ac_objext'
49192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49193 (eval $ac_try) 2>&5
49194 ac_status=$?
49195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49196 (exit $ac_status); }; }; then
49197 glibcxx_cv_func_logf_use=yes
49198 else
49199 echo "$as_me: failed program was:" >&5
49200 sed 's/^/| /' conftest.$ac_ext >&5
49202 glibcxx_cv_func_logf_use=no
49204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49205 ac_ext=c
49206 ac_cpp='$CPP $CPPFLAGS'
49207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49216 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49218 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49220 for ac_func in logf
49222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49223 echo "$as_me:$LINENO: checking for $ac_func" >&5
49224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49225 if eval "test \"\${$as_ac_var+set}\" = set"; then
49226 echo $ECHO_N "(cached) $ECHO_C" >&6
49227 else
49228 if test x$gcc_no_link = xyes; then
49229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49231 { (exit 1); exit 1; }; }
49233 cat >conftest.$ac_ext <<_ACEOF
49234 /* confdefs.h. */
49235 _ACEOF
49236 cat confdefs.h >>conftest.$ac_ext
49237 cat >>conftest.$ac_ext <<_ACEOF
49238 /* end confdefs.h. */
49239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49241 #define $ac_func innocuous_$ac_func
49243 /* System header to define __stub macros and hopefully few prototypes,
49244 which can conflict with char $ac_func (); below.
49245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49246 <limits.h> exists even on freestanding compilers. */
49248 #ifdef __STDC__
49249 # include <limits.h>
49250 #else
49251 # include <assert.h>
49252 #endif
49254 #undef $ac_func
49256 /* Override any gcc2 internal prototype to avoid an error. */
49257 #ifdef __cplusplus
49258 extern "C"
49260 #endif
49261 /* We use char because int might match the return type of a gcc2
49262 builtin and then its argument prototype would still apply. */
49263 char $ac_func ();
49264 /* The GNU C library defines this for functions which it implements
49265 to always fail with ENOSYS. Some functions are actually named
49266 something starting with __ and the normal name is an alias. */
49267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49268 choke me
49269 #else
49270 char (*f) () = $ac_func;
49271 #endif
49272 #ifdef __cplusplus
49274 #endif
49277 main ()
49279 return f != $ac_func;
49281 return 0;
49283 _ACEOF
49284 rm -f conftest.$ac_objext conftest$ac_exeext
49285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49286 (eval $ac_link) 2>conftest.er1
49287 ac_status=$?
49288 grep -v '^ *+' conftest.er1 >conftest.err
49289 rm -f conftest.er1
49290 cat conftest.err >&5
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); } &&
49293 { ac_try='test -z "$ac_c_werror_flag"
49294 || test ! -s conftest.err'
49295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49296 (eval $ac_try) 2>&5
49297 ac_status=$?
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); }; } &&
49300 { ac_try='test -s conftest$ac_exeext'
49301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49302 (eval $ac_try) 2>&5
49303 ac_status=$?
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; }; then
49306 eval "$as_ac_var=yes"
49307 else
49308 echo "$as_me: failed program was:" >&5
49309 sed 's/^/| /' conftest.$ac_ext >&5
49311 eval "$as_ac_var=no"
49313 rm -f conftest.err conftest.$ac_objext \
49314 conftest$ac_exeext conftest.$ac_ext
49316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49318 if test `eval echo '${'$as_ac_var'}'` = yes; then
49319 cat >>confdefs.h <<_ACEOF
49320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49321 _ACEOF
49324 done
49326 else
49328 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49329 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49330 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49331 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49332 echo $ECHO_N "(cached) $ECHO_C" >&6
49333 else
49337 ac_ext=cc
49338 ac_cpp='$CXXCPP $CPPFLAGS'
49339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49343 cat >conftest.$ac_ext <<_ACEOF
49344 /* confdefs.h. */
49345 _ACEOF
49346 cat confdefs.h >>conftest.$ac_ext
49347 cat >>conftest.$ac_ext <<_ACEOF
49348 /* end confdefs.h. */
49349 #include <math.h>
49350 #ifdef HAVE_IEEEFP_H
49351 #include <ieeefp.h>
49352 #endif
49355 main ()
49357 _logf(0);
49359 return 0;
49361 _ACEOF
49362 rm -f conftest.$ac_objext
49363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49364 (eval $ac_compile) 2>conftest.er1
49365 ac_status=$?
49366 grep -v '^ *+' conftest.er1 >conftest.err
49367 rm -f conftest.er1
49368 cat conftest.err >&5
49369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49370 (exit $ac_status); } &&
49371 { ac_try='test -z "$ac_cxx_werror_flag"
49372 || test ! -s conftest.err'
49373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49374 (eval $ac_try) 2>&5
49375 ac_status=$?
49376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49377 (exit $ac_status); }; } &&
49378 { ac_try='test -s conftest.$ac_objext'
49379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49380 (eval $ac_try) 2>&5
49381 ac_status=$?
49382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49383 (exit $ac_status); }; }; then
49384 glibcxx_cv_func__logf_use=yes
49385 else
49386 echo "$as_me: failed program was:" >&5
49387 sed 's/^/| /' conftest.$ac_ext >&5
49389 glibcxx_cv_func__logf_use=no
49391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49392 ac_ext=c
49393 ac_cpp='$CPP $CPPFLAGS'
49394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49403 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49405 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49407 for ac_func in _logf
49409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49410 echo "$as_me:$LINENO: checking for $ac_func" >&5
49411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49412 if eval "test \"\${$as_ac_var+set}\" = set"; then
49413 echo $ECHO_N "(cached) $ECHO_C" >&6
49414 else
49415 if test x$gcc_no_link = xyes; then
49416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49418 { (exit 1); exit 1; }; }
49420 cat >conftest.$ac_ext <<_ACEOF
49421 /* confdefs.h. */
49422 _ACEOF
49423 cat confdefs.h >>conftest.$ac_ext
49424 cat >>conftest.$ac_ext <<_ACEOF
49425 /* end confdefs.h. */
49426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49428 #define $ac_func innocuous_$ac_func
49430 /* System header to define __stub macros and hopefully few prototypes,
49431 which can conflict with char $ac_func (); below.
49432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49433 <limits.h> exists even on freestanding compilers. */
49435 #ifdef __STDC__
49436 # include <limits.h>
49437 #else
49438 # include <assert.h>
49439 #endif
49441 #undef $ac_func
49443 /* Override any gcc2 internal prototype to avoid an error. */
49444 #ifdef __cplusplus
49445 extern "C"
49447 #endif
49448 /* We use char because int might match the return type of a gcc2
49449 builtin and then its argument prototype would still apply. */
49450 char $ac_func ();
49451 /* The GNU C library defines this for functions which it implements
49452 to always fail with ENOSYS. Some functions are actually named
49453 something starting with __ and the normal name is an alias. */
49454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49455 choke me
49456 #else
49457 char (*f) () = $ac_func;
49458 #endif
49459 #ifdef __cplusplus
49461 #endif
49464 main ()
49466 return f != $ac_func;
49468 return 0;
49470 _ACEOF
49471 rm -f conftest.$ac_objext conftest$ac_exeext
49472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49473 (eval $ac_link) 2>conftest.er1
49474 ac_status=$?
49475 grep -v '^ *+' conftest.er1 >conftest.err
49476 rm -f conftest.er1
49477 cat conftest.err >&5
49478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49479 (exit $ac_status); } &&
49480 { ac_try='test -z "$ac_c_werror_flag"
49481 || test ! -s conftest.err'
49482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49483 (eval $ac_try) 2>&5
49484 ac_status=$?
49485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49486 (exit $ac_status); }; } &&
49487 { ac_try='test -s conftest$ac_exeext'
49488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49489 (eval $ac_try) 2>&5
49490 ac_status=$?
49491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49492 (exit $ac_status); }; }; then
49493 eval "$as_ac_var=yes"
49494 else
49495 echo "$as_me: failed program was:" >&5
49496 sed 's/^/| /' conftest.$ac_ext >&5
49498 eval "$as_ac_var=no"
49500 rm -f conftest.err conftest.$ac_objext \
49501 conftest$ac_exeext conftest.$ac_ext
49503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49505 if test `eval echo '${'$as_ac_var'}'` = yes; then
49506 cat >>confdefs.h <<_ACEOF
49507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49508 _ACEOF
49511 done
49521 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49522 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49523 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49524 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49525 echo $ECHO_N "(cached) $ECHO_C" >&6
49526 else
49530 ac_ext=cc
49531 ac_cpp='$CXXCPP $CPPFLAGS'
49532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49536 cat >conftest.$ac_ext <<_ACEOF
49537 /* confdefs.h. */
49538 _ACEOF
49539 cat confdefs.h >>conftest.$ac_ext
49540 cat >>conftest.$ac_ext <<_ACEOF
49541 /* end confdefs.h. */
49542 #include <math.h>
49543 #ifdef HAVE_IEEEFP_H
49544 #include <ieeefp.h>
49545 #endif
49548 main ()
49550 log10f(0);
49552 return 0;
49554 _ACEOF
49555 rm -f conftest.$ac_objext
49556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49557 (eval $ac_compile) 2>conftest.er1
49558 ac_status=$?
49559 grep -v '^ *+' conftest.er1 >conftest.err
49560 rm -f conftest.er1
49561 cat conftest.err >&5
49562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49563 (exit $ac_status); } &&
49564 { ac_try='test -z "$ac_cxx_werror_flag"
49565 || test ! -s conftest.err'
49566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49567 (eval $ac_try) 2>&5
49568 ac_status=$?
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); }; } &&
49571 { ac_try='test -s conftest.$ac_objext'
49572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49573 (eval $ac_try) 2>&5
49574 ac_status=$?
49575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49576 (exit $ac_status); }; }; then
49577 glibcxx_cv_func_log10f_use=yes
49578 else
49579 echo "$as_me: failed program was:" >&5
49580 sed 's/^/| /' conftest.$ac_ext >&5
49582 glibcxx_cv_func_log10f_use=no
49584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49585 ac_ext=c
49586 ac_cpp='$CPP $CPPFLAGS'
49587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49596 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49600 for ac_func in log10f
49602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49603 echo "$as_me:$LINENO: checking for $ac_func" >&5
49604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49605 if eval "test \"\${$as_ac_var+set}\" = set"; then
49606 echo $ECHO_N "(cached) $ECHO_C" >&6
49607 else
49608 if test x$gcc_no_link = xyes; then
49609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49611 { (exit 1); exit 1; }; }
49613 cat >conftest.$ac_ext <<_ACEOF
49614 /* confdefs.h. */
49615 _ACEOF
49616 cat confdefs.h >>conftest.$ac_ext
49617 cat >>conftest.$ac_ext <<_ACEOF
49618 /* end confdefs.h. */
49619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49621 #define $ac_func innocuous_$ac_func
49623 /* System header to define __stub macros and hopefully few prototypes,
49624 which can conflict with char $ac_func (); below.
49625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49626 <limits.h> exists even on freestanding compilers. */
49628 #ifdef __STDC__
49629 # include <limits.h>
49630 #else
49631 # include <assert.h>
49632 #endif
49634 #undef $ac_func
49636 /* Override any gcc2 internal prototype to avoid an error. */
49637 #ifdef __cplusplus
49638 extern "C"
49640 #endif
49641 /* We use char because int might match the return type of a gcc2
49642 builtin and then its argument prototype would still apply. */
49643 char $ac_func ();
49644 /* The GNU C library defines this for functions which it implements
49645 to always fail with ENOSYS. Some functions are actually named
49646 something starting with __ and the normal name is an alias. */
49647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49648 choke me
49649 #else
49650 char (*f) () = $ac_func;
49651 #endif
49652 #ifdef __cplusplus
49654 #endif
49657 main ()
49659 return f != $ac_func;
49661 return 0;
49663 _ACEOF
49664 rm -f conftest.$ac_objext conftest$ac_exeext
49665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49666 (eval $ac_link) 2>conftest.er1
49667 ac_status=$?
49668 grep -v '^ *+' conftest.er1 >conftest.err
49669 rm -f conftest.er1
49670 cat conftest.err >&5
49671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49672 (exit $ac_status); } &&
49673 { ac_try='test -z "$ac_c_werror_flag"
49674 || test ! -s conftest.err'
49675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49676 (eval $ac_try) 2>&5
49677 ac_status=$?
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); }; } &&
49680 { ac_try='test -s conftest$ac_exeext'
49681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49682 (eval $ac_try) 2>&5
49683 ac_status=$?
49684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685 (exit $ac_status); }; }; then
49686 eval "$as_ac_var=yes"
49687 else
49688 echo "$as_me: failed program was:" >&5
49689 sed 's/^/| /' conftest.$ac_ext >&5
49691 eval "$as_ac_var=no"
49693 rm -f conftest.err conftest.$ac_objext \
49694 conftest$ac_exeext conftest.$ac_ext
49696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49698 if test `eval echo '${'$as_ac_var'}'` = yes; then
49699 cat >>confdefs.h <<_ACEOF
49700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49701 _ACEOF
49704 done
49706 else
49708 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49709 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49710 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49711 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49712 echo $ECHO_N "(cached) $ECHO_C" >&6
49713 else
49717 ac_ext=cc
49718 ac_cpp='$CXXCPP $CPPFLAGS'
49719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49723 cat >conftest.$ac_ext <<_ACEOF
49724 /* confdefs.h. */
49725 _ACEOF
49726 cat confdefs.h >>conftest.$ac_ext
49727 cat >>conftest.$ac_ext <<_ACEOF
49728 /* end confdefs.h. */
49729 #include <math.h>
49730 #ifdef HAVE_IEEEFP_H
49731 #include <ieeefp.h>
49732 #endif
49735 main ()
49737 _log10f(0);
49739 return 0;
49741 _ACEOF
49742 rm -f conftest.$ac_objext
49743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49744 (eval $ac_compile) 2>conftest.er1
49745 ac_status=$?
49746 grep -v '^ *+' conftest.er1 >conftest.err
49747 rm -f conftest.er1
49748 cat conftest.err >&5
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); } &&
49751 { ac_try='test -z "$ac_cxx_werror_flag"
49752 || test ! -s conftest.err'
49753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49754 (eval $ac_try) 2>&5
49755 ac_status=$?
49756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49757 (exit $ac_status); }; } &&
49758 { ac_try='test -s conftest.$ac_objext'
49759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49760 (eval $ac_try) 2>&5
49761 ac_status=$?
49762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49763 (exit $ac_status); }; }; then
49764 glibcxx_cv_func__log10f_use=yes
49765 else
49766 echo "$as_me: failed program was:" >&5
49767 sed 's/^/| /' conftest.$ac_ext >&5
49769 glibcxx_cv_func__log10f_use=no
49771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
49783 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
49785 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49787 for ac_func in _log10f
49789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49790 echo "$as_me:$LINENO: checking for $ac_func" >&5
49791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49792 if eval "test \"\${$as_ac_var+set}\" = set"; then
49793 echo $ECHO_N "(cached) $ECHO_C" >&6
49794 else
49795 if test x$gcc_no_link = xyes; then
49796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49798 { (exit 1); exit 1; }; }
49800 cat >conftest.$ac_ext <<_ACEOF
49801 /* confdefs.h. */
49802 _ACEOF
49803 cat confdefs.h >>conftest.$ac_ext
49804 cat >>conftest.$ac_ext <<_ACEOF
49805 /* end confdefs.h. */
49806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49808 #define $ac_func innocuous_$ac_func
49810 /* System header to define __stub macros and hopefully few prototypes,
49811 which can conflict with char $ac_func (); below.
49812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49813 <limits.h> exists even on freestanding compilers. */
49815 #ifdef __STDC__
49816 # include <limits.h>
49817 #else
49818 # include <assert.h>
49819 #endif
49821 #undef $ac_func
49823 /* Override any gcc2 internal prototype to avoid an error. */
49824 #ifdef __cplusplus
49825 extern "C"
49827 #endif
49828 /* We use char because int might match the return type of a gcc2
49829 builtin and then its argument prototype would still apply. */
49830 char $ac_func ();
49831 /* The GNU C library defines this for functions which it implements
49832 to always fail with ENOSYS. Some functions are actually named
49833 something starting with __ and the normal name is an alias. */
49834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49835 choke me
49836 #else
49837 char (*f) () = $ac_func;
49838 #endif
49839 #ifdef __cplusplus
49841 #endif
49844 main ()
49846 return f != $ac_func;
49848 return 0;
49850 _ACEOF
49851 rm -f conftest.$ac_objext conftest$ac_exeext
49852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49853 (eval $ac_link) 2>conftest.er1
49854 ac_status=$?
49855 grep -v '^ *+' conftest.er1 >conftest.err
49856 rm -f conftest.er1
49857 cat conftest.err >&5
49858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49859 (exit $ac_status); } &&
49860 { ac_try='test -z "$ac_c_werror_flag"
49861 || test ! -s conftest.err'
49862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49863 (eval $ac_try) 2>&5
49864 ac_status=$?
49865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49866 (exit $ac_status); }; } &&
49867 { ac_try='test -s conftest$ac_exeext'
49868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49869 (eval $ac_try) 2>&5
49870 ac_status=$?
49871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49872 (exit $ac_status); }; }; then
49873 eval "$as_ac_var=yes"
49874 else
49875 echo "$as_me: failed program was:" >&5
49876 sed 's/^/| /' conftest.$ac_ext >&5
49878 eval "$as_ac_var=no"
49880 rm -f conftest.err conftest.$ac_objext \
49881 conftest$ac_exeext conftest.$ac_ext
49883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49885 if test `eval echo '${'$as_ac_var'}'` = yes; then
49886 cat >>confdefs.h <<_ACEOF
49887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49888 _ACEOF
49891 done
49901 echo "$as_me:$LINENO: checking for modff declaration" >&5
49902 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
49903 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49904 if test "${glibcxx_cv_func_modff_use+set}" = set; then
49905 echo $ECHO_N "(cached) $ECHO_C" >&6
49906 else
49910 ac_ext=cc
49911 ac_cpp='$CXXCPP $CPPFLAGS'
49912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49916 cat >conftest.$ac_ext <<_ACEOF
49917 /* confdefs.h. */
49918 _ACEOF
49919 cat confdefs.h >>conftest.$ac_ext
49920 cat >>conftest.$ac_ext <<_ACEOF
49921 /* end confdefs.h. */
49922 #include <math.h>
49924 main ()
49926 modff(0, 0);
49928 return 0;
49930 _ACEOF
49931 rm -f conftest.$ac_objext
49932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49933 (eval $ac_compile) 2>conftest.er1
49934 ac_status=$?
49935 grep -v '^ *+' conftest.er1 >conftest.err
49936 rm -f conftest.er1
49937 cat conftest.err >&5
49938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49939 (exit $ac_status); } &&
49940 { ac_try='test -z "$ac_cxx_werror_flag"
49941 || test ! -s conftest.err'
49942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49943 (eval $ac_try) 2>&5
49944 ac_status=$?
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); }; } &&
49947 { ac_try='test -s conftest.$ac_objext'
49948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49949 (eval $ac_try) 2>&5
49950 ac_status=$?
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); }; }; then
49953 glibcxx_cv_func_modff_use=yes
49954 else
49955 echo "$as_me: failed program was:" >&5
49956 sed 's/^/| /' conftest.$ac_ext >&5
49958 glibcxx_cv_func_modff_use=no
49960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49971 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
49972 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
49974 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49976 for ac_func in modff
49978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49979 echo "$as_me:$LINENO: checking for $ac_func" >&5
49980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49981 if eval "test \"\${$as_ac_var+set}\" = set"; then
49982 echo $ECHO_N "(cached) $ECHO_C" >&6
49983 else
49984 if test x$gcc_no_link = xyes; then
49985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49987 { (exit 1); exit 1; }; }
49989 cat >conftest.$ac_ext <<_ACEOF
49990 /* confdefs.h. */
49991 _ACEOF
49992 cat confdefs.h >>conftest.$ac_ext
49993 cat >>conftest.$ac_ext <<_ACEOF
49994 /* end confdefs.h. */
49995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49997 #define $ac_func innocuous_$ac_func
49999 /* System header to define __stub macros and hopefully few prototypes,
50000 which can conflict with char $ac_func (); below.
50001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50002 <limits.h> exists even on freestanding compilers. */
50004 #ifdef __STDC__
50005 # include <limits.h>
50006 #else
50007 # include <assert.h>
50008 #endif
50010 #undef $ac_func
50012 /* Override any gcc2 internal prototype to avoid an error. */
50013 #ifdef __cplusplus
50014 extern "C"
50016 #endif
50017 /* We use char because int might match the return type of a gcc2
50018 builtin and then its argument prototype would still apply. */
50019 char $ac_func ();
50020 /* The GNU C library defines this for functions which it implements
50021 to always fail with ENOSYS. Some functions are actually named
50022 something starting with __ and the normal name is an alias. */
50023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50024 choke me
50025 #else
50026 char (*f) () = $ac_func;
50027 #endif
50028 #ifdef __cplusplus
50030 #endif
50033 main ()
50035 return f != $ac_func;
50037 return 0;
50039 _ACEOF
50040 rm -f conftest.$ac_objext conftest$ac_exeext
50041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50042 (eval $ac_link) 2>conftest.er1
50043 ac_status=$?
50044 grep -v '^ *+' conftest.er1 >conftest.err
50045 rm -f conftest.er1
50046 cat conftest.err >&5
50047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50048 (exit $ac_status); } &&
50049 { ac_try='test -z "$ac_c_werror_flag"
50050 || test ! -s conftest.err'
50051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50052 (eval $ac_try) 2>&5
50053 ac_status=$?
50054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50055 (exit $ac_status); }; } &&
50056 { ac_try='test -s conftest$ac_exeext'
50057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50058 (eval $ac_try) 2>&5
50059 ac_status=$?
50060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50061 (exit $ac_status); }; }; then
50062 eval "$as_ac_var=yes"
50063 else
50064 echo "$as_me: failed program was:" >&5
50065 sed 's/^/| /' conftest.$ac_ext >&5
50067 eval "$as_ac_var=no"
50069 rm -f conftest.err conftest.$ac_objext \
50070 conftest$ac_exeext conftest.$ac_ext
50072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50074 if test `eval echo '${'$as_ac_var'}'` = yes; then
50075 cat >>confdefs.h <<_ACEOF
50076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50077 _ACEOF
50080 done
50082 else
50084 echo "$as_me:$LINENO: checking for _modff declaration" >&5
50085 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50086 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50087 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50088 echo $ECHO_N "(cached) $ECHO_C" >&6
50089 else
50093 ac_ext=cc
50094 ac_cpp='$CXXCPP $CPPFLAGS'
50095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50099 cat >conftest.$ac_ext <<_ACEOF
50100 /* confdefs.h. */
50101 _ACEOF
50102 cat confdefs.h >>conftest.$ac_ext
50103 cat >>conftest.$ac_ext <<_ACEOF
50104 /* end confdefs.h. */
50105 #include <math.h>
50107 main ()
50109 _modff(0, 0);
50111 return 0;
50113 _ACEOF
50114 rm -f conftest.$ac_objext
50115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50116 (eval $ac_compile) 2>conftest.er1
50117 ac_status=$?
50118 grep -v '^ *+' conftest.er1 >conftest.err
50119 rm -f conftest.er1
50120 cat conftest.err >&5
50121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50122 (exit $ac_status); } &&
50123 { ac_try='test -z "$ac_cxx_werror_flag"
50124 || test ! -s conftest.err'
50125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50126 (eval $ac_try) 2>&5
50127 ac_status=$?
50128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50129 (exit $ac_status); }; } &&
50130 { ac_try='test -s conftest.$ac_objext'
50131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50132 (eval $ac_try) 2>&5
50133 ac_status=$?
50134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50135 (exit $ac_status); }; }; then
50136 glibcxx_cv_func__modff_use=yes
50137 else
50138 echo "$as_me: failed program was:" >&5
50139 sed 's/^/| /' conftest.$ac_ext >&5
50141 glibcxx_cv_func__modff_use=no
50143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50144 ac_ext=c
50145 ac_cpp='$CPP $CPPFLAGS'
50146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50155 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50157 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50159 for ac_func in _modff
50161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50162 echo "$as_me:$LINENO: checking for $ac_func" >&5
50163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50164 if eval "test \"\${$as_ac_var+set}\" = set"; then
50165 echo $ECHO_N "(cached) $ECHO_C" >&6
50166 else
50167 if test x$gcc_no_link = xyes; then
50168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50170 { (exit 1); exit 1; }; }
50172 cat >conftest.$ac_ext <<_ACEOF
50173 /* confdefs.h. */
50174 _ACEOF
50175 cat confdefs.h >>conftest.$ac_ext
50176 cat >>conftest.$ac_ext <<_ACEOF
50177 /* end confdefs.h. */
50178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50180 #define $ac_func innocuous_$ac_func
50182 /* System header to define __stub macros and hopefully few prototypes,
50183 which can conflict with char $ac_func (); below.
50184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50185 <limits.h> exists even on freestanding compilers. */
50187 #ifdef __STDC__
50188 # include <limits.h>
50189 #else
50190 # include <assert.h>
50191 #endif
50193 #undef $ac_func
50195 /* Override any gcc2 internal prototype to avoid an error. */
50196 #ifdef __cplusplus
50197 extern "C"
50199 #endif
50200 /* We use char because int might match the return type of a gcc2
50201 builtin and then its argument prototype would still apply. */
50202 char $ac_func ();
50203 /* The GNU C library defines this for functions which it implements
50204 to always fail with ENOSYS. Some functions are actually named
50205 something starting with __ and the normal name is an alias. */
50206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50207 choke me
50208 #else
50209 char (*f) () = $ac_func;
50210 #endif
50211 #ifdef __cplusplus
50213 #endif
50216 main ()
50218 return f != $ac_func;
50220 return 0;
50222 _ACEOF
50223 rm -f conftest.$ac_objext conftest$ac_exeext
50224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50225 (eval $ac_link) 2>conftest.er1
50226 ac_status=$?
50227 grep -v '^ *+' conftest.er1 >conftest.err
50228 rm -f conftest.er1
50229 cat conftest.err >&5
50230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50231 (exit $ac_status); } &&
50232 { ac_try='test -z "$ac_c_werror_flag"
50233 || test ! -s conftest.err'
50234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50235 (eval $ac_try) 2>&5
50236 ac_status=$?
50237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50238 (exit $ac_status); }; } &&
50239 { ac_try='test -s conftest$ac_exeext'
50240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50241 (eval $ac_try) 2>&5
50242 ac_status=$?
50243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50244 (exit $ac_status); }; }; then
50245 eval "$as_ac_var=yes"
50246 else
50247 echo "$as_me: failed program was:" >&5
50248 sed 's/^/| /' conftest.$ac_ext >&5
50250 eval "$as_ac_var=no"
50252 rm -f conftest.err conftest.$ac_objext \
50253 conftest$ac_exeext conftest.$ac_ext
50255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50257 if test `eval echo '${'$as_ac_var'}'` = yes; then
50258 cat >>confdefs.h <<_ACEOF
50259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50260 _ACEOF
50263 done
50273 echo "$as_me:$LINENO: checking for modf declaration" >&5
50274 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50275 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50276 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50282 ac_ext=cc
50283 ac_cpp='$CXXCPP $CPPFLAGS'
50284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50288 cat >conftest.$ac_ext <<_ACEOF
50289 /* confdefs.h. */
50290 _ACEOF
50291 cat confdefs.h >>conftest.$ac_ext
50292 cat >>conftest.$ac_ext <<_ACEOF
50293 /* end confdefs.h. */
50294 #include <math.h>
50296 main ()
50298 modf(0, 0);
50300 return 0;
50302 _ACEOF
50303 rm -f conftest.$ac_objext
50304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50305 (eval $ac_compile) 2>conftest.er1
50306 ac_status=$?
50307 grep -v '^ *+' conftest.er1 >conftest.err
50308 rm -f conftest.er1
50309 cat conftest.err >&5
50310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50311 (exit $ac_status); } &&
50312 { ac_try='test -z "$ac_cxx_werror_flag"
50313 || test ! -s conftest.err'
50314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50315 (eval $ac_try) 2>&5
50316 ac_status=$?
50317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50318 (exit $ac_status); }; } &&
50319 { ac_try='test -s conftest.$ac_objext'
50320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50321 (eval $ac_try) 2>&5
50322 ac_status=$?
50323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50324 (exit $ac_status); }; }; then
50325 glibcxx_cv_func_modf_use=yes
50326 else
50327 echo "$as_me: failed program was:" >&5
50328 sed 's/^/| /' conftest.$ac_ext >&5
50330 glibcxx_cv_func_modf_use=no
50332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50333 ac_ext=c
50334 ac_cpp='$CPP $CPPFLAGS'
50335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50344 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50346 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50348 for ac_func in modf
50350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50351 echo "$as_me:$LINENO: checking for $ac_func" >&5
50352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50353 if eval "test \"\${$as_ac_var+set}\" = set"; then
50354 echo $ECHO_N "(cached) $ECHO_C" >&6
50355 else
50356 if test x$gcc_no_link = xyes; then
50357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50359 { (exit 1); exit 1; }; }
50361 cat >conftest.$ac_ext <<_ACEOF
50362 /* confdefs.h. */
50363 _ACEOF
50364 cat confdefs.h >>conftest.$ac_ext
50365 cat >>conftest.$ac_ext <<_ACEOF
50366 /* end confdefs.h. */
50367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50369 #define $ac_func innocuous_$ac_func
50371 /* System header to define __stub macros and hopefully few prototypes,
50372 which can conflict with char $ac_func (); below.
50373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50374 <limits.h> exists even on freestanding compilers. */
50376 #ifdef __STDC__
50377 # include <limits.h>
50378 #else
50379 # include <assert.h>
50380 #endif
50382 #undef $ac_func
50384 /* Override any gcc2 internal prototype to avoid an error. */
50385 #ifdef __cplusplus
50386 extern "C"
50388 #endif
50389 /* We use char because int might match the return type of a gcc2
50390 builtin and then its argument prototype would still apply. */
50391 char $ac_func ();
50392 /* The GNU C library defines this for functions which it implements
50393 to always fail with ENOSYS. Some functions are actually named
50394 something starting with __ and the normal name is an alias. */
50395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50396 choke me
50397 #else
50398 char (*f) () = $ac_func;
50399 #endif
50400 #ifdef __cplusplus
50402 #endif
50405 main ()
50407 return f != $ac_func;
50409 return 0;
50411 _ACEOF
50412 rm -f conftest.$ac_objext conftest$ac_exeext
50413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50414 (eval $ac_link) 2>conftest.er1
50415 ac_status=$?
50416 grep -v '^ *+' conftest.er1 >conftest.err
50417 rm -f conftest.er1
50418 cat conftest.err >&5
50419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50420 (exit $ac_status); } &&
50421 { ac_try='test -z "$ac_c_werror_flag"
50422 || test ! -s conftest.err'
50423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50424 (eval $ac_try) 2>&5
50425 ac_status=$?
50426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50427 (exit $ac_status); }; } &&
50428 { ac_try='test -s conftest$ac_exeext'
50429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430 (eval $ac_try) 2>&5
50431 ac_status=$?
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); }; }; then
50434 eval "$as_ac_var=yes"
50435 else
50436 echo "$as_me: failed program was:" >&5
50437 sed 's/^/| /' conftest.$ac_ext >&5
50439 eval "$as_ac_var=no"
50441 rm -f conftest.err conftest.$ac_objext \
50442 conftest$ac_exeext conftest.$ac_ext
50444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50446 if test `eval echo '${'$as_ac_var'}'` = yes; then
50447 cat >>confdefs.h <<_ACEOF
50448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50449 _ACEOF
50452 done
50454 else
50456 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50457 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50458 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50459 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50460 echo $ECHO_N "(cached) $ECHO_C" >&6
50461 else
50465 ac_ext=cc
50466 ac_cpp='$CXXCPP $CPPFLAGS'
50467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50471 cat >conftest.$ac_ext <<_ACEOF
50472 /* confdefs.h. */
50473 _ACEOF
50474 cat confdefs.h >>conftest.$ac_ext
50475 cat >>conftest.$ac_ext <<_ACEOF
50476 /* end confdefs.h. */
50477 #include <math.h>
50479 main ()
50481 _modf(0, 0);
50483 return 0;
50485 _ACEOF
50486 rm -f conftest.$ac_objext
50487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50488 (eval $ac_compile) 2>conftest.er1
50489 ac_status=$?
50490 grep -v '^ *+' conftest.er1 >conftest.err
50491 rm -f conftest.er1
50492 cat conftest.err >&5
50493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50494 (exit $ac_status); } &&
50495 { ac_try='test -z "$ac_cxx_werror_flag"
50496 || test ! -s conftest.err'
50497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50498 (eval $ac_try) 2>&5
50499 ac_status=$?
50500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50501 (exit $ac_status); }; } &&
50502 { ac_try='test -s conftest.$ac_objext'
50503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50504 (eval $ac_try) 2>&5
50505 ac_status=$?
50506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50507 (exit $ac_status); }; }; then
50508 glibcxx_cv_func__modf_use=yes
50509 else
50510 echo "$as_me: failed program was:" >&5
50511 sed 's/^/| /' conftest.$ac_ext >&5
50513 glibcxx_cv_func__modf_use=no
50515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50516 ac_ext=c
50517 ac_cpp='$CPP $CPPFLAGS'
50518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50526 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50527 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50529 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50531 for ac_func in _modf
50533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50534 echo "$as_me:$LINENO: checking for $ac_func" >&5
50535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50536 if eval "test \"\${$as_ac_var+set}\" = set"; then
50537 echo $ECHO_N "(cached) $ECHO_C" >&6
50538 else
50539 if test x$gcc_no_link = xyes; then
50540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50542 { (exit 1); exit 1; }; }
50544 cat >conftest.$ac_ext <<_ACEOF
50545 /* confdefs.h. */
50546 _ACEOF
50547 cat confdefs.h >>conftest.$ac_ext
50548 cat >>conftest.$ac_ext <<_ACEOF
50549 /* end confdefs.h. */
50550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50552 #define $ac_func innocuous_$ac_func
50554 /* System header to define __stub macros and hopefully few prototypes,
50555 which can conflict with char $ac_func (); below.
50556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50557 <limits.h> exists even on freestanding compilers. */
50559 #ifdef __STDC__
50560 # include <limits.h>
50561 #else
50562 # include <assert.h>
50563 #endif
50565 #undef $ac_func
50567 /* Override any gcc2 internal prototype to avoid an error. */
50568 #ifdef __cplusplus
50569 extern "C"
50571 #endif
50572 /* We use char because int might match the return type of a gcc2
50573 builtin and then its argument prototype would still apply. */
50574 char $ac_func ();
50575 /* The GNU C library defines this for functions which it implements
50576 to always fail with ENOSYS. Some functions are actually named
50577 something starting with __ and the normal name is an alias. */
50578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50579 choke me
50580 #else
50581 char (*f) () = $ac_func;
50582 #endif
50583 #ifdef __cplusplus
50585 #endif
50588 main ()
50590 return f != $ac_func;
50592 return 0;
50594 _ACEOF
50595 rm -f conftest.$ac_objext conftest$ac_exeext
50596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50597 (eval $ac_link) 2>conftest.er1
50598 ac_status=$?
50599 grep -v '^ *+' conftest.er1 >conftest.err
50600 rm -f conftest.er1
50601 cat conftest.err >&5
50602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50603 (exit $ac_status); } &&
50604 { ac_try='test -z "$ac_c_werror_flag"
50605 || test ! -s conftest.err'
50606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50607 (eval $ac_try) 2>&5
50608 ac_status=$?
50609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50610 (exit $ac_status); }; } &&
50611 { ac_try='test -s conftest$ac_exeext'
50612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50613 (eval $ac_try) 2>&5
50614 ac_status=$?
50615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616 (exit $ac_status); }; }; then
50617 eval "$as_ac_var=yes"
50618 else
50619 echo "$as_me: failed program was:" >&5
50620 sed 's/^/| /' conftest.$ac_ext >&5
50622 eval "$as_ac_var=no"
50624 rm -f conftest.err conftest.$ac_objext \
50625 conftest$ac_exeext conftest.$ac_ext
50627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50629 if test `eval echo '${'$as_ac_var'}'` = yes; then
50630 cat >>confdefs.h <<_ACEOF
50631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50632 _ACEOF
50635 done
50645 echo "$as_me:$LINENO: checking for powf declaration" >&5
50646 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50647 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50648 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50649 echo $ECHO_N "(cached) $ECHO_C" >&6
50650 else
50654 ac_ext=cc
50655 ac_cpp='$CXXCPP $CPPFLAGS'
50656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50660 cat >conftest.$ac_ext <<_ACEOF
50661 /* confdefs.h. */
50662 _ACEOF
50663 cat confdefs.h >>conftest.$ac_ext
50664 cat >>conftest.$ac_ext <<_ACEOF
50665 /* end confdefs.h. */
50666 #include <math.h>
50668 main ()
50670 powf(0, 0);
50672 return 0;
50674 _ACEOF
50675 rm -f conftest.$ac_objext
50676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50677 (eval $ac_compile) 2>conftest.er1
50678 ac_status=$?
50679 grep -v '^ *+' conftest.er1 >conftest.err
50680 rm -f conftest.er1
50681 cat conftest.err >&5
50682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50683 (exit $ac_status); } &&
50684 { ac_try='test -z "$ac_cxx_werror_flag"
50685 || test ! -s conftest.err'
50686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50687 (eval $ac_try) 2>&5
50688 ac_status=$?
50689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50690 (exit $ac_status); }; } &&
50691 { ac_try='test -s conftest.$ac_objext'
50692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50693 (eval $ac_try) 2>&5
50694 ac_status=$?
50695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50696 (exit $ac_status); }; }; then
50697 glibcxx_cv_func_powf_use=yes
50698 else
50699 echo "$as_me: failed program was:" >&5
50700 sed 's/^/| /' conftest.$ac_ext >&5
50702 glibcxx_cv_func_powf_use=no
50704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50705 ac_ext=c
50706 ac_cpp='$CPP $CPPFLAGS'
50707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50716 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50718 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50720 for ac_func in powf
50722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50723 echo "$as_me:$LINENO: checking for $ac_func" >&5
50724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50725 if eval "test \"\${$as_ac_var+set}\" = set"; then
50726 echo $ECHO_N "(cached) $ECHO_C" >&6
50727 else
50728 if test x$gcc_no_link = xyes; then
50729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50731 { (exit 1); exit 1; }; }
50733 cat >conftest.$ac_ext <<_ACEOF
50734 /* confdefs.h. */
50735 _ACEOF
50736 cat confdefs.h >>conftest.$ac_ext
50737 cat >>conftest.$ac_ext <<_ACEOF
50738 /* end confdefs.h. */
50739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50741 #define $ac_func innocuous_$ac_func
50743 /* System header to define __stub macros and hopefully few prototypes,
50744 which can conflict with char $ac_func (); below.
50745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50746 <limits.h> exists even on freestanding compilers. */
50748 #ifdef __STDC__
50749 # include <limits.h>
50750 #else
50751 # include <assert.h>
50752 #endif
50754 #undef $ac_func
50756 /* Override any gcc2 internal prototype to avoid an error. */
50757 #ifdef __cplusplus
50758 extern "C"
50760 #endif
50761 /* We use char because int might match the return type of a gcc2
50762 builtin and then its argument prototype would still apply. */
50763 char $ac_func ();
50764 /* The GNU C library defines this for functions which it implements
50765 to always fail with ENOSYS. Some functions are actually named
50766 something starting with __ and the normal name is an alias. */
50767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50768 choke me
50769 #else
50770 char (*f) () = $ac_func;
50771 #endif
50772 #ifdef __cplusplus
50774 #endif
50777 main ()
50779 return f != $ac_func;
50781 return 0;
50783 _ACEOF
50784 rm -f conftest.$ac_objext conftest$ac_exeext
50785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50786 (eval $ac_link) 2>conftest.er1
50787 ac_status=$?
50788 grep -v '^ *+' conftest.er1 >conftest.err
50789 rm -f conftest.er1
50790 cat conftest.err >&5
50791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50792 (exit $ac_status); } &&
50793 { ac_try='test -z "$ac_c_werror_flag"
50794 || test ! -s conftest.err'
50795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50796 (eval $ac_try) 2>&5
50797 ac_status=$?
50798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50799 (exit $ac_status); }; } &&
50800 { ac_try='test -s conftest$ac_exeext'
50801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50802 (eval $ac_try) 2>&5
50803 ac_status=$?
50804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50805 (exit $ac_status); }; }; then
50806 eval "$as_ac_var=yes"
50807 else
50808 echo "$as_me: failed program was:" >&5
50809 sed 's/^/| /' conftest.$ac_ext >&5
50811 eval "$as_ac_var=no"
50813 rm -f conftest.err conftest.$ac_objext \
50814 conftest$ac_exeext conftest.$ac_ext
50816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50818 if test `eval echo '${'$as_ac_var'}'` = yes; then
50819 cat >>confdefs.h <<_ACEOF
50820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50821 _ACEOF
50824 done
50826 else
50828 echo "$as_me:$LINENO: checking for _powf declaration" >&5
50829 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
50830 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50831 if test "${glibcxx_cv_func__powf_use+set}" = set; then
50832 echo $ECHO_N "(cached) $ECHO_C" >&6
50833 else
50837 ac_ext=cc
50838 ac_cpp='$CXXCPP $CPPFLAGS'
50839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50843 cat >conftest.$ac_ext <<_ACEOF
50844 /* confdefs.h. */
50845 _ACEOF
50846 cat confdefs.h >>conftest.$ac_ext
50847 cat >>conftest.$ac_ext <<_ACEOF
50848 /* end confdefs.h. */
50849 #include <math.h>
50851 main ()
50853 _powf(0, 0);
50855 return 0;
50857 _ACEOF
50858 rm -f conftest.$ac_objext
50859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50860 (eval $ac_compile) 2>conftest.er1
50861 ac_status=$?
50862 grep -v '^ *+' conftest.er1 >conftest.err
50863 rm -f conftest.er1
50864 cat conftest.err >&5
50865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50866 (exit $ac_status); } &&
50867 { ac_try='test -z "$ac_cxx_werror_flag"
50868 || test ! -s conftest.err'
50869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50870 (eval $ac_try) 2>&5
50871 ac_status=$?
50872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50873 (exit $ac_status); }; } &&
50874 { ac_try='test -s conftest.$ac_objext'
50875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50876 (eval $ac_try) 2>&5
50877 ac_status=$?
50878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50879 (exit $ac_status); }; }; then
50880 glibcxx_cv_func__powf_use=yes
50881 else
50882 echo "$as_me: failed program was:" >&5
50883 sed 's/^/| /' conftest.$ac_ext >&5
50885 glibcxx_cv_func__powf_use=no
50887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50888 ac_ext=c
50889 ac_cpp='$CPP $CPPFLAGS'
50890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
50899 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
50901 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50903 for ac_func in _powf
50905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50906 echo "$as_me:$LINENO: checking for $ac_func" >&5
50907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50908 if eval "test \"\${$as_ac_var+set}\" = set"; then
50909 echo $ECHO_N "(cached) $ECHO_C" >&6
50910 else
50911 if test x$gcc_no_link = xyes; then
50912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50914 { (exit 1); exit 1; }; }
50916 cat >conftest.$ac_ext <<_ACEOF
50917 /* confdefs.h. */
50918 _ACEOF
50919 cat confdefs.h >>conftest.$ac_ext
50920 cat >>conftest.$ac_ext <<_ACEOF
50921 /* end confdefs.h. */
50922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50924 #define $ac_func innocuous_$ac_func
50926 /* System header to define __stub macros and hopefully few prototypes,
50927 which can conflict with char $ac_func (); below.
50928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50929 <limits.h> exists even on freestanding compilers. */
50931 #ifdef __STDC__
50932 # include <limits.h>
50933 #else
50934 # include <assert.h>
50935 #endif
50937 #undef $ac_func
50939 /* Override any gcc2 internal prototype to avoid an error. */
50940 #ifdef __cplusplus
50941 extern "C"
50943 #endif
50944 /* We use char because int might match the return type of a gcc2
50945 builtin and then its argument prototype would still apply. */
50946 char $ac_func ();
50947 /* The GNU C library defines this for functions which it implements
50948 to always fail with ENOSYS. Some functions are actually named
50949 something starting with __ and the normal name is an alias. */
50950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50951 choke me
50952 #else
50953 char (*f) () = $ac_func;
50954 #endif
50955 #ifdef __cplusplus
50957 #endif
50960 main ()
50962 return f != $ac_func;
50964 return 0;
50966 _ACEOF
50967 rm -f conftest.$ac_objext conftest$ac_exeext
50968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50969 (eval $ac_link) 2>conftest.er1
50970 ac_status=$?
50971 grep -v '^ *+' conftest.er1 >conftest.err
50972 rm -f conftest.er1
50973 cat conftest.err >&5
50974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50975 (exit $ac_status); } &&
50976 { ac_try='test -z "$ac_c_werror_flag"
50977 || test ! -s conftest.err'
50978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50979 (eval $ac_try) 2>&5
50980 ac_status=$?
50981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50982 (exit $ac_status); }; } &&
50983 { ac_try='test -s conftest$ac_exeext'
50984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50985 (eval $ac_try) 2>&5
50986 ac_status=$?
50987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50988 (exit $ac_status); }; }; then
50989 eval "$as_ac_var=yes"
50990 else
50991 echo "$as_me: failed program was:" >&5
50992 sed 's/^/| /' conftest.$ac_ext >&5
50994 eval "$as_ac_var=no"
50996 rm -f conftest.err conftest.$ac_objext \
50997 conftest$ac_exeext conftest.$ac_ext
50999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51001 if test `eval echo '${'$as_ac_var'}'` = yes; then
51002 cat >>confdefs.h <<_ACEOF
51003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51004 _ACEOF
51007 done
51017 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51018 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51019 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51020 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51021 echo $ECHO_N "(cached) $ECHO_C" >&6
51022 else
51026 ac_ext=cc
51027 ac_cpp='$CXXCPP $CPPFLAGS'
51028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51032 cat >conftest.$ac_ext <<_ACEOF
51033 /* confdefs.h. */
51034 _ACEOF
51035 cat confdefs.h >>conftest.$ac_ext
51036 cat >>conftest.$ac_ext <<_ACEOF
51037 /* end confdefs.h. */
51038 #include <math.h>
51039 #ifdef HAVE_IEEEFP_H
51040 #include <ieeefp.h>
51041 #endif
51044 main ()
51046 sqrtf(0);
51048 return 0;
51050 _ACEOF
51051 rm -f conftest.$ac_objext
51052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51053 (eval $ac_compile) 2>conftest.er1
51054 ac_status=$?
51055 grep -v '^ *+' conftest.er1 >conftest.err
51056 rm -f conftest.er1
51057 cat conftest.err >&5
51058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51059 (exit $ac_status); } &&
51060 { ac_try='test -z "$ac_cxx_werror_flag"
51061 || test ! -s conftest.err'
51062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51063 (eval $ac_try) 2>&5
51064 ac_status=$?
51065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066 (exit $ac_status); }; } &&
51067 { ac_try='test -s conftest.$ac_objext'
51068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51069 (eval $ac_try) 2>&5
51070 ac_status=$?
51071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51072 (exit $ac_status); }; }; then
51073 glibcxx_cv_func_sqrtf_use=yes
51074 else
51075 echo "$as_me: failed program was:" >&5
51076 sed 's/^/| /' conftest.$ac_ext >&5
51078 glibcxx_cv_func_sqrtf_use=no
51080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51081 ac_ext=c
51082 ac_cpp='$CPP $CPPFLAGS'
51083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51092 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51094 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51096 for ac_func in sqrtf
51098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51099 echo "$as_me:$LINENO: checking for $ac_func" >&5
51100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51101 if eval "test \"\${$as_ac_var+set}\" = set"; then
51102 echo $ECHO_N "(cached) $ECHO_C" >&6
51103 else
51104 if test x$gcc_no_link = xyes; then
51105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51107 { (exit 1); exit 1; }; }
51109 cat >conftest.$ac_ext <<_ACEOF
51110 /* confdefs.h. */
51111 _ACEOF
51112 cat confdefs.h >>conftest.$ac_ext
51113 cat >>conftest.$ac_ext <<_ACEOF
51114 /* end confdefs.h. */
51115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51117 #define $ac_func innocuous_$ac_func
51119 /* System header to define __stub macros and hopefully few prototypes,
51120 which can conflict with char $ac_func (); below.
51121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51122 <limits.h> exists even on freestanding compilers. */
51124 #ifdef __STDC__
51125 # include <limits.h>
51126 #else
51127 # include <assert.h>
51128 #endif
51130 #undef $ac_func
51132 /* Override any gcc2 internal prototype to avoid an error. */
51133 #ifdef __cplusplus
51134 extern "C"
51136 #endif
51137 /* We use char because int might match the return type of a gcc2
51138 builtin and then its argument prototype would still apply. */
51139 char $ac_func ();
51140 /* The GNU C library defines this for functions which it implements
51141 to always fail with ENOSYS. Some functions are actually named
51142 something starting with __ and the normal name is an alias. */
51143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51144 choke me
51145 #else
51146 char (*f) () = $ac_func;
51147 #endif
51148 #ifdef __cplusplus
51150 #endif
51153 main ()
51155 return f != $ac_func;
51157 return 0;
51159 _ACEOF
51160 rm -f conftest.$ac_objext conftest$ac_exeext
51161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51162 (eval $ac_link) 2>conftest.er1
51163 ac_status=$?
51164 grep -v '^ *+' conftest.er1 >conftest.err
51165 rm -f conftest.er1
51166 cat conftest.err >&5
51167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51168 (exit $ac_status); } &&
51169 { ac_try='test -z "$ac_c_werror_flag"
51170 || test ! -s conftest.err'
51171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51172 (eval $ac_try) 2>&5
51173 ac_status=$?
51174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51175 (exit $ac_status); }; } &&
51176 { ac_try='test -s conftest$ac_exeext'
51177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51178 (eval $ac_try) 2>&5
51179 ac_status=$?
51180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51181 (exit $ac_status); }; }; then
51182 eval "$as_ac_var=yes"
51183 else
51184 echo "$as_me: failed program was:" >&5
51185 sed 's/^/| /' conftest.$ac_ext >&5
51187 eval "$as_ac_var=no"
51189 rm -f conftest.err conftest.$ac_objext \
51190 conftest$ac_exeext conftest.$ac_ext
51192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51194 if test `eval echo '${'$as_ac_var'}'` = yes; then
51195 cat >>confdefs.h <<_ACEOF
51196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51197 _ACEOF
51200 done
51202 else
51204 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51205 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51206 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51207 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51208 echo $ECHO_N "(cached) $ECHO_C" >&6
51209 else
51213 ac_ext=cc
51214 ac_cpp='$CXXCPP $CPPFLAGS'
51215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51219 cat >conftest.$ac_ext <<_ACEOF
51220 /* confdefs.h. */
51221 _ACEOF
51222 cat confdefs.h >>conftest.$ac_ext
51223 cat >>conftest.$ac_ext <<_ACEOF
51224 /* end confdefs.h. */
51225 #include <math.h>
51226 #ifdef HAVE_IEEEFP_H
51227 #include <ieeefp.h>
51228 #endif
51231 main ()
51233 _sqrtf(0);
51235 return 0;
51237 _ACEOF
51238 rm -f conftest.$ac_objext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51240 (eval $ac_compile) 2>conftest.er1
51241 ac_status=$?
51242 grep -v '^ *+' conftest.er1 >conftest.err
51243 rm -f conftest.er1
51244 cat conftest.err >&5
51245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51246 (exit $ac_status); } &&
51247 { ac_try='test -z "$ac_cxx_werror_flag"
51248 || test ! -s conftest.err'
51249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51250 (eval $ac_try) 2>&5
51251 ac_status=$?
51252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51253 (exit $ac_status); }; } &&
51254 { ac_try='test -s conftest.$ac_objext'
51255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51256 (eval $ac_try) 2>&5
51257 ac_status=$?
51258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51259 (exit $ac_status); }; }; then
51260 glibcxx_cv_func__sqrtf_use=yes
51261 else
51262 echo "$as_me: failed program was:" >&5
51263 sed 's/^/| /' conftest.$ac_ext >&5
51265 glibcxx_cv_func__sqrtf_use=no
51267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51268 ac_ext=c
51269 ac_cpp='$CPP $CPPFLAGS'
51270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51279 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51281 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51283 for ac_func in _sqrtf
51285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51286 echo "$as_me:$LINENO: checking for $ac_func" >&5
51287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51288 if eval "test \"\${$as_ac_var+set}\" = set"; then
51289 echo $ECHO_N "(cached) $ECHO_C" >&6
51290 else
51291 if test x$gcc_no_link = xyes; then
51292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51294 { (exit 1); exit 1; }; }
51296 cat >conftest.$ac_ext <<_ACEOF
51297 /* confdefs.h. */
51298 _ACEOF
51299 cat confdefs.h >>conftest.$ac_ext
51300 cat >>conftest.$ac_ext <<_ACEOF
51301 /* end confdefs.h. */
51302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51304 #define $ac_func innocuous_$ac_func
51306 /* System header to define __stub macros and hopefully few prototypes,
51307 which can conflict with char $ac_func (); below.
51308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51309 <limits.h> exists even on freestanding compilers. */
51311 #ifdef __STDC__
51312 # include <limits.h>
51313 #else
51314 # include <assert.h>
51315 #endif
51317 #undef $ac_func
51319 /* Override any gcc2 internal prototype to avoid an error. */
51320 #ifdef __cplusplus
51321 extern "C"
51323 #endif
51324 /* We use char because int might match the return type of a gcc2
51325 builtin and then its argument prototype would still apply. */
51326 char $ac_func ();
51327 /* The GNU C library defines this for functions which it implements
51328 to always fail with ENOSYS. Some functions are actually named
51329 something starting with __ and the normal name is an alias. */
51330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51331 choke me
51332 #else
51333 char (*f) () = $ac_func;
51334 #endif
51335 #ifdef __cplusplus
51337 #endif
51340 main ()
51342 return f != $ac_func;
51344 return 0;
51346 _ACEOF
51347 rm -f conftest.$ac_objext conftest$ac_exeext
51348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51349 (eval $ac_link) 2>conftest.er1
51350 ac_status=$?
51351 grep -v '^ *+' conftest.er1 >conftest.err
51352 rm -f conftest.er1
51353 cat conftest.err >&5
51354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51355 (exit $ac_status); } &&
51356 { ac_try='test -z "$ac_c_werror_flag"
51357 || test ! -s conftest.err'
51358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51359 (eval $ac_try) 2>&5
51360 ac_status=$?
51361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51362 (exit $ac_status); }; } &&
51363 { ac_try='test -s conftest$ac_exeext'
51364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51365 (eval $ac_try) 2>&5
51366 ac_status=$?
51367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51368 (exit $ac_status); }; }; then
51369 eval "$as_ac_var=yes"
51370 else
51371 echo "$as_me: failed program was:" >&5
51372 sed 's/^/| /' conftest.$ac_ext >&5
51374 eval "$as_ac_var=no"
51376 rm -f conftest.err conftest.$ac_objext \
51377 conftest$ac_exeext conftest.$ac_ext
51379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51381 if test `eval echo '${'$as_ac_var'}'` = yes; then
51382 cat >>confdefs.h <<_ACEOF
51383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51384 _ACEOF
51387 done
51397 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51398 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51399 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51400 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51401 echo $ECHO_N "(cached) $ECHO_C" >&6
51402 else
51406 ac_ext=cc
51407 ac_cpp='$CXXCPP $CPPFLAGS'
51408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51412 cat >conftest.$ac_ext <<_ACEOF
51413 /* confdefs.h. */
51414 _ACEOF
51415 cat confdefs.h >>conftest.$ac_ext
51416 cat >>conftest.$ac_ext <<_ACEOF
51417 /* end confdefs.h. */
51418 #include <math.h>
51420 main ()
51422 sincosf(0, 0, 0);
51424 return 0;
51426 _ACEOF
51427 rm -f conftest.$ac_objext
51428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51429 (eval $ac_compile) 2>conftest.er1
51430 ac_status=$?
51431 grep -v '^ *+' conftest.er1 >conftest.err
51432 rm -f conftest.er1
51433 cat conftest.err >&5
51434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51435 (exit $ac_status); } &&
51436 { ac_try='test -z "$ac_cxx_werror_flag"
51437 || test ! -s conftest.err'
51438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51439 (eval $ac_try) 2>&5
51440 ac_status=$?
51441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51442 (exit $ac_status); }; } &&
51443 { ac_try='test -s conftest.$ac_objext'
51444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51445 (eval $ac_try) 2>&5
51446 ac_status=$?
51447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51448 (exit $ac_status); }; }; then
51449 glibcxx_cv_func_sincosf_use=yes
51450 else
51451 echo "$as_me: failed program was:" >&5
51452 sed 's/^/| /' conftest.$ac_ext >&5
51454 glibcxx_cv_func_sincosf_use=no
51456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51457 ac_ext=c
51458 ac_cpp='$CPP $CPPFLAGS'
51459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51468 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51470 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51472 for ac_func in sincosf
51474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51475 echo "$as_me:$LINENO: checking for $ac_func" >&5
51476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51477 if eval "test \"\${$as_ac_var+set}\" = set"; then
51478 echo $ECHO_N "(cached) $ECHO_C" >&6
51479 else
51480 if test x$gcc_no_link = xyes; then
51481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51483 { (exit 1); exit 1; }; }
51485 cat >conftest.$ac_ext <<_ACEOF
51486 /* confdefs.h. */
51487 _ACEOF
51488 cat confdefs.h >>conftest.$ac_ext
51489 cat >>conftest.$ac_ext <<_ACEOF
51490 /* end confdefs.h. */
51491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51493 #define $ac_func innocuous_$ac_func
51495 /* System header to define __stub macros and hopefully few prototypes,
51496 which can conflict with char $ac_func (); below.
51497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51498 <limits.h> exists even on freestanding compilers. */
51500 #ifdef __STDC__
51501 # include <limits.h>
51502 #else
51503 # include <assert.h>
51504 #endif
51506 #undef $ac_func
51508 /* Override any gcc2 internal prototype to avoid an error. */
51509 #ifdef __cplusplus
51510 extern "C"
51512 #endif
51513 /* We use char because int might match the return type of a gcc2
51514 builtin and then its argument prototype would still apply. */
51515 char $ac_func ();
51516 /* The GNU C library defines this for functions which it implements
51517 to always fail with ENOSYS. Some functions are actually named
51518 something starting with __ and the normal name is an alias. */
51519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51520 choke me
51521 #else
51522 char (*f) () = $ac_func;
51523 #endif
51524 #ifdef __cplusplus
51526 #endif
51529 main ()
51531 return f != $ac_func;
51533 return 0;
51535 _ACEOF
51536 rm -f conftest.$ac_objext conftest$ac_exeext
51537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51538 (eval $ac_link) 2>conftest.er1
51539 ac_status=$?
51540 grep -v '^ *+' conftest.er1 >conftest.err
51541 rm -f conftest.er1
51542 cat conftest.err >&5
51543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51544 (exit $ac_status); } &&
51545 { ac_try='test -z "$ac_c_werror_flag"
51546 || test ! -s conftest.err'
51547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51548 (eval $ac_try) 2>&5
51549 ac_status=$?
51550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51551 (exit $ac_status); }; } &&
51552 { ac_try='test -s conftest$ac_exeext'
51553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51554 (eval $ac_try) 2>&5
51555 ac_status=$?
51556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51557 (exit $ac_status); }; }; then
51558 eval "$as_ac_var=yes"
51559 else
51560 echo "$as_me: failed program was:" >&5
51561 sed 's/^/| /' conftest.$ac_ext >&5
51563 eval "$as_ac_var=no"
51565 rm -f conftest.err conftest.$ac_objext \
51566 conftest$ac_exeext conftest.$ac_ext
51568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51570 if test `eval echo '${'$as_ac_var'}'` = yes; then
51571 cat >>confdefs.h <<_ACEOF
51572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51573 _ACEOF
51576 done
51578 else
51580 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51581 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51582 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51583 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51584 echo $ECHO_N "(cached) $ECHO_C" >&6
51585 else
51589 ac_ext=cc
51590 ac_cpp='$CXXCPP $CPPFLAGS'
51591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51595 cat >conftest.$ac_ext <<_ACEOF
51596 /* confdefs.h. */
51597 _ACEOF
51598 cat confdefs.h >>conftest.$ac_ext
51599 cat >>conftest.$ac_ext <<_ACEOF
51600 /* end confdefs.h. */
51601 #include <math.h>
51603 main ()
51605 _sincosf(0, 0, 0);
51607 return 0;
51609 _ACEOF
51610 rm -f conftest.$ac_objext
51611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51612 (eval $ac_compile) 2>conftest.er1
51613 ac_status=$?
51614 grep -v '^ *+' conftest.er1 >conftest.err
51615 rm -f conftest.er1
51616 cat conftest.err >&5
51617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51618 (exit $ac_status); } &&
51619 { ac_try='test -z "$ac_cxx_werror_flag"
51620 || test ! -s conftest.err'
51621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51622 (eval $ac_try) 2>&5
51623 ac_status=$?
51624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51625 (exit $ac_status); }; } &&
51626 { ac_try='test -s conftest.$ac_objext'
51627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51628 (eval $ac_try) 2>&5
51629 ac_status=$?
51630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51631 (exit $ac_status); }; }; then
51632 glibcxx_cv_func__sincosf_use=yes
51633 else
51634 echo "$as_me: failed program was:" >&5
51635 sed 's/^/| /' conftest.$ac_ext >&5
51637 glibcxx_cv_func__sincosf_use=no
51639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51640 ac_ext=c
51641 ac_cpp='$CPP $CPPFLAGS'
51642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51651 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51653 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51655 for ac_func in _sincosf
51657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51658 echo "$as_me:$LINENO: checking for $ac_func" >&5
51659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51660 if eval "test \"\${$as_ac_var+set}\" = set"; then
51661 echo $ECHO_N "(cached) $ECHO_C" >&6
51662 else
51663 if test x$gcc_no_link = xyes; then
51664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51666 { (exit 1); exit 1; }; }
51668 cat >conftest.$ac_ext <<_ACEOF
51669 /* confdefs.h. */
51670 _ACEOF
51671 cat confdefs.h >>conftest.$ac_ext
51672 cat >>conftest.$ac_ext <<_ACEOF
51673 /* end confdefs.h. */
51674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51676 #define $ac_func innocuous_$ac_func
51678 /* System header to define __stub macros and hopefully few prototypes,
51679 which can conflict with char $ac_func (); below.
51680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51681 <limits.h> exists even on freestanding compilers. */
51683 #ifdef __STDC__
51684 # include <limits.h>
51685 #else
51686 # include <assert.h>
51687 #endif
51689 #undef $ac_func
51691 /* Override any gcc2 internal prototype to avoid an error. */
51692 #ifdef __cplusplus
51693 extern "C"
51695 #endif
51696 /* We use char because int might match the return type of a gcc2
51697 builtin and then its argument prototype would still apply. */
51698 char $ac_func ();
51699 /* The GNU C library defines this for functions which it implements
51700 to always fail with ENOSYS. Some functions are actually named
51701 something starting with __ and the normal name is an alias. */
51702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51703 choke me
51704 #else
51705 char (*f) () = $ac_func;
51706 #endif
51707 #ifdef __cplusplus
51709 #endif
51712 main ()
51714 return f != $ac_func;
51716 return 0;
51718 _ACEOF
51719 rm -f conftest.$ac_objext conftest$ac_exeext
51720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51721 (eval $ac_link) 2>conftest.er1
51722 ac_status=$?
51723 grep -v '^ *+' conftest.er1 >conftest.err
51724 rm -f conftest.er1
51725 cat conftest.err >&5
51726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51727 (exit $ac_status); } &&
51728 { ac_try='test -z "$ac_c_werror_flag"
51729 || test ! -s conftest.err'
51730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51731 (eval $ac_try) 2>&5
51732 ac_status=$?
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); }; } &&
51735 { ac_try='test -s conftest$ac_exeext'
51736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51737 (eval $ac_try) 2>&5
51738 ac_status=$?
51739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51740 (exit $ac_status); }; }; then
51741 eval "$as_ac_var=yes"
51742 else
51743 echo "$as_me: failed program was:" >&5
51744 sed 's/^/| /' conftest.$ac_ext >&5
51746 eval "$as_ac_var=no"
51748 rm -f conftest.err conftest.$ac_objext \
51749 conftest$ac_exeext conftest.$ac_ext
51751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51753 if test `eval echo '${'$as_ac_var'}'` = yes; then
51754 cat >>confdefs.h <<_ACEOF
51755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51756 _ACEOF
51759 done
51769 echo "$as_me:$LINENO: checking for finitef declaration" >&5
51770 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
51771 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51772 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
51773 echo $ECHO_N "(cached) $ECHO_C" >&6
51774 else
51778 ac_ext=cc
51779 ac_cpp='$CXXCPP $CPPFLAGS'
51780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51784 cat >conftest.$ac_ext <<_ACEOF
51785 /* confdefs.h. */
51786 _ACEOF
51787 cat confdefs.h >>conftest.$ac_ext
51788 cat >>conftest.$ac_ext <<_ACEOF
51789 /* end confdefs.h. */
51790 #include <math.h>
51791 #ifdef HAVE_IEEEFP_H
51792 #include <ieeefp.h>
51793 #endif
51796 main ()
51798 finitef(0);
51800 return 0;
51802 _ACEOF
51803 rm -f conftest.$ac_objext
51804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51805 (eval $ac_compile) 2>conftest.er1
51806 ac_status=$?
51807 grep -v '^ *+' conftest.er1 >conftest.err
51808 rm -f conftest.er1
51809 cat conftest.err >&5
51810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51811 (exit $ac_status); } &&
51812 { ac_try='test -z "$ac_cxx_werror_flag"
51813 || test ! -s conftest.err'
51814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51815 (eval $ac_try) 2>&5
51816 ac_status=$?
51817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818 (exit $ac_status); }; } &&
51819 { ac_try='test -s conftest.$ac_objext'
51820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51821 (eval $ac_try) 2>&5
51822 ac_status=$?
51823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51824 (exit $ac_status); }; }; then
51825 glibcxx_cv_func_finitef_use=yes
51826 else
51827 echo "$as_me: failed program was:" >&5
51828 sed 's/^/| /' conftest.$ac_ext >&5
51830 glibcxx_cv_func_finitef_use=no
51832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
51844 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
51846 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51848 for ac_func in finitef
51850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51851 echo "$as_me:$LINENO: checking for $ac_func" >&5
51852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51853 if eval "test \"\${$as_ac_var+set}\" = set"; then
51854 echo $ECHO_N "(cached) $ECHO_C" >&6
51855 else
51856 if test x$gcc_no_link = xyes; then
51857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51859 { (exit 1); exit 1; }; }
51861 cat >conftest.$ac_ext <<_ACEOF
51862 /* confdefs.h. */
51863 _ACEOF
51864 cat confdefs.h >>conftest.$ac_ext
51865 cat >>conftest.$ac_ext <<_ACEOF
51866 /* end confdefs.h. */
51867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51869 #define $ac_func innocuous_$ac_func
51871 /* System header to define __stub macros and hopefully few prototypes,
51872 which can conflict with char $ac_func (); below.
51873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51874 <limits.h> exists even on freestanding compilers. */
51876 #ifdef __STDC__
51877 # include <limits.h>
51878 #else
51879 # include <assert.h>
51880 #endif
51882 #undef $ac_func
51884 /* Override any gcc2 internal prototype to avoid an error. */
51885 #ifdef __cplusplus
51886 extern "C"
51888 #endif
51889 /* We use char because int might match the return type of a gcc2
51890 builtin and then its argument prototype would still apply. */
51891 char $ac_func ();
51892 /* The GNU C library defines this for functions which it implements
51893 to always fail with ENOSYS. Some functions are actually named
51894 something starting with __ and the normal name is an alias. */
51895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51896 choke me
51897 #else
51898 char (*f) () = $ac_func;
51899 #endif
51900 #ifdef __cplusplus
51902 #endif
51905 main ()
51907 return f != $ac_func;
51909 return 0;
51911 _ACEOF
51912 rm -f conftest.$ac_objext conftest$ac_exeext
51913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51914 (eval $ac_link) 2>conftest.er1
51915 ac_status=$?
51916 grep -v '^ *+' conftest.er1 >conftest.err
51917 rm -f conftest.er1
51918 cat conftest.err >&5
51919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51920 (exit $ac_status); } &&
51921 { ac_try='test -z "$ac_c_werror_flag"
51922 || test ! -s conftest.err'
51923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51924 (eval $ac_try) 2>&5
51925 ac_status=$?
51926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51927 (exit $ac_status); }; } &&
51928 { ac_try='test -s conftest$ac_exeext'
51929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51930 (eval $ac_try) 2>&5
51931 ac_status=$?
51932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51933 (exit $ac_status); }; }; then
51934 eval "$as_ac_var=yes"
51935 else
51936 echo "$as_me: failed program was:" >&5
51937 sed 's/^/| /' conftest.$ac_ext >&5
51939 eval "$as_ac_var=no"
51941 rm -f conftest.err conftest.$ac_objext \
51942 conftest$ac_exeext conftest.$ac_ext
51944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51946 if test `eval echo '${'$as_ac_var'}'` = yes; then
51947 cat >>confdefs.h <<_ACEOF
51948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51949 _ACEOF
51952 done
51954 else
51956 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
51957 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
51958 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51959 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
51960 echo $ECHO_N "(cached) $ECHO_C" >&6
51961 else
51965 ac_ext=cc
51966 ac_cpp='$CXXCPP $CPPFLAGS'
51967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51971 cat >conftest.$ac_ext <<_ACEOF
51972 /* confdefs.h. */
51973 _ACEOF
51974 cat confdefs.h >>conftest.$ac_ext
51975 cat >>conftest.$ac_ext <<_ACEOF
51976 /* end confdefs.h. */
51977 #include <math.h>
51978 #ifdef HAVE_IEEEFP_H
51979 #include <ieeefp.h>
51980 #endif
51983 main ()
51985 _finitef(0);
51987 return 0;
51989 _ACEOF
51990 rm -f conftest.$ac_objext
51991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51992 (eval $ac_compile) 2>conftest.er1
51993 ac_status=$?
51994 grep -v '^ *+' conftest.er1 >conftest.err
51995 rm -f conftest.er1
51996 cat conftest.err >&5
51997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51998 (exit $ac_status); } &&
51999 { ac_try='test -z "$ac_cxx_werror_flag"
52000 || test ! -s conftest.err'
52001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52002 (eval $ac_try) 2>&5
52003 ac_status=$?
52004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52005 (exit $ac_status); }; } &&
52006 { ac_try='test -s conftest.$ac_objext'
52007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52008 (eval $ac_try) 2>&5
52009 ac_status=$?
52010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52011 (exit $ac_status); }; }; then
52012 glibcxx_cv_func__finitef_use=yes
52013 else
52014 echo "$as_me: failed program was:" >&5
52015 sed 's/^/| /' conftest.$ac_ext >&5
52017 glibcxx_cv_func__finitef_use=no
52019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52020 ac_ext=c
52021 ac_cpp='$CPP $CPPFLAGS'
52022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52031 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52033 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52035 for ac_func in _finitef
52037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52038 echo "$as_me:$LINENO: checking for $ac_func" >&5
52039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52040 if eval "test \"\${$as_ac_var+set}\" = set"; then
52041 echo $ECHO_N "(cached) $ECHO_C" >&6
52042 else
52043 if test x$gcc_no_link = xyes; then
52044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52046 { (exit 1); exit 1; }; }
52048 cat >conftest.$ac_ext <<_ACEOF
52049 /* confdefs.h. */
52050 _ACEOF
52051 cat confdefs.h >>conftest.$ac_ext
52052 cat >>conftest.$ac_ext <<_ACEOF
52053 /* end confdefs.h. */
52054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52056 #define $ac_func innocuous_$ac_func
52058 /* System header to define __stub macros and hopefully few prototypes,
52059 which can conflict with char $ac_func (); below.
52060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52061 <limits.h> exists even on freestanding compilers. */
52063 #ifdef __STDC__
52064 # include <limits.h>
52065 #else
52066 # include <assert.h>
52067 #endif
52069 #undef $ac_func
52071 /* Override any gcc2 internal prototype to avoid an error. */
52072 #ifdef __cplusplus
52073 extern "C"
52075 #endif
52076 /* We use char because int might match the return type of a gcc2
52077 builtin and then its argument prototype would still apply. */
52078 char $ac_func ();
52079 /* The GNU C library defines this for functions which it implements
52080 to always fail with ENOSYS. Some functions are actually named
52081 something starting with __ and the normal name is an alias. */
52082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52083 choke me
52084 #else
52085 char (*f) () = $ac_func;
52086 #endif
52087 #ifdef __cplusplus
52089 #endif
52092 main ()
52094 return f != $ac_func;
52096 return 0;
52098 _ACEOF
52099 rm -f conftest.$ac_objext conftest$ac_exeext
52100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52101 (eval $ac_link) 2>conftest.er1
52102 ac_status=$?
52103 grep -v '^ *+' conftest.er1 >conftest.err
52104 rm -f conftest.er1
52105 cat conftest.err >&5
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); } &&
52108 { ac_try='test -z "$ac_c_werror_flag"
52109 || test ! -s conftest.err'
52110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52111 (eval $ac_try) 2>&5
52112 ac_status=$?
52113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52114 (exit $ac_status); }; } &&
52115 { ac_try='test -s conftest$ac_exeext'
52116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52117 (eval $ac_try) 2>&5
52118 ac_status=$?
52119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52120 (exit $ac_status); }; }; then
52121 eval "$as_ac_var=yes"
52122 else
52123 echo "$as_me: failed program was:" >&5
52124 sed 's/^/| /' conftest.$ac_ext >&5
52126 eval "$as_ac_var=no"
52128 rm -f conftest.err conftest.$ac_objext \
52129 conftest$ac_exeext conftest.$ac_ext
52131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52133 if test `eval echo '${'$as_ac_var'}'` = yes; then
52134 cat >>confdefs.h <<_ACEOF
52135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52136 _ACEOF
52139 done
52149 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52150 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52151 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52152 echo $ECHO_N "(cached) $ECHO_C" >&6
52153 else
52157 ac_ext=cc
52158 ac_cpp='$CXXCPP $CPPFLAGS'
52159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52163 cat >conftest.$ac_ext <<_ACEOF
52164 /* confdefs.h. */
52165 _ACEOF
52166 cat confdefs.h >>conftest.$ac_ext
52167 cat >>conftest.$ac_ext <<_ACEOF
52168 /* end confdefs.h. */
52169 #include <math.h>
52171 main ()
52173 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52175 return 0;
52177 _ACEOF
52178 rm -f conftest.$ac_objext
52179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52180 (eval $ac_compile) 2>conftest.er1
52181 ac_status=$?
52182 grep -v '^ *+' conftest.er1 >conftest.err
52183 rm -f conftest.er1
52184 cat conftest.err >&5
52185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52186 (exit $ac_status); } &&
52187 { ac_try='test -z "$ac_cxx_werror_flag"
52188 || test ! -s conftest.err'
52189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52190 (eval $ac_try) 2>&5
52191 ac_status=$?
52192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52193 (exit $ac_status); }; } &&
52194 { ac_try='test -s conftest.$ac_objext'
52195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52196 (eval $ac_try) 2>&5
52197 ac_status=$?
52198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52199 (exit $ac_status); }; }; then
52200 glibcxx_cv_func_long_double_trig_use=yes
52201 else
52202 echo "$as_me: failed program was:" >&5
52203 sed 's/^/| /' conftest.$ac_ext >&5
52205 glibcxx_cv_func_long_double_trig_use=no
52207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52208 ac_ext=c
52209 ac_cpp='$CPP $CPPFLAGS'
52210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52217 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52218 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52228 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52231 echo "$as_me:$LINENO: checking for $ac_func" >&5
52232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52233 if eval "test \"\${$as_ac_var+set}\" = set"; then
52234 echo $ECHO_N "(cached) $ECHO_C" >&6
52235 else
52236 if test x$gcc_no_link = xyes; then
52237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52239 { (exit 1); exit 1; }; }
52241 cat >conftest.$ac_ext <<_ACEOF
52242 /* confdefs.h. */
52243 _ACEOF
52244 cat confdefs.h >>conftest.$ac_ext
52245 cat >>conftest.$ac_ext <<_ACEOF
52246 /* end confdefs.h. */
52247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52249 #define $ac_func innocuous_$ac_func
52251 /* System header to define __stub macros and hopefully few prototypes,
52252 which can conflict with char $ac_func (); below.
52253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52254 <limits.h> exists even on freestanding compilers. */
52256 #ifdef __STDC__
52257 # include <limits.h>
52258 #else
52259 # include <assert.h>
52260 #endif
52262 #undef $ac_func
52264 /* Override any gcc2 internal prototype to avoid an error. */
52265 #ifdef __cplusplus
52266 extern "C"
52268 #endif
52269 /* We use char because int might match the return type of a gcc2
52270 builtin and then its argument prototype would still apply. */
52271 char $ac_func ();
52272 /* The GNU C library defines this for functions which it implements
52273 to always fail with ENOSYS. Some functions are actually named
52274 something starting with __ and the normal name is an alias. */
52275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52276 choke me
52277 #else
52278 char (*f) () = $ac_func;
52279 #endif
52280 #ifdef __cplusplus
52282 #endif
52285 main ()
52287 return f != $ac_func;
52289 return 0;
52291 _ACEOF
52292 rm -f conftest.$ac_objext conftest$ac_exeext
52293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52294 (eval $ac_link) 2>conftest.er1
52295 ac_status=$?
52296 grep -v '^ *+' conftest.er1 >conftest.err
52297 rm -f conftest.er1
52298 cat conftest.err >&5
52299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52300 (exit $ac_status); } &&
52301 { ac_try='test -z "$ac_c_werror_flag"
52302 || test ! -s conftest.err'
52303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52304 (eval $ac_try) 2>&5
52305 ac_status=$?
52306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52307 (exit $ac_status); }; } &&
52308 { ac_try='test -s conftest$ac_exeext'
52309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52310 (eval $ac_try) 2>&5
52311 ac_status=$?
52312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52313 (exit $ac_status); }; }; then
52314 eval "$as_ac_var=yes"
52315 else
52316 echo "$as_me: failed program was:" >&5
52317 sed 's/^/| /' conftest.$ac_ext >&5
52319 eval "$as_ac_var=no"
52321 rm -f conftest.err conftest.$ac_objext \
52322 conftest$ac_exeext conftest.$ac_ext
52324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52326 if test `eval echo '${'$as_ac_var'}'` = yes; then
52327 cat >>confdefs.h <<_ACEOF
52328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52329 _ACEOF
52332 done
52334 else
52335 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52336 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52337 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52338 echo $ECHO_N "(cached) $ECHO_C" >&6
52339 else
52343 ac_ext=cc
52344 ac_cpp='$CXXCPP $CPPFLAGS'
52345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52349 cat >conftest.$ac_ext <<_ACEOF
52350 /* confdefs.h. */
52351 _ACEOF
52352 cat confdefs.h >>conftest.$ac_ext
52353 cat >>conftest.$ac_ext <<_ACEOF
52354 /* end confdefs.h. */
52355 #include <math.h>
52357 main ()
52359 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52361 return 0;
52363 _ACEOF
52364 rm -f conftest.$ac_objext
52365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52366 (eval $ac_compile) 2>conftest.er1
52367 ac_status=$?
52368 grep -v '^ *+' conftest.er1 >conftest.err
52369 rm -f conftest.er1
52370 cat conftest.err >&5
52371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52372 (exit $ac_status); } &&
52373 { ac_try='test -z "$ac_cxx_werror_flag"
52374 || test ! -s conftest.err'
52375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52376 (eval $ac_try) 2>&5
52377 ac_status=$?
52378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52379 (exit $ac_status); }; } &&
52380 { ac_try='test -s conftest.$ac_objext'
52381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52382 (eval $ac_try) 2>&5
52383 ac_status=$?
52384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52385 (exit $ac_status); }; }; then
52386 glibcxx_cv_func__long_double_trig_use=yes
52387 else
52388 echo "$as_me: failed program was:" >&5
52389 sed 's/^/| /' conftest.$ac_ext >&5
52391 glibcxx_cv_func__long_double_trig_use=no
52393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52394 ac_ext=c
52395 ac_cpp='$CPP $CPPFLAGS'
52396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52403 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52404 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52414 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52417 echo "$as_me:$LINENO: checking for $ac_func" >&5
52418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52419 if eval "test \"\${$as_ac_var+set}\" = set"; then
52420 echo $ECHO_N "(cached) $ECHO_C" >&6
52421 else
52422 if test x$gcc_no_link = xyes; then
52423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52425 { (exit 1); exit 1; }; }
52427 cat >conftest.$ac_ext <<_ACEOF
52428 /* confdefs.h. */
52429 _ACEOF
52430 cat confdefs.h >>conftest.$ac_ext
52431 cat >>conftest.$ac_ext <<_ACEOF
52432 /* end confdefs.h. */
52433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52435 #define $ac_func innocuous_$ac_func
52437 /* System header to define __stub macros and hopefully few prototypes,
52438 which can conflict with char $ac_func (); below.
52439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52440 <limits.h> exists even on freestanding compilers. */
52442 #ifdef __STDC__
52443 # include <limits.h>
52444 #else
52445 # include <assert.h>
52446 #endif
52448 #undef $ac_func
52450 /* Override any gcc2 internal prototype to avoid an error. */
52451 #ifdef __cplusplus
52452 extern "C"
52454 #endif
52455 /* We use char because int might match the return type of a gcc2
52456 builtin and then its argument prototype would still apply. */
52457 char $ac_func ();
52458 /* The GNU C library defines this for functions which it implements
52459 to always fail with ENOSYS. Some functions are actually named
52460 something starting with __ and the normal name is an alias. */
52461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52462 choke me
52463 #else
52464 char (*f) () = $ac_func;
52465 #endif
52466 #ifdef __cplusplus
52468 #endif
52471 main ()
52473 return f != $ac_func;
52475 return 0;
52477 _ACEOF
52478 rm -f conftest.$ac_objext conftest$ac_exeext
52479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52480 (eval $ac_link) 2>conftest.er1
52481 ac_status=$?
52482 grep -v '^ *+' conftest.er1 >conftest.err
52483 rm -f conftest.er1
52484 cat conftest.err >&5
52485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52486 (exit $ac_status); } &&
52487 { ac_try='test -z "$ac_c_werror_flag"
52488 || test ! -s conftest.err'
52489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52490 (eval $ac_try) 2>&5
52491 ac_status=$?
52492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52493 (exit $ac_status); }; } &&
52494 { ac_try='test -s conftest$ac_exeext'
52495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52496 (eval $ac_try) 2>&5
52497 ac_status=$?
52498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52499 (exit $ac_status); }; }; then
52500 eval "$as_ac_var=yes"
52501 else
52502 echo "$as_me: failed program was:" >&5
52503 sed 's/^/| /' conftest.$ac_ext >&5
52505 eval "$as_ac_var=no"
52507 rm -f conftest.err conftest.$ac_objext \
52508 conftest$ac_exeext conftest.$ac_ext
52510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52512 if test `eval echo '${'$as_ac_var'}'` = yes; then
52513 cat >>confdefs.h <<_ACEOF
52514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52515 _ACEOF
52518 done
52536 echo "$as_me:$LINENO: checking for long double round functions" >&5
52537 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52538 if test "${glibcxx_cv_func_long_double_round_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>
52558 main ()
52560 ceill (0); floorl (0);
52562 return 0;
52564 _ACEOF
52565 rm -f conftest.$ac_objext
52566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52567 (eval $ac_compile) 2>conftest.er1
52568 ac_status=$?
52569 grep -v '^ *+' conftest.er1 >conftest.err
52570 rm -f conftest.er1
52571 cat conftest.err >&5
52572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573 (exit $ac_status); } &&
52574 { ac_try='test -z "$ac_cxx_werror_flag"
52575 || test ! -s conftest.err'
52576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52577 (eval $ac_try) 2>&5
52578 ac_status=$?
52579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52580 (exit $ac_status); }; } &&
52581 { ac_try='test -s conftest.$ac_objext'
52582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52583 (eval $ac_try) 2>&5
52584 ac_status=$?
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); }; }; then
52587 glibcxx_cv_func_long_double_round_use=yes
52588 else
52589 echo "$as_me: failed program was:" >&5
52590 sed 's/^/| /' conftest.$ac_ext >&5
52592 glibcxx_cv_func_long_double_round_use=no
52594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52595 ac_ext=c
52596 ac_cpp='$CPP $CPPFLAGS'
52597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52604 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52605 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52608 for ac_func in ceill floorl
52610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52611 echo "$as_me:$LINENO: checking for $ac_func" >&5
52612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52613 if eval "test \"\${$as_ac_var+set}\" = set"; then
52614 echo $ECHO_N "(cached) $ECHO_C" >&6
52615 else
52616 if test x$gcc_no_link = xyes; then
52617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52619 { (exit 1); exit 1; }; }
52621 cat >conftest.$ac_ext <<_ACEOF
52622 /* confdefs.h. */
52623 _ACEOF
52624 cat confdefs.h >>conftest.$ac_ext
52625 cat >>conftest.$ac_ext <<_ACEOF
52626 /* end confdefs.h. */
52627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52629 #define $ac_func innocuous_$ac_func
52631 /* System header to define __stub macros and hopefully few prototypes,
52632 which can conflict with char $ac_func (); below.
52633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52634 <limits.h> exists even on freestanding compilers. */
52636 #ifdef __STDC__
52637 # include <limits.h>
52638 #else
52639 # include <assert.h>
52640 #endif
52642 #undef $ac_func
52644 /* Override any gcc2 internal prototype to avoid an error. */
52645 #ifdef __cplusplus
52646 extern "C"
52648 #endif
52649 /* We use char because int might match the return type of a gcc2
52650 builtin and then its argument prototype would still apply. */
52651 char $ac_func ();
52652 /* The GNU C library defines this for functions which it implements
52653 to always fail with ENOSYS. Some functions are actually named
52654 something starting with __ and the normal name is an alias. */
52655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52656 choke me
52657 #else
52658 char (*f) () = $ac_func;
52659 #endif
52660 #ifdef __cplusplus
52662 #endif
52665 main ()
52667 return f != $ac_func;
52669 return 0;
52671 _ACEOF
52672 rm -f conftest.$ac_objext conftest$ac_exeext
52673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52674 (eval $ac_link) 2>conftest.er1
52675 ac_status=$?
52676 grep -v '^ *+' conftest.er1 >conftest.err
52677 rm -f conftest.er1
52678 cat conftest.err >&5
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); } &&
52681 { ac_try='test -z "$ac_c_werror_flag"
52682 || test ! -s conftest.err'
52683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52684 (eval $ac_try) 2>&5
52685 ac_status=$?
52686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687 (exit $ac_status); }; } &&
52688 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
52694 eval "$as_ac_var=yes"
52695 else
52696 echo "$as_me: failed program was:" >&5
52697 sed 's/^/| /' conftest.$ac_ext >&5
52699 eval "$as_ac_var=no"
52701 rm -f conftest.err conftest.$ac_objext \
52702 conftest$ac_exeext conftest.$ac_ext
52704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52706 if test `eval echo '${'$as_ac_var'}'` = yes; then
52707 cat >>confdefs.h <<_ACEOF
52708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52709 _ACEOF
52712 done
52714 else
52715 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52716 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52717 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52718 echo $ECHO_N "(cached) $ECHO_C" >&6
52719 else
52723 ac_ext=cc
52724 ac_cpp='$CXXCPP $CPPFLAGS'
52725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52729 cat >conftest.$ac_ext <<_ACEOF
52730 /* confdefs.h. */
52731 _ACEOF
52732 cat confdefs.h >>conftest.$ac_ext
52733 cat >>conftest.$ac_ext <<_ACEOF
52734 /* end confdefs.h. */
52735 #include <math.h>
52737 main ()
52739 _ceill (0); _floorl (0);
52741 return 0;
52743 _ACEOF
52744 rm -f conftest.$ac_objext
52745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52746 (eval $ac_compile) 2>conftest.er1
52747 ac_status=$?
52748 grep -v '^ *+' conftest.er1 >conftest.err
52749 rm -f conftest.er1
52750 cat conftest.err >&5
52751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52752 (exit $ac_status); } &&
52753 { ac_try='test -z "$ac_cxx_werror_flag"
52754 || test ! -s conftest.err'
52755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52756 (eval $ac_try) 2>&5
52757 ac_status=$?
52758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52759 (exit $ac_status); }; } &&
52760 { ac_try='test -s conftest.$ac_objext'
52761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52762 (eval $ac_try) 2>&5
52763 ac_status=$?
52764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52765 (exit $ac_status); }; }; then
52766 glibcxx_cv_func__long_double_round_use=yes
52767 else
52768 echo "$as_me: failed program was:" >&5
52769 sed 's/^/| /' conftest.$ac_ext >&5
52771 glibcxx_cv_func__long_double_round_use=no
52773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52774 ac_ext=c
52775 ac_cpp='$CPP $CPPFLAGS'
52776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52782 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
52783 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
52784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52787 for ac_func in _ceill _floorl
52789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52790 echo "$as_me:$LINENO: checking for $ac_func" >&5
52791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52792 if eval "test \"\${$as_ac_var+set}\" = set"; then
52793 echo $ECHO_N "(cached) $ECHO_C" >&6
52794 else
52795 if test x$gcc_no_link = xyes; then
52796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52798 { (exit 1); exit 1; }; }
52800 cat >conftest.$ac_ext <<_ACEOF
52801 /* confdefs.h. */
52802 _ACEOF
52803 cat confdefs.h >>conftest.$ac_ext
52804 cat >>conftest.$ac_ext <<_ACEOF
52805 /* end confdefs.h. */
52806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52808 #define $ac_func innocuous_$ac_func
52810 /* System header to define __stub macros and hopefully few prototypes,
52811 which can conflict with char $ac_func (); below.
52812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52813 <limits.h> exists even on freestanding compilers. */
52815 #ifdef __STDC__
52816 # include <limits.h>
52817 #else
52818 # include <assert.h>
52819 #endif
52821 #undef $ac_func
52823 /* Override any gcc2 internal prototype to avoid an error. */
52824 #ifdef __cplusplus
52825 extern "C"
52827 #endif
52828 /* We use char because int might match the return type of a gcc2
52829 builtin and then its argument prototype would still apply. */
52830 char $ac_func ();
52831 /* The GNU C library defines this for functions which it implements
52832 to always fail with ENOSYS. Some functions are actually named
52833 something starting with __ and the normal name is an alias. */
52834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52835 choke me
52836 #else
52837 char (*f) () = $ac_func;
52838 #endif
52839 #ifdef __cplusplus
52841 #endif
52844 main ()
52846 return f != $ac_func;
52848 return 0;
52850 _ACEOF
52851 rm -f conftest.$ac_objext conftest$ac_exeext
52852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52853 (eval $ac_link) 2>conftest.er1
52854 ac_status=$?
52855 grep -v '^ *+' conftest.er1 >conftest.err
52856 rm -f conftest.er1
52857 cat conftest.err >&5
52858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52859 (exit $ac_status); } &&
52860 { ac_try='test -z "$ac_c_werror_flag"
52861 || test ! -s conftest.err'
52862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52863 (eval $ac_try) 2>&5
52864 ac_status=$?
52865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866 (exit $ac_status); }; } &&
52867 { ac_try='test -s conftest$ac_exeext'
52868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52869 (eval $ac_try) 2>&5
52870 ac_status=$?
52871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52872 (exit $ac_status); }; }; then
52873 eval "$as_ac_var=yes"
52874 else
52875 echo "$as_me: failed program was:" >&5
52876 sed 's/^/| /' conftest.$ac_ext >&5
52878 eval "$as_ac_var=no"
52880 rm -f conftest.err conftest.$ac_objext \
52881 conftest$ac_exeext conftest.$ac_ext
52883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52885 if test `eval echo '${'$as_ac_var'}'` = yes; then
52886 cat >>confdefs.h <<_ACEOF
52887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52888 _ACEOF
52891 done
52903 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
52904 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
52905 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52906 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
52907 echo $ECHO_N "(cached) $ECHO_C" >&6
52908 else
52912 ac_ext=cc
52913 ac_cpp='$CXXCPP $CPPFLAGS'
52914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52918 cat >conftest.$ac_ext <<_ACEOF
52919 /* confdefs.h. */
52920 _ACEOF
52921 cat confdefs.h >>conftest.$ac_ext
52922 cat >>conftest.$ac_ext <<_ACEOF
52923 /* end confdefs.h. */
52924 #include <math.h>
52925 #ifdef HAVE_IEEEFP_H
52926 #include <ieeefp.h>
52927 #endif
52930 main ()
52932 isnanl(0);
52934 return 0;
52936 _ACEOF
52937 rm -f conftest.$ac_objext
52938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52939 (eval $ac_compile) 2>conftest.er1
52940 ac_status=$?
52941 grep -v '^ *+' conftest.er1 >conftest.err
52942 rm -f conftest.er1
52943 cat conftest.err >&5
52944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52945 (exit $ac_status); } &&
52946 { ac_try='test -z "$ac_cxx_werror_flag"
52947 || test ! -s conftest.err'
52948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52949 (eval $ac_try) 2>&5
52950 ac_status=$?
52951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52952 (exit $ac_status); }; } &&
52953 { ac_try='test -s conftest.$ac_objext'
52954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52955 (eval $ac_try) 2>&5
52956 ac_status=$?
52957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52958 (exit $ac_status); }; }; then
52959 glibcxx_cv_func_isnanl_use=yes
52960 else
52961 echo "$as_me: failed program was:" >&5
52962 sed 's/^/| /' conftest.$ac_ext >&5
52964 glibcxx_cv_func_isnanl_use=no
52966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52967 ac_ext=c
52968 ac_cpp='$CPP $CPPFLAGS'
52969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
52978 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
52980 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52982 for ac_func in isnanl
52984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52985 echo "$as_me:$LINENO: checking for $ac_func" >&5
52986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52987 if eval "test \"\${$as_ac_var+set}\" = set"; then
52988 echo $ECHO_N "(cached) $ECHO_C" >&6
52989 else
52990 if test x$gcc_no_link = xyes; then
52991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52993 { (exit 1); exit 1; }; }
52995 cat >conftest.$ac_ext <<_ACEOF
52996 /* confdefs.h. */
52997 _ACEOF
52998 cat confdefs.h >>conftest.$ac_ext
52999 cat >>conftest.$ac_ext <<_ACEOF
53000 /* end confdefs.h. */
53001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53003 #define $ac_func innocuous_$ac_func
53005 /* System header to define __stub macros and hopefully few prototypes,
53006 which can conflict with char $ac_func (); below.
53007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53008 <limits.h> exists even on freestanding compilers. */
53010 #ifdef __STDC__
53011 # include <limits.h>
53012 #else
53013 # include <assert.h>
53014 #endif
53016 #undef $ac_func
53018 /* Override any gcc2 internal prototype to avoid an error. */
53019 #ifdef __cplusplus
53020 extern "C"
53022 #endif
53023 /* We use char because int might match the return type of a gcc2
53024 builtin and then its argument prototype would still apply. */
53025 char $ac_func ();
53026 /* The GNU C library defines this for functions which it implements
53027 to always fail with ENOSYS. Some functions are actually named
53028 something starting with __ and the normal name is an alias. */
53029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53030 choke me
53031 #else
53032 char (*f) () = $ac_func;
53033 #endif
53034 #ifdef __cplusplus
53036 #endif
53039 main ()
53041 return f != $ac_func;
53043 return 0;
53045 _ACEOF
53046 rm -f conftest.$ac_objext conftest$ac_exeext
53047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53048 (eval $ac_link) 2>conftest.er1
53049 ac_status=$?
53050 grep -v '^ *+' conftest.er1 >conftest.err
53051 rm -f conftest.er1
53052 cat conftest.err >&5
53053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53054 (exit $ac_status); } &&
53055 { ac_try='test -z "$ac_c_werror_flag"
53056 || test ! -s conftest.err'
53057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53058 (eval $ac_try) 2>&5
53059 ac_status=$?
53060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061 (exit $ac_status); }; } &&
53062 { ac_try='test -s conftest$ac_exeext'
53063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53064 (eval $ac_try) 2>&5
53065 ac_status=$?
53066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53067 (exit $ac_status); }; }; then
53068 eval "$as_ac_var=yes"
53069 else
53070 echo "$as_me: failed program was:" >&5
53071 sed 's/^/| /' conftest.$ac_ext >&5
53073 eval "$as_ac_var=no"
53075 rm -f conftest.err conftest.$ac_objext \
53076 conftest$ac_exeext conftest.$ac_ext
53078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53080 if test `eval echo '${'$as_ac_var'}'` = yes; then
53081 cat >>confdefs.h <<_ACEOF
53082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53083 _ACEOF
53086 done
53088 else
53090 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53091 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53092 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53093 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53094 echo $ECHO_N "(cached) $ECHO_C" >&6
53095 else
53099 ac_ext=cc
53100 ac_cpp='$CXXCPP $CPPFLAGS'
53101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53105 cat >conftest.$ac_ext <<_ACEOF
53106 /* confdefs.h. */
53107 _ACEOF
53108 cat confdefs.h >>conftest.$ac_ext
53109 cat >>conftest.$ac_ext <<_ACEOF
53110 /* end confdefs.h. */
53111 #include <math.h>
53112 #ifdef HAVE_IEEEFP_H
53113 #include <ieeefp.h>
53114 #endif
53117 main ()
53119 _isnanl(0);
53121 return 0;
53123 _ACEOF
53124 rm -f conftest.$ac_objext
53125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53126 (eval $ac_compile) 2>conftest.er1
53127 ac_status=$?
53128 grep -v '^ *+' conftest.er1 >conftest.err
53129 rm -f conftest.er1
53130 cat conftest.err >&5
53131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53132 (exit $ac_status); } &&
53133 { ac_try='test -z "$ac_cxx_werror_flag"
53134 || test ! -s conftest.err'
53135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53136 (eval $ac_try) 2>&5
53137 ac_status=$?
53138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53139 (exit $ac_status); }; } &&
53140 { ac_try='test -s conftest.$ac_objext'
53141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53142 (eval $ac_try) 2>&5
53143 ac_status=$?
53144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53145 (exit $ac_status); }; }; then
53146 glibcxx_cv_func__isnanl_use=yes
53147 else
53148 echo "$as_me: failed program was:" >&5
53149 sed 's/^/| /' conftest.$ac_ext >&5
53151 glibcxx_cv_func__isnanl_use=no
53153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53154 ac_ext=c
53155 ac_cpp='$CPP $CPPFLAGS'
53156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53165 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53167 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53169 for ac_func in _isnanl
53171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53172 echo "$as_me:$LINENO: checking for $ac_func" >&5
53173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53174 if eval "test \"\${$as_ac_var+set}\" = set"; then
53175 echo $ECHO_N "(cached) $ECHO_C" >&6
53176 else
53177 if test x$gcc_no_link = xyes; then
53178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53180 { (exit 1); exit 1; }; }
53182 cat >conftest.$ac_ext <<_ACEOF
53183 /* confdefs.h. */
53184 _ACEOF
53185 cat confdefs.h >>conftest.$ac_ext
53186 cat >>conftest.$ac_ext <<_ACEOF
53187 /* end confdefs.h. */
53188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53190 #define $ac_func innocuous_$ac_func
53192 /* System header to define __stub macros and hopefully few prototypes,
53193 which can conflict with char $ac_func (); below.
53194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53195 <limits.h> exists even on freestanding compilers. */
53197 #ifdef __STDC__
53198 # include <limits.h>
53199 #else
53200 # include <assert.h>
53201 #endif
53203 #undef $ac_func
53205 /* Override any gcc2 internal prototype to avoid an error. */
53206 #ifdef __cplusplus
53207 extern "C"
53209 #endif
53210 /* We use char because int might match the return type of a gcc2
53211 builtin and then its argument prototype would still apply. */
53212 char $ac_func ();
53213 /* The GNU C library defines this for functions which it implements
53214 to always fail with ENOSYS. Some functions are actually named
53215 something starting with __ and the normal name is an alias. */
53216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53217 choke me
53218 #else
53219 char (*f) () = $ac_func;
53220 #endif
53221 #ifdef __cplusplus
53223 #endif
53226 main ()
53228 return f != $ac_func;
53230 return 0;
53232 _ACEOF
53233 rm -f conftest.$ac_objext conftest$ac_exeext
53234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53235 (eval $ac_link) 2>conftest.er1
53236 ac_status=$?
53237 grep -v '^ *+' conftest.er1 >conftest.err
53238 rm -f conftest.er1
53239 cat conftest.err >&5
53240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53241 (exit $ac_status); } &&
53242 { ac_try='test -z "$ac_c_werror_flag"
53243 || test ! -s conftest.err'
53244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53245 (eval $ac_try) 2>&5
53246 ac_status=$?
53247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53248 (exit $ac_status); }; } &&
53249 { ac_try='test -s conftest$ac_exeext'
53250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53251 (eval $ac_try) 2>&5
53252 ac_status=$?
53253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53254 (exit $ac_status); }; }; then
53255 eval "$as_ac_var=yes"
53256 else
53257 echo "$as_me: failed program was:" >&5
53258 sed 's/^/| /' conftest.$ac_ext >&5
53260 eval "$as_ac_var=no"
53262 rm -f conftest.err conftest.$ac_objext \
53263 conftest$ac_exeext conftest.$ac_ext
53265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53267 if test `eval echo '${'$as_ac_var'}'` = yes; then
53268 cat >>confdefs.h <<_ACEOF
53269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53270 _ACEOF
53273 done
53283 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53284 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53285 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53286 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53287 echo $ECHO_N "(cached) $ECHO_C" >&6
53288 else
53292 ac_ext=cc
53293 ac_cpp='$CXXCPP $CPPFLAGS'
53294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53298 cat >conftest.$ac_ext <<_ACEOF
53299 /* confdefs.h. */
53300 _ACEOF
53301 cat confdefs.h >>conftest.$ac_ext
53302 cat >>conftest.$ac_ext <<_ACEOF
53303 /* end confdefs.h. */
53304 #include <math.h>
53305 #ifdef HAVE_IEEEFP_H
53306 #include <ieeefp.h>
53307 #endif
53310 main ()
53312 isinfl(0);
53314 return 0;
53316 _ACEOF
53317 rm -f conftest.$ac_objext
53318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53319 (eval $ac_compile) 2>conftest.er1
53320 ac_status=$?
53321 grep -v '^ *+' conftest.er1 >conftest.err
53322 rm -f conftest.er1
53323 cat conftest.err >&5
53324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53325 (exit $ac_status); } &&
53326 { ac_try='test -z "$ac_cxx_werror_flag"
53327 || test ! -s conftest.err'
53328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53329 (eval $ac_try) 2>&5
53330 ac_status=$?
53331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53332 (exit $ac_status); }; } &&
53333 { ac_try='test -s conftest.$ac_objext'
53334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53335 (eval $ac_try) 2>&5
53336 ac_status=$?
53337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53338 (exit $ac_status); }; }; then
53339 glibcxx_cv_func_isinfl_use=yes
53340 else
53341 echo "$as_me: failed program was:" >&5
53342 sed 's/^/| /' conftest.$ac_ext >&5
53344 glibcxx_cv_func_isinfl_use=no
53346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53347 ac_ext=c
53348 ac_cpp='$CPP $CPPFLAGS'
53349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53358 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53360 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53362 for ac_func in isinfl
53364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53365 echo "$as_me:$LINENO: checking for $ac_func" >&5
53366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53367 if eval "test \"\${$as_ac_var+set}\" = set"; then
53368 echo $ECHO_N "(cached) $ECHO_C" >&6
53369 else
53370 if test x$gcc_no_link = xyes; then
53371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53373 { (exit 1); exit 1; }; }
53375 cat >conftest.$ac_ext <<_ACEOF
53376 /* confdefs.h. */
53377 _ACEOF
53378 cat confdefs.h >>conftest.$ac_ext
53379 cat >>conftest.$ac_ext <<_ACEOF
53380 /* end confdefs.h. */
53381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53383 #define $ac_func innocuous_$ac_func
53385 /* System header to define __stub macros and hopefully few prototypes,
53386 which can conflict with char $ac_func (); below.
53387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53388 <limits.h> exists even on freestanding compilers. */
53390 #ifdef __STDC__
53391 # include <limits.h>
53392 #else
53393 # include <assert.h>
53394 #endif
53396 #undef $ac_func
53398 /* Override any gcc2 internal prototype to avoid an error. */
53399 #ifdef __cplusplus
53400 extern "C"
53402 #endif
53403 /* We use char because int might match the return type of a gcc2
53404 builtin and then its argument prototype would still apply. */
53405 char $ac_func ();
53406 /* The GNU C library defines this for functions which it implements
53407 to always fail with ENOSYS. Some functions are actually named
53408 something starting with __ and the normal name is an alias. */
53409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53410 choke me
53411 #else
53412 char (*f) () = $ac_func;
53413 #endif
53414 #ifdef __cplusplus
53416 #endif
53419 main ()
53421 return f != $ac_func;
53423 return 0;
53425 _ACEOF
53426 rm -f conftest.$ac_objext conftest$ac_exeext
53427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53428 (eval $ac_link) 2>conftest.er1
53429 ac_status=$?
53430 grep -v '^ *+' conftest.er1 >conftest.err
53431 rm -f conftest.er1
53432 cat conftest.err >&5
53433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53434 (exit $ac_status); } &&
53435 { ac_try='test -z "$ac_c_werror_flag"
53436 || test ! -s conftest.err'
53437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53438 (eval $ac_try) 2>&5
53439 ac_status=$?
53440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53441 (exit $ac_status); }; } &&
53442 { ac_try='test -s conftest$ac_exeext'
53443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53444 (eval $ac_try) 2>&5
53445 ac_status=$?
53446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53447 (exit $ac_status); }; }; then
53448 eval "$as_ac_var=yes"
53449 else
53450 echo "$as_me: failed program was:" >&5
53451 sed 's/^/| /' conftest.$ac_ext >&5
53453 eval "$as_ac_var=no"
53455 rm -f conftest.err conftest.$ac_objext \
53456 conftest$ac_exeext conftest.$ac_ext
53458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53460 if test `eval echo '${'$as_ac_var'}'` = yes; then
53461 cat >>confdefs.h <<_ACEOF
53462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53463 _ACEOF
53466 done
53468 else
53470 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53471 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53472 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53473 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53474 echo $ECHO_N "(cached) $ECHO_C" >&6
53475 else
53479 ac_ext=cc
53480 ac_cpp='$CXXCPP $CPPFLAGS'
53481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53485 cat >conftest.$ac_ext <<_ACEOF
53486 /* confdefs.h. */
53487 _ACEOF
53488 cat confdefs.h >>conftest.$ac_ext
53489 cat >>conftest.$ac_ext <<_ACEOF
53490 /* end confdefs.h. */
53491 #include <math.h>
53492 #ifdef HAVE_IEEEFP_H
53493 #include <ieeefp.h>
53494 #endif
53497 main ()
53499 _isinfl(0);
53501 return 0;
53503 _ACEOF
53504 rm -f conftest.$ac_objext
53505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53506 (eval $ac_compile) 2>conftest.er1
53507 ac_status=$?
53508 grep -v '^ *+' conftest.er1 >conftest.err
53509 rm -f conftest.er1
53510 cat conftest.err >&5
53511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53512 (exit $ac_status); } &&
53513 { ac_try='test -z "$ac_cxx_werror_flag"
53514 || test ! -s conftest.err'
53515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53516 (eval $ac_try) 2>&5
53517 ac_status=$?
53518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53519 (exit $ac_status); }; } &&
53520 { ac_try='test -s conftest.$ac_objext'
53521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53522 (eval $ac_try) 2>&5
53523 ac_status=$?
53524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53525 (exit $ac_status); }; }; then
53526 glibcxx_cv_func__isinfl_use=yes
53527 else
53528 echo "$as_me: failed program was:" >&5
53529 sed 's/^/| /' conftest.$ac_ext >&5
53531 glibcxx_cv_func__isinfl_use=no
53533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53534 ac_ext=c
53535 ac_cpp='$CPP $CPPFLAGS'
53536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53545 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53547 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53549 for ac_func in _isinfl
53551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53552 echo "$as_me:$LINENO: checking for $ac_func" >&5
53553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53554 if eval "test \"\${$as_ac_var+set}\" = set"; then
53555 echo $ECHO_N "(cached) $ECHO_C" >&6
53556 else
53557 if test x$gcc_no_link = xyes; then
53558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53560 { (exit 1); exit 1; }; }
53562 cat >conftest.$ac_ext <<_ACEOF
53563 /* confdefs.h. */
53564 _ACEOF
53565 cat confdefs.h >>conftest.$ac_ext
53566 cat >>conftest.$ac_ext <<_ACEOF
53567 /* end confdefs.h. */
53568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53570 #define $ac_func innocuous_$ac_func
53572 /* System header to define __stub macros and hopefully few prototypes,
53573 which can conflict with char $ac_func (); below.
53574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53575 <limits.h> exists even on freestanding compilers. */
53577 #ifdef __STDC__
53578 # include <limits.h>
53579 #else
53580 # include <assert.h>
53581 #endif
53583 #undef $ac_func
53585 /* Override any gcc2 internal prototype to avoid an error. */
53586 #ifdef __cplusplus
53587 extern "C"
53589 #endif
53590 /* We use char because int might match the return type of a gcc2
53591 builtin and then its argument prototype would still apply. */
53592 char $ac_func ();
53593 /* The GNU C library defines this for functions which it implements
53594 to always fail with ENOSYS. Some functions are actually named
53595 something starting with __ and the normal name is an alias. */
53596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53597 choke me
53598 #else
53599 char (*f) () = $ac_func;
53600 #endif
53601 #ifdef __cplusplus
53603 #endif
53606 main ()
53608 return f != $ac_func;
53610 return 0;
53612 _ACEOF
53613 rm -f conftest.$ac_objext conftest$ac_exeext
53614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53615 (eval $ac_link) 2>conftest.er1
53616 ac_status=$?
53617 grep -v '^ *+' conftest.er1 >conftest.err
53618 rm -f conftest.er1
53619 cat conftest.err >&5
53620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53621 (exit $ac_status); } &&
53622 { ac_try='test -z "$ac_c_werror_flag"
53623 || test ! -s conftest.err'
53624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53625 (eval $ac_try) 2>&5
53626 ac_status=$?
53627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53628 (exit $ac_status); }; } &&
53629 { ac_try='test -s conftest$ac_exeext'
53630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53631 (eval $ac_try) 2>&5
53632 ac_status=$?
53633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53634 (exit $ac_status); }; }; then
53635 eval "$as_ac_var=yes"
53636 else
53637 echo "$as_me: failed program was:" >&5
53638 sed 's/^/| /' conftest.$ac_ext >&5
53640 eval "$as_ac_var=no"
53642 rm -f conftest.err conftest.$ac_objext \
53643 conftest$ac_exeext conftest.$ac_ext
53645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53647 if test `eval echo '${'$as_ac_var'}'` = yes; then
53648 cat >>confdefs.h <<_ACEOF
53649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53650 _ACEOF
53653 done
53663 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53664 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53665 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53666 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53667 echo $ECHO_N "(cached) $ECHO_C" >&6
53668 else
53672 ac_ext=cc
53673 ac_cpp='$CXXCPP $CPPFLAGS'
53674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53678 cat >conftest.$ac_ext <<_ACEOF
53679 /* confdefs.h. */
53680 _ACEOF
53681 cat confdefs.h >>conftest.$ac_ext
53682 cat >>conftest.$ac_ext <<_ACEOF
53683 /* end confdefs.h. */
53684 #include <math.h>
53686 main ()
53688 atan2l(0, 0);
53690 return 0;
53692 _ACEOF
53693 rm -f conftest.$ac_objext
53694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53695 (eval $ac_compile) 2>conftest.er1
53696 ac_status=$?
53697 grep -v '^ *+' conftest.er1 >conftest.err
53698 rm -f conftest.er1
53699 cat conftest.err >&5
53700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53701 (exit $ac_status); } &&
53702 { ac_try='test -z "$ac_cxx_werror_flag"
53703 || test ! -s conftest.err'
53704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53705 (eval $ac_try) 2>&5
53706 ac_status=$?
53707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53708 (exit $ac_status); }; } &&
53709 { ac_try='test -s conftest.$ac_objext'
53710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53711 (eval $ac_try) 2>&5
53712 ac_status=$?
53713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53714 (exit $ac_status); }; }; then
53715 glibcxx_cv_func_atan2l_use=yes
53716 else
53717 echo "$as_me: failed program was:" >&5
53718 sed 's/^/| /' conftest.$ac_ext >&5
53720 glibcxx_cv_func_atan2l_use=no
53722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53723 ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53734 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53736 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53738 for ac_func in atan2l
53740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53741 echo "$as_me:$LINENO: checking for $ac_func" >&5
53742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53743 if eval "test \"\${$as_ac_var+set}\" = set"; then
53744 echo $ECHO_N "(cached) $ECHO_C" >&6
53745 else
53746 if test x$gcc_no_link = xyes; then
53747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53749 { (exit 1); exit 1; }; }
53751 cat >conftest.$ac_ext <<_ACEOF
53752 /* confdefs.h. */
53753 _ACEOF
53754 cat confdefs.h >>conftest.$ac_ext
53755 cat >>conftest.$ac_ext <<_ACEOF
53756 /* end confdefs.h. */
53757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53759 #define $ac_func innocuous_$ac_func
53761 /* System header to define __stub macros and hopefully few prototypes,
53762 which can conflict with char $ac_func (); below.
53763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53764 <limits.h> exists even on freestanding compilers. */
53766 #ifdef __STDC__
53767 # include <limits.h>
53768 #else
53769 # include <assert.h>
53770 #endif
53772 #undef $ac_func
53774 /* Override any gcc2 internal prototype to avoid an error. */
53775 #ifdef __cplusplus
53776 extern "C"
53778 #endif
53779 /* We use char because int might match the return type of a gcc2
53780 builtin and then its argument prototype would still apply. */
53781 char $ac_func ();
53782 /* The GNU C library defines this for functions which it implements
53783 to always fail with ENOSYS. Some functions are actually named
53784 something starting with __ and the normal name is an alias. */
53785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53786 choke me
53787 #else
53788 char (*f) () = $ac_func;
53789 #endif
53790 #ifdef __cplusplus
53792 #endif
53795 main ()
53797 return f != $ac_func;
53799 return 0;
53801 _ACEOF
53802 rm -f conftest.$ac_objext conftest$ac_exeext
53803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53804 (eval $ac_link) 2>conftest.er1
53805 ac_status=$?
53806 grep -v '^ *+' conftest.er1 >conftest.err
53807 rm -f conftest.er1
53808 cat conftest.err >&5
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); } &&
53811 { ac_try='test -z "$ac_c_werror_flag"
53812 || test ! -s conftest.err'
53813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53814 (eval $ac_try) 2>&5
53815 ac_status=$?
53816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53817 (exit $ac_status); }; } &&
53818 { ac_try='test -s conftest$ac_exeext'
53819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53820 (eval $ac_try) 2>&5
53821 ac_status=$?
53822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53823 (exit $ac_status); }; }; then
53824 eval "$as_ac_var=yes"
53825 else
53826 echo "$as_me: failed program was:" >&5
53827 sed 's/^/| /' conftest.$ac_ext >&5
53829 eval "$as_ac_var=no"
53831 rm -f conftest.err conftest.$ac_objext \
53832 conftest$ac_exeext conftest.$ac_ext
53834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53836 if test `eval echo '${'$as_ac_var'}'` = yes; then
53837 cat >>confdefs.h <<_ACEOF
53838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53839 _ACEOF
53842 done
53844 else
53846 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
53847 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
53848 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
53849 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
53850 echo $ECHO_N "(cached) $ECHO_C" >&6
53851 else
53855 ac_ext=cc
53856 ac_cpp='$CXXCPP $CPPFLAGS'
53857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53861 cat >conftest.$ac_ext <<_ACEOF
53862 /* confdefs.h. */
53863 _ACEOF
53864 cat confdefs.h >>conftest.$ac_ext
53865 cat >>conftest.$ac_ext <<_ACEOF
53866 /* end confdefs.h. */
53867 #include <math.h>
53869 main ()
53871 _atan2l(0, 0);
53873 return 0;
53875 _ACEOF
53876 rm -f conftest.$ac_objext
53877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53878 (eval $ac_compile) 2>conftest.er1
53879 ac_status=$?
53880 grep -v '^ *+' conftest.er1 >conftest.err
53881 rm -f conftest.er1
53882 cat conftest.err >&5
53883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53884 (exit $ac_status); } &&
53885 { ac_try='test -z "$ac_cxx_werror_flag"
53886 || test ! -s conftest.err'
53887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53888 (eval $ac_try) 2>&5
53889 ac_status=$?
53890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891 (exit $ac_status); }; } &&
53892 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
53898 glibcxx_cv_func__atan2l_use=yes
53899 else
53900 echo "$as_me: failed program was:" >&5
53901 sed 's/^/| /' conftest.$ac_ext >&5
53903 glibcxx_cv_func__atan2l_use=no
53905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53906 ac_ext=c
53907 ac_cpp='$CPP $CPPFLAGS'
53908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
53917 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
53919 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
53921 for ac_func in _atan2l
53923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53924 echo "$as_me:$LINENO: checking for $ac_func" >&5
53925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53926 if eval "test \"\${$as_ac_var+set}\" = set"; then
53927 echo $ECHO_N "(cached) $ECHO_C" >&6
53928 else
53929 if test x$gcc_no_link = xyes; then
53930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53932 { (exit 1); exit 1; }; }
53934 cat >conftest.$ac_ext <<_ACEOF
53935 /* confdefs.h. */
53936 _ACEOF
53937 cat confdefs.h >>conftest.$ac_ext
53938 cat >>conftest.$ac_ext <<_ACEOF
53939 /* end confdefs.h. */
53940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53942 #define $ac_func innocuous_$ac_func
53944 /* System header to define __stub macros and hopefully few prototypes,
53945 which can conflict with char $ac_func (); below.
53946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53947 <limits.h> exists even on freestanding compilers. */
53949 #ifdef __STDC__
53950 # include <limits.h>
53951 #else
53952 # include <assert.h>
53953 #endif
53955 #undef $ac_func
53957 /* Override any gcc2 internal prototype to avoid an error. */
53958 #ifdef __cplusplus
53959 extern "C"
53961 #endif
53962 /* We use char because int might match the return type of a gcc2
53963 builtin and then its argument prototype would still apply. */
53964 char $ac_func ();
53965 /* The GNU C library defines this for functions which it implements
53966 to always fail with ENOSYS. Some functions are actually named
53967 something starting with __ and the normal name is an alias. */
53968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53969 choke me
53970 #else
53971 char (*f) () = $ac_func;
53972 #endif
53973 #ifdef __cplusplus
53975 #endif
53978 main ()
53980 return f != $ac_func;
53982 return 0;
53984 _ACEOF
53985 rm -f conftest.$ac_objext conftest$ac_exeext
53986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53987 (eval $ac_link) 2>conftest.er1
53988 ac_status=$?
53989 grep -v '^ *+' conftest.er1 >conftest.err
53990 rm -f conftest.er1
53991 cat conftest.err >&5
53992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53993 (exit $ac_status); } &&
53994 { ac_try='test -z "$ac_c_werror_flag"
53995 || test ! -s conftest.err'
53996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53997 (eval $ac_try) 2>&5
53998 ac_status=$?
53999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54000 (exit $ac_status); }; } &&
54001 { ac_try='test -s conftest$ac_exeext'
54002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54003 (eval $ac_try) 2>&5
54004 ac_status=$?
54005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54006 (exit $ac_status); }; }; then
54007 eval "$as_ac_var=yes"
54008 else
54009 echo "$as_me: failed program was:" >&5
54010 sed 's/^/| /' conftest.$ac_ext >&5
54012 eval "$as_ac_var=no"
54014 rm -f conftest.err conftest.$ac_objext \
54015 conftest$ac_exeext conftest.$ac_ext
54017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54019 if test `eval echo '${'$as_ac_var'}'` = yes; then
54020 cat >>confdefs.h <<_ACEOF
54021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54022 _ACEOF
54025 done
54035 echo "$as_me:$LINENO: checking for expl declaration" >&5
54036 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54037 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54038 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54039 echo $ECHO_N "(cached) $ECHO_C" >&6
54040 else
54044 ac_ext=cc
54045 ac_cpp='$CXXCPP $CPPFLAGS'
54046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54050 cat >conftest.$ac_ext <<_ACEOF
54051 /* confdefs.h. */
54052 _ACEOF
54053 cat confdefs.h >>conftest.$ac_ext
54054 cat >>conftest.$ac_ext <<_ACEOF
54055 /* end confdefs.h. */
54056 #include <math.h>
54057 #ifdef HAVE_IEEEFP_H
54058 #include <ieeefp.h>
54059 #endif
54062 main ()
54064 expl(0);
54066 return 0;
54068 _ACEOF
54069 rm -f conftest.$ac_objext
54070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54071 (eval $ac_compile) 2>conftest.er1
54072 ac_status=$?
54073 grep -v '^ *+' conftest.er1 >conftest.err
54074 rm -f conftest.er1
54075 cat conftest.err >&5
54076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54077 (exit $ac_status); } &&
54078 { ac_try='test -z "$ac_cxx_werror_flag"
54079 || test ! -s conftest.err'
54080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54081 (eval $ac_try) 2>&5
54082 ac_status=$?
54083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54084 (exit $ac_status); }; } &&
54085 { ac_try='test -s conftest.$ac_objext'
54086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54087 (eval $ac_try) 2>&5
54088 ac_status=$?
54089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54090 (exit $ac_status); }; }; then
54091 glibcxx_cv_func_expl_use=yes
54092 else
54093 echo "$as_me: failed program was:" >&5
54094 sed 's/^/| /' conftest.$ac_ext >&5
54096 glibcxx_cv_func_expl_use=no
54098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54099 ac_ext=c
54100 ac_cpp='$CPP $CPPFLAGS'
54101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54110 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54112 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54114 for ac_func in expl
54116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54117 echo "$as_me:$LINENO: checking for $ac_func" >&5
54118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54119 if eval "test \"\${$as_ac_var+set}\" = set"; then
54120 echo $ECHO_N "(cached) $ECHO_C" >&6
54121 else
54122 if test x$gcc_no_link = xyes; then
54123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54125 { (exit 1); exit 1; }; }
54127 cat >conftest.$ac_ext <<_ACEOF
54128 /* confdefs.h. */
54129 _ACEOF
54130 cat confdefs.h >>conftest.$ac_ext
54131 cat >>conftest.$ac_ext <<_ACEOF
54132 /* end confdefs.h. */
54133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54135 #define $ac_func innocuous_$ac_func
54137 /* System header to define __stub macros and hopefully few prototypes,
54138 which can conflict with char $ac_func (); below.
54139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54140 <limits.h> exists even on freestanding compilers. */
54142 #ifdef __STDC__
54143 # include <limits.h>
54144 #else
54145 # include <assert.h>
54146 #endif
54148 #undef $ac_func
54150 /* Override any gcc2 internal prototype to avoid an error. */
54151 #ifdef __cplusplus
54152 extern "C"
54154 #endif
54155 /* We use char because int might match the return type of a gcc2
54156 builtin and then its argument prototype would still apply. */
54157 char $ac_func ();
54158 /* The GNU C library defines this for functions which it implements
54159 to always fail with ENOSYS. Some functions are actually named
54160 something starting with __ and the normal name is an alias. */
54161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54162 choke me
54163 #else
54164 char (*f) () = $ac_func;
54165 #endif
54166 #ifdef __cplusplus
54168 #endif
54171 main ()
54173 return f != $ac_func;
54175 return 0;
54177 _ACEOF
54178 rm -f conftest.$ac_objext conftest$ac_exeext
54179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54180 (eval $ac_link) 2>conftest.er1
54181 ac_status=$?
54182 grep -v '^ *+' conftest.er1 >conftest.err
54183 rm -f conftest.er1
54184 cat conftest.err >&5
54185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54186 (exit $ac_status); } &&
54187 { ac_try='test -z "$ac_c_werror_flag"
54188 || test ! -s conftest.err'
54189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54190 (eval $ac_try) 2>&5
54191 ac_status=$?
54192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193 (exit $ac_status); }; } &&
54194 { ac_try='test -s conftest$ac_exeext'
54195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196 (eval $ac_try) 2>&5
54197 ac_status=$?
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); }; }; then
54200 eval "$as_ac_var=yes"
54201 else
54202 echo "$as_me: failed program was:" >&5
54203 sed 's/^/| /' conftest.$ac_ext >&5
54205 eval "$as_ac_var=no"
54207 rm -f conftest.err conftest.$ac_objext \
54208 conftest$ac_exeext conftest.$ac_ext
54210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54212 if test `eval echo '${'$as_ac_var'}'` = yes; then
54213 cat >>confdefs.h <<_ACEOF
54214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54215 _ACEOF
54218 done
54220 else
54222 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54223 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54224 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54225 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54226 echo $ECHO_N "(cached) $ECHO_C" >&6
54227 else
54231 ac_ext=cc
54232 ac_cpp='$CXXCPP $CPPFLAGS'
54233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54237 cat >conftest.$ac_ext <<_ACEOF
54238 /* confdefs.h. */
54239 _ACEOF
54240 cat confdefs.h >>conftest.$ac_ext
54241 cat >>conftest.$ac_ext <<_ACEOF
54242 /* end confdefs.h. */
54243 #include <math.h>
54244 #ifdef HAVE_IEEEFP_H
54245 #include <ieeefp.h>
54246 #endif
54249 main ()
54251 _expl(0);
54253 return 0;
54255 _ACEOF
54256 rm -f conftest.$ac_objext
54257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54258 (eval $ac_compile) 2>conftest.er1
54259 ac_status=$?
54260 grep -v '^ *+' conftest.er1 >conftest.err
54261 rm -f conftest.er1
54262 cat conftest.err >&5
54263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54264 (exit $ac_status); } &&
54265 { ac_try='test -z "$ac_cxx_werror_flag"
54266 || test ! -s conftest.err'
54267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54268 (eval $ac_try) 2>&5
54269 ac_status=$?
54270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54271 (exit $ac_status); }; } &&
54272 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
54278 glibcxx_cv_func__expl_use=yes
54279 else
54280 echo "$as_me: failed program was:" >&5
54281 sed 's/^/| /' conftest.$ac_ext >&5
54283 glibcxx_cv_func__expl_use=no
54285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54297 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54299 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54301 for ac_func in _expl
54303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54304 echo "$as_me:$LINENO: checking for $ac_func" >&5
54305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54306 if eval "test \"\${$as_ac_var+set}\" = set"; then
54307 echo $ECHO_N "(cached) $ECHO_C" >&6
54308 else
54309 if test x$gcc_no_link = xyes; then
54310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54312 { (exit 1); exit 1; }; }
54314 cat >conftest.$ac_ext <<_ACEOF
54315 /* confdefs.h. */
54316 _ACEOF
54317 cat confdefs.h >>conftest.$ac_ext
54318 cat >>conftest.$ac_ext <<_ACEOF
54319 /* end confdefs.h. */
54320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54322 #define $ac_func innocuous_$ac_func
54324 /* System header to define __stub macros and hopefully few prototypes,
54325 which can conflict with char $ac_func (); below.
54326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54327 <limits.h> exists even on freestanding compilers. */
54329 #ifdef __STDC__
54330 # include <limits.h>
54331 #else
54332 # include <assert.h>
54333 #endif
54335 #undef $ac_func
54337 /* Override any gcc2 internal prototype to avoid an error. */
54338 #ifdef __cplusplus
54339 extern "C"
54341 #endif
54342 /* We use char because int might match the return type of a gcc2
54343 builtin and then its argument prototype would still apply. */
54344 char $ac_func ();
54345 /* The GNU C library defines this for functions which it implements
54346 to always fail with ENOSYS. Some functions are actually named
54347 something starting with __ and the normal name is an alias. */
54348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54349 choke me
54350 #else
54351 char (*f) () = $ac_func;
54352 #endif
54353 #ifdef __cplusplus
54355 #endif
54358 main ()
54360 return f != $ac_func;
54362 return 0;
54364 _ACEOF
54365 rm -f conftest.$ac_objext conftest$ac_exeext
54366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54367 (eval $ac_link) 2>conftest.er1
54368 ac_status=$?
54369 grep -v '^ *+' conftest.er1 >conftest.err
54370 rm -f conftest.er1
54371 cat conftest.err >&5
54372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54373 (exit $ac_status); } &&
54374 { ac_try='test -z "$ac_c_werror_flag"
54375 || test ! -s conftest.err'
54376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54377 (eval $ac_try) 2>&5
54378 ac_status=$?
54379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54380 (exit $ac_status); }; } &&
54381 { ac_try='test -s conftest$ac_exeext'
54382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54383 (eval $ac_try) 2>&5
54384 ac_status=$?
54385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54386 (exit $ac_status); }; }; then
54387 eval "$as_ac_var=yes"
54388 else
54389 echo "$as_me: failed program was:" >&5
54390 sed 's/^/| /' conftest.$ac_ext >&5
54392 eval "$as_ac_var=no"
54394 rm -f conftest.err conftest.$ac_objext \
54395 conftest$ac_exeext conftest.$ac_ext
54397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54399 if test `eval echo '${'$as_ac_var'}'` = yes; then
54400 cat >>confdefs.h <<_ACEOF
54401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54402 _ACEOF
54405 done
54415 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54416 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54417 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54418 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54419 echo $ECHO_N "(cached) $ECHO_C" >&6
54420 else
54424 ac_ext=cc
54425 ac_cpp='$CXXCPP $CPPFLAGS'
54426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54430 cat >conftest.$ac_ext <<_ACEOF
54431 /* confdefs.h. */
54432 _ACEOF
54433 cat confdefs.h >>conftest.$ac_ext
54434 cat >>conftest.$ac_ext <<_ACEOF
54435 /* end confdefs.h. */
54436 #include <math.h>
54437 #ifdef HAVE_IEEEFP_H
54438 #include <ieeefp.h>
54439 #endif
54442 main ()
54444 fabsl(0);
54446 return 0;
54448 _ACEOF
54449 rm -f conftest.$ac_objext
54450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54451 (eval $ac_compile) 2>conftest.er1
54452 ac_status=$?
54453 grep -v '^ *+' conftest.er1 >conftest.err
54454 rm -f conftest.er1
54455 cat conftest.err >&5
54456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54457 (exit $ac_status); } &&
54458 { ac_try='test -z "$ac_cxx_werror_flag"
54459 || test ! -s conftest.err'
54460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54461 (eval $ac_try) 2>&5
54462 ac_status=$?
54463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54464 (exit $ac_status); }; } &&
54465 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
54471 glibcxx_cv_func_fabsl_use=yes
54472 else
54473 echo "$as_me: failed program was:" >&5
54474 sed 's/^/| /' conftest.$ac_ext >&5
54476 glibcxx_cv_func_fabsl_use=no
54478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54479 ac_ext=c
54480 ac_cpp='$CPP $CPPFLAGS'
54481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54490 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54492 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54494 for ac_func in fabsl
54496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54497 echo "$as_me:$LINENO: checking for $ac_func" >&5
54498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54499 if eval "test \"\${$as_ac_var+set}\" = set"; then
54500 echo $ECHO_N "(cached) $ECHO_C" >&6
54501 else
54502 if test x$gcc_no_link = xyes; then
54503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54505 { (exit 1); exit 1; }; }
54507 cat >conftest.$ac_ext <<_ACEOF
54508 /* confdefs.h. */
54509 _ACEOF
54510 cat confdefs.h >>conftest.$ac_ext
54511 cat >>conftest.$ac_ext <<_ACEOF
54512 /* end confdefs.h. */
54513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54515 #define $ac_func innocuous_$ac_func
54517 /* System header to define __stub macros and hopefully few prototypes,
54518 which can conflict with char $ac_func (); below.
54519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54520 <limits.h> exists even on freestanding compilers. */
54522 #ifdef __STDC__
54523 # include <limits.h>
54524 #else
54525 # include <assert.h>
54526 #endif
54528 #undef $ac_func
54530 /* Override any gcc2 internal prototype to avoid an error. */
54531 #ifdef __cplusplus
54532 extern "C"
54534 #endif
54535 /* We use char because int might match the return type of a gcc2
54536 builtin and then its argument prototype would still apply. */
54537 char $ac_func ();
54538 /* The GNU C library defines this for functions which it implements
54539 to always fail with ENOSYS. Some functions are actually named
54540 something starting with __ and the normal name is an alias. */
54541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54542 choke me
54543 #else
54544 char (*f) () = $ac_func;
54545 #endif
54546 #ifdef __cplusplus
54548 #endif
54551 main ()
54553 return f != $ac_func;
54555 return 0;
54557 _ACEOF
54558 rm -f conftest.$ac_objext conftest$ac_exeext
54559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54560 (eval $ac_link) 2>conftest.er1
54561 ac_status=$?
54562 grep -v '^ *+' conftest.er1 >conftest.err
54563 rm -f conftest.er1
54564 cat conftest.err >&5
54565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54566 (exit $ac_status); } &&
54567 { ac_try='test -z "$ac_c_werror_flag"
54568 || test ! -s conftest.err'
54569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54570 (eval $ac_try) 2>&5
54571 ac_status=$?
54572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54573 (exit $ac_status); }; } &&
54574 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
54580 eval "$as_ac_var=yes"
54581 else
54582 echo "$as_me: failed program was:" >&5
54583 sed 's/^/| /' conftest.$ac_ext >&5
54585 eval "$as_ac_var=no"
54587 rm -f conftest.err conftest.$ac_objext \
54588 conftest$ac_exeext conftest.$ac_ext
54590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54592 if test `eval echo '${'$as_ac_var'}'` = yes; then
54593 cat >>confdefs.h <<_ACEOF
54594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54595 _ACEOF
54598 done
54600 else
54602 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54603 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54604 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54605 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54606 echo $ECHO_N "(cached) $ECHO_C" >&6
54607 else
54611 ac_ext=cc
54612 ac_cpp='$CXXCPP $CPPFLAGS'
54613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54617 cat >conftest.$ac_ext <<_ACEOF
54618 /* confdefs.h. */
54619 _ACEOF
54620 cat confdefs.h >>conftest.$ac_ext
54621 cat >>conftest.$ac_ext <<_ACEOF
54622 /* end confdefs.h. */
54623 #include <math.h>
54624 #ifdef HAVE_IEEEFP_H
54625 #include <ieeefp.h>
54626 #endif
54629 main ()
54631 _fabsl(0);
54633 return 0;
54635 _ACEOF
54636 rm -f conftest.$ac_objext
54637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54638 (eval $ac_compile) 2>conftest.er1
54639 ac_status=$?
54640 grep -v '^ *+' conftest.er1 >conftest.err
54641 rm -f conftest.er1
54642 cat conftest.err >&5
54643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54644 (exit $ac_status); } &&
54645 { ac_try='test -z "$ac_cxx_werror_flag"
54646 || test ! -s conftest.err'
54647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54648 (eval $ac_try) 2>&5
54649 ac_status=$?
54650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54651 (exit $ac_status); }; } &&
54652 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
54658 glibcxx_cv_func__fabsl_use=yes
54659 else
54660 echo "$as_me: failed program was:" >&5
54661 sed 's/^/| /' conftest.$ac_ext >&5
54663 glibcxx_cv_func__fabsl_use=no
54665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54666 ac_ext=c
54667 ac_cpp='$CPP $CPPFLAGS'
54668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54677 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54681 for ac_func in _fabsl
54683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54684 echo "$as_me:$LINENO: checking for $ac_func" >&5
54685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54686 if eval "test \"\${$as_ac_var+set}\" = set"; then
54687 echo $ECHO_N "(cached) $ECHO_C" >&6
54688 else
54689 if test x$gcc_no_link = xyes; then
54690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54692 { (exit 1); exit 1; }; }
54694 cat >conftest.$ac_ext <<_ACEOF
54695 /* confdefs.h. */
54696 _ACEOF
54697 cat confdefs.h >>conftest.$ac_ext
54698 cat >>conftest.$ac_ext <<_ACEOF
54699 /* end confdefs.h. */
54700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54702 #define $ac_func innocuous_$ac_func
54704 /* System header to define __stub macros and hopefully few prototypes,
54705 which can conflict with char $ac_func (); below.
54706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54707 <limits.h> exists even on freestanding compilers. */
54709 #ifdef __STDC__
54710 # include <limits.h>
54711 #else
54712 # include <assert.h>
54713 #endif
54715 #undef $ac_func
54717 /* Override any gcc2 internal prototype to avoid an error. */
54718 #ifdef __cplusplus
54719 extern "C"
54721 #endif
54722 /* We use char because int might match the return type of a gcc2
54723 builtin and then its argument prototype would still apply. */
54724 char $ac_func ();
54725 /* The GNU C library defines this for functions which it implements
54726 to always fail with ENOSYS. Some functions are actually named
54727 something starting with __ and the normal name is an alias. */
54728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54729 choke me
54730 #else
54731 char (*f) () = $ac_func;
54732 #endif
54733 #ifdef __cplusplus
54735 #endif
54738 main ()
54740 return f != $ac_func;
54742 return 0;
54744 _ACEOF
54745 rm -f conftest.$ac_objext conftest$ac_exeext
54746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54747 (eval $ac_link) 2>conftest.er1
54748 ac_status=$?
54749 grep -v '^ *+' conftest.er1 >conftest.err
54750 rm -f conftest.er1
54751 cat conftest.err >&5
54752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54753 (exit $ac_status); } &&
54754 { ac_try='test -z "$ac_c_werror_flag"
54755 || test ! -s conftest.err'
54756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54757 (eval $ac_try) 2>&5
54758 ac_status=$?
54759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54760 (exit $ac_status); }; } &&
54761 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
54767 eval "$as_ac_var=yes"
54768 else
54769 echo "$as_me: failed program was:" >&5
54770 sed 's/^/| /' conftest.$ac_ext >&5
54772 eval "$as_ac_var=no"
54774 rm -f conftest.err conftest.$ac_objext \
54775 conftest$ac_exeext conftest.$ac_ext
54777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54779 if test `eval echo '${'$as_ac_var'}'` = yes; then
54780 cat >>confdefs.h <<_ACEOF
54781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54782 _ACEOF
54785 done
54795 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
54796 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
54797 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54798 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
54799 echo $ECHO_N "(cached) $ECHO_C" >&6
54800 else
54804 ac_ext=cc
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54810 cat >conftest.$ac_ext <<_ACEOF
54811 /* confdefs.h. */
54812 _ACEOF
54813 cat confdefs.h >>conftest.$ac_ext
54814 cat >>conftest.$ac_ext <<_ACEOF
54815 /* end confdefs.h. */
54816 #include <math.h>
54818 main ()
54820 fmodl(0, 0);
54822 return 0;
54824 _ACEOF
54825 rm -f conftest.$ac_objext
54826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54827 (eval $ac_compile) 2>conftest.er1
54828 ac_status=$?
54829 grep -v '^ *+' conftest.er1 >conftest.err
54830 rm -f conftest.er1
54831 cat conftest.err >&5
54832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54833 (exit $ac_status); } &&
54834 { ac_try='test -z "$ac_cxx_werror_flag"
54835 || test ! -s conftest.err'
54836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54837 (eval $ac_try) 2>&5
54838 ac_status=$?
54839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54840 (exit $ac_status); }; } &&
54841 { ac_try='test -s conftest.$ac_objext'
54842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54843 (eval $ac_try) 2>&5
54844 ac_status=$?
54845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54846 (exit $ac_status); }; }; then
54847 glibcxx_cv_func_fmodl_use=yes
54848 else
54849 echo "$as_me: failed program was:" >&5
54850 sed 's/^/| /' conftest.$ac_ext >&5
54852 glibcxx_cv_func_fmodl_use=no
54854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54855 ac_ext=c
54856 ac_cpp='$CPP $CPPFLAGS'
54857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
54866 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
54868 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54870 for ac_func in fmodl
54872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54873 echo "$as_me:$LINENO: checking for $ac_func" >&5
54874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54875 if eval "test \"\${$as_ac_var+set}\" = set"; then
54876 echo $ECHO_N "(cached) $ECHO_C" >&6
54877 else
54878 if test x$gcc_no_link = xyes; then
54879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54881 { (exit 1); exit 1; }; }
54883 cat >conftest.$ac_ext <<_ACEOF
54884 /* confdefs.h. */
54885 _ACEOF
54886 cat confdefs.h >>conftest.$ac_ext
54887 cat >>conftest.$ac_ext <<_ACEOF
54888 /* end confdefs.h. */
54889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54891 #define $ac_func innocuous_$ac_func
54893 /* System header to define __stub macros and hopefully few prototypes,
54894 which can conflict with char $ac_func (); below.
54895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54896 <limits.h> exists even on freestanding compilers. */
54898 #ifdef __STDC__
54899 # include <limits.h>
54900 #else
54901 # include <assert.h>
54902 #endif
54904 #undef $ac_func
54906 /* Override any gcc2 internal prototype to avoid an error. */
54907 #ifdef __cplusplus
54908 extern "C"
54910 #endif
54911 /* We use char because int might match the return type of a gcc2
54912 builtin and then its argument prototype would still apply. */
54913 char $ac_func ();
54914 /* The GNU C library defines this for functions which it implements
54915 to always fail with ENOSYS. Some functions are actually named
54916 something starting with __ and the normal name is an alias. */
54917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54918 choke me
54919 #else
54920 char (*f) () = $ac_func;
54921 #endif
54922 #ifdef __cplusplus
54924 #endif
54927 main ()
54929 return f != $ac_func;
54931 return 0;
54933 _ACEOF
54934 rm -f conftest.$ac_objext conftest$ac_exeext
54935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54936 (eval $ac_link) 2>conftest.er1
54937 ac_status=$?
54938 grep -v '^ *+' conftest.er1 >conftest.err
54939 rm -f conftest.er1
54940 cat conftest.err >&5
54941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54942 (exit $ac_status); } &&
54943 { ac_try='test -z "$ac_c_werror_flag"
54944 || test ! -s conftest.err'
54945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54946 (eval $ac_try) 2>&5
54947 ac_status=$?
54948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54949 (exit $ac_status); }; } &&
54950 { ac_try='test -s conftest$ac_exeext'
54951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54952 (eval $ac_try) 2>&5
54953 ac_status=$?
54954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54955 (exit $ac_status); }; }; then
54956 eval "$as_ac_var=yes"
54957 else
54958 echo "$as_me: failed program was:" >&5
54959 sed 's/^/| /' conftest.$ac_ext >&5
54961 eval "$as_ac_var=no"
54963 rm -f conftest.err conftest.$ac_objext \
54964 conftest$ac_exeext conftest.$ac_ext
54966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54968 if test `eval echo '${'$as_ac_var'}'` = yes; then
54969 cat >>confdefs.h <<_ACEOF
54970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54971 _ACEOF
54974 done
54976 else
54978 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
54979 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
54980 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54981 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
54982 echo $ECHO_N "(cached) $ECHO_C" >&6
54983 else
54987 ac_ext=cc
54988 ac_cpp='$CXXCPP $CPPFLAGS'
54989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54993 cat >conftest.$ac_ext <<_ACEOF
54994 /* confdefs.h. */
54995 _ACEOF
54996 cat confdefs.h >>conftest.$ac_ext
54997 cat >>conftest.$ac_ext <<_ACEOF
54998 /* end confdefs.h. */
54999 #include <math.h>
55001 main ()
55003 _fmodl(0, 0);
55005 return 0;
55007 _ACEOF
55008 rm -f conftest.$ac_objext
55009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55010 (eval $ac_compile) 2>conftest.er1
55011 ac_status=$?
55012 grep -v '^ *+' conftest.er1 >conftest.err
55013 rm -f conftest.er1
55014 cat conftest.err >&5
55015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55016 (exit $ac_status); } &&
55017 { ac_try='test -z "$ac_cxx_werror_flag"
55018 || test ! -s conftest.err'
55019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55020 (eval $ac_try) 2>&5
55021 ac_status=$?
55022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55023 (exit $ac_status); }; } &&
55024 { ac_try='test -s conftest.$ac_objext'
55025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55026 (eval $ac_try) 2>&5
55027 ac_status=$?
55028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55029 (exit $ac_status); }; }; then
55030 glibcxx_cv_func__fmodl_use=yes
55031 else
55032 echo "$as_me: failed program was:" >&5
55033 sed 's/^/| /' conftest.$ac_ext >&5
55035 glibcxx_cv_func__fmodl_use=no
55037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55038 ac_ext=c
55039 ac_cpp='$CPP $CPPFLAGS'
55040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55049 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55051 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55053 for ac_func in _fmodl
55055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55056 echo "$as_me:$LINENO: checking for $ac_func" >&5
55057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55058 if eval "test \"\${$as_ac_var+set}\" = set"; then
55059 echo $ECHO_N "(cached) $ECHO_C" >&6
55060 else
55061 if test x$gcc_no_link = xyes; then
55062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55064 { (exit 1); exit 1; }; }
55066 cat >conftest.$ac_ext <<_ACEOF
55067 /* confdefs.h. */
55068 _ACEOF
55069 cat confdefs.h >>conftest.$ac_ext
55070 cat >>conftest.$ac_ext <<_ACEOF
55071 /* end confdefs.h. */
55072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55074 #define $ac_func innocuous_$ac_func
55076 /* System header to define __stub macros and hopefully few prototypes,
55077 which can conflict with char $ac_func (); below.
55078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55079 <limits.h> exists even on freestanding compilers. */
55081 #ifdef __STDC__
55082 # include <limits.h>
55083 #else
55084 # include <assert.h>
55085 #endif
55087 #undef $ac_func
55089 /* Override any gcc2 internal prototype to avoid an error. */
55090 #ifdef __cplusplus
55091 extern "C"
55093 #endif
55094 /* We use char because int might match the return type of a gcc2
55095 builtin and then its argument prototype would still apply. */
55096 char $ac_func ();
55097 /* The GNU C library defines this for functions which it implements
55098 to always fail with ENOSYS. Some functions are actually named
55099 something starting with __ and the normal name is an alias. */
55100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55101 choke me
55102 #else
55103 char (*f) () = $ac_func;
55104 #endif
55105 #ifdef __cplusplus
55107 #endif
55110 main ()
55112 return f != $ac_func;
55114 return 0;
55116 _ACEOF
55117 rm -f conftest.$ac_objext conftest$ac_exeext
55118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55119 (eval $ac_link) 2>conftest.er1
55120 ac_status=$?
55121 grep -v '^ *+' conftest.er1 >conftest.err
55122 rm -f conftest.er1
55123 cat conftest.err >&5
55124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55125 (exit $ac_status); } &&
55126 { ac_try='test -z "$ac_c_werror_flag"
55127 || test ! -s conftest.err'
55128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55129 (eval $ac_try) 2>&5
55130 ac_status=$?
55131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55132 (exit $ac_status); }; } &&
55133 { ac_try='test -s conftest$ac_exeext'
55134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55135 (eval $ac_try) 2>&5
55136 ac_status=$?
55137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55138 (exit $ac_status); }; }; then
55139 eval "$as_ac_var=yes"
55140 else
55141 echo "$as_me: failed program was:" >&5
55142 sed 's/^/| /' conftest.$ac_ext >&5
55144 eval "$as_ac_var=no"
55146 rm -f conftest.err conftest.$ac_objext \
55147 conftest$ac_exeext conftest.$ac_ext
55149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55151 if test `eval echo '${'$as_ac_var'}'` = yes; then
55152 cat >>confdefs.h <<_ACEOF
55153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55154 _ACEOF
55157 done
55167 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55168 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55169 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55170 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55171 echo $ECHO_N "(cached) $ECHO_C" >&6
55172 else
55176 ac_ext=cc
55177 ac_cpp='$CXXCPP $CPPFLAGS'
55178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55182 cat >conftest.$ac_ext <<_ACEOF
55183 /* confdefs.h. */
55184 _ACEOF
55185 cat confdefs.h >>conftest.$ac_ext
55186 cat >>conftest.$ac_ext <<_ACEOF
55187 /* end confdefs.h. */
55188 #include <math.h>
55190 main ()
55192 frexpl(0, 0);
55194 return 0;
55196 _ACEOF
55197 rm -f conftest.$ac_objext
55198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55199 (eval $ac_compile) 2>conftest.er1
55200 ac_status=$?
55201 grep -v '^ *+' conftest.er1 >conftest.err
55202 rm -f conftest.er1
55203 cat conftest.err >&5
55204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55205 (exit $ac_status); } &&
55206 { ac_try='test -z "$ac_cxx_werror_flag"
55207 || test ! -s conftest.err'
55208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55209 (eval $ac_try) 2>&5
55210 ac_status=$?
55211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55212 (exit $ac_status); }; } &&
55213 { ac_try='test -s conftest.$ac_objext'
55214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55215 (eval $ac_try) 2>&5
55216 ac_status=$?
55217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55218 (exit $ac_status); }; }; then
55219 glibcxx_cv_func_frexpl_use=yes
55220 else
55221 echo "$as_me: failed program was:" >&5
55222 sed 's/^/| /' conftest.$ac_ext >&5
55224 glibcxx_cv_func_frexpl_use=no
55226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55227 ac_ext=c
55228 ac_cpp='$CPP $CPPFLAGS'
55229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55238 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55240 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55242 for ac_func in frexpl
55244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55245 echo "$as_me:$LINENO: checking for $ac_func" >&5
55246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55247 if eval "test \"\${$as_ac_var+set}\" = set"; then
55248 echo $ECHO_N "(cached) $ECHO_C" >&6
55249 else
55250 if test x$gcc_no_link = xyes; then
55251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55253 { (exit 1); exit 1; }; }
55255 cat >conftest.$ac_ext <<_ACEOF
55256 /* confdefs.h. */
55257 _ACEOF
55258 cat confdefs.h >>conftest.$ac_ext
55259 cat >>conftest.$ac_ext <<_ACEOF
55260 /* end confdefs.h. */
55261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55263 #define $ac_func innocuous_$ac_func
55265 /* System header to define __stub macros and hopefully few prototypes,
55266 which can conflict with char $ac_func (); below.
55267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55268 <limits.h> exists even on freestanding compilers. */
55270 #ifdef __STDC__
55271 # include <limits.h>
55272 #else
55273 # include <assert.h>
55274 #endif
55276 #undef $ac_func
55278 /* Override any gcc2 internal prototype to avoid an error. */
55279 #ifdef __cplusplus
55280 extern "C"
55282 #endif
55283 /* We use char because int might match the return type of a gcc2
55284 builtin and then its argument prototype would still apply. */
55285 char $ac_func ();
55286 /* The GNU C library defines this for functions which it implements
55287 to always fail with ENOSYS. Some functions are actually named
55288 something starting with __ and the normal name is an alias. */
55289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55290 choke me
55291 #else
55292 char (*f) () = $ac_func;
55293 #endif
55294 #ifdef __cplusplus
55296 #endif
55299 main ()
55301 return f != $ac_func;
55303 return 0;
55305 _ACEOF
55306 rm -f conftest.$ac_objext conftest$ac_exeext
55307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55308 (eval $ac_link) 2>conftest.er1
55309 ac_status=$?
55310 grep -v '^ *+' conftest.er1 >conftest.err
55311 rm -f conftest.er1
55312 cat conftest.err >&5
55313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55314 (exit $ac_status); } &&
55315 { ac_try='test -z "$ac_c_werror_flag"
55316 || test ! -s conftest.err'
55317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55318 (eval $ac_try) 2>&5
55319 ac_status=$?
55320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55321 (exit $ac_status); }; } &&
55322 { ac_try='test -s conftest$ac_exeext'
55323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55324 (eval $ac_try) 2>&5
55325 ac_status=$?
55326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55327 (exit $ac_status); }; }; then
55328 eval "$as_ac_var=yes"
55329 else
55330 echo "$as_me: failed program was:" >&5
55331 sed 's/^/| /' conftest.$ac_ext >&5
55333 eval "$as_ac_var=no"
55335 rm -f conftest.err conftest.$ac_objext \
55336 conftest$ac_exeext conftest.$ac_ext
55338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55340 if test `eval echo '${'$as_ac_var'}'` = yes; then
55341 cat >>confdefs.h <<_ACEOF
55342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55343 _ACEOF
55346 done
55348 else
55350 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55351 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55352 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55353 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55354 echo $ECHO_N "(cached) $ECHO_C" >&6
55355 else
55359 ac_ext=cc
55360 ac_cpp='$CXXCPP $CPPFLAGS'
55361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55365 cat >conftest.$ac_ext <<_ACEOF
55366 /* confdefs.h. */
55367 _ACEOF
55368 cat confdefs.h >>conftest.$ac_ext
55369 cat >>conftest.$ac_ext <<_ACEOF
55370 /* end confdefs.h. */
55371 #include <math.h>
55373 main ()
55375 _frexpl(0, 0);
55377 return 0;
55379 _ACEOF
55380 rm -f conftest.$ac_objext
55381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55382 (eval $ac_compile) 2>conftest.er1
55383 ac_status=$?
55384 grep -v '^ *+' conftest.er1 >conftest.err
55385 rm -f conftest.er1
55386 cat conftest.err >&5
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); } &&
55389 { ac_try='test -z "$ac_cxx_werror_flag"
55390 || test ! -s conftest.err'
55391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55392 (eval $ac_try) 2>&5
55393 ac_status=$?
55394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55395 (exit $ac_status); }; } &&
55396 { ac_try='test -s conftest.$ac_objext'
55397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55398 (eval $ac_try) 2>&5
55399 ac_status=$?
55400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401 (exit $ac_status); }; }; then
55402 glibcxx_cv_func__frexpl_use=yes
55403 else
55404 echo "$as_me: failed program was:" >&5
55405 sed 's/^/| /' conftest.$ac_ext >&5
55407 glibcxx_cv_func__frexpl_use=no
55409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55410 ac_ext=c
55411 ac_cpp='$CPP $CPPFLAGS'
55412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55421 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55423 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55425 for ac_func in _frexpl
55427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55428 echo "$as_me:$LINENO: checking for $ac_func" >&5
55429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55430 if eval "test \"\${$as_ac_var+set}\" = set"; then
55431 echo $ECHO_N "(cached) $ECHO_C" >&6
55432 else
55433 if test x$gcc_no_link = xyes; then
55434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55436 { (exit 1); exit 1; }; }
55438 cat >conftest.$ac_ext <<_ACEOF
55439 /* confdefs.h. */
55440 _ACEOF
55441 cat confdefs.h >>conftest.$ac_ext
55442 cat >>conftest.$ac_ext <<_ACEOF
55443 /* end confdefs.h. */
55444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55446 #define $ac_func innocuous_$ac_func
55448 /* System header to define __stub macros and hopefully few prototypes,
55449 which can conflict with char $ac_func (); below.
55450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55451 <limits.h> exists even on freestanding compilers. */
55453 #ifdef __STDC__
55454 # include <limits.h>
55455 #else
55456 # include <assert.h>
55457 #endif
55459 #undef $ac_func
55461 /* Override any gcc2 internal prototype to avoid an error. */
55462 #ifdef __cplusplus
55463 extern "C"
55465 #endif
55466 /* We use char because int might match the return type of a gcc2
55467 builtin and then its argument prototype would still apply. */
55468 char $ac_func ();
55469 /* The GNU C library defines this for functions which it implements
55470 to always fail with ENOSYS. Some functions are actually named
55471 something starting with __ and the normal name is an alias. */
55472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55473 choke me
55474 #else
55475 char (*f) () = $ac_func;
55476 #endif
55477 #ifdef __cplusplus
55479 #endif
55482 main ()
55484 return f != $ac_func;
55486 return 0;
55488 _ACEOF
55489 rm -f conftest.$ac_objext conftest$ac_exeext
55490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55491 (eval $ac_link) 2>conftest.er1
55492 ac_status=$?
55493 grep -v '^ *+' conftest.er1 >conftest.err
55494 rm -f conftest.er1
55495 cat conftest.err >&5
55496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55497 (exit $ac_status); } &&
55498 { ac_try='test -z "$ac_c_werror_flag"
55499 || test ! -s conftest.err'
55500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55501 (eval $ac_try) 2>&5
55502 ac_status=$?
55503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55504 (exit $ac_status); }; } &&
55505 { ac_try='test -s conftest$ac_exeext'
55506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55507 (eval $ac_try) 2>&5
55508 ac_status=$?
55509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55510 (exit $ac_status); }; }; then
55511 eval "$as_ac_var=yes"
55512 else
55513 echo "$as_me: failed program was:" >&5
55514 sed 's/^/| /' conftest.$ac_ext >&5
55516 eval "$as_ac_var=no"
55518 rm -f conftest.err conftest.$ac_objext \
55519 conftest$ac_exeext conftest.$ac_ext
55521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55523 if test `eval echo '${'$as_ac_var'}'` = yes; then
55524 cat >>confdefs.h <<_ACEOF
55525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55526 _ACEOF
55529 done
55539 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55540 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55541 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55542 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55543 echo $ECHO_N "(cached) $ECHO_C" >&6
55544 else
55548 ac_ext=cc
55549 ac_cpp='$CXXCPP $CPPFLAGS'
55550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55554 cat >conftest.$ac_ext <<_ACEOF
55555 /* confdefs.h. */
55556 _ACEOF
55557 cat confdefs.h >>conftest.$ac_ext
55558 cat >>conftest.$ac_ext <<_ACEOF
55559 /* end confdefs.h. */
55560 #include <math.h>
55562 main ()
55564 hypotl(0, 0);
55566 return 0;
55568 _ACEOF
55569 rm -f conftest.$ac_objext
55570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55571 (eval $ac_compile) 2>conftest.er1
55572 ac_status=$?
55573 grep -v '^ *+' conftest.er1 >conftest.err
55574 rm -f conftest.er1
55575 cat conftest.err >&5
55576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55577 (exit $ac_status); } &&
55578 { ac_try='test -z "$ac_cxx_werror_flag"
55579 || test ! -s conftest.err'
55580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55581 (eval $ac_try) 2>&5
55582 ac_status=$?
55583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55584 (exit $ac_status); }; } &&
55585 { ac_try='test -s conftest.$ac_objext'
55586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55587 (eval $ac_try) 2>&5
55588 ac_status=$?
55589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55590 (exit $ac_status); }; }; then
55591 glibcxx_cv_func_hypotl_use=yes
55592 else
55593 echo "$as_me: failed program was:" >&5
55594 sed 's/^/| /' conftest.$ac_ext >&5
55596 glibcxx_cv_func_hypotl_use=no
55598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55599 ac_ext=c
55600 ac_cpp='$CPP $CPPFLAGS'
55601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55610 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55612 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55614 for ac_func in hypotl
55616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55617 echo "$as_me:$LINENO: checking for $ac_func" >&5
55618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55619 if eval "test \"\${$as_ac_var+set}\" = set"; then
55620 echo $ECHO_N "(cached) $ECHO_C" >&6
55621 else
55622 if test x$gcc_no_link = xyes; then
55623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55625 { (exit 1); exit 1; }; }
55627 cat >conftest.$ac_ext <<_ACEOF
55628 /* confdefs.h. */
55629 _ACEOF
55630 cat confdefs.h >>conftest.$ac_ext
55631 cat >>conftest.$ac_ext <<_ACEOF
55632 /* end confdefs.h. */
55633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55635 #define $ac_func innocuous_$ac_func
55637 /* System header to define __stub macros and hopefully few prototypes,
55638 which can conflict with char $ac_func (); below.
55639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55640 <limits.h> exists even on freestanding compilers. */
55642 #ifdef __STDC__
55643 # include <limits.h>
55644 #else
55645 # include <assert.h>
55646 #endif
55648 #undef $ac_func
55650 /* Override any gcc2 internal prototype to avoid an error. */
55651 #ifdef __cplusplus
55652 extern "C"
55654 #endif
55655 /* We use char because int might match the return type of a gcc2
55656 builtin and then its argument prototype would still apply. */
55657 char $ac_func ();
55658 /* The GNU C library defines this for functions which it implements
55659 to always fail with ENOSYS. Some functions are actually named
55660 something starting with __ and the normal name is an alias. */
55661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55662 choke me
55663 #else
55664 char (*f) () = $ac_func;
55665 #endif
55666 #ifdef __cplusplus
55668 #endif
55671 main ()
55673 return f != $ac_func;
55675 return 0;
55677 _ACEOF
55678 rm -f conftest.$ac_objext conftest$ac_exeext
55679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55680 (eval $ac_link) 2>conftest.er1
55681 ac_status=$?
55682 grep -v '^ *+' conftest.er1 >conftest.err
55683 rm -f conftest.er1
55684 cat conftest.err >&5
55685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55686 (exit $ac_status); } &&
55687 { ac_try='test -z "$ac_c_werror_flag"
55688 || test ! -s conftest.err'
55689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55690 (eval $ac_try) 2>&5
55691 ac_status=$?
55692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55693 (exit $ac_status); }; } &&
55694 { ac_try='test -s conftest$ac_exeext'
55695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55696 (eval $ac_try) 2>&5
55697 ac_status=$?
55698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55699 (exit $ac_status); }; }; then
55700 eval "$as_ac_var=yes"
55701 else
55702 echo "$as_me: failed program was:" >&5
55703 sed 's/^/| /' conftest.$ac_ext >&5
55705 eval "$as_ac_var=no"
55707 rm -f conftest.err conftest.$ac_objext \
55708 conftest$ac_exeext conftest.$ac_ext
55710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55712 if test `eval echo '${'$as_ac_var'}'` = yes; then
55713 cat >>confdefs.h <<_ACEOF
55714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55715 _ACEOF
55718 done
55720 else
55722 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55723 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55724 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55725 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55726 echo $ECHO_N "(cached) $ECHO_C" >&6
55727 else
55731 ac_ext=cc
55732 ac_cpp='$CXXCPP $CPPFLAGS'
55733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55737 cat >conftest.$ac_ext <<_ACEOF
55738 /* confdefs.h. */
55739 _ACEOF
55740 cat confdefs.h >>conftest.$ac_ext
55741 cat >>conftest.$ac_ext <<_ACEOF
55742 /* end confdefs.h. */
55743 #include <math.h>
55745 main ()
55747 _hypotl(0, 0);
55749 return 0;
55751 _ACEOF
55752 rm -f conftest.$ac_objext
55753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55754 (eval $ac_compile) 2>conftest.er1
55755 ac_status=$?
55756 grep -v '^ *+' conftest.er1 >conftest.err
55757 rm -f conftest.er1
55758 cat conftest.err >&5
55759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55760 (exit $ac_status); } &&
55761 { ac_try='test -z "$ac_cxx_werror_flag"
55762 || test ! -s conftest.err'
55763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55764 (eval $ac_try) 2>&5
55765 ac_status=$?
55766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55767 (exit $ac_status); }; } &&
55768 { ac_try='test -s conftest.$ac_objext'
55769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55770 (eval $ac_try) 2>&5
55771 ac_status=$?
55772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55773 (exit $ac_status); }; }; then
55774 glibcxx_cv_func__hypotl_use=yes
55775 else
55776 echo "$as_me: failed program was:" >&5
55777 sed 's/^/| /' conftest.$ac_ext >&5
55779 glibcxx_cv_func__hypotl_use=no
55781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55782 ac_ext=c
55783 ac_cpp='$CPP $CPPFLAGS'
55784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
55793 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
55795 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55797 for ac_func in _hypotl
55799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55800 echo "$as_me:$LINENO: checking for $ac_func" >&5
55801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55802 if eval "test \"\${$as_ac_var+set}\" = set"; then
55803 echo $ECHO_N "(cached) $ECHO_C" >&6
55804 else
55805 if test x$gcc_no_link = xyes; then
55806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55808 { (exit 1); exit 1; }; }
55810 cat >conftest.$ac_ext <<_ACEOF
55811 /* confdefs.h. */
55812 _ACEOF
55813 cat confdefs.h >>conftest.$ac_ext
55814 cat >>conftest.$ac_ext <<_ACEOF
55815 /* end confdefs.h. */
55816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55818 #define $ac_func innocuous_$ac_func
55820 /* System header to define __stub macros and hopefully few prototypes,
55821 which can conflict with char $ac_func (); below.
55822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55823 <limits.h> exists even on freestanding compilers. */
55825 #ifdef __STDC__
55826 # include <limits.h>
55827 #else
55828 # include <assert.h>
55829 #endif
55831 #undef $ac_func
55833 /* Override any gcc2 internal prototype to avoid an error. */
55834 #ifdef __cplusplus
55835 extern "C"
55837 #endif
55838 /* We use char because int might match the return type of a gcc2
55839 builtin and then its argument prototype would still apply. */
55840 char $ac_func ();
55841 /* The GNU C library defines this for functions which it implements
55842 to always fail with ENOSYS. Some functions are actually named
55843 something starting with __ and the normal name is an alias. */
55844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55845 choke me
55846 #else
55847 char (*f) () = $ac_func;
55848 #endif
55849 #ifdef __cplusplus
55851 #endif
55854 main ()
55856 return f != $ac_func;
55858 return 0;
55860 _ACEOF
55861 rm -f conftest.$ac_objext conftest$ac_exeext
55862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55863 (eval $ac_link) 2>conftest.er1
55864 ac_status=$?
55865 grep -v '^ *+' conftest.er1 >conftest.err
55866 rm -f conftest.er1
55867 cat conftest.err >&5
55868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55869 (exit $ac_status); } &&
55870 { ac_try='test -z "$ac_c_werror_flag"
55871 || test ! -s conftest.err'
55872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55873 (eval $ac_try) 2>&5
55874 ac_status=$?
55875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55876 (exit $ac_status); }; } &&
55877 { ac_try='test -s conftest$ac_exeext'
55878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55879 (eval $ac_try) 2>&5
55880 ac_status=$?
55881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55882 (exit $ac_status); }; }; then
55883 eval "$as_ac_var=yes"
55884 else
55885 echo "$as_me: failed program was:" >&5
55886 sed 's/^/| /' conftest.$ac_ext >&5
55888 eval "$as_ac_var=no"
55890 rm -f conftest.err conftest.$ac_objext \
55891 conftest$ac_exeext conftest.$ac_ext
55893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55895 if test `eval echo '${'$as_ac_var'}'` = yes; then
55896 cat >>confdefs.h <<_ACEOF
55897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55898 _ACEOF
55901 done
55911 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
55912 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
55913 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55914 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
55915 echo $ECHO_N "(cached) $ECHO_C" >&6
55916 else
55920 ac_ext=cc
55921 ac_cpp='$CXXCPP $CPPFLAGS'
55922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55926 cat >conftest.$ac_ext <<_ACEOF
55927 /* confdefs.h. */
55928 _ACEOF
55929 cat confdefs.h >>conftest.$ac_ext
55930 cat >>conftest.$ac_ext <<_ACEOF
55931 /* end confdefs.h. */
55932 #include <math.h>
55934 main ()
55936 ldexpl(0, 0);
55938 return 0;
55940 _ACEOF
55941 rm -f conftest.$ac_objext
55942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55943 (eval $ac_compile) 2>conftest.er1
55944 ac_status=$?
55945 grep -v '^ *+' conftest.er1 >conftest.err
55946 rm -f conftest.er1
55947 cat conftest.err >&5
55948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55949 (exit $ac_status); } &&
55950 { ac_try='test -z "$ac_cxx_werror_flag"
55951 || test ! -s conftest.err'
55952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55953 (eval $ac_try) 2>&5
55954 ac_status=$?
55955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55956 (exit $ac_status); }; } &&
55957 { ac_try='test -s conftest.$ac_objext'
55958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55959 (eval $ac_try) 2>&5
55960 ac_status=$?
55961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55962 (exit $ac_status); }; }; then
55963 glibcxx_cv_func_ldexpl_use=yes
55964 else
55965 echo "$as_me: failed program was:" >&5
55966 sed 's/^/| /' conftest.$ac_ext >&5
55968 glibcxx_cv_func_ldexpl_use=no
55970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55971 ac_ext=c
55972 ac_cpp='$CPP $CPPFLAGS'
55973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
55982 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
55984 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55986 for ac_func in ldexpl
55988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55989 echo "$as_me:$LINENO: checking for $ac_func" >&5
55990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55991 if eval "test \"\${$as_ac_var+set}\" = set"; then
55992 echo $ECHO_N "(cached) $ECHO_C" >&6
55993 else
55994 if test x$gcc_no_link = xyes; then
55995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55997 { (exit 1); exit 1; }; }
55999 cat >conftest.$ac_ext <<_ACEOF
56000 /* confdefs.h. */
56001 _ACEOF
56002 cat confdefs.h >>conftest.$ac_ext
56003 cat >>conftest.$ac_ext <<_ACEOF
56004 /* end confdefs.h. */
56005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56007 #define $ac_func innocuous_$ac_func
56009 /* System header to define __stub macros and hopefully few prototypes,
56010 which can conflict with char $ac_func (); below.
56011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56012 <limits.h> exists even on freestanding compilers. */
56014 #ifdef __STDC__
56015 # include <limits.h>
56016 #else
56017 # include <assert.h>
56018 #endif
56020 #undef $ac_func
56022 /* Override any gcc2 internal prototype to avoid an error. */
56023 #ifdef __cplusplus
56024 extern "C"
56026 #endif
56027 /* We use char because int might match the return type of a gcc2
56028 builtin and then its argument prototype would still apply. */
56029 char $ac_func ();
56030 /* The GNU C library defines this for functions which it implements
56031 to always fail with ENOSYS. Some functions are actually named
56032 something starting with __ and the normal name is an alias. */
56033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56034 choke me
56035 #else
56036 char (*f) () = $ac_func;
56037 #endif
56038 #ifdef __cplusplus
56040 #endif
56043 main ()
56045 return f != $ac_func;
56047 return 0;
56049 _ACEOF
56050 rm -f conftest.$ac_objext conftest$ac_exeext
56051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56052 (eval $ac_link) 2>conftest.er1
56053 ac_status=$?
56054 grep -v '^ *+' conftest.er1 >conftest.err
56055 rm -f conftest.er1
56056 cat conftest.err >&5
56057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56058 (exit $ac_status); } &&
56059 { ac_try='test -z "$ac_c_werror_flag"
56060 || test ! -s conftest.err'
56061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56062 (eval $ac_try) 2>&5
56063 ac_status=$?
56064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56065 (exit $ac_status); }; } &&
56066 { ac_try='test -s conftest$ac_exeext'
56067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56068 (eval $ac_try) 2>&5
56069 ac_status=$?
56070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56071 (exit $ac_status); }; }; then
56072 eval "$as_ac_var=yes"
56073 else
56074 echo "$as_me: failed program was:" >&5
56075 sed 's/^/| /' conftest.$ac_ext >&5
56077 eval "$as_ac_var=no"
56079 rm -f conftest.err conftest.$ac_objext \
56080 conftest$ac_exeext conftest.$ac_ext
56082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56084 if test `eval echo '${'$as_ac_var'}'` = yes; then
56085 cat >>confdefs.h <<_ACEOF
56086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56087 _ACEOF
56090 done
56092 else
56094 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56095 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56096 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56097 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56098 echo $ECHO_N "(cached) $ECHO_C" >&6
56099 else
56103 ac_ext=cc
56104 ac_cpp='$CXXCPP $CPPFLAGS'
56105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56109 cat >conftest.$ac_ext <<_ACEOF
56110 /* confdefs.h. */
56111 _ACEOF
56112 cat confdefs.h >>conftest.$ac_ext
56113 cat >>conftest.$ac_ext <<_ACEOF
56114 /* end confdefs.h. */
56115 #include <math.h>
56117 main ()
56119 _ldexpl(0, 0);
56121 return 0;
56123 _ACEOF
56124 rm -f conftest.$ac_objext
56125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56126 (eval $ac_compile) 2>conftest.er1
56127 ac_status=$?
56128 grep -v '^ *+' conftest.er1 >conftest.err
56129 rm -f conftest.er1
56130 cat conftest.err >&5
56131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56132 (exit $ac_status); } &&
56133 { ac_try='test -z "$ac_cxx_werror_flag"
56134 || test ! -s conftest.err'
56135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56136 (eval $ac_try) 2>&5
56137 ac_status=$?
56138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139 (exit $ac_status); }; } &&
56140 { ac_try='test -s conftest.$ac_objext'
56141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56142 (eval $ac_try) 2>&5
56143 ac_status=$?
56144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56145 (exit $ac_status); }; }; then
56146 glibcxx_cv_func__ldexpl_use=yes
56147 else
56148 echo "$as_me: failed program was:" >&5
56149 sed 's/^/| /' conftest.$ac_ext >&5
56151 glibcxx_cv_func__ldexpl_use=no
56153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56154 ac_ext=c
56155 ac_cpp='$CPP $CPPFLAGS'
56156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56165 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56167 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56169 for ac_func in _ldexpl
56171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56172 echo "$as_me:$LINENO: checking for $ac_func" >&5
56173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56174 if eval "test \"\${$as_ac_var+set}\" = set"; then
56175 echo $ECHO_N "(cached) $ECHO_C" >&6
56176 else
56177 if test x$gcc_no_link = xyes; then
56178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56180 { (exit 1); exit 1; }; }
56182 cat >conftest.$ac_ext <<_ACEOF
56183 /* confdefs.h. */
56184 _ACEOF
56185 cat confdefs.h >>conftest.$ac_ext
56186 cat >>conftest.$ac_ext <<_ACEOF
56187 /* end confdefs.h. */
56188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56190 #define $ac_func innocuous_$ac_func
56192 /* System header to define __stub macros and hopefully few prototypes,
56193 which can conflict with char $ac_func (); below.
56194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56195 <limits.h> exists even on freestanding compilers. */
56197 #ifdef __STDC__
56198 # include <limits.h>
56199 #else
56200 # include <assert.h>
56201 #endif
56203 #undef $ac_func
56205 /* Override any gcc2 internal prototype to avoid an error. */
56206 #ifdef __cplusplus
56207 extern "C"
56209 #endif
56210 /* We use char because int might match the return type of a gcc2
56211 builtin and then its argument prototype would still apply. */
56212 char $ac_func ();
56213 /* The GNU C library defines this for functions which it implements
56214 to always fail with ENOSYS. Some functions are actually named
56215 something starting with __ and the normal name is an alias. */
56216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56217 choke me
56218 #else
56219 char (*f) () = $ac_func;
56220 #endif
56221 #ifdef __cplusplus
56223 #endif
56226 main ()
56228 return f != $ac_func;
56230 return 0;
56232 _ACEOF
56233 rm -f conftest.$ac_objext conftest$ac_exeext
56234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56235 (eval $ac_link) 2>conftest.er1
56236 ac_status=$?
56237 grep -v '^ *+' conftest.er1 >conftest.err
56238 rm -f conftest.er1
56239 cat conftest.err >&5
56240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56241 (exit $ac_status); } &&
56242 { ac_try='test -z "$ac_c_werror_flag"
56243 || test ! -s conftest.err'
56244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56245 (eval $ac_try) 2>&5
56246 ac_status=$?
56247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56248 (exit $ac_status); }; } &&
56249 { ac_try='test -s conftest$ac_exeext'
56250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56251 (eval $ac_try) 2>&5
56252 ac_status=$?
56253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56254 (exit $ac_status); }; }; then
56255 eval "$as_ac_var=yes"
56256 else
56257 echo "$as_me: failed program was:" >&5
56258 sed 's/^/| /' conftest.$ac_ext >&5
56260 eval "$as_ac_var=no"
56262 rm -f conftest.err conftest.$ac_objext \
56263 conftest$ac_exeext conftest.$ac_ext
56265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56267 if test `eval echo '${'$as_ac_var'}'` = yes; then
56268 cat >>confdefs.h <<_ACEOF
56269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56270 _ACEOF
56273 done
56283 echo "$as_me:$LINENO: checking for logl declaration" >&5
56284 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56285 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56286 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56287 echo $ECHO_N "(cached) $ECHO_C" >&6
56288 else
56292 ac_ext=cc
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56298 cat >conftest.$ac_ext <<_ACEOF
56299 /* confdefs.h. */
56300 _ACEOF
56301 cat confdefs.h >>conftest.$ac_ext
56302 cat >>conftest.$ac_ext <<_ACEOF
56303 /* end confdefs.h. */
56304 #include <math.h>
56305 #ifdef HAVE_IEEEFP_H
56306 #include <ieeefp.h>
56307 #endif
56310 main ()
56312 logl(0);
56314 return 0;
56316 _ACEOF
56317 rm -f conftest.$ac_objext
56318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56319 (eval $ac_compile) 2>conftest.er1
56320 ac_status=$?
56321 grep -v '^ *+' conftest.er1 >conftest.err
56322 rm -f conftest.er1
56323 cat conftest.err >&5
56324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56325 (exit $ac_status); } &&
56326 { ac_try='test -z "$ac_cxx_werror_flag"
56327 || test ! -s conftest.err'
56328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56329 (eval $ac_try) 2>&5
56330 ac_status=$?
56331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56332 (exit $ac_status); }; } &&
56333 { ac_try='test -s conftest.$ac_objext'
56334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56335 (eval $ac_try) 2>&5
56336 ac_status=$?
56337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56338 (exit $ac_status); }; }; then
56339 glibcxx_cv_func_logl_use=yes
56340 else
56341 echo "$as_me: failed program was:" >&5
56342 sed 's/^/| /' conftest.$ac_ext >&5
56344 glibcxx_cv_func_logl_use=no
56346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56347 ac_ext=c
56348 ac_cpp='$CPP $CPPFLAGS'
56349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56358 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56360 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56362 for ac_func in logl
56364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56365 echo "$as_me:$LINENO: checking for $ac_func" >&5
56366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56367 if eval "test \"\${$as_ac_var+set}\" = set"; then
56368 echo $ECHO_N "(cached) $ECHO_C" >&6
56369 else
56370 if test x$gcc_no_link = xyes; then
56371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56373 { (exit 1); exit 1; }; }
56375 cat >conftest.$ac_ext <<_ACEOF
56376 /* confdefs.h. */
56377 _ACEOF
56378 cat confdefs.h >>conftest.$ac_ext
56379 cat >>conftest.$ac_ext <<_ACEOF
56380 /* end confdefs.h. */
56381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56383 #define $ac_func innocuous_$ac_func
56385 /* System header to define __stub macros and hopefully few prototypes,
56386 which can conflict with char $ac_func (); below.
56387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56388 <limits.h> exists even on freestanding compilers. */
56390 #ifdef __STDC__
56391 # include <limits.h>
56392 #else
56393 # include <assert.h>
56394 #endif
56396 #undef $ac_func
56398 /* Override any gcc2 internal prototype to avoid an error. */
56399 #ifdef __cplusplus
56400 extern "C"
56402 #endif
56403 /* We use char because int might match the return type of a gcc2
56404 builtin and then its argument prototype would still apply. */
56405 char $ac_func ();
56406 /* The GNU C library defines this for functions which it implements
56407 to always fail with ENOSYS. Some functions are actually named
56408 something starting with __ and the normal name is an alias. */
56409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56410 choke me
56411 #else
56412 char (*f) () = $ac_func;
56413 #endif
56414 #ifdef __cplusplus
56416 #endif
56419 main ()
56421 return f != $ac_func;
56423 return 0;
56425 _ACEOF
56426 rm -f conftest.$ac_objext conftest$ac_exeext
56427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56428 (eval $ac_link) 2>conftest.er1
56429 ac_status=$?
56430 grep -v '^ *+' conftest.er1 >conftest.err
56431 rm -f conftest.er1
56432 cat conftest.err >&5
56433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56434 (exit $ac_status); } &&
56435 { ac_try='test -z "$ac_c_werror_flag"
56436 || test ! -s conftest.err'
56437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56438 (eval $ac_try) 2>&5
56439 ac_status=$?
56440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56441 (exit $ac_status); }; } &&
56442 { ac_try='test -s conftest$ac_exeext'
56443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56444 (eval $ac_try) 2>&5
56445 ac_status=$?
56446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56447 (exit $ac_status); }; }; then
56448 eval "$as_ac_var=yes"
56449 else
56450 echo "$as_me: failed program was:" >&5
56451 sed 's/^/| /' conftest.$ac_ext >&5
56453 eval "$as_ac_var=no"
56455 rm -f conftest.err conftest.$ac_objext \
56456 conftest$ac_exeext conftest.$ac_ext
56458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56460 if test `eval echo '${'$as_ac_var'}'` = yes; then
56461 cat >>confdefs.h <<_ACEOF
56462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56463 _ACEOF
56466 done
56468 else
56470 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56471 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56472 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56473 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56474 echo $ECHO_N "(cached) $ECHO_C" >&6
56475 else
56479 ac_ext=cc
56480 ac_cpp='$CXXCPP $CPPFLAGS'
56481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56485 cat >conftest.$ac_ext <<_ACEOF
56486 /* confdefs.h. */
56487 _ACEOF
56488 cat confdefs.h >>conftest.$ac_ext
56489 cat >>conftest.$ac_ext <<_ACEOF
56490 /* end confdefs.h. */
56491 #include <math.h>
56492 #ifdef HAVE_IEEEFP_H
56493 #include <ieeefp.h>
56494 #endif
56497 main ()
56499 _logl(0);
56501 return 0;
56503 _ACEOF
56504 rm -f conftest.$ac_objext
56505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56506 (eval $ac_compile) 2>conftest.er1
56507 ac_status=$?
56508 grep -v '^ *+' conftest.er1 >conftest.err
56509 rm -f conftest.er1
56510 cat conftest.err >&5
56511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56512 (exit $ac_status); } &&
56513 { ac_try='test -z "$ac_cxx_werror_flag"
56514 || test ! -s conftest.err'
56515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56516 (eval $ac_try) 2>&5
56517 ac_status=$?
56518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519 (exit $ac_status); }; } &&
56520 { ac_try='test -s conftest.$ac_objext'
56521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56522 (eval $ac_try) 2>&5
56523 ac_status=$?
56524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56525 (exit $ac_status); }; }; then
56526 glibcxx_cv_func__logl_use=yes
56527 else
56528 echo "$as_me: failed program was:" >&5
56529 sed 's/^/| /' conftest.$ac_ext >&5
56531 glibcxx_cv_func__logl_use=no
56533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56534 ac_ext=c
56535 ac_cpp='$CPP $CPPFLAGS'
56536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56544 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56545 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56547 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56549 for ac_func in _logl
56551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56552 echo "$as_me:$LINENO: checking for $ac_func" >&5
56553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56554 if eval "test \"\${$as_ac_var+set}\" = set"; then
56555 echo $ECHO_N "(cached) $ECHO_C" >&6
56556 else
56557 if test x$gcc_no_link = xyes; then
56558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56560 { (exit 1); exit 1; }; }
56562 cat >conftest.$ac_ext <<_ACEOF
56563 /* confdefs.h. */
56564 _ACEOF
56565 cat confdefs.h >>conftest.$ac_ext
56566 cat >>conftest.$ac_ext <<_ACEOF
56567 /* end confdefs.h. */
56568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56570 #define $ac_func innocuous_$ac_func
56572 /* System header to define __stub macros and hopefully few prototypes,
56573 which can conflict with char $ac_func (); below.
56574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56575 <limits.h> exists even on freestanding compilers. */
56577 #ifdef __STDC__
56578 # include <limits.h>
56579 #else
56580 # include <assert.h>
56581 #endif
56583 #undef $ac_func
56585 /* Override any gcc2 internal prototype to avoid an error. */
56586 #ifdef __cplusplus
56587 extern "C"
56589 #endif
56590 /* We use char because int might match the return type of a gcc2
56591 builtin and then its argument prototype would still apply. */
56592 char $ac_func ();
56593 /* The GNU C library defines this for functions which it implements
56594 to always fail with ENOSYS. Some functions are actually named
56595 something starting with __ and the normal name is an alias. */
56596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56597 choke me
56598 #else
56599 char (*f) () = $ac_func;
56600 #endif
56601 #ifdef __cplusplus
56603 #endif
56606 main ()
56608 return f != $ac_func;
56610 return 0;
56612 _ACEOF
56613 rm -f conftest.$ac_objext conftest$ac_exeext
56614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56615 (eval $ac_link) 2>conftest.er1
56616 ac_status=$?
56617 grep -v '^ *+' conftest.er1 >conftest.err
56618 rm -f conftest.er1
56619 cat conftest.err >&5
56620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56621 (exit $ac_status); } &&
56622 { ac_try='test -z "$ac_c_werror_flag"
56623 || test ! -s conftest.err'
56624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56625 (eval $ac_try) 2>&5
56626 ac_status=$?
56627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56628 (exit $ac_status); }; } &&
56629 { ac_try='test -s conftest$ac_exeext'
56630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56631 (eval $ac_try) 2>&5
56632 ac_status=$?
56633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56634 (exit $ac_status); }; }; then
56635 eval "$as_ac_var=yes"
56636 else
56637 echo "$as_me: failed program was:" >&5
56638 sed 's/^/| /' conftest.$ac_ext >&5
56640 eval "$as_ac_var=no"
56642 rm -f conftest.err conftest.$ac_objext \
56643 conftest$ac_exeext conftest.$ac_ext
56645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56647 if test `eval echo '${'$as_ac_var'}'` = yes; then
56648 cat >>confdefs.h <<_ACEOF
56649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56650 _ACEOF
56653 done
56663 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56664 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56665 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56666 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56667 echo $ECHO_N "(cached) $ECHO_C" >&6
56668 else
56672 ac_ext=cc
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56678 cat >conftest.$ac_ext <<_ACEOF
56679 /* confdefs.h. */
56680 _ACEOF
56681 cat confdefs.h >>conftest.$ac_ext
56682 cat >>conftest.$ac_ext <<_ACEOF
56683 /* end confdefs.h. */
56684 #include <math.h>
56685 #ifdef HAVE_IEEEFP_H
56686 #include <ieeefp.h>
56687 #endif
56690 main ()
56692 log10l(0);
56694 return 0;
56696 _ACEOF
56697 rm -f conftest.$ac_objext
56698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56699 (eval $ac_compile) 2>conftest.er1
56700 ac_status=$?
56701 grep -v '^ *+' conftest.er1 >conftest.err
56702 rm -f conftest.er1
56703 cat conftest.err >&5
56704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56705 (exit $ac_status); } &&
56706 { ac_try='test -z "$ac_cxx_werror_flag"
56707 || test ! -s conftest.err'
56708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56709 (eval $ac_try) 2>&5
56710 ac_status=$?
56711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56712 (exit $ac_status); }; } &&
56713 { ac_try='test -s conftest.$ac_objext'
56714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56715 (eval $ac_try) 2>&5
56716 ac_status=$?
56717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56718 (exit $ac_status); }; }; then
56719 glibcxx_cv_func_log10l_use=yes
56720 else
56721 echo "$as_me: failed program was:" >&5
56722 sed 's/^/| /' conftest.$ac_ext >&5
56724 glibcxx_cv_func_log10l_use=no
56726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56727 ac_ext=c
56728 ac_cpp='$CPP $CPPFLAGS'
56729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56737 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56738 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56740 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56742 for ac_func in log10l
56744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56745 echo "$as_me:$LINENO: checking for $ac_func" >&5
56746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56747 if eval "test \"\${$as_ac_var+set}\" = set"; then
56748 echo $ECHO_N "(cached) $ECHO_C" >&6
56749 else
56750 if test x$gcc_no_link = xyes; then
56751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56753 { (exit 1); exit 1; }; }
56755 cat >conftest.$ac_ext <<_ACEOF
56756 /* confdefs.h. */
56757 _ACEOF
56758 cat confdefs.h >>conftest.$ac_ext
56759 cat >>conftest.$ac_ext <<_ACEOF
56760 /* end confdefs.h. */
56761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56763 #define $ac_func innocuous_$ac_func
56765 /* System header to define __stub macros and hopefully few prototypes,
56766 which can conflict with char $ac_func (); below.
56767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56768 <limits.h> exists even on freestanding compilers. */
56770 #ifdef __STDC__
56771 # include <limits.h>
56772 #else
56773 # include <assert.h>
56774 #endif
56776 #undef $ac_func
56778 /* Override any gcc2 internal prototype to avoid an error. */
56779 #ifdef __cplusplus
56780 extern "C"
56782 #endif
56783 /* We use char because int might match the return type of a gcc2
56784 builtin and then its argument prototype would still apply. */
56785 char $ac_func ();
56786 /* The GNU C library defines this for functions which it implements
56787 to always fail with ENOSYS. Some functions are actually named
56788 something starting with __ and the normal name is an alias. */
56789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56790 choke me
56791 #else
56792 char (*f) () = $ac_func;
56793 #endif
56794 #ifdef __cplusplus
56796 #endif
56799 main ()
56801 return f != $ac_func;
56803 return 0;
56805 _ACEOF
56806 rm -f conftest.$ac_objext conftest$ac_exeext
56807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56808 (eval $ac_link) 2>conftest.er1
56809 ac_status=$?
56810 grep -v '^ *+' conftest.er1 >conftest.err
56811 rm -f conftest.er1
56812 cat conftest.err >&5
56813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56814 (exit $ac_status); } &&
56815 { ac_try='test -z "$ac_c_werror_flag"
56816 || test ! -s conftest.err'
56817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56818 (eval $ac_try) 2>&5
56819 ac_status=$?
56820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56821 (exit $ac_status); }; } &&
56822 { ac_try='test -s conftest$ac_exeext'
56823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56824 (eval $ac_try) 2>&5
56825 ac_status=$?
56826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56827 (exit $ac_status); }; }; then
56828 eval "$as_ac_var=yes"
56829 else
56830 echo "$as_me: failed program was:" >&5
56831 sed 's/^/| /' conftest.$ac_ext >&5
56833 eval "$as_ac_var=no"
56835 rm -f conftest.err conftest.$ac_objext \
56836 conftest$ac_exeext conftest.$ac_ext
56838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56840 if test `eval echo '${'$as_ac_var'}'` = yes; then
56841 cat >>confdefs.h <<_ACEOF
56842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56843 _ACEOF
56846 done
56848 else
56850 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
56851 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
56852 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56853 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
56854 echo $ECHO_N "(cached) $ECHO_C" >&6
56855 else
56859 ac_ext=cc
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56865 cat >conftest.$ac_ext <<_ACEOF
56866 /* confdefs.h. */
56867 _ACEOF
56868 cat confdefs.h >>conftest.$ac_ext
56869 cat >>conftest.$ac_ext <<_ACEOF
56870 /* end confdefs.h. */
56871 #include <math.h>
56872 #ifdef HAVE_IEEEFP_H
56873 #include <ieeefp.h>
56874 #endif
56877 main ()
56879 _log10l(0);
56881 return 0;
56883 _ACEOF
56884 rm -f conftest.$ac_objext
56885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56886 (eval $ac_compile) 2>conftest.er1
56887 ac_status=$?
56888 grep -v '^ *+' conftest.er1 >conftest.err
56889 rm -f conftest.er1
56890 cat conftest.err >&5
56891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56892 (exit $ac_status); } &&
56893 { ac_try='test -z "$ac_cxx_werror_flag"
56894 || test ! -s conftest.err'
56895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56896 (eval $ac_try) 2>&5
56897 ac_status=$?
56898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56899 (exit $ac_status); }; } &&
56900 { ac_try='test -s conftest.$ac_objext'
56901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56902 (eval $ac_try) 2>&5
56903 ac_status=$?
56904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56905 (exit $ac_status); }; }; then
56906 glibcxx_cv_func__log10l_use=yes
56907 else
56908 echo "$as_me: failed program was:" >&5
56909 sed 's/^/| /' conftest.$ac_ext >&5
56911 glibcxx_cv_func__log10l_use=no
56913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56914 ac_ext=c
56915 ac_cpp='$CPP $CPPFLAGS'
56916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56924 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
56925 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
56927 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56929 for ac_func in _log10l
56931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56932 echo "$as_me:$LINENO: checking for $ac_func" >&5
56933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56934 if eval "test \"\${$as_ac_var+set}\" = set"; then
56935 echo $ECHO_N "(cached) $ECHO_C" >&6
56936 else
56937 if test x$gcc_no_link = xyes; then
56938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56940 { (exit 1); exit 1; }; }
56942 cat >conftest.$ac_ext <<_ACEOF
56943 /* confdefs.h. */
56944 _ACEOF
56945 cat confdefs.h >>conftest.$ac_ext
56946 cat >>conftest.$ac_ext <<_ACEOF
56947 /* end confdefs.h. */
56948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56950 #define $ac_func innocuous_$ac_func
56952 /* System header to define __stub macros and hopefully few prototypes,
56953 which can conflict with char $ac_func (); below.
56954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56955 <limits.h> exists even on freestanding compilers. */
56957 #ifdef __STDC__
56958 # include <limits.h>
56959 #else
56960 # include <assert.h>
56961 #endif
56963 #undef $ac_func
56965 /* Override any gcc2 internal prototype to avoid an error. */
56966 #ifdef __cplusplus
56967 extern "C"
56969 #endif
56970 /* We use char because int might match the return type of a gcc2
56971 builtin and then its argument prototype would still apply. */
56972 char $ac_func ();
56973 /* The GNU C library defines this for functions which it implements
56974 to always fail with ENOSYS. Some functions are actually named
56975 something starting with __ and the normal name is an alias. */
56976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56977 choke me
56978 #else
56979 char (*f) () = $ac_func;
56980 #endif
56981 #ifdef __cplusplus
56983 #endif
56986 main ()
56988 return f != $ac_func;
56990 return 0;
56992 _ACEOF
56993 rm -f conftest.$ac_objext conftest$ac_exeext
56994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56995 (eval $ac_link) 2>conftest.er1
56996 ac_status=$?
56997 grep -v '^ *+' conftest.er1 >conftest.err
56998 rm -f conftest.er1
56999 cat conftest.err >&5
57000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57001 (exit $ac_status); } &&
57002 { ac_try='test -z "$ac_c_werror_flag"
57003 || test ! -s conftest.err'
57004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57005 (eval $ac_try) 2>&5
57006 ac_status=$?
57007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57008 (exit $ac_status); }; } &&
57009 { ac_try='test -s conftest$ac_exeext'
57010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57011 (eval $ac_try) 2>&5
57012 ac_status=$?
57013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57014 (exit $ac_status); }; }; then
57015 eval "$as_ac_var=yes"
57016 else
57017 echo "$as_me: failed program was:" >&5
57018 sed 's/^/| /' conftest.$ac_ext >&5
57020 eval "$as_ac_var=no"
57022 rm -f conftest.err conftest.$ac_objext \
57023 conftest$ac_exeext conftest.$ac_ext
57025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57027 if test `eval echo '${'$as_ac_var'}'` = yes; then
57028 cat >>confdefs.h <<_ACEOF
57029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57030 _ACEOF
57033 done
57043 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57044 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57045 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57046 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57047 echo $ECHO_N "(cached) $ECHO_C" >&6
57048 else
57052 ac_ext=cc
57053 ac_cpp='$CXXCPP $CPPFLAGS'
57054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57058 cat >conftest.$ac_ext <<_ACEOF
57059 /* confdefs.h. */
57060 _ACEOF
57061 cat confdefs.h >>conftest.$ac_ext
57062 cat >>conftest.$ac_ext <<_ACEOF
57063 /* end confdefs.h. */
57064 #include <math.h>
57066 main ()
57068 modfl(0, 0);
57070 return 0;
57072 _ACEOF
57073 rm -f conftest.$ac_objext
57074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57075 (eval $ac_compile) 2>conftest.er1
57076 ac_status=$?
57077 grep -v '^ *+' conftest.er1 >conftest.err
57078 rm -f conftest.er1
57079 cat conftest.err >&5
57080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57081 (exit $ac_status); } &&
57082 { ac_try='test -z "$ac_cxx_werror_flag"
57083 || test ! -s conftest.err'
57084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57085 (eval $ac_try) 2>&5
57086 ac_status=$?
57087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57088 (exit $ac_status); }; } &&
57089 { ac_try='test -s conftest.$ac_objext'
57090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57091 (eval $ac_try) 2>&5
57092 ac_status=$?
57093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57094 (exit $ac_status); }; }; then
57095 glibcxx_cv_func_modfl_use=yes
57096 else
57097 echo "$as_me: failed program was:" >&5
57098 sed 's/^/| /' conftest.$ac_ext >&5
57100 glibcxx_cv_func_modfl_use=no
57102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57103 ac_ext=c
57104 ac_cpp='$CPP $CPPFLAGS'
57105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57114 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57116 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57118 for ac_func in modfl
57120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57121 echo "$as_me:$LINENO: checking for $ac_func" >&5
57122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57123 if eval "test \"\${$as_ac_var+set}\" = set"; then
57124 echo $ECHO_N "(cached) $ECHO_C" >&6
57125 else
57126 if test x$gcc_no_link = xyes; then
57127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57129 { (exit 1); exit 1; }; }
57131 cat >conftest.$ac_ext <<_ACEOF
57132 /* confdefs.h. */
57133 _ACEOF
57134 cat confdefs.h >>conftest.$ac_ext
57135 cat >>conftest.$ac_ext <<_ACEOF
57136 /* end confdefs.h. */
57137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57139 #define $ac_func innocuous_$ac_func
57141 /* System header to define __stub macros and hopefully few prototypes,
57142 which can conflict with char $ac_func (); below.
57143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57144 <limits.h> exists even on freestanding compilers. */
57146 #ifdef __STDC__
57147 # include <limits.h>
57148 #else
57149 # include <assert.h>
57150 #endif
57152 #undef $ac_func
57154 /* Override any gcc2 internal prototype to avoid an error. */
57155 #ifdef __cplusplus
57156 extern "C"
57158 #endif
57159 /* We use char because int might match the return type of a gcc2
57160 builtin and then its argument prototype would still apply. */
57161 char $ac_func ();
57162 /* The GNU C library defines this for functions which it implements
57163 to always fail with ENOSYS. Some functions are actually named
57164 something starting with __ and the normal name is an alias. */
57165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57166 choke me
57167 #else
57168 char (*f) () = $ac_func;
57169 #endif
57170 #ifdef __cplusplus
57172 #endif
57175 main ()
57177 return f != $ac_func;
57179 return 0;
57181 _ACEOF
57182 rm -f conftest.$ac_objext conftest$ac_exeext
57183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57184 (eval $ac_link) 2>conftest.er1
57185 ac_status=$?
57186 grep -v '^ *+' conftest.er1 >conftest.err
57187 rm -f conftest.er1
57188 cat conftest.err >&5
57189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57190 (exit $ac_status); } &&
57191 { ac_try='test -z "$ac_c_werror_flag"
57192 || test ! -s conftest.err'
57193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57194 (eval $ac_try) 2>&5
57195 ac_status=$?
57196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57197 (exit $ac_status); }; } &&
57198 { ac_try='test -s conftest$ac_exeext'
57199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57200 (eval $ac_try) 2>&5
57201 ac_status=$?
57202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57203 (exit $ac_status); }; }; then
57204 eval "$as_ac_var=yes"
57205 else
57206 echo "$as_me: failed program was:" >&5
57207 sed 's/^/| /' conftest.$ac_ext >&5
57209 eval "$as_ac_var=no"
57211 rm -f conftest.err conftest.$ac_objext \
57212 conftest$ac_exeext conftest.$ac_ext
57214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57216 if test `eval echo '${'$as_ac_var'}'` = yes; then
57217 cat >>confdefs.h <<_ACEOF
57218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57219 _ACEOF
57222 done
57224 else
57226 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57227 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57228 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57229 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57230 echo $ECHO_N "(cached) $ECHO_C" >&6
57231 else
57235 ac_ext=cc
57236 ac_cpp='$CXXCPP $CPPFLAGS'
57237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57241 cat >conftest.$ac_ext <<_ACEOF
57242 /* confdefs.h. */
57243 _ACEOF
57244 cat confdefs.h >>conftest.$ac_ext
57245 cat >>conftest.$ac_ext <<_ACEOF
57246 /* end confdefs.h. */
57247 #include <math.h>
57249 main ()
57251 _modfl(0, 0);
57253 return 0;
57255 _ACEOF
57256 rm -f conftest.$ac_objext
57257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57258 (eval $ac_compile) 2>conftest.er1
57259 ac_status=$?
57260 grep -v '^ *+' conftest.er1 >conftest.err
57261 rm -f conftest.er1
57262 cat conftest.err >&5
57263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57264 (exit $ac_status); } &&
57265 { ac_try='test -z "$ac_cxx_werror_flag"
57266 || test ! -s conftest.err'
57267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57268 (eval $ac_try) 2>&5
57269 ac_status=$?
57270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57271 (exit $ac_status); }; } &&
57272 { ac_try='test -s conftest.$ac_objext'
57273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57274 (eval $ac_try) 2>&5
57275 ac_status=$?
57276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57277 (exit $ac_status); }; }; then
57278 glibcxx_cv_func__modfl_use=yes
57279 else
57280 echo "$as_me: failed program was:" >&5
57281 sed 's/^/| /' conftest.$ac_ext >&5
57283 glibcxx_cv_func__modfl_use=no
57285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57286 ac_ext=c
57287 ac_cpp='$CPP $CPPFLAGS'
57288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57297 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57299 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57301 for ac_func in _modfl
57303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57304 echo "$as_me:$LINENO: checking for $ac_func" >&5
57305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57306 if eval "test \"\${$as_ac_var+set}\" = set"; then
57307 echo $ECHO_N "(cached) $ECHO_C" >&6
57308 else
57309 if test x$gcc_no_link = xyes; then
57310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57312 { (exit 1); exit 1; }; }
57314 cat >conftest.$ac_ext <<_ACEOF
57315 /* confdefs.h. */
57316 _ACEOF
57317 cat confdefs.h >>conftest.$ac_ext
57318 cat >>conftest.$ac_ext <<_ACEOF
57319 /* end confdefs.h. */
57320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57322 #define $ac_func innocuous_$ac_func
57324 /* System header to define __stub macros and hopefully few prototypes,
57325 which can conflict with char $ac_func (); below.
57326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57327 <limits.h> exists even on freestanding compilers. */
57329 #ifdef __STDC__
57330 # include <limits.h>
57331 #else
57332 # include <assert.h>
57333 #endif
57335 #undef $ac_func
57337 /* Override any gcc2 internal prototype to avoid an error. */
57338 #ifdef __cplusplus
57339 extern "C"
57341 #endif
57342 /* We use char because int might match the return type of a gcc2
57343 builtin and then its argument prototype would still apply. */
57344 char $ac_func ();
57345 /* The GNU C library defines this for functions which it implements
57346 to always fail with ENOSYS. Some functions are actually named
57347 something starting with __ and the normal name is an alias. */
57348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57349 choke me
57350 #else
57351 char (*f) () = $ac_func;
57352 #endif
57353 #ifdef __cplusplus
57355 #endif
57358 main ()
57360 return f != $ac_func;
57362 return 0;
57364 _ACEOF
57365 rm -f conftest.$ac_objext conftest$ac_exeext
57366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57367 (eval $ac_link) 2>conftest.er1
57368 ac_status=$?
57369 grep -v '^ *+' conftest.er1 >conftest.err
57370 rm -f conftest.er1
57371 cat conftest.err >&5
57372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57373 (exit $ac_status); } &&
57374 { ac_try='test -z "$ac_c_werror_flag"
57375 || test ! -s conftest.err'
57376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57377 (eval $ac_try) 2>&5
57378 ac_status=$?
57379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57380 (exit $ac_status); }; } &&
57381 { ac_try='test -s conftest$ac_exeext'
57382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57383 (eval $ac_try) 2>&5
57384 ac_status=$?
57385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57386 (exit $ac_status); }; }; then
57387 eval "$as_ac_var=yes"
57388 else
57389 echo "$as_me: failed program was:" >&5
57390 sed 's/^/| /' conftest.$ac_ext >&5
57392 eval "$as_ac_var=no"
57394 rm -f conftest.err conftest.$ac_objext \
57395 conftest$ac_exeext conftest.$ac_ext
57397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57399 if test `eval echo '${'$as_ac_var'}'` = yes; then
57400 cat >>confdefs.h <<_ACEOF
57401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57402 _ACEOF
57405 done
57415 echo "$as_me:$LINENO: checking for powl declaration" >&5
57416 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57417 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57418 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57419 echo $ECHO_N "(cached) $ECHO_C" >&6
57420 else
57424 ac_ext=cc
57425 ac_cpp='$CXXCPP $CPPFLAGS'
57426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430 cat >conftest.$ac_ext <<_ACEOF
57431 /* confdefs.h. */
57432 _ACEOF
57433 cat confdefs.h >>conftest.$ac_ext
57434 cat >>conftest.$ac_ext <<_ACEOF
57435 /* end confdefs.h. */
57436 #include <math.h>
57438 main ()
57440 powl(0, 0);
57442 return 0;
57444 _ACEOF
57445 rm -f conftest.$ac_objext
57446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57447 (eval $ac_compile) 2>conftest.er1
57448 ac_status=$?
57449 grep -v '^ *+' conftest.er1 >conftest.err
57450 rm -f conftest.er1
57451 cat conftest.err >&5
57452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57453 (exit $ac_status); } &&
57454 { ac_try='test -z "$ac_cxx_werror_flag"
57455 || test ! -s conftest.err'
57456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57457 (eval $ac_try) 2>&5
57458 ac_status=$?
57459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57460 (exit $ac_status); }; } &&
57461 { ac_try='test -s conftest.$ac_objext'
57462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57463 (eval $ac_try) 2>&5
57464 ac_status=$?
57465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57466 (exit $ac_status); }; }; then
57467 glibcxx_cv_func_powl_use=yes
57468 else
57469 echo "$as_me: failed program was:" >&5
57470 sed 's/^/| /' conftest.$ac_ext >&5
57472 glibcxx_cv_func_powl_use=no
57474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57475 ac_ext=c
57476 ac_cpp='$CPP $CPPFLAGS'
57477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57486 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57488 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57490 for ac_func in powl
57492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57493 echo "$as_me:$LINENO: checking for $ac_func" >&5
57494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57495 if eval "test \"\${$as_ac_var+set}\" = set"; then
57496 echo $ECHO_N "(cached) $ECHO_C" >&6
57497 else
57498 if test x$gcc_no_link = xyes; then
57499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57501 { (exit 1); exit 1; }; }
57503 cat >conftest.$ac_ext <<_ACEOF
57504 /* confdefs.h. */
57505 _ACEOF
57506 cat confdefs.h >>conftest.$ac_ext
57507 cat >>conftest.$ac_ext <<_ACEOF
57508 /* end confdefs.h. */
57509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57511 #define $ac_func innocuous_$ac_func
57513 /* System header to define __stub macros and hopefully few prototypes,
57514 which can conflict with char $ac_func (); below.
57515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57516 <limits.h> exists even on freestanding compilers. */
57518 #ifdef __STDC__
57519 # include <limits.h>
57520 #else
57521 # include <assert.h>
57522 #endif
57524 #undef $ac_func
57526 /* Override any gcc2 internal prototype to avoid an error. */
57527 #ifdef __cplusplus
57528 extern "C"
57530 #endif
57531 /* We use char because int might match the return type of a gcc2
57532 builtin and then its argument prototype would still apply. */
57533 char $ac_func ();
57534 /* The GNU C library defines this for functions which it implements
57535 to always fail with ENOSYS. Some functions are actually named
57536 something starting with __ and the normal name is an alias. */
57537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57538 choke me
57539 #else
57540 char (*f) () = $ac_func;
57541 #endif
57542 #ifdef __cplusplus
57544 #endif
57547 main ()
57549 return f != $ac_func;
57551 return 0;
57553 _ACEOF
57554 rm -f conftest.$ac_objext conftest$ac_exeext
57555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57556 (eval $ac_link) 2>conftest.er1
57557 ac_status=$?
57558 grep -v '^ *+' conftest.er1 >conftest.err
57559 rm -f conftest.er1
57560 cat conftest.err >&5
57561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57562 (exit $ac_status); } &&
57563 { ac_try='test -z "$ac_c_werror_flag"
57564 || test ! -s conftest.err'
57565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57566 (eval $ac_try) 2>&5
57567 ac_status=$?
57568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57569 (exit $ac_status); }; } &&
57570 { ac_try='test -s conftest$ac_exeext'
57571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57572 (eval $ac_try) 2>&5
57573 ac_status=$?
57574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57575 (exit $ac_status); }; }; then
57576 eval "$as_ac_var=yes"
57577 else
57578 echo "$as_me: failed program was:" >&5
57579 sed 's/^/| /' conftest.$ac_ext >&5
57581 eval "$as_ac_var=no"
57583 rm -f conftest.err conftest.$ac_objext \
57584 conftest$ac_exeext conftest.$ac_ext
57586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57588 if test `eval echo '${'$as_ac_var'}'` = yes; then
57589 cat >>confdefs.h <<_ACEOF
57590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57591 _ACEOF
57594 done
57596 else
57598 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57599 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57600 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57601 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57602 echo $ECHO_N "(cached) $ECHO_C" >&6
57603 else
57607 ac_ext=cc
57608 ac_cpp='$CXXCPP $CPPFLAGS'
57609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57613 cat >conftest.$ac_ext <<_ACEOF
57614 /* confdefs.h. */
57615 _ACEOF
57616 cat confdefs.h >>conftest.$ac_ext
57617 cat >>conftest.$ac_ext <<_ACEOF
57618 /* end confdefs.h. */
57619 #include <math.h>
57621 main ()
57623 _powl(0, 0);
57625 return 0;
57627 _ACEOF
57628 rm -f conftest.$ac_objext
57629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57630 (eval $ac_compile) 2>conftest.er1
57631 ac_status=$?
57632 grep -v '^ *+' conftest.er1 >conftest.err
57633 rm -f conftest.er1
57634 cat conftest.err >&5
57635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57636 (exit $ac_status); } &&
57637 { ac_try='test -z "$ac_cxx_werror_flag"
57638 || test ! -s conftest.err'
57639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57640 (eval $ac_try) 2>&5
57641 ac_status=$?
57642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643 (exit $ac_status); }; } &&
57644 { ac_try='test -s conftest.$ac_objext'
57645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57646 (eval $ac_try) 2>&5
57647 ac_status=$?
57648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57649 (exit $ac_status); }; }; then
57650 glibcxx_cv_func__powl_use=yes
57651 else
57652 echo "$as_me: failed program was:" >&5
57653 sed 's/^/| /' conftest.$ac_ext >&5
57655 glibcxx_cv_func__powl_use=no
57657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57669 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57671 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57673 for ac_func in _powl
57675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57676 echo "$as_me:$LINENO: checking for $ac_func" >&5
57677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57678 if eval "test \"\${$as_ac_var+set}\" = set"; then
57679 echo $ECHO_N "(cached) $ECHO_C" >&6
57680 else
57681 if test x$gcc_no_link = xyes; then
57682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57684 { (exit 1); exit 1; }; }
57686 cat >conftest.$ac_ext <<_ACEOF
57687 /* confdefs.h. */
57688 _ACEOF
57689 cat confdefs.h >>conftest.$ac_ext
57690 cat >>conftest.$ac_ext <<_ACEOF
57691 /* end confdefs.h. */
57692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57694 #define $ac_func innocuous_$ac_func
57696 /* System header to define __stub macros and hopefully few prototypes,
57697 which can conflict with char $ac_func (); below.
57698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57699 <limits.h> exists even on freestanding compilers. */
57701 #ifdef __STDC__
57702 # include <limits.h>
57703 #else
57704 # include <assert.h>
57705 #endif
57707 #undef $ac_func
57709 /* Override any gcc2 internal prototype to avoid an error. */
57710 #ifdef __cplusplus
57711 extern "C"
57713 #endif
57714 /* We use char because int might match the return type of a gcc2
57715 builtin and then its argument prototype would still apply. */
57716 char $ac_func ();
57717 /* The GNU C library defines this for functions which it implements
57718 to always fail with ENOSYS. Some functions are actually named
57719 something starting with __ and the normal name is an alias. */
57720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57721 choke me
57722 #else
57723 char (*f) () = $ac_func;
57724 #endif
57725 #ifdef __cplusplus
57727 #endif
57730 main ()
57732 return f != $ac_func;
57734 return 0;
57736 _ACEOF
57737 rm -f conftest.$ac_objext conftest$ac_exeext
57738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57739 (eval $ac_link) 2>conftest.er1
57740 ac_status=$?
57741 grep -v '^ *+' conftest.er1 >conftest.err
57742 rm -f conftest.er1
57743 cat conftest.err >&5
57744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57745 (exit $ac_status); } &&
57746 { ac_try='test -z "$ac_c_werror_flag"
57747 || test ! -s conftest.err'
57748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57749 (eval $ac_try) 2>&5
57750 ac_status=$?
57751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57752 (exit $ac_status); }; } &&
57753 { ac_try='test -s conftest$ac_exeext'
57754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57755 (eval $ac_try) 2>&5
57756 ac_status=$?
57757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57758 (exit $ac_status); }; }; then
57759 eval "$as_ac_var=yes"
57760 else
57761 echo "$as_me: failed program was:" >&5
57762 sed 's/^/| /' conftest.$ac_ext >&5
57764 eval "$as_ac_var=no"
57766 rm -f conftest.err conftest.$ac_objext \
57767 conftest$ac_exeext conftest.$ac_ext
57769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57771 if test `eval echo '${'$as_ac_var'}'` = yes; then
57772 cat >>confdefs.h <<_ACEOF
57773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57774 _ACEOF
57777 done
57787 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
57788 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
57789 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57790 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
57791 echo $ECHO_N "(cached) $ECHO_C" >&6
57792 else
57796 ac_ext=cc
57797 ac_cpp='$CXXCPP $CPPFLAGS'
57798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57802 cat >conftest.$ac_ext <<_ACEOF
57803 /* confdefs.h. */
57804 _ACEOF
57805 cat confdefs.h >>conftest.$ac_ext
57806 cat >>conftest.$ac_ext <<_ACEOF
57807 /* end confdefs.h. */
57808 #include <math.h>
57809 #ifdef HAVE_IEEEFP_H
57810 #include <ieeefp.h>
57811 #endif
57814 main ()
57816 sqrtl(0);
57818 return 0;
57820 _ACEOF
57821 rm -f conftest.$ac_objext
57822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57823 (eval $ac_compile) 2>conftest.er1
57824 ac_status=$?
57825 grep -v '^ *+' conftest.er1 >conftest.err
57826 rm -f conftest.er1
57827 cat conftest.err >&5
57828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57829 (exit $ac_status); } &&
57830 { ac_try='test -z "$ac_cxx_werror_flag"
57831 || test ! -s conftest.err'
57832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57833 (eval $ac_try) 2>&5
57834 ac_status=$?
57835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57836 (exit $ac_status); }; } &&
57837 { ac_try='test -s conftest.$ac_objext'
57838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57839 (eval $ac_try) 2>&5
57840 ac_status=$?
57841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57842 (exit $ac_status); }; }; then
57843 glibcxx_cv_func_sqrtl_use=yes
57844 else
57845 echo "$as_me: failed program was:" >&5
57846 sed 's/^/| /' conftest.$ac_ext >&5
57848 glibcxx_cv_func_sqrtl_use=no
57850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57851 ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
57862 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
57864 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57866 for ac_func in sqrtl
57868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57869 echo "$as_me:$LINENO: checking for $ac_func" >&5
57870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57871 if eval "test \"\${$as_ac_var+set}\" = set"; then
57872 echo $ECHO_N "(cached) $ECHO_C" >&6
57873 else
57874 if test x$gcc_no_link = xyes; then
57875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57877 { (exit 1); exit 1; }; }
57879 cat >conftest.$ac_ext <<_ACEOF
57880 /* confdefs.h. */
57881 _ACEOF
57882 cat confdefs.h >>conftest.$ac_ext
57883 cat >>conftest.$ac_ext <<_ACEOF
57884 /* end confdefs.h. */
57885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57887 #define $ac_func innocuous_$ac_func
57889 /* System header to define __stub macros and hopefully few prototypes,
57890 which can conflict with char $ac_func (); below.
57891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57892 <limits.h> exists even on freestanding compilers. */
57894 #ifdef __STDC__
57895 # include <limits.h>
57896 #else
57897 # include <assert.h>
57898 #endif
57900 #undef $ac_func
57902 /* Override any gcc2 internal prototype to avoid an error. */
57903 #ifdef __cplusplus
57904 extern "C"
57906 #endif
57907 /* We use char because int might match the return type of a gcc2
57908 builtin and then its argument prototype would still apply. */
57909 char $ac_func ();
57910 /* The GNU C library defines this for functions which it implements
57911 to always fail with ENOSYS. Some functions are actually named
57912 something starting with __ and the normal name is an alias. */
57913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57914 choke me
57915 #else
57916 char (*f) () = $ac_func;
57917 #endif
57918 #ifdef __cplusplus
57920 #endif
57923 main ()
57925 return f != $ac_func;
57927 return 0;
57929 _ACEOF
57930 rm -f conftest.$ac_objext conftest$ac_exeext
57931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57932 (eval $ac_link) 2>conftest.er1
57933 ac_status=$?
57934 grep -v '^ *+' conftest.er1 >conftest.err
57935 rm -f conftest.er1
57936 cat conftest.err >&5
57937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57938 (exit $ac_status); } &&
57939 { ac_try='test -z "$ac_c_werror_flag"
57940 || test ! -s conftest.err'
57941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57942 (eval $ac_try) 2>&5
57943 ac_status=$?
57944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57945 (exit $ac_status); }; } &&
57946 { ac_try='test -s conftest$ac_exeext'
57947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57948 (eval $ac_try) 2>&5
57949 ac_status=$?
57950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57951 (exit $ac_status); }; }; then
57952 eval "$as_ac_var=yes"
57953 else
57954 echo "$as_me: failed program was:" >&5
57955 sed 's/^/| /' conftest.$ac_ext >&5
57957 eval "$as_ac_var=no"
57959 rm -f conftest.err conftest.$ac_objext \
57960 conftest$ac_exeext conftest.$ac_ext
57962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57964 if test `eval echo '${'$as_ac_var'}'` = yes; then
57965 cat >>confdefs.h <<_ACEOF
57966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57967 _ACEOF
57970 done
57972 else
57974 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
57975 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
57976 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57977 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
57978 echo $ECHO_N "(cached) $ECHO_C" >&6
57979 else
57983 ac_ext=cc
57984 ac_cpp='$CXXCPP $CPPFLAGS'
57985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57989 cat >conftest.$ac_ext <<_ACEOF
57990 /* confdefs.h. */
57991 _ACEOF
57992 cat confdefs.h >>conftest.$ac_ext
57993 cat >>conftest.$ac_ext <<_ACEOF
57994 /* end confdefs.h. */
57995 #include <math.h>
57996 #ifdef HAVE_IEEEFP_H
57997 #include <ieeefp.h>
57998 #endif
58001 main ()
58003 _sqrtl(0);
58005 return 0;
58007 _ACEOF
58008 rm -f conftest.$ac_objext
58009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58010 (eval $ac_compile) 2>conftest.er1
58011 ac_status=$?
58012 grep -v '^ *+' conftest.er1 >conftest.err
58013 rm -f conftest.er1
58014 cat conftest.err >&5
58015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016 (exit $ac_status); } &&
58017 { ac_try='test -z "$ac_cxx_werror_flag"
58018 || test ! -s conftest.err'
58019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58020 (eval $ac_try) 2>&5
58021 ac_status=$?
58022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023 (exit $ac_status); }; } &&
58024 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
58030 glibcxx_cv_func__sqrtl_use=yes
58031 else
58032 echo "$as_me: failed program was:" >&5
58033 sed 's/^/| /' conftest.$ac_ext >&5
58035 glibcxx_cv_func__sqrtl_use=no
58037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58038 ac_ext=c
58039 ac_cpp='$CPP $CPPFLAGS'
58040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58048 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58049 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58051 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58053 for ac_func in _sqrtl
58055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58056 echo "$as_me:$LINENO: checking for $ac_func" >&5
58057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58058 if eval "test \"\${$as_ac_var+set}\" = set"; then
58059 echo $ECHO_N "(cached) $ECHO_C" >&6
58060 else
58061 if test x$gcc_no_link = xyes; then
58062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58064 { (exit 1); exit 1; }; }
58066 cat >conftest.$ac_ext <<_ACEOF
58067 /* confdefs.h. */
58068 _ACEOF
58069 cat confdefs.h >>conftest.$ac_ext
58070 cat >>conftest.$ac_ext <<_ACEOF
58071 /* end confdefs.h. */
58072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58074 #define $ac_func innocuous_$ac_func
58076 /* System header to define __stub macros and hopefully few prototypes,
58077 which can conflict with char $ac_func (); below.
58078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58079 <limits.h> exists even on freestanding compilers. */
58081 #ifdef __STDC__
58082 # include <limits.h>
58083 #else
58084 # include <assert.h>
58085 #endif
58087 #undef $ac_func
58089 /* Override any gcc2 internal prototype to avoid an error. */
58090 #ifdef __cplusplus
58091 extern "C"
58093 #endif
58094 /* We use char because int might match the return type of a gcc2
58095 builtin and then its argument prototype would still apply. */
58096 char $ac_func ();
58097 /* The GNU C library defines this for functions which it implements
58098 to always fail with ENOSYS. Some functions are actually named
58099 something starting with __ and the normal name is an alias. */
58100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58101 choke me
58102 #else
58103 char (*f) () = $ac_func;
58104 #endif
58105 #ifdef __cplusplus
58107 #endif
58110 main ()
58112 return f != $ac_func;
58114 return 0;
58116 _ACEOF
58117 rm -f conftest.$ac_objext conftest$ac_exeext
58118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58119 (eval $ac_link) 2>conftest.er1
58120 ac_status=$?
58121 grep -v '^ *+' conftest.er1 >conftest.err
58122 rm -f conftest.er1
58123 cat conftest.err >&5
58124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58125 (exit $ac_status); } &&
58126 { ac_try='test -z "$ac_c_werror_flag"
58127 || test ! -s conftest.err'
58128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58129 (eval $ac_try) 2>&5
58130 ac_status=$?
58131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58132 (exit $ac_status); }; } &&
58133 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
58139 eval "$as_ac_var=yes"
58140 else
58141 echo "$as_me: failed program was:" >&5
58142 sed 's/^/| /' conftest.$ac_ext >&5
58144 eval "$as_ac_var=no"
58146 rm -f conftest.err conftest.$ac_objext \
58147 conftest$ac_exeext conftest.$ac_ext
58149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58151 if test `eval echo '${'$as_ac_var'}'` = yes; then
58152 cat >>confdefs.h <<_ACEOF
58153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58154 _ACEOF
58157 done
58167 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58168 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58169 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58170 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58171 echo $ECHO_N "(cached) $ECHO_C" >&6
58172 else
58176 ac_ext=cc
58177 ac_cpp='$CXXCPP $CPPFLAGS'
58178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58182 cat >conftest.$ac_ext <<_ACEOF
58183 /* confdefs.h. */
58184 _ACEOF
58185 cat confdefs.h >>conftest.$ac_ext
58186 cat >>conftest.$ac_ext <<_ACEOF
58187 /* end confdefs.h. */
58188 #include <math.h>
58190 main ()
58192 sincosl(0, 0, 0);
58194 return 0;
58196 _ACEOF
58197 rm -f conftest.$ac_objext
58198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58199 (eval $ac_compile) 2>conftest.er1
58200 ac_status=$?
58201 grep -v '^ *+' conftest.er1 >conftest.err
58202 rm -f conftest.er1
58203 cat conftest.err >&5
58204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58205 (exit $ac_status); } &&
58206 { ac_try='test -z "$ac_cxx_werror_flag"
58207 || test ! -s conftest.err'
58208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58209 (eval $ac_try) 2>&5
58210 ac_status=$?
58211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58212 (exit $ac_status); }; } &&
58213 { ac_try='test -s conftest.$ac_objext'
58214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58215 (eval $ac_try) 2>&5
58216 ac_status=$?
58217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58218 (exit $ac_status); }; }; then
58219 glibcxx_cv_func_sincosl_use=yes
58220 else
58221 echo "$as_me: failed program was:" >&5
58222 sed 's/^/| /' conftest.$ac_ext >&5
58224 glibcxx_cv_func_sincosl_use=no
58226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58227 ac_ext=c
58228 ac_cpp='$CPP $CPPFLAGS'
58229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58238 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58240 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58242 for ac_func in sincosl
58244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58245 echo "$as_me:$LINENO: checking for $ac_func" >&5
58246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58247 if eval "test \"\${$as_ac_var+set}\" = set"; then
58248 echo $ECHO_N "(cached) $ECHO_C" >&6
58249 else
58250 if test x$gcc_no_link = xyes; then
58251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58253 { (exit 1); exit 1; }; }
58255 cat >conftest.$ac_ext <<_ACEOF
58256 /* confdefs.h. */
58257 _ACEOF
58258 cat confdefs.h >>conftest.$ac_ext
58259 cat >>conftest.$ac_ext <<_ACEOF
58260 /* end confdefs.h. */
58261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58263 #define $ac_func innocuous_$ac_func
58265 /* System header to define __stub macros and hopefully few prototypes,
58266 which can conflict with char $ac_func (); below.
58267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58268 <limits.h> exists even on freestanding compilers. */
58270 #ifdef __STDC__
58271 # include <limits.h>
58272 #else
58273 # include <assert.h>
58274 #endif
58276 #undef $ac_func
58278 /* Override any gcc2 internal prototype to avoid an error. */
58279 #ifdef __cplusplus
58280 extern "C"
58282 #endif
58283 /* We use char because int might match the return type of a gcc2
58284 builtin and then its argument prototype would still apply. */
58285 char $ac_func ();
58286 /* The GNU C library defines this for functions which it implements
58287 to always fail with ENOSYS. Some functions are actually named
58288 something starting with __ and the normal name is an alias. */
58289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58290 choke me
58291 #else
58292 char (*f) () = $ac_func;
58293 #endif
58294 #ifdef __cplusplus
58296 #endif
58299 main ()
58301 return f != $ac_func;
58303 return 0;
58305 _ACEOF
58306 rm -f conftest.$ac_objext conftest$ac_exeext
58307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58308 (eval $ac_link) 2>conftest.er1
58309 ac_status=$?
58310 grep -v '^ *+' conftest.er1 >conftest.err
58311 rm -f conftest.er1
58312 cat conftest.err >&5
58313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58314 (exit $ac_status); } &&
58315 { ac_try='test -z "$ac_c_werror_flag"
58316 || test ! -s conftest.err'
58317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58318 (eval $ac_try) 2>&5
58319 ac_status=$?
58320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58321 (exit $ac_status); }; } &&
58322 { ac_try='test -s conftest$ac_exeext'
58323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58324 (eval $ac_try) 2>&5
58325 ac_status=$?
58326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58327 (exit $ac_status); }; }; then
58328 eval "$as_ac_var=yes"
58329 else
58330 echo "$as_me: failed program was:" >&5
58331 sed 's/^/| /' conftest.$ac_ext >&5
58333 eval "$as_ac_var=no"
58335 rm -f conftest.err conftest.$ac_objext \
58336 conftest$ac_exeext conftest.$ac_ext
58338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58340 if test `eval echo '${'$as_ac_var'}'` = yes; then
58341 cat >>confdefs.h <<_ACEOF
58342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58343 _ACEOF
58346 done
58348 else
58350 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58351 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58352 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58353 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58354 echo $ECHO_N "(cached) $ECHO_C" >&6
58355 else
58359 ac_ext=cc
58360 ac_cpp='$CXXCPP $CPPFLAGS'
58361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58365 cat >conftest.$ac_ext <<_ACEOF
58366 /* confdefs.h. */
58367 _ACEOF
58368 cat confdefs.h >>conftest.$ac_ext
58369 cat >>conftest.$ac_ext <<_ACEOF
58370 /* end confdefs.h. */
58371 #include <math.h>
58373 main ()
58375 _sincosl(0, 0, 0);
58377 return 0;
58379 _ACEOF
58380 rm -f conftest.$ac_objext
58381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58382 (eval $ac_compile) 2>conftest.er1
58383 ac_status=$?
58384 grep -v '^ *+' conftest.er1 >conftest.err
58385 rm -f conftest.er1
58386 cat conftest.err >&5
58387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58388 (exit $ac_status); } &&
58389 { ac_try='test -z "$ac_cxx_werror_flag"
58390 || test ! -s conftest.err'
58391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58392 (eval $ac_try) 2>&5
58393 ac_status=$?
58394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58395 (exit $ac_status); }; } &&
58396 { ac_try='test -s conftest.$ac_objext'
58397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58398 (eval $ac_try) 2>&5
58399 ac_status=$?
58400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58401 (exit $ac_status); }; }; then
58402 glibcxx_cv_func__sincosl_use=yes
58403 else
58404 echo "$as_me: failed program was:" >&5
58405 sed 's/^/| /' conftest.$ac_ext >&5
58407 glibcxx_cv_func__sincosl_use=no
58409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58410 ac_ext=c
58411 ac_cpp='$CPP $CPPFLAGS'
58412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58421 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58423 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58425 for ac_func in _sincosl
58427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58428 echo "$as_me:$LINENO: checking for $ac_func" >&5
58429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58430 if eval "test \"\${$as_ac_var+set}\" = set"; then
58431 echo $ECHO_N "(cached) $ECHO_C" >&6
58432 else
58433 if test x$gcc_no_link = xyes; then
58434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58436 { (exit 1); exit 1; }; }
58438 cat >conftest.$ac_ext <<_ACEOF
58439 /* confdefs.h. */
58440 _ACEOF
58441 cat confdefs.h >>conftest.$ac_ext
58442 cat >>conftest.$ac_ext <<_ACEOF
58443 /* end confdefs.h. */
58444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58446 #define $ac_func innocuous_$ac_func
58448 /* System header to define __stub macros and hopefully few prototypes,
58449 which can conflict with char $ac_func (); below.
58450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58451 <limits.h> exists even on freestanding compilers. */
58453 #ifdef __STDC__
58454 # include <limits.h>
58455 #else
58456 # include <assert.h>
58457 #endif
58459 #undef $ac_func
58461 /* Override any gcc2 internal prototype to avoid an error. */
58462 #ifdef __cplusplus
58463 extern "C"
58465 #endif
58466 /* We use char because int might match the return type of a gcc2
58467 builtin and then its argument prototype would still apply. */
58468 char $ac_func ();
58469 /* The GNU C library defines this for functions which it implements
58470 to always fail with ENOSYS. Some functions are actually named
58471 something starting with __ and the normal name is an alias. */
58472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58473 choke me
58474 #else
58475 char (*f) () = $ac_func;
58476 #endif
58477 #ifdef __cplusplus
58479 #endif
58482 main ()
58484 return f != $ac_func;
58486 return 0;
58488 _ACEOF
58489 rm -f conftest.$ac_objext conftest$ac_exeext
58490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58491 (eval $ac_link) 2>conftest.er1
58492 ac_status=$?
58493 grep -v '^ *+' conftest.er1 >conftest.err
58494 rm -f conftest.er1
58495 cat conftest.err >&5
58496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58497 (exit $ac_status); } &&
58498 { ac_try='test -z "$ac_c_werror_flag"
58499 || test ! -s conftest.err'
58500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58501 (eval $ac_try) 2>&5
58502 ac_status=$?
58503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58504 (exit $ac_status); }; } &&
58505 { ac_try='test -s conftest$ac_exeext'
58506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58507 (eval $ac_try) 2>&5
58508 ac_status=$?
58509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58510 (exit $ac_status); }; }; then
58511 eval "$as_ac_var=yes"
58512 else
58513 echo "$as_me: failed program was:" >&5
58514 sed 's/^/| /' conftest.$ac_ext >&5
58516 eval "$as_ac_var=no"
58518 rm -f conftest.err conftest.$ac_objext \
58519 conftest$ac_exeext conftest.$ac_ext
58521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58523 if test `eval echo '${'$as_ac_var'}'` = yes; then
58524 cat >>confdefs.h <<_ACEOF
58525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58526 _ACEOF
58529 done
58539 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58540 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58541 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58542 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58543 echo $ECHO_N "(cached) $ECHO_C" >&6
58544 else
58548 ac_ext=cc
58549 ac_cpp='$CXXCPP $CPPFLAGS'
58550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58554 cat >conftest.$ac_ext <<_ACEOF
58555 /* confdefs.h. */
58556 _ACEOF
58557 cat confdefs.h >>conftest.$ac_ext
58558 cat >>conftest.$ac_ext <<_ACEOF
58559 /* end confdefs.h. */
58560 #include <math.h>
58561 #ifdef HAVE_IEEEFP_H
58562 #include <ieeefp.h>
58563 #endif
58566 main ()
58568 finitel(0);
58570 return 0;
58572 _ACEOF
58573 rm -f conftest.$ac_objext
58574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58575 (eval $ac_compile) 2>conftest.er1
58576 ac_status=$?
58577 grep -v '^ *+' conftest.er1 >conftest.err
58578 rm -f conftest.er1
58579 cat conftest.err >&5
58580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 (exit $ac_status); } &&
58582 { ac_try='test -z "$ac_cxx_werror_flag"
58583 || test ! -s conftest.err'
58584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58585 (eval $ac_try) 2>&5
58586 ac_status=$?
58587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58588 (exit $ac_status); }; } &&
58589 { ac_try='test -s conftest.$ac_objext'
58590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58591 (eval $ac_try) 2>&5
58592 ac_status=$?
58593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58594 (exit $ac_status); }; }; then
58595 glibcxx_cv_func_finitel_use=yes
58596 else
58597 echo "$as_me: failed program was:" >&5
58598 sed 's/^/| /' conftest.$ac_ext >&5
58600 glibcxx_cv_func_finitel_use=no
58602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58603 ac_ext=c
58604 ac_cpp='$CPP $CPPFLAGS'
58605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58614 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58616 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58618 for ac_func in finitel
58620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58621 echo "$as_me:$LINENO: checking for $ac_func" >&5
58622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58623 if eval "test \"\${$as_ac_var+set}\" = set"; then
58624 echo $ECHO_N "(cached) $ECHO_C" >&6
58625 else
58626 if test x$gcc_no_link = xyes; then
58627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58629 { (exit 1); exit 1; }; }
58631 cat >conftest.$ac_ext <<_ACEOF
58632 /* confdefs.h. */
58633 _ACEOF
58634 cat confdefs.h >>conftest.$ac_ext
58635 cat >>conftest.$ac_ext <<_ACEOF
58636 /* end confdefs.h. */
58637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58639 #define $ac_func innocuous_$ac_func
58641 /* System header to define __stub macros and hopefully few prototypes,
58642 which can conflict with char $ac_func (); below.
58643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58644 <limits.h> exists even on freestanding compilers. */
58646 #ifdef __STDC__
58647 # include <limits.h>
58648 #else
58649 # include <assert.h>
58650 #endif
58652 #undef $ac_func
58654 /* Override any gcc2 internal prototype to avoid an error. */
58655 #ifdef __cplusplus
58656 extern "C"
58658 #endif
58659 /* We use char because int might match the return type of a gcc2
58660 builtin and then its argument prototype would still apply. */
58661 char $ac_func ();
58662 /* The GNU C library defines this for functions which it implements
58663 to always fail with ENOSYS. Some functions are actually named
58664 something starting with __ and the normal name is an alias. */
58665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58666 choke me
58667 #else
58668 char (*f) () = $ac_func;
58669 #endif
58670 #ifdef __cplusplus
58672 #endif
58675 main ()
58677 return f != $ac_func;
58679 return 0;
58681 _ACEOF
58682 rm -f conftest.$ac_objext conftest$ac_exeext
58683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58684 (eval $ac_link) 2>conftest.er1
58685 ac_status=$?
58686 grep -v '^ *+' conftest.er1 >conftest.err
58687 rm -f conftest.er1
58688 cat conftest.err >&5
58689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58690 (exit $ac_status); } &&
58691 { ac_try='test -z "$ac_c_werror_flag"
58692 || test ! -s conftest.err'
58693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58694 (eval $ac_try) 2>&5
58695 ac_status=$?
58696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58697 (exit $ac_status); }; } &&
58698 { ac_try='test -s conftest$ac_exeext'
58699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58700 (eval $ac_try) 2>&5
58701 ac_status=$?
58702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58703 (exit $ac_status); }; }; then
58704 eval "$as_ac_var=yes"
58705 else
58706 echo "$as_me: failed program was:" >&5
58707 sed 's/^/| /' conftest.$ac_ext >&5
58709 eval "$as_ac_var=no"
58711 rm -f conftest.err conftest.$ac_objext \
58712 conftest$ac_exeext conftest.$ac_ext
58714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58716 if test `eval echo '${'$as_ac_var'}'` = yes; then
58717 cat >>confdefs.h <<_ACEOF
58718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58719 _ACEOF
58722 done
58724 else
58726 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58727 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58728 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58729 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58730 echo $ECHO_N "(cached) $ECHO_C" >&6
58731 else
58735 ac_ext=cc
58736 ac_cpp='$CXXCPP $CPPFLAGS'
58737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58741 cat >conftest.$ac_ext <<_ACEOF
58742 /* confdefs.h. */
58743 _ACEOF
58744 cat confdefs.h >>conftest.$ac_ext
58745 cat >>conftest.$ac_ext <<_ACEOF
58746 /* end confdefs.h. */
58747 #include <math.h>
58748 #ifdef HAVE_IEEEFP_H
58749 #include <ieeefp.h>
58750 #endif
58753 main ()
58755 _finitel(0);
58757 return 0;
58759 _ACEOF
58760 rm -f conftest.$ac_objext
58761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58762 (eval $ac_compile) 2>conftest.er1
58763 ac_status=$?
58764 grep -v '^ *+' conftest.er1 >conftest.err
58765 rm -f conftest.er1
58766 cat conftest.err >&5
58767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58768 (exit $ac_status); } &&
58769 { ac_try='test -z "$ac_cxx_werror_flag"
58770 || test ! -s conftest.err'
58771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58772 (eval $ac_try) 2>&5
58773 ac_status=$?
58774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58775 (exit $ac_status); }; } &&
58776 { ac_try='test -s conftest.$ac_objext'
58777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58778 (eval $ac_try) 2>&5
58779 ac_status=$?
58780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58781 (exit $ac_status); }; }; then
58782 glibcxx_cv_func__finitel_use=yes
58783 else
58784 echo "$as_me: failed program was:" >&5
58785 sed 's/^/| /' conftest.$ac_ext >&5
58787 glibcxx_cv_func__finitel_use=no
58789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58790 ac_ext=c
58791 ac_cpp='$CPP $CPPFLAGS'
58792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
58801 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
58803 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58805 for ac_func in _finitel
58807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58808 echo "$as_me:$LINENO: checking for $ac_func" >&5
58809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58810 if eval "test \"\${$as_ac_var+set}\" = set"; then
58811 echo $ECHO_N "(cached) $ECHO_C" >&6
58812 else
58813 if test x$gcc_no_link = xyes; then
58814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58816 { (exit 1); exit 1; }; }
58818 cat >conftest.$ac_ext <<_ACEOF
58819 /* confdefs.h. */
58820 _ACEOF
58821 cat confdefs.h >>conftest.$ac_ext
58822 cat >>conftest.$ac_ext <<_ACEOF
58823 /* end confdefs.h. */
58824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58826 #define $ac_func innocuous_$ac_func
58828 /* System header to define __stub macros and hopefully few prototypes,
58829 which can conflict with char $ac_func (); below.
58830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58831 <limits.h> exists even on freestanding compilers. */
58833 #ifdef __STDC__
58834 # include <limits.h>
58835 #else
58836 # include <assert.h>
58837 #endif
58839 #undef $ac_func
58841 /* Override any gcc2 internal prototype to avoid an error. */
58842 #ifdef __cplusplus
58843 extern "C"
58845 #endif
58846 /* We use char because int might match the return type of a gcc2
58847 builtin and then its argument prototype would still apply. */
58848 char $ac_func ();
58849 /* The GNU C library defines this for functions which it implements
58850 to always fail with ENOSYS. Some functions are actually named
58851 something starting with __ and the normal name is an alias. */
58852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58853 choke me
58854 #else
58855 char (*f) () = $ac_func;
58856 #endif
58857 #ifdef __cplusplus
58859 #endif
58862 main ()
58864 return f != $ac_func;
58866 return 0;
58868 _ACEOF
58869 rm -f conftest.$ac_objext conftest$ac_exeext
58870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58871 (eval $ac_link) 2>conftest.er1
58872 ac_status=$?
58873 grep -v '^ *+' conftest.er1 >conftest.err
58874 rm -f conftest.er1
58875 cat conftest.err >&5
58876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58877 (exit $ac_status); } &&
58878 { ac_try='test -z "$ac_c_werror_flag"
58879 || test ! -s conftest.err'
58880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58881 (eval $ac_try) 2>&5
58882 ac_status=$?
58883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58884 (exit $ac_status); }; } &&
58885 { ac_try='test -s conftest$ac_exeext'
58886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58887 (eval $ac_try) 2>&5
58888 ac_status=$?
58889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58890 (exit $ac_status); }; }; then
58891 eval "$as_ac_var=yes"
58892 else
58893 echo "$as_me: failed program was:" >&5
58894 sed 's/^/| /' conftest.$ac_ext >&5
58896 eval "$as_ac_var=no"
58898 rm -f conftest.err conftest.$ac_objext \
58899 conftest$ac_exeext conftest.$ac_ext
58901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58903 if test `eval echo '${'$as_ac_var'}'` = yes; then
58904 cat >>confdefs.h <<_ACEOF
58905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58906 _ACEOF
58909 done
58918 LIBS="$ac_save_LIBS"
58919 CXXFLAGS="$ac_save_CXXFLAGS"
58922 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58923 ac_save_CXXFLAGS="$CXXFLAGS"
58924 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58927 echo "$as_me:$LINENO: checking for strtold declaration" >&5
58928 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
58929 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58930 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
58931 echo $ECHO_N "(cached) $ECHO_C" >&6
58932 else
58936 ac_ext=cc
58937 ac_cpp='$CXXCPP $CPPFLAGS'
58938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58942 cat >conftest.$ac_ext <<_ACEOF
58943 /* confdefs.h. */
58944 _ACEOF
58945 cat confdefs.h >>conftest.$ac_ext
58946 cat >>conftest.$ac_ext <<_ACEOF
58947 /* end confdefs.h. */
58948 #include <stdlib.h>
58950 main ()
58952 strtold(0, 0);
58954 return 0;
58956 _ACEOF
58957 rm -f conftest.$ac_objext
58958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58959 (eval $ac_compile) 2>conftest.er1
58960 ac_status=$?
58961 grep -v '^ *+' conftest.er1 >conftest.err
58962 rm -f conftest.er1
58963 cat conftest.err >&5
58964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58965 (exit $ac_status); } &&
58966 { ac_try='test -z "$ac_cxx_werror_flag"
58967 || test ! -s conftest.err'
58968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58969 (eval $ac_try) 2>&5
58970 ac_status=$?
58971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58972 (exit $ac_status); }; } &&
58973 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
58979 glibcxx_cv_func_strtold_use=yes
58980 else
58981 echo "$as_me: failed program was:" >&5
58982 sed 's/^/| /' conftest.$ac_ext >&5
58984 glibcxx_cv_func_strtold_use=no
58986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58987 ac_ext=c
58988 ac_cpp='$CPP $CPPFLAGS'
58989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
58998 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
58999 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59001 for ac_func in strtold
59003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59004 echo "$as_me:$LINENO: checking for $ac_func" >&5
59005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59006 if eval "test \"\${$as_ac_var+set}\" = set"; then
59007 echo $ECHO_N "(cached) $ECHO_C" >&6
59008 else
59009 if test x$gcc_no_link = xyes; then
59010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59012 { (exit 1); exit 1; }; }
59014 cat >conftest.$ac_ext <<_ACEOF
59015 /* confdefs.h. */
59016 _ACEOF
59017 cat confdefs.h >>conftest.$ac_ext
59018 cat >>conftest.$ac_ext <<_ACEOF
59019 /* end confdefs.h. */
59020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59022 #define $ac_func innocuous_$ac_func
59024 /* System header to define __stub macros and hopefully few prototypes,
59025 which can conflict with char $ac_func (); below.
59026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59027 <limits.h> exists even on freestanding compilers. */
59029 #ifdef __STDC__
59030 # include <limits.h>
59031 #else
59032 # include <assert.h>
59033 #endif
59035 #undef $ac_func
59037 /* Override any gcc2 internal prototype to avoid an error. */
59038 #ifdef __cplusplus
59039 extern "C"
59041 #endif
59042 /* We use char because int might match the return type of a gcc2
59043 builtin and then its argument prototype would still apply. */
59044 char $ac_func ();
59045 /* The GNU C library defines this for functions which it implements
59046 to always fail with ENOSYS. Some functions are actually named
59047 something starting with __ and the normal name is an alias. */
59048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59049 choke me
59050 #else
59051 char (*f) () = $ac_func;
59052 #endif
59053 #ifdef __cplusplus
59055 #endif
59058 main ()
59060 return f != $ac_func;
59062 return 0;
59064 _ACEOF
59065 rm -f conftest.$ac_objext conftest$ac_exeext
59066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59067 (eval $ac_link) 2>conftest.er1
59068 ac_status=$?
59069 grep -v '^ *+' conftest.er1 >conftest.err
59070 rm -f conftest.er1
59071 cat conftest.err >&5
59072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59073 (exit $ac_status); } &&
59074 { ac_try='test -z "$ac_c_werror_flag"
59075 || test ! -s conftest.err'
59076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59077 (eval $ac_try) 2>&5
59078 ac_status=$?
59079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59080 (exit $ac_status); }; } &&
59081 { ac_try='test -s conftest$ac_exeext'
59082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59083 (eval $ac_try) 2>&5
59084 ac_status=$?
59085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59086 (exit $ac_status); }; }; then
59087 eval "$as_ac_var=yes"
59088 else
59089 echo "$as_me: failed program was:" >&5
59090 sed 's/^/| /' conftest.$ac_ext >&5
59092 eval "$as_ac_var=no"
59094 rm -f conftest.err conftest.$ac_objext \
59095 conftest$ac_exeext conftest.$ac_ext
59097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59099 if test `eval echo '${'$as_ac_var'}'` = yes; then
59100 cat >>confdefs.h <<_ACEOF
59101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59102 _ACEOF
59105 done
59113 echo "$as_me:$LINENO: checking for strtof declaration" >&5
59114 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
59115 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59116 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
59117 echo $ECHO_N "(cached) $ECHO_C" >&6
59118 else
59122 ac_ext=cc
59123 ac_cpp='$CXXCPP $CPPFLAGS'
59124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128 cat >conftest.$ac_ext <<_ACEOF
59129 /* confdefs.h. */
59130 _ACEOF
59131 cat confdefs.h >>conftest.$ac_ext
59132 cat >>conftest.$ac_ext <<_ACEOF
59133 /* end confdefs.h. */
59134 #include <stdlib.h>
59136 main ()
59138 strtof(0, 0);
59140 return 0;
59142 _ACEOF
59143 rm -f conftest.$ac_objext
59144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59145 (eval $ac_compile) 2>conftest.er1
59146 ac_status=$?
59147 grep -v '^ *+' conftest.er1 >conftest.err
59148 rm -f conftest.er1
59149 cat conftest.err >&5
59150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59151 (exit $ac_status); } &&
59152 { ac_try='test -z "$ac_cxx_werror_flag"
59153 || test ! -s conftest.err'
59154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59155 (eval $ac_try) 2>&5
59156 ac_status=$?
59157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59158 (exit $ac_status); }; } &&
59159 { ac_try='test -s conftest.$ac_objext'
59160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59161 (eval $ac_try) 2>&5
59162 ac_status=$?
59163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59164 (exit $ac_status); }; }; then
59165 glibcxx_cv_func_strtof_use=yes
59166 else
59167 echo "$as_me: failed program was:" >&5
59168 sed 's/^/| /' conftest.$ac_ext >&5
59170 glibcxx_cv_func_strtof_use=no
59172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59173 ac_ext=c
59174 ac_cpp='$CPP $CPPFLAGS'
59175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
59184 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
59185 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59187 for ac_func in strtof
59189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59190 echo "$as_me:$LINENO: checking for $ac_func" >&5
59191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59192 if eval "test \"\${$as_ac_var+set}\" = set"; then
59193 echo $ECHO_N "(cached) $ECHO_C" >&6
59194 else
59195 if test x$gcc_no_link = xyes; then
59196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59198 { (exit 1); exit 1; }; }
59200 cat >conftest.$ac_ext <<_ACEOF
59201 /* confdefs.h. */
59202 _ACEOF
59203 cat confdefs.h >>conftest.$ac_ext
59204 cat >>conftest.$ac_ext <<_ACEOF
59205 /* end confdefs.h. */
59206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59208 #define $ac_func innocuous_$ac_func
59210 /* System header to define __stub macros and hopefully few prototypes,
59211 which can conflict with char $ac_func (); below.
59212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59213 <limits.h> exists even on freestanding compilers. */
59215 #ifdef __STDC__
59216 # include <limits.h>
59217 #else
59218 # include <assert.h>
59219 #endif
59221 #undef $ac_func
59223 /* Override any gcc2 internal prototype to avoid an error. */
59224 #ifdef __cplusplus
59225 extern "C"
59227 #endif
59228 /* We use char because int might match the return type of a gcc2
59229 builtin and then its argument prototype would still apply. */
59230 char $ac_func ();
59231 /* The GNU C library defines this for functions which it implements
59232 to always fail with ENOSYS. Some functions are actually named
59233 something starting with __ and the normal name is an alias. */
59234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59235 choke me
59236 #else
59237 char (*f) () = $ac_func;
59238 #endif
59239 #ifdef __cplusplus
59241 #endif
59244 main ()
59246 return f != $ac_func;
59248 return 0;
59250 _ACEOF
59251 rm -f conftest.$ac_objext conftest$ac_exeext
59252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59253 (eval $ac_link) 2>conftest.er1
59254 ac_status=$?
59255 grep -v '^ *+' conftest.er1 >conftest.err
59256 rm -f conftest.er1
59257 cat conftest.err >&5
59258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59259 (exit $ac_status); } &&
59260 { ac_try='test -z "$ac_c_werror_flag"
59261 || test ! -s conftest.err'
59262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59263 (eval $ac_try) 2>&5
59264 ac_status=$?
59265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59266 (exit $ac_status); }; } &&
59267 { ac_try='test -s conftest$ac_exeext'
59268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59269 (eval $ac_try) 2>&5
59270 ac_status=$?
59271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59272 (exit $ac_status); }; }; then
59273 eval "$as_ac_var=yes"
59274 else
59275 echo "$as_me: failed program was:" >&5
59276 sed 's/^/| /' conftest.$ac_ext >&5
59278 eval "$as_ac_var=no"
59280 rm -f conftest.err conftest.$ac_objext \
59281 conftest$ac_exeext conftest.$ac_ext
59283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59285 if test `eval echo '${'$as_ac_var'}'` = yes; then
59286 cat >>confdefs.h <<_ACEOF
59287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59288 _ACEOF
59291 done
59299 CXXFLAGS="$ac_save_CXXFLAGS"
59302 cat >>confdefs.h <<\_ACEOF
59303 #define HAVE_FINITE 1
59304 _ACEOF
59306 cat >>confdefs.h <<\_ACEOF
59307 #define HAVE_HYPOT 1
59308 _ACEOF
59310 cat >>confdefs.h <<\_ACEOF
59311 #define HAVE_ISNAN 1
59312 _ACEOF
59314 cat >>confdefs.h <<\_ACEOF
59315 #define HAVE_ISINF 1
59316 _ACEOF
59319 cat >>confdefs.h <<\_ACEOF
59320 #define HAVE_LDEXPF 1
59321 _ACEOF
59323 cat >>confdefs.h <<\_ACEOF
59324 #define HAVE_MODF 1
59325 _ACEOF
59327 cat >>confdefs.h <<\_ACEOF
59328 #define HAVE_SQRTF 1
59329 _ACEOF
59333 *-aix*)
59335 # If we're not using GNU ld, then there's no point in even trying these
59336 # tests. Check for that first. We should have already tested for gld
59337 # by now (in libtool), but require it now just to be safe...
59338 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59339 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59343 # The name set by libtool depends on the version of libtool. Shame on us
59344 # for depending on an impl detail, but c'est la vie. Older versions used
59345 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59346 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59347 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59348 # set (hence we're using an older libtool), then set it.
59349 if test x${with_gnu_ld+set} != xset; then
59350 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59351 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59352 with_gnu_ld=no
59353 else
59354 with_gnu_ld=$ac_cv_prog_gnu_ld
59358 # Start by getting the version number. I think the libtool test already
59359 # does some of this, but throws away the result.
59360 glibcxx_ld_is_gold=no
59361 if test x"$with_gnu_ld" = x"yes"; then
59362 echo "$as_me:$LINENO: checking for ld version" >&5
59363 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
59365 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59366 glibcxx_ld_is_gold=yes
59368 ldver=`$LD --version 2>/dev/null | head -1 | \
59369 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
59371 glibcxx_gnu_ld_version=`echo $ldver | \
59372 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59373 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
59374 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
59377 # Set --gc-sections.
59378 glibcxx_have_gc_sections=no
59379 if test "$glibcxx_ld_is_gold" = "yes"; then
59380 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59381 glibcxx_have_gc_sections=yes
59383 else
59384 glibcxx_gcsections_min_ld=21602
59385 if test x"$with_gnu_ld" = x"yes" &&
59386 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59387 glibcxx_have_gc_sections=yes
59390 if test "$glibcxx_have_gc_sections" = "yes"; then
59391 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59392 # NB: This flag only works reliably after 2.16.1. Configure tests
59393 # for this are difficult, so hard wire a value that should work.
59395 ac_test_CFLAGS="${CFLAGS+set}"
59396 ac_save_CFLAGS="$CFLAGS"
59397 CFLAGS='-Wl,--gc-sections'
59399 # Check for -Wl,--gc-sections
59400 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
59401 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
59402 if test x$gcc_no_link = xyes; then
59403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59405 { (exit 1); exit 1; }; }
59407 cat >conftest.$ac_ext <<_ACEOF
59408 /* confdefs.h. */
59409 _ACEOF
59410 cat confdefs.h >>conftest.$ac_ext
59411 cat >>conftest.$ac_ext <<_ACEOF
59412 /* end confdefs.h. */
59413 int one(void) { return 1; }
59414 int two(void) { return 2; }
59417 main ()
59419 two();
59421 return 0;
59423 _ACEOF
59424 rm -f conftest.$ac_objext conftest$ac_exeext
59425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59426 (eval $ac_link) 2>conftest.er1
59427 ac_status=$?
59428 grep -v '^ *+' conftest.er1 >conftest.err
59429 rm -f conftest.er1
59430 cat conftest.err >&5
59431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59432 (exit $ac_status); } &&
59433 { ac_try='test -z "$ac_c_werror_flag"
59434 || test ! -s conftest.err'
59435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59436 (eval $ac_try) 2>&5
59437 ac_status=$?
59438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59439 (exit $ac_status); }; } &&
59440 { ac_try='test -s conftest$ac_exeext'
59441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59442 (eval $ac_try) 2>&5
59443 ac_status=$?
59444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59445 (exit $ac_status); }; }; then
59446 ac_gcsections=yes
59447 else
59448 echo "$as_me: failed program was:" >&5
59449 sed 's/^/| /' conftest.$ac_ext >&5
59451 ac_gcsections=no
59453 rm -f conftest.err conftest.$ac_objext \
59454 conftest$ac_exeext conftest.$ac_ext
59455 if test "$ac_gcsections" = "yes"; then
59456 rm -f conftest.c
59457 touch conftest.c
59458 if $CC -c conftest.c; then
59459 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59460 grep "Warning: gc-sections option ignored" > /dev/null; then
59461 ac_gcsections=no
59464 rm -f conftest.c conftest.o conftest
59466 if test "$ac_gcsections" = "yes"; then
59467 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59469 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
59470 echo "${ECHO_T}$ac_gcsections" >&6
59472 if test "$ac_test_CFLAGS" = set; then
59473 CFLAGS="$ac_save_CFLAGS"
59474 else
59475 # this is the suspicious part
59476 CFLAGS=''
59480 # Set -z,relro.
59481 # Note this is only for shared objects.
59482 ac_ld_relro=no
59483 if test x"$with_gnu_ld" = x"yes"; then
59484 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
59485 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
59486 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59487 if test -n "$cxx_z_relo"; then
59488 OPT_LDFLAGS="-Wl,-z,relro"
59489 ac_ld_relro=yes
59491 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
59492 echo "${ECHO_T}$ac_ld_relro" >&6
59495 # Set linker optimization flags.
59496 if test x"$with_gnu_ld" = x"yes"; then
59497 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59504 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59505 ac_save_CXXFLAGS="$CXXFLAGS"
59506 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59508 echo "$as_me:$LINENO: checking for sin in -lm" >&5
59509 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
59510 if test "${ac_cv_lib_m_sin+set}" = set; then
59511 echo $ECHO_N "(cached) $ECHO_C" >&6
59512 else
59513 ac_check_lib_save_LIBS=$LIBS
59514 LIBS="-lm $LIBS"
59515 if test x$gcc_no_link = xyes; then
59516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59518 { (exit 1); exit 1; }; }
59520 cat >conftest.$ac_ext <<_ACEOF
59521 /* confdefs.h. */
59522 _ACEOF
59523 cat confdefs.h >>conftest.$ac_ext
59524 cat >>conftest.$ac_ext <<_ACEOF
59525 /* end confdefs.h. */
59527 /* Override any gcc2 internal prototype to avoid an error. */
59528 #ifdef __cplusplus
59529 extern "C"
59530 #endif
59531 /* We use char because int might match the return type of a gcc2
59532 builtin and then its argument prototype would still apply. */
59533 char sin ();
59535 main ()
59537 sin ();
59539 return 0;
59541 _ACEOF
59542 rm -f conftest.$ac_objext conftest$ac_exeext
59543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59544 (eval $ac_link) 2>conftest.er1
59545 ac_status=$?
59546 grep -v '^ *+' conftest.er1 >conftest.err
59547 rm -f conftest.er1
59548 cat conftest.err >&5
59549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59550 (exit $ac_status); } &&
59551 { ac_try='test -z "$ac_c_werror_flag"
59552 || test ! -s conftest.err'
59553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59554 (eval $ac_try) 2>&5
59555 ac_status=$?
59556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59557 (exit $ac_status); }; } &&
59558 { ac_try='test -s conftest$ac_exeext'
59559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59560 (eval $ac_try) 2>&5
59561 ac_status=$?
59562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59563 (exit $ac_status); }; }; then
59564 ac_cv_lib_m_sin=yes
59565 else
59566 echo "$as_me: failed program was:" >&5
59567 sed 's/^/| /' conftest.$ac_ext >&5
59569 ac_cv_lib_m_sin=no
59571 rm -f conftest.err conftest.$ac_objext \
59572 conftest$ac_exeext conftest.$ac_ext
59573 LIBS=$ac_check_lib_save_LIBS
59575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
59576 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
59577 if test $ac_cv_lib_m_sin = yes; then
59578 libm="-lm"
59581 ac_save_LIBS="$LIBS"
59582 LIBS="$LIBS $libm"
59586 echo "$as_me:$LINENO: checking for isinf declaration" >&5
59587 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
59588 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59589 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
59590 echo $ECHO_N "(cached) $ECHO_C" >&6
59591 else
59595 ac_ext=cc
59596 ac_cpp='$CXXCPP $CPPFLAGS'
59597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59601 cat >conftest.$ac_ext <<_ACEOF
59602 /* confdefs.h. */
59603 _ACEOF
59604 cat confdefs.h >>conftest.$ac_ext
59605 cat >>conftest.$ac_ext <<_ACEOF
59606 /* end confdefs.h. */
59607 #include <math.h>
59608 #ifdef HAVE_IEEEFP_H
59609 #include <ieeefp.h>
59610 #endif
59613 main ()
59615 isinf(0);
59617 return 0;
59619 _ACEOF
59620 rm -f conftest.$ac_objext
59621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59622 (eval $ac_compile) 2>conftest.er1
59623 ac_status=$?
59624 grep -v '^ *+' conftest.er1 >conftest.err
59625 rm -f conftest.er1
59626 cat conftest.err >&5
59627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59628 (exit $ac_status); } &&
59629 { ac_try='test -z "$ac_cxx_werror_flag"
59630 || test ! -s conftest.err'
59631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59632 (eval $ac_try) 2>&5
59633 ac_status=$?
59634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59635 (exit $ac_status); }; } &&
59636 { ac_try='test -s conftest.$ac_objext'
59637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59638 (eval $ac_try) 2>&5
59639 ac_status=$?
59640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59641 (exit $ac_status); }; }; then
59642 glibcxx_cv_func_isinf_use=yes
59643 else
59644 echo "$as_me: failed program was:" >&5
59645 sed 's/^/| /' conftest.$ac_ext >&5
59647 glibcxx_cv_func_isinf_use=no
59649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59660 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
59661 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
59663 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59665 for ac_func in isinf
59667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59668 echo "$as_me:$LINENO: checking for $ac_func" >&5
59669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59670 if eval "test \"\${$as_ac_var+set}\" = set"; then
59671 echo $ECHO_N "(cached) $ECHO_C" >&6
59672 else
59673 if test x$gcc_no_link = xyes; then
59674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59676 { (exit 1); exit 1; }; }
59678 cat >conftest.$ac_ext <<_ACEOF
59679 /* confdefs.h. */
59680 _ACEOF
59681 cat confdefs.h >>conftest.$ac_ext
59682 cat >>conftest.$ac_ext <<_ACEOF
59683 /* end confdefs.h. */
59684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59686 #define $ac_func innocuous_$ac_func
59688 /* System header to define __stub macros and hopefully few prototypes,
59689 which can conflict with char $ac_func (); below.
59690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59691 <limits.h> exists even on freestanding compilers. */
59693 #ifdef __STDC__
59694 # include <limits.h>
59695 #else
59696 # include <assert.h>
59697 #endif
59699 #undef $ac_func
59701 /* Override any gcc2 internal prototype to avoid an error. */
59702 #ifdef __cplusplus
59703 extern "C"
59705 #endif
59706 /* We use char because int might match the return type of a gcc2
59707 builtin and then its argument prototype would still apply. */
59708 char $ac_func ();
59709 /* The GNU C library defines this for functions which it implements
59710 to always fail with ENOSYS. Some functions are actually named
59711 something starting with __ and the normal name is an alias. */
59712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59713 choke me
59714 #else
59715 char (*f) () = $ac_func;
59716 #endif
59717 #ifdef __cplusplus
59719 #endif
59722 main ()
59724 return f != $ac_func;
59726 return 0;
59728 _ACEOF
59729 rm -f conftest.$ac_objext conftest$ac_exeext
59730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59731 (eval $ac_link) 2>conftest.er1
59732 ac_status=$?
59733 grep -v '^ *+' conftest.er1 >conftest.err
59734 rm -f conftest.er1
59735 cat conftest.err >&5
59736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59737 (exit $ac_status); } &&
59738 { ac_try='test -z "$ac_c_werror_flag"
59739 || test ! -s conftest.err'
59740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59741 (eval $ac_try) 2>&5
59742 ac_status=$?
59743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59744 (exit $ac_status); }; } &&
59745 { ac_try='test -s conftest$ac_exeext'
59746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59747 (eval $ac_try) 2>&5
59748 ac_status=$?
59749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59750 (exit $ac_status); }; }; then
59751 eval "$as_ac_var=yes"
59752 else
59753 echo "$as_me: failed program was:" >&5
59754 sed 's/^/| /' conftest.$ac_ext >&5
59756 eval "$as_ac_var=no"
59758 rm -f conftest.err conftest.$ac_objext \
59759 conftest$ac_exeext conftest.$ac_ext
59761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59763 if test `eval echo '${'$as_ac_var'}'` = yes; then
59764 cat >>confdefs.h <<_ACEOF
59765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59766 _ACEOF
59769 done
59771 else
59773 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
59774 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
59775 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59776 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
59777 echo $ECHO_N "(cached) $ECHO_C" >&6
59778 else
59782 ac_ext=cc
59783 ac_cpp='$CXXCPP $CPPFLAGS'
59784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59788 cat >conftest.$ac_ext <<_ACEOF
59789 /* confdefs.h. */
59790 _ACEOF
59791 cat confdefs.h >>conftest.$ac_ext
59792 cat >>conftest.$ac_ext <<_ACEOF
59793 /* end confdefs.h. */
59794 #include <math.h>
59795 #ifdef HAVE_IEEEFP_H
59796 #include <ieeefp.h>
59797 #endif
59800 main ()
59802 _isinf(0);
59804 return 0;
59806 _ACEOF
59807 rm -f conftest.$ac_objext
59808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59809 (eval $ac_compile) 2>conftest.er1
59810 ac_status=$?
59811 grep -v '^ *+' conftest.er1 >conftest.err
59812 rm -f conftest.er1
59813 cat conftest.err >&5
59814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59815 (exit $ac_status); } &&
59816 { ac_try='test -z "$ac_cxx_werror_flag"
59817 || test ! -s conftest.err'
59818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59819 (eval $ac_try) 2>&5
59820 ac_status=$?
59821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59822 (exit $ac_status); }; } &&
59823 { ac_try='test -s conftest.$ac_objext'
59824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59825 (eval $ac_try) 2>&5
59826 ac_status=$?
59827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59828 (exit $ac_status); }; }; then
59829 glibcxx_cv_func__isinf_use=yes
59830 else
59831 echo "$as_me: failed program was:" >&5
59832 sed 's/^/| /' conftest.$ac_ext >&5
59834 glibcxx_cv_func__isinf_use=no
59836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59837 ac_ext=c
59838 ac_cpp='$CPP $CPPFLAGS'
59839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
59848 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
59850 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59852 for ac_func in _isinf
59854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59855 echo "$as_me:$LINENO: checking for $ac_func" >&5
59856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59857 if eval "test \"\${$as_ac_var+set}\" = set"; then
59858 echo $ECHO_N "(cached) $ECHO_C" >&6
59859 else
59860 if test x$gcc_no_link = xyes; then
59861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59863 { (exit 1); exit 1; }; }
59865 cat >conftest.$ac_ext <<_ACEOF
59866 /* confdefs.h. */
59867 _ACEOF
59868 cat confdefs.h >>conftest.$ac_ext
59869 cat >>conftest.$ac_ext <<_ACEOF
59870 /* end confdefs.h. */
59871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59873 #define $ac_func innocuous_$ac_func
59875 /* System header to define __stub macros and hopefully few prototypes,
59876 which can conflict with char $ac_func (); below.
59877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59878 <limits.h> exists even on freestanding compilers. */
59880 #ifdef __STDC__
59881 # include <limits.h>
59882 #else
59883 # include <assert.h>
59884 #endif
59886 #undef $ac_func
59888 /* Override any gcc2 internal prototype to avoid an error. */
59889 #ifdef __cplusplus
59890 extern "C"
59892 #endif
59893 /* We use char because int might match the return type of a gcc2
59894 builtin and then its argument prototype would still apply. */
59895 char $ac_func ();
59896 /* The GNU C library defines this for functions which it implements
59897 to always fail with ENOSYS. Some functions are actually named
59898 something starting with __ and the normal name is an alias. */
59899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59900 choke me
59901 #else
59902 char (*f) () = $ac_func;
59903 #endif
59904 #ifdef __cplusplus
59906 #endif
59909 main ()
59911 return f != $ac_func;
59913 return 0;
59915 _ACEOF
59916 rm -f conftest.$ac_objext conftest$ac_exeext
59917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59918 (eval $ac_link) 2>conftest.er1
59919 ac_status=$?
59920 grep -v '^ *+' conftest.er1 >conftest.err
59921 rm -f conftest.er1
59922 cat conftest.err >&5
59923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59924 (exit $ac_status); } &&
59925 { ac_try='test -z "$ac_c_werror_flag"
59926 || test ! -s conftest.err'
59927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59928 (eval $ac_try) 2>&5
59929 ac_status=$?
59930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931 (exit $ac_status); }; } &&
59932 { ac_try='test -s conftest$ac_exeext'
59933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59934 (eval $ac_try) 2>&5
59935 ac_status=$?
59936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59937 (exit $ac_status); }; }; then
59938 eval "$as_ac_var=yes"
59939 else
59940 echo "$as_me: failed program was:" >&5
59941 sed 's/^/| /' conftest.$ac_ext >&5
59943 eval "$as_ac_var=no"
59945 rm -f conftest.err conftest.$ac_objext \
59946 conftest$ac_exeext conftest.$ac_ext
59948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59950 if test `eval echo '${'$as_ac_var'}'` = yes; then
59951 cat >>confdefs.h <<_ACEOF
59952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59953 _ACEOF
59956 done
59966 echo "$as_me:$LINENO: checking for isnan declaration" >&5
59967 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
59968 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59969 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
59970 echo $ECHO_N "(cached) $ECHO_C" >&6
59971 else
59975 ac_ext=cc
59976 ac_cpp='$CXXCPP $CPPFLAGS'
59977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59981 cat >conftest.$ac_ext <<_ACEOF
59982 /* confdefs.h. */
59983 _ACEOF
59984 cat confdefs.h >>conftest.$ac_ext
59985 cat >>conftest.$ac_ext <<_ACEOF
59986 /* end confdefs.h. */
59987 #include <math.h>
59988 #ifdef HAVE_IEEEFP_H
59989 #include <ieeefp.h>
59990 #endif
59993 main ()
59995 isnan(0);
59997 return 0;
59999 _ACEOF
60000 rm -f conftest.$ac_objext
60001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60002 (eval $ac_compile) 2>conftest.er1
60003 ac_status=$?
60004 grep -v '^ *+' conftest.er1 >conftest.err
60005 rm -f conftest.er1
60006 cat conftest.err >&5
60007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60008 (exit $ac_status); } &&
60009 { ac_try='test -z "$ac_cxx_werror_flag"
60010 || test ! -s conftest.err'
60011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60012 (eval $ac_try) 2>&5
60013 ac_status=$?
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); }; } &&
60016 { ac_try='test -s conftest.$ac_objext'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60019 ac_status=$?
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; }; then
60022 glibcxx_cv_func_isnan_use=yes
60023 else
60024 echo "$as_me: failed program was:" >&5
60025 sed 's/^/| /' conftest.$ac_ext >&5
60027 glibcxx_cv_func_isnan_use=no
60029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60030 ac_ext=c
60031 ac_cpp='$CPP $CPPFLAGS'
60032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
60041 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
60043 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60045 for ac_func in isnan
60047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60048 echo "$as_me:$LINENO: checking for $ac_func" >&5
60049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60050 if eval "test \"\${$as_ac_var+set}\" = set"; then
60051 echo $ECHO_N "(cached) $ECHO_C" >&6
60052 else
60053 if test x$gcc_no_link = xyes; then
60054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60056 { (exit 1); exit 1; }; }
60058 cat >conftest.$ac_ext <<_ACEOF
60059 /* confdefs.h. */
60060 _ACEOF
60061 cat confdefs.h >>conftest.$ac_ext
60062 cat >>conftest.$ac_ext <<_ACEOF
60063 /* end confdefs.h. */
60064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60066 #define $ac_func innocuous_$ac_func
60068 /* System header to define __stub macros and hopefully few prototypes,
60069 which can conflict with char $ac_func (); below.
60070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60071 <limits.h> exists even on freestanding compilers. */
60073 #ifdef __STDC__
60074 # include <limits.h>
60075 #else
60076 # include <assert.h>
60077 #endif
60079 #undef $ac_func
60081 /* Override any gcc2 internal prototype to avoid an error. */
60082 #ifdef __cplusplus
60083 extern "C"
60085 #endif
60086 /* We use char because int might match the return type of a gcc2
60087 builtin and then its argument prototype would still apply. */
60088 char $ac_func ();
60089 /* The GNU C library defines this for functions which it implements
60090 to always fail with ENOSYS. Some functions are actually named
60091 something starting with __ and the normal name is an alias. */
60092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60093 choke me
60094 #else
60095 char (*f) () = $ac_func;
60096 #endif
60097 #ifdef __cplusplus
60099 #endif
60102 main ()
60104 return f != $ac_func;
60106 return 0;
60108 _ACEOF
60109 rm -f conftest.$ac_objext conftest$ac_exeext
60110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60111 (eval $ac_link) 2>conftest.er1
60112 ac_status=$?
60113 grep -v '^ *+' conftest.er1 >conftest.err
60114 rm -f conftest.er1
60115 cat conftest.err >&5
60116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60117 (exit $ac_status); } &&
60118 { ac_try='test -z "$ac_c_werror_flag"
60119 || test ! -s conftest.err'
60120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121 (eval $ac_try) 2>&5
60122 ac_status=$?
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); }; } &&
60125 { ac_try='test -s conftest$ac_exeext'
60126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60127 (eval $ac_try) 2>&5
60128 ac_status=$?
60129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60130 (exit $ac_status); }; }; then
60131 eval "$as_ac_var=yes"
60132 else
60133 echo "$as_me: failed program was:" >&5
60134 sed 's/^/| /' conftest.$ac_ext >&5
60136 eval "$as_ac_var=no"
60138 rm -f conftest.err conftest.$ac_objext \
60139 conftest$ac_exeext conftest.$ac_ext
60141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60143 if test `eval echo '${'$as_ac_var'}'` = yes; then
60144 cat >>confdefs.h <<_ACEOF
60145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60146 _ACEOF
60149 done
60151 else
60153 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
60154 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
60155 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60156 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
60157 echo $ECHO_N "(cached) $ECHO_C" >&6
60158 else
60162 ac_ext=cc
60163 ac_cpp='$CXXCPP $CPPFLAGS'
60164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60168 cat >conftest.$ac_ext <<_ACEOF
60169 /* confdefs.h. */
60170 _ACEOF
60171 cat confdefs.h >>conftest.$ac_ext
60172 cat >>conftest.$ac_ext <<_ACEOF
60173 /* end confdefs.h. */
60174 #include <math.h>
60175 #ifdef HAVE_IEEEFP_H
60176 #include <ieeefp.h>
60177 #endif
60180 main ()
60182 _isnan(0);
60184 return 0;
60186 _ACEOF
60187 rm -f conftest.$ac_objext
60188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60189 (eval $ac_compile) 2>conftest.er1
60190 ac_status=$?
60191 grep -v '^ *+' conftest.er1 >conftest.err
60192 rm -f conftest.er1
60193 cat conftest.err >&5
60194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60195 (exit $ac_status); } &&
60196 { ac_try='test -z "$ac_cxx_werror_flag"
60197 || test ! -s conftest.err'
60198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60199 (eval $ac_try) 2>&5
60200 ac_status=$?
60201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60202 (exit $ac_status); }; } &&
60203 { ac_try='test -s conftest.$ac_objext'
60204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60205 (eval $ac_try) 2>&5
60206 ac_status=$?
60207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60208 (exit $ac_status); }; }; then
60209 glibcxx_cv_func__isnan_use=yes
60210 else
60211 echo "$as_me: failed program was:" >&5
60212 sed 's/^/| /' conftest.$ac_ext >&5
60214 glibcxx_cv_func__isnan_use=no
60216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60217 ac_ext=c
60218 ac_cpp='$CPP $CPPFLAGS'
60219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60227 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
60228 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
60230 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60232 for ac_func in _isnan
60234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60235 echo "$as_me:$LINENO: checking for $ac_func" >&5
60236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60237 if eval "test \"\${$as_ac_var+set}\" = set"; then
60238 echo $ECHO_N "(cached) $ECHO_C" >&6
60239 else
60240 if test x$gcc_no_link = xyes; then
60241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60243 { (exit 1); exit 1; }; }
60245 cat >conftest.$ac_ext <<_ACEOF
60246 /* confdefs.h. */
60247 _ACEOF
60248 cat confdefs.h >>conftest.$ac_ext
60249 cat >>conftest.$ac_ext <<_ACEOF
60250 /* end confdefs.h. */
60251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60253 #define $ac_func innocuous_$ac_func
60255 /* System header to define __stub macros and hopefully few prototypes,
60256 which can conflict with char $ac_func (); below.
60257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60258 <limits.h> exists even on freestanding compilers. */
60260 #ifdef __STDC__
60261 # include <limits.h>
60262 #else
60263 # include <assert.h>
60264 #endif
60266 #undef $ac_func
60268 /* Override any gcc2 internal prototype to avoid an error. */
60269 #ifdef __cplusplus
60270 extern "C"
60272 #endif
60273 /* We use char because int might match the return type of a gcc2
60274 builtin and then its argument prototype would still apply. */
60275 char $ac_func ();
60276 /* The GNU C library defines this for functions which it implements
60277 to always fail with ENOSYS. Some functions are actually named
60278 something starting with __ and the normal name is an alias. */
60279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60280 choke me
60281 #else
60282 char (*f) () = $ac_func;
60283 #endif
60284 #ifdef __cplusplus
60286 #endif
60289 main ()
60291 return f != $ac_func;
60293 return 0;
60295 _ACEOF
60296 rm -f conftest.$ac_objext conftest$ac_exeext
60297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60298 (eval $ac_link) 2>conftest.er1
60299 ac_status=$?
60300 grep -v '^ *+' conftest.er1 >conftest.err
60301 rm -f conftest.er1
60302 cat conftest.err >&5
60303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60304 (exit $ac_status); } &&
60305 { ac_try='test -z "$ac_c_werror_flag"
60306 || test ! -s conftest.err'
60307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60308 (eval $ac_try) 2>&5
60309 ac_status=$?
60310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60311 (exit $ac_status); }; } &&
60312 { ac_try='test -s conftest$ac_exeext'
60313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60314 (eval $ac_try) 2>&5
60315 ac_status=$?
60316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60317 (exit $ac_status); }; }; then
60318 eval "$as_ac_var=yes"
60319 else
60320 echo "$as_me: failed program was:" >&5
60321 sed 's/^/| /' conftest.$ac_ext >&5
60323 eval "$as_ac_var=no"
60325 rm -f conftest.err conftest.$ac_objext \
60326 conftest$ac_exeext conftest.$ac_ext
60328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60330 if test `eval echo '${'$as_ac_var'}'` = yes; then
60331 cat >>confdefs.h <<_ACEOF
60332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60333 _ACEOF
60336 done
60346 echo "$as_me:$LINENO: checking for finite declaration" >&5
60347 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
60348 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60349 if test "${glibcxx_cv_func_finite_use+set}" = set; then
60350 echo $ECHO_N "(cached) $ECHO_C" >&6
60351 else
60355 ac_ext=cc
60356 ac_cpp='$CXXCPP $CPPFLAGS'
60357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60361 cat >conftest.$ac_ext <<_ACEOF
60362 /* confdefs.h. */
60363 _ACEOF
60364 cat confdefs.h >>conftest.$ac_ext
60365 cat >>conftest.$ac_ext <<_ACEOF
60366 /* end confdefs.h. */
60367 #include <math.h>
60368 #ifdef HAVE_IEEEFP_H
60369 #include <ieeefp.h>
60370 #endif
60373 main ()
60375 finite(0);
60377 return 0;
60379 _ACEOF
60380 rm -f conftest.$ac_objext
60381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60382 (eval $ac_compile) 2>conftest.er1
60383 ac_status=$?
60384 grep -v '^ *+' conftest.er1 >conftest.err
60385 rm -f conftest.er1
60386 cat conftest.err >&5
60387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60388 (exit $ac_status); } &&
60389 { ac_try='test -z "$ac_cxx_werror_flag"
60390 || test ! -s conftest.err'
60391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60392 (eval $ac_try) 2>&5
60393 ac_status=$?
60394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60395 (exit $ac_status); }; } &&
60396 { ac_try='test -s conftest.$ac_objext'
60397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60398 (eval $ac_try) 2>&5
60399 ac_status=$?
60400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60401 (exit $ac_status); }; }; then
60402 glibcxx_cv_func_finite_use=yes
60403 else
60404 echo "$as_me: failed program was:" >&5
60405 sed 's/^/| /' conftest.$ac_ext >&5
60407 glibcxx_cv_func_finite_use=no
60409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60410 ac_ext=c
60411 ac_cpp='$CPP $CPPFLAGS'
60412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
60421 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
60423 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60425 for ac_func in finite
60427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60428 echo "$as_me:$LINENO: checking for $ac_func" >&5
60429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60430 if eval "test \"\${$as_ac_var+set}\" = set"; then
60431 echo $ECHO_N "(cached) $ECHO_C" >&6
60432 else
60433 if test x$gcc_no_link = xyes; then
60434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60436 { (exit 1); exit 1; }; }
60438 cat >conftest.$ac_ext <<_ACEOF
60439 /* confdefs.h. */
60440 _ACEOF
60441 cat confdefs.h >>conftest.$ac_ext
60442 cat >>conftest.$ac_ext <<_ACEOF
60443 /* end confdefs.h. */
60444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60446 #define $ac_func innocuous_$ac_func
60448 /* System header to define __stub macros and hopefully few prototypes,
60449 which can conflict with char $ac_func (); below.
60450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60451 <limits.h> exists even on freestanding compilers. */
60453 #ifdef __STDC__
60454 # include <limits.h>
60455 #else
60456 # include <assert.h>
60457 #endif
60459 #undef $ac_func
60461 /* Override any gcc2 internal prototype to avoid an error. */
60462 #ifdef __cplusplus
60463 extern "C"
60465 #endif
60466 /* We use char because int might match the return type of a gcc2
60467 builtin and then its argument prototype would still apply. */
60468 char $ac_func ();
60469 /* The GNU C library defines this for functions which it implements
60470 to always fail with ENOSYS. Some functions are actually named
60471 something starting with __ and the normal name is an alias. */
60472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60473 choke me
60474 #else
60475 char (*f) () = $ac_func;
60476 #endif
60477 #ifdef __cplusplus
60479 #endif
60482 main ()
60484 return f != $ac_func;
60486 return 0;
60488 _ACEOF
60489 rm -f conftest.$ac_objext conftest$ac_exeext
60490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60491 (eval $ac_link) 2>conftest.er1
60492 ac_status=$?
60493 grep -v '^ *+' conftest.er1 >conftest.err
60494 rm -f conftest.er1
60495 cat conftest.err >&5
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); } &&
60498 { ac_try='test -z "$ac_c_werror_flag"
60499 || test ! -s conftest.err'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; } &&
60505 { ac_try='test -s conftest$ac_exeext'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; }; then
60511 eval "$as_ac_var=yes"
60512 else
60513 echo "$as_me: failed program was:" >&5
60514 sed 's/^/| /' conftest.$ac_ext >&5
60516 eval "$as_ac_var=no"
60518 rm -f conftest.err conftest.$ac_objext \
60519 conftest$ac_exeext conftest.$ac_ext
60521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60523 if test `eval echo '${'$as_ac_var'}'` = yes; then
60524 cat >>confdefs.h <<_ACEOF
60525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60526 _ACEOF
60529 done
60531 else
60533 echo "$as_me:$LINENO: checking for _finite declaration" >&5
60534 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
60535 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60536 if test "${glibcxx_cv_func__finite_use+set}" = set; then
60537 echo $ECHO_N "(cached) $ECHO_C" >&6
60538 else
60542 ac_ext=cc
60543 ac_cpp='$CXXCPP $CPPFLAGS'
60544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60548 cat >conftest.$ac_ext <<_ACEOF
60549 /* confdefs.h. */
60550 _ACEOF
60551 cat confdefs.h >>conftest.$ac_ext
60552 cat >>conftest.$ac_ext <<_ACEOF
60553 /* end confdefs.h. */
60554 #include <math.h>
60555 #ifdef HAVE_IEEEFP_H
60556 #include <ieeefp.h>
60557 #endif
60560 main ()
60562 _finite(0);
60564 return 0;
60566 _ACEOF
60567 rm -f conftest.$ac_objext
60568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60569 (eval $ac_compile) 2>conftest.er1
60570 ac_status=$?
60571 grep -v '^ *+' conftest.er1 >conftest.err
60572 rm -f conftest.er1
60573 cat conftest.err >&5
60574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60575 (exit $ac_status); } &&
60576 { ac_try='test -z "$ac_cxx_werror_flag"
60577 || test ! -s conftest.err'
60578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60579 (eval $ac_try) 2>&5
60580 ac_status=$?
60581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60582 (exit $ac_status); }; } &&
60583 { ac_try='test -s conftest.$ac_objext'
60584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60585 (eval $ac_try) 2>&5
60586 ac_status=$?
60587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60588 (exit $ac_status); }; }; then
60589 glibcxx_cv_func__finite_use=yes
60590 else
60591 echo "$as_me: failed program was:" >&5
60592 sed 's/^/| /' conftest.$ac_ext >&5
60594 glibcxx_cv_func__finite_use=no
60596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60597 ac_ext=c
60598 ac_cpp='$CPP $CPPFLAGS'
60599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60607 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
60608 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
60610 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60612 for ac_func in _finite
60614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60615 echo "$as_me:$LINENO: checking for $ac_func" >&5
60616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60617 if eval "test \"\${$as_ac_var+set}\" = set"; then
60618 echo $ECHO_N "(cached) $ECHO_C" >&6
60619 else
60620 if test x$gcc_no_link = xyes; then
60621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60623 { (exit 1); exit 1; }; }
60625 cat >conftest.$ac_ext <<_ACEOF
60626 /* confdefs.h. */
60627 _ACEOF
60628 cat confdefs.h >>conftest.$ac_ext
60629 cat >>conftest.$ac_ext <<_ACEOF
60630 /* end confdefs.h. */
60631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60633 #define $ac_func innocuous_$ac_func
60635 /* System header to define __stub macros and hopefully few prototypes,
60636 which can conflict with char $ac_func (); below.
60637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60638 <limits.h> exists even on freestanding compilers. */
60640 #ifdef __STDC__
60641 # include <limits.h>
60642 #else
60643 # include <assert.h>
60644 #endif
60646 #undef $ac_func
60648 /* Override any gcc2 internal prototype to avoid an error. */
60649 #ifdef __cplusplus
60650 extern "C"
60652 #endif
60653 /* We use char because int might match the return type of a gcc2
60654 builtin and then its argument prototype would still apply. */
60655 char $ac_func ();
60656 /* The GNU C library defines this for functions which it implements
60657 to always fail with ENOSYS. Some functions are actually named
60658 something starting with __ and the normal name is an alias. */
60659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60660 choke me
60661 #else
60662 char (*f) () = $ac_func;
60663 #endif
60664 #ifdef __cplusplus
60666 #endif
60669 main ()
60671 return f != $ac_func;
60673 return 0;
60675 _ACEOF
60676 rm -f conftest.$ac_objext conftest$ac_exeext
60677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60678 (eval $ac_link) 2>conftest.er1
60679 ac_status=$?
60680 grep -v '^ *+' conftest.er1 >conftest.err
60681 rm -f conftest.er1
60682 cat conftest.err >&5
60683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60684 (exit $ac_status); } &&
60685 { ac_try='test -z "$ac_c_werror_flag"
60686 || test ! -s conftest.err'
60687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60688 (eval $ac_try) 2>&5
60689 ac_status=$?
60690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60691 (exit $ac_status); }; } &&
60692 { ac_try='test -s conftest$ac_exeext'
60693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60694 (eval $ac_try) 2>&5
60695 ac_status=$?
60696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697 (exit $ac_status); }; }; then
60698 eval "$as_ac_var=yes"
60699 else
60700 echo "$as_me: failed program was:" >&5
60701 sed 's/^/| /' conftest.$ac_ext >&5
60703 eval "$as_ac_var=no"
60705 rm -f conftest.err conftest.$ac_objext \
60706 conftest$ac_exeext conftest.$ac_ext
60708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60710 if test `eval echo '${'$as_ac_var'}'` = yes; then
60711 cat >>confdefs.h <<_ACEOF
60712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60713 _ACEOF
60716 done
60726 echo "$as_me:$LINENO: checking for sincos declaration" >&5
60727 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
60728 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60729 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
60730 echo $ECHO_N "(cached) $ECHO_C" >&6
60731 else
60735 ac_ext=cc
60736 ac_cpp='$CXXCPP $CPPFLAGS'
60737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60741 cat >conftest.$ac_ext <<_ACEOF
60742 /* confdefs.h. */
60743 _ACEOF
60744 cat confdefs.h >>conftest.$ac_ext
60745 cat >>conftest.$ac_ext <<_ACEOF
60746 /* end confdefs.h. */
60747 #include <math.h>
60749 main ()
60751 sincos(0, 0, 0);
60753 return 0;
60755 _ACEOF
60756 rm -f conftest.$ac_objext
60757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60758 (eval $ac_compile) 2>conftest.er1
60759 ac_status=$?
60760 grep -v '^ *+' conftest.er1 >conftest.err
60761 rm -f conftest.er1
60762 cat conftest.err >&5
60763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60764 (exit $ac_status); } &&
60765 { ac_try='test -z "$ac_cxx_werror_flag"
60766 || test ! -s conftest.err'
60767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60768 (eval $ac_try) 2>&5
60769 ac_status=$?
60770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60771 (exit $ac_status); }; } &&
60772 { ac_try='test -s conftest.$ac_objext'
60773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60774 (eval $ac_try) 2>&5
60775 ac_status=$?
60776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60777 (exit $ac_status); }; }; then
60778 glibcxx_cv_func_sincos_use=yes
60779 else
60780 echo "$as_me: failed program was:" >&5
60781 sed 's/^/| /' conftest.$ac_ext >&5
60783 glibcxx_cv_func_sincos_use=no
60785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60786 ac_ext=c
60787 ac_cpp='$CPP $CPPFLAGS'
60788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60796 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
60797 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
60799 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60801 for ac_func in sincos
60803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60804 echo "$as_me:$LINENO: checking for $ac_func" >&5
60805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60806 if eval "test \"\${$as_ac_var+set}\" = set"; then
60807 echo $ECHO_N "(cached) $ECHO_C" >&6
60808 else
60809 if test x$gcc_no_link = xyes; then
60810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60812 { (exit 1); exit 1; }; }
60814 cat >conftest.$ac_ext <<_ACEOF
60815 /* confdefs.h. */
60816 _ACEOF
60817 cat confdefs.h >>conftest.$ac_ext
60818 cat >>conftest.$ac_ext <<_ACEOF
60819 /* end confdefs.h. */
60820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60822 #define $ac_func innocuous_$ac_func
60824 /* System header to define __stub macros and hopefully few prototypes,
60825 which can conflict with char $ac_func (); below.
60826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60827 <limits.h> exists even on freestanding compilers. */
60829 #ifdef __STDC__
60830 # include <limits.h>
60831 #else
60832 # include <assert.h>
60833 #endif
60835 #undef $ac_func
60837 /* Override any gcc2 internal prototype to avoid an error. */
60838 #ifdef __cplusplus
60839 extern "C"
60841 #endif
60842 /* We use char because int might match the return type of a gcc2
60843 builtin and then its argument prototype would still apply. */
60844 char $ac_func ();
60845 /* The GNU C library defines this for functions which it implements
60846 to always fail with ENOSYS. Some functions are actually named
60847 something starting with __ and the normal name is an alias. */
60848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60849 choke me
60850 #else
60851 char (*f) () = $ac_func;
60852 #endif
60853 #ifdef __cplusplus
60855 #endif
60858 main ()
60860 return f != $ac_func;
60862 return 0;
60864 _ACEOF
60865 rm -f conftest.$ac_objext conftest$ac_exeext
60866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60867 (eval $ac_link) 2>conftest.er1
60868 ac_status=$?
60869 grep -v '^ *+' conftest.er1 >conftest.err
60870 rm -f conftest.er1
60871 cat conftest.err >&5
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); } &&
60874 { ac_try='test -z "$ac_c_werror_flag"
60875 || test ! -s conftest.err'
60876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60877 (eval $ac_try) 2>&5
60878 ac_status=$?
60879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60880 (exit $ac_status); }; } &&
60881 { ac_try='test -s conftest$ac_exeext'
60882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60883 (eval $ac_try) 2>&5
60884 ac_status=$?
60885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60886 (exit $ac_status); }; }; then
60887 eval "$as_ac_var=yes"
60888 else
60889 echo "$as_me: failed program was:" >&5
60890 sed 's/^/| /' conftest.$ac_ext >&5
60892 eval "$as_ac_var=no"
60894 rm -f conftest.err conftest.$ac_objext \
60895 conftest$ac_exeext conftest.$ac_ext
60897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60899 if test `eval echo '${'$as_ac_var'}'` = yes; then
60900 cat >>confdefs.h <<_ACEOF
60901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60902 _ACEOF
60905 done
60907 else
60909 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
60910 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
60911 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60912 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
60913 echo $ECHO_N "(cached) $ECHO_C" >&6
60914 else
60918 ac_ext=cc
60919 ac_cpp='$CXXCPP $CPPFLAGS'
60920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60924 cat >conftest.$ac_ext <<_ACEOF
60925 /* confdefs.h. */
60926 _ACEOF
60927 cat confdefs.h >>conftest.$ac_ext
60928 cat >>conftest.$ac_ext <<_ACEOF
60929 /* end confdefs.h. */
60930 #include <math.h>
60932 main ()
60934 _sincos(0, 0, 0);
60936 return 0;
60938 _ACEOF
60939 rm -f conftest.$ac_objext
60940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60941 (eval $ac_compile) 2>conftest.er1
60942 ac_status=$?
60943 grep -v '^ *+' conftest.er1 >conftest.err
60944 rm -f conftest.er1
60945 cat conftest.err >&5
60946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60947 (exit $ac_status); } &&
60948 { ac_try='test -z "$ac_cxx_werror_flag"
60949 || test ! -s conftest.err'
60950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60951 (eval $ac_try) 2>&5
60952 ac_status=$?
60953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60954 (exit $ac_status); }; } &&
60955 { ac_try='test -s conftest.$ac_objext'
60956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60957 (eval $ac_try) 2>&5
60958 ac_status=$?
60959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60960 (exit $ac_status); }; }; then
60961 glibcxx_cv_func__sincos_use=yes
60962 else
60963 echo "$as_me: failed program was:" >&5
60964 sed 's/^/| /' conftest.$ac_ext >&5
60966 glibcxx_cv_func__sincos_use=no
60968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60969 ac_ext=c
60970 ac_cpp='$CPP $CPPFLAGS'
60971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60979 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
60980 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
60982 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60984 for ac_func in _sincos
60986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60987 echo "$as_me:$LINENO: checking for $ac_func" >&5
60988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60989 if eval "test \"\${$as_ac_var+set}\" = set"; then
60990 echo $ECHO_N "(cached) $ECHO_C" >&6
60991 else
60992 if test x$gcc_no_link = xyes; then
60993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60995 { (exit 1); exit 1; }; }
60997 cat >conftest.$ac_ext <<_ACEOF
60998 /* confdefs.h. */
60999 _ACEOF
61000 cat confdefs.h >>conftest.$ac_ext
61001 cat >>conftest.$ac_ext <<_ACEOF
61002 /* end confdefs.h. */
61003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61005 #define $ac_func innocuous_$ac_func
61007 /* System header to define __stub macros and hopefully few prototypes,
61008 which can conflict with char $ac_func (); below.
61009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61010 <limits.h> exists even on freestanding compilers. */
61012 #ifdef __STDC__
61013 # include <limits.h>
61014 #else
61015 # include <assert.h>
61016 #endif
61018 #undef $ac_func
61020 /* Override any gcc2 internal prototype to avoid an error. */
61021 #ifdef __cplusplus
61022 extern "C"
61024 #endif
61025 /* We use char because int might match the return type of a gcc2
61026 builtin and then its argument prototype would still apply. */
61027 char $ac_func ();
61028 /* The GNU C library defines this for functions which it implements
61029 to always fail with ENOSYS. Some functions are actually named
61030 something starting with __ and the normal name is an alias. */
61031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61032 choke me
61033 #else
61034 char (*f) () = $ac_func;
61035 #endif
61036 #ifdef __cplusplus
61038 #endif
61041 main ()
61043 return f != $ac_func;
61045 return 0;
61047 _ACEOF
61048 rm -f conftest.$ac_objext conftest$ac_exeext
61049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61050 (eval $ac_link) 2>conftest.er1
61051 ac_status=$?
61052 grep -v '^ *+' conftest.er1 >conftest.err
61053 rm -f conftest.er1
61054 cat conftest.err >&5
61055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61056 (exit $ac_status); } &&
61057 { ac_try='test -z "$ac_c_werror_flag"
61058 || test ! -s conftest.err'
61059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61060 (eval $ac_try) 2>&5
61061 ac_status=$?
61062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61063 (exit $ac_status); }; } &&
61064 { ac_try='test -s conftest$ac_exeext'
61065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61066 (eval $ac_try) 2>&5
61067 ac_status=$?
61068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61069 (exit $ac_status); }; }; then
61070 eval "$as_ac_var=yes"
61071 else
61072 echo "$as_me: failed program was:" >&5
61073 sed 's/^/| /' conftest.$ac_ext >&5
61075 eval "$as_ac_var=no"
61077 rm -f conftest.err conftest.$ac_objext \
61078 conftest$ac_exeext conftest.$ac_ext
61080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61082 if test `eval echo '${'$as_ac_var'}'` = yes; then
61083 cat >>confdefs.h <<_ACEOF
61084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61085 _ACEOF
61088 done
61098 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
61099 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
61100 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61101 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
61102 echo $ECHO_N "(cached) $ECHO_C" >&6
61103 else
61107 ac_ext=cc
61108 ac_cpp='$CXXCPP $CPPFLAGS'
61109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61113 cat >conftest.$ac_ext <<_ACEOF
61114 /* confdefs.h. */
61115 _ACEOF
61116 cat confdefs.h >>conftest.$ac_ext
61117 cat >>conftest.$ac_ext <<_ACEOF
61118 /* end confdefs.h. */
61119 #include <math.h>
61120 #ifdef HAVE_IEEEFP_H
61121 #include <ieeefp.h>
61122 #endif
61125 main ()
61127 fpclass(0);
61129 return 0;
61131 _ACEOF
61132 rm -f conftest.$ac_objext
61133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61134 (eval $ac_compile) 2>conftest.er1
61135 ac_status=$?
61136 grep -v '^ *+' conftest.er1 >conftest.err
61137 rm -f conftest.er1
61138 cat conftest.err >&5
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); } &&
61141 { ac_try='test -z "$ac_cxx_werror_flag"
61142 || test ! -s conftest.err'
61143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61144 (eval $ac_try) 2>&5
61145 ac_status=$?
61146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61147 (exit $ac_status); }; } &&
61148 { ac_try='test -s conftest.$ac_objext'
61149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61150 (eval $ac_try) 2>&5
61151 ac_status=$?
61152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61153 (exit $ac_status); }; }; then
61154 glibcxx_cv_func_fpclass_use=yes
61155 else
61156 echo "$as_me: failed program was:" >&5
61157 sed 's/^/| /' conftest.$ac_ext >&5
61159 glibcxx_cv_func_fpclass_use=no
61161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61162 ac_ext=c
61163 ac_cpp='$CPP $CPPFLAGS'
61164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61172 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
61173 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
61175 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61177 for ac_func in fpclass
61179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61180 echo "$as_me:$LINENO: checking for $ac_func" >&5
61181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61182 if eval "test \"\${$as_ac_var+set}\" = set"; then
61183 echo $ECHO_N "(cached) $ECHO_C" >&6
61184 else
61185 if test x$gcc_no_link = xyes; then
61186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61188 { (exit 1); exit 1; }; }
61190 cat >conftest.$ac_ext <<_ACEOF
61191 /* confdefs.h. */
61192 _ACEOF
61193 cat confdefs.h >>conftest.$ac_ext
61194 cat >>conftest.$ac_ext <<_ACEOF
61195 /* end confdefs.h. */
61196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61198 #define $ac_func innocuous_$ac_func
61200 /* System header to define __stub macros and hopefully few prototypes,
61201 which can conflict with char $ac_func (); below.
61202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61203 <limits.h> exists even on freestanding compilers. */
61205 #ifdef __STDC__
61206 # include <limits.h>
61207 #else
61208 # include <assert.h>
61209 #endif
61211 #undef $ac_func
61213 /* Override any gcc2 internal prototype to avoid an error. */
61214 #ifdef __cplusplus
61215 extern "C"
61217 #endif
61218 /* We use char because int might match the return type of a gcc2
61219 builtin and then its argument prototype would still apply. */
61220 char $ac_func ();
61221 /* The GNU C library defines this for functions which it implements
61222 to always fail with ENOSYS. Some functions are actually named
61223 something starting with __ and the normal name is an alias. */
61224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61225 choke me
61226 #else
61227 char (*f) () = $ac_func;
61228 #endif
61229 #ifdef __cplusplus
61231 #endif
61234 main ()
61236 return f != $ac_func;
61238 return 0;
61240 _ACEOF
61241 rm -f conftest.$ac_objext conftest$ac_exeext
61242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61243 (eval $ac_link) 2>conftest.er1
61244 ac_status=$?
61245 grep -v '^ *+' conftest.er1 >conftest.err
61246 rm -f conftest.er1
61247 cat conftest.err >&5
61248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61249 (exit $ac_status); } &&
61250 { ac_try='test -z "$ac_c_werror_flag"
61251 || test ! -s conftest.err'
61252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61253 (eval $ac_try) 2>&5
61254 ac_status=$?
61255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61256 (exit $ac_status); }; } &&
61257 { ac_try='test -s conftest$ac_exeext'
61258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61259 (eval $ac_try) 2>&5
61260 ac_status=$?
61261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61262 (exit $ac_status); }; }; then
61263 eval "$as_ac_var=yes"
61264 else
61265 echo "$as_me: failed program was:" >&5
61266 sed 's/^/| /' conftest.$ac_ext >&5
61268 eval "$as_ac_var=no"
61270 rm -f conftest.err conftest.$ac_objext \
61271 conftest$ac_exeext conftest.$ac_ext
61273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61275 if test `eval echo '${'$as_ac_var'}'` = yes; then
61276 cat >>confdefs.h <<_ACEOF
61277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61278 _ACEOF
61281 done
61283 else
61285 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
61286 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
61287 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61288 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
61289 echo $ECHO_N "(cached) $ECHO_C" >&6
61290 else
61294 ac_ext=cc
61295 ac_cpp='$CXXCPP $CPPFLAGS'
61296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61300 cat >conftest.$ac_ext <<_ACEOF
61301 /* confdefs.h. */
61302 _ACEOF
61303 cat confdefs.h >>conftest.$ac_ext
61304 cat >>conftest.$ac_ext <<_ACEOF
61305 /* end confdefs.h. */
61306 #include <math.h>
61307 #ifdef HAVE_IEEEFP_H
61308 #include <ieeefp.h>
61309 #endif
61312 main ()
61314 _fpclass(0);
61316 return 0;
61318 _ACEOF
61319 rm -f conftest.$ac_objext
61320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61321 (eval $ac_compile) 2>conftest.er1
61322 ac_status=$?
61323 grep -v '^ *+' conftest.er1 >conftest.err
61324 rm -f conftest.er1
61325 cat conftest.err >&5
61326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61327 (exit $ac_status); } &&
61328 { ac_try='test -z "$ac_cxx_werror_flag"
61329 || test ! -s conftest.err'
61330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61331 (eval $ac_try) 2>&5
61332 ac_status=$?
61333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334 (exit $ac_status); }; } &&
61335 { ac_try='test -s conftest.$ac_objext'
61336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61337 (eval $ac_try) 2>&5
61338 ac_status=$?
61339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61340 (exit $ac_status); }; }; then
61341 glibcxx_cv_func__fpclass_use=yes
61342 else
61343 echo "$as_me: failed program was:" >&5
61344 sed 's/^/| /' conftest.$ac_ext >&5
61346 glibcxx_cv_func__fpclass_use=no
61348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61349 ac_ext=c
61350 ac_cpp='$CPP $CPPFLAGS'
61351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
61360 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
61362 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61364 for ac_func in _fpclass
61366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61367 echo "$as_me:$LINENO: checking for $ac_func" >&5
61368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61369 if eval "test \"\${$as_ac_var+set}\" = set"; then
61370 echo $ECHO_N "(cached) $ECHO_C" >&6
61371 else
61372 if test x$gcc_no_link = xyes; then
61373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61375 { (exit 1); exit 1; }; }
61377 cat >conftest.$ac_ext <<_ACEOF
61378 /* confdefs.h. */
61379 _ACEOF
61380 cat confdefs.h >>conftest.$ac_ext
61381 cat >>conftest.$ac_ext <<_ACEOF
61382 /* end confdefs.h. */
61383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61385 #define $ac_func innocuous_$ac_func
61387 /* System header to define __stub macros and hopefully few prototypes,
61388 which can conflict with char $ac_func (); below.
61389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61390 <limits.h> exists even on freestanding compilers. */
61392 #ifdef __STDC__
61393 # include <limits.h>
61394 #else
61395 # include <assert.h>
61396 #endif
61398 #undef $ac_func
61400 /* Override any gcc2 internal prototype to avoid an error. */
61401 #ifdef __cplusplus
61402 extern "C"
61404 #endif
61405 /* We use char because int might match the return type of a gcc2
61406 builtin and then its argument prototype would still apply. */
61407 char $ac_func ();
61408 /* The GNU C library defines this for functions which it implements
61409 to always fail with ENOSYS. Some functions are actually named
61410 something starting with __ and the normal name is an alias. */
61411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61412 choke me
61413 #else
61414 char (*f) () = $ac_func;
61415 #endif
61416 #ifdef __cplusplus
61418 #endif
61421 main ()
61423 return f != $ac_func;
61425 return 0;
61427 _ACEOF
61428 rm -f conftest.$ac_objext conftest$ac_exeext
61429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61430 (eval $ac_link) 2>conftest.er1
61431 ac_status=$?
61432 grep -v '^ *+' conftest.er1 >conftest.err
61433 rm -f conftest.er1
61434 cat conftest.err >&5
61435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61436 (exit $ac_status); } &&
61437 { ac_try='test -z "$ac_c_werror_flag"
61438 || test ! -s conftest.err'
61439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61440 (eval $ac_try) 2>&5
61441 ac_status=$?
61442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443 (exit $ac_status); }; } &&
61444 { ac_try='test -s conftest$ac_exeext'
61445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446 (eval $ac_try) 2>&5
61447 ac_status=$?
61448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449 (exit $ac_status); }; }; then
61450 eval "$as_ac_var=yes"
61451 else
61452 echo "$as_me: failed program was:" >&5
61453 sed 's/^/| /' conftest.$ac_ext >&5
61455 eval "$as_ac_var=no"
61457 rm -f conftest.err conftest.$ac_objext \
61458 conftest$ac_exeext conftest.$ac_ext
61460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61462 if test `eval echo '${'$as_ac_var'}'` = yes; then
61463 cat >>confdefs.h <<_ACEOF
61464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61465 _ACEOF
61468 done
61478 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
61479 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
61480 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61481 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
61482 echo $ECHO_N "(cached) $ECHO_C" >&6
61483 else
61487 ac_ext=cc
61488 ac_cpp='$CXXCPP $CPPFLAGS'
61489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61493 cat >conftest.$ac_ext <<_ACEOF
61494 /* confdefs.h. */
61495 _ACEOF
61496 cat confdefs.h >>conftest.$ac_ext
61497 cat >>conftest.$ac_ext <<_ACEOF
61498 /* end confdefs.h. */
61499 #include <math.h>
61500 #ifdef HAVE_IEEEFP_H
61501 #include <ieeefp.h>
61502 #endif
61505 main ()
61507 qfpclass(0);
61509 return 0;
61511 _ACEOF
61512 rm -f conftest.$ac_objext
61513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61514 (eval $ac_compile) 2>conftest.er1
61515 ac_status=$?
61516 grep -v '^ *+' conftest.er1 >conftest.err
61517 rm -f conftest.er1
61518 cat conftest.err >&5
61519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61520 (exit $ac_status); } &&
61521 { ac_try='test -z "$ac_cxx_werror_flag"
61522 || test ! -s conftest.err'
61523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61524 (eval $ac_try) 2>&5
61525 ac_status=$?
61526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61527 (exit $ac_status); }; } &&
61528 { ac_try='test -s conftest.$ac_objext'
61529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61530 (eval $ac_try) 2>&5
61531 ac_status=$?
61532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61533 (exit $ac_status); }; }; then
61534 glibcxx_cv_func_qfpclass_use=yes
61535 else
61536 echo "$as_me: failed program was:" >&5
61537 sed 's/^/| /' conftest.$ac_ext >&5
61539 glibcxx_cv_func_qfpclass_use=no
61541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61542 ac_ext=c
61543 ac_cpp='$CPP $CPPFLAGS'
61544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
61553 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
61555 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61557 for ac_func in qfpclass
61559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61560 echo "$as_me:$LINENO: checking for $ac_func" >&5
61561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61562 if eval "test \"\${$as_ac_var+set}\" = set"; then
61563 echo $ECHO_N "(cached) $ECHO_C" >&6
61564 else
61565 if test x$gcc_no_link = xyes; then
61566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61568 { (exit 1); exit 1; }; }
61570 cat >conftest.$ac_ext <<_ACEOF
61571 /* confdefs.h. */
61572 _ACEOF
61573 cat confdefs.h >>conftest.$ac_ext
61574 cat >>conftest.$ac_ext <<_ACEOF
61575 /* end confdefs.h. */
61576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61578 #define $ac_func innocuous_$ac_func
61580 /* System header to define __stub macros and hopefully few prototypes,
61581 which can conflict with char $ac_func (); below.
61582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61583 <limits.h> exists even on freestanding compilers. */
61585 #ifdef __STDC__
61586 # include <limits.h>
61587 #else
61588 # include <assert.h>
61589 #endif
61591 #undef $ac_func
61593 /* Override any gcc2 internal prototype to avoid an error. */
61594 #ifdef __cplusplus
61595 extern "C"
61597 #endif
61598 /* We use char because int might match the return type of a gcc2
61599 builtin and then its argument prototype would still apply. */
61600 char $ac_func ();
61601 /* The GNU C library defines this for functions which it implements
61602 to always fail with ENOSYS. Some functions are actually named
61603 something starting with __ and the normal name is an alias. */
61604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61605 choke me
61606 #else
61607 char (*f) () = $ac_func;
61608 #endif
61609 #ifdef __cplusplus
61611 #endif
61614 main ()
61616 return f != $ac_func;
61618 return 0;
61620 _ACEOF
61621 rm -f conftest.$ac_objext conftest$ac_exeext
61622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61623 (eval $ac_link) 2>conftest.er1
61624 ac_status=$?
61625 grep -v '^ *+' conftest.er1 >conftest.err
61626 rm -f conftest.er1
61627 cat conftest.err >&5
61628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61629 (exit $ac_status); } &&
61630 { ac_try='test -z "$ac_c_werror_flag"
61631 || test ! -s conftest.err'
61632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61633 (eval $ac_try) 2>&5
61634 ac_status=$?
61635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61636 (exit $ac_status); }; } &&
61637 { ac_try='test -s conftest$ac_exeext'
61638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61639 (eval $ac_try) 2>&5
61640 ac_status=$?
61641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61642 (exit $ac_status); }; }; then
61643 eval "$as_ac_var=yes"
61644 else
61645 echo "$as_me: failed program was:" >&5
61646 sed 's/^/| /' conftest.$ac_ext >&5
61648 eval "$as_ac_var=no"
61650 rm -f conftest.err conftest.$ac_objext \
61651 conftest$ac_exeext conftest.$ac_ext
61653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61655 if test `eval echo '${'$as_ac_var'}'` = yes; then
61656 cat >>confdefs.h <<_ACEOF
61657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61658 _ACEOF
61661 done
61663 else
61665 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
61666 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
61667 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61668 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
61669 echo $ECHO_N "(cached) $ECHO_C" >&6
61670 else
61674 ac_ext=cc
61675 ac_cpp='$CXXCPP $CPPFLAGS'
61676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61680 cat >conftest.$ac_ext <<_ACEOF
61681 /* confdefs.h. */
61682 _ACEOF
61683 cat confdefs.h >>conftest.$ac_ext
61684 cat >>conftest.$ac_ext <<_ACEOF
61685 /* end confdefs.h. */
61686 #include <math.h>
61687 #ifdef HAVE_IEEEFP_H
61688 #include <ieeefp.h>
61689 #endif
61692 main ()
61694 _qfpclass(0);
61696 return 0;
61698 _ACEOF
61699 rm -f conftest.$ac_objext
61700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61701 (eval $ac_compile) 2>conftest.er1
61702 ac_status=$?
61703 grep -v '^ *+' conftest.er1 >conftest.err
61704 rm -f conftest.er1
61705 cat conftest.err >&5
61706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707 (exit $ac_status); } &&
61708 { ac_try='test -z "$ac_cxx_werror_flag"
61709 || test ! -s conftest.err'
61710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61711 (eval $ac_try) 2>&5
61712 ac_status=$?
61713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61714 (exit $ac_status); }; } &&
61715 { ac_try='test -s conftest.$ac_objext'
61716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61717 (eval $ac_try) 2>&5
61718 ac_status=$?
61719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61720 (exit $ac_status); }; }; then
61721 glibcxx_cv_func__qfpclass_use=yes
61722 else
61723 echo "$as_me: failed program was:" >&5
61724 sed 's/^/| /' conftest.$ac_ext >&5
61726 glibcxx_cv_func__qfpclass_use=no
61728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61729 ac_ext=c
61730 ac_cpp='$CPP $CPPFLAGS'
61731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
61740 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
61742 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61744 for ac_func in _qfpclass
61746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61747 echo "$as_me:$LINENO: checking for $ac_func" >&5
61748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61749 if eval "test \"\${$as_ac_var+set}\" = set"; then
61750 echo $ECHO_N "(cached) $ECHO_C" >&6
61751 else
61752 if test x$gcc_no_link = xyes; then
61753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61755 { (exit 1); exit 1; }; }
61757 cat >conftest.$ac_ext <<_ACEOF
61758 /* confdefs.h. */
61759 _ACEOF
61760 cat confdefs.h >>conftest.$ac_ext
61761 cat >>conftest.$ac_ext <<_ACEOF
61762 /* end confdefs.h. */
61763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61765 #define $ac_func innocuous_$ac_func
61767 /* System header to define __stub macros and hopefully few prototypes,
61768 which can conflict with char $ac_func (); below.
61769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61770 <limits.h> exists even on freestanding compilers. */
61772 #ifdef __STDC__
61773 # include <limits.h>
61774 #else
61775 # include <assert.h>
61776 #endif
61778 #undef $ac_func
61780 /* Override any gcc2 internal prototype to avoid an error. */
61781 #ifdef __cplusplus
61782 extern "C"
61784 #endif
61785 /* We use char because int might match the return type of a gcc2
61786 builtin and then its argument prototype would still apply. */
61787 char $ac_func ();
61788 /* The GNU C library defines this for functions which it implements
61789 to always fail with ENOSYS. Some functions are actually named
61790 something starting with __ and the normal name is an alias. */
61791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61792 choke me
61793 #else
61794 char (*f) () = $ac_func;
61795 #endif
61796 #ifdef __cplusplus
61798 #endif
61801 main ()
61803 return f != $ac_func;
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 eval "$as_ac_var=yes"
61831 else
61832 echo "$as_me: failed program was:" >&5
61833 sed 's/^/| /' conftest.$ac_ext >&5
61835 eval "$as_ac_var=no"
61837 rm -f conftest.err conftest.$ac_objext \
61838 conftest$ac_exeext conftest.$ac_ext
61840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61842 if test `eval echo '${'$as_ac_var'}'` = yes; then
61843 cat >>confdefs.h <<_ACEOF
61844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61845 _ACEOF
61848 done
61858 echo "$as_me:$LINENO: checking for hypot declaration" >&5
61859 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
61860 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61861 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
61862 echo $ECHO_N "(cached) $ECHO_C" >&6
61863 else
61867 ac_ext=cc
61868 ac_cpp='$CXXCPP $CPPFLAGS'
61869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61873 cat >conftest.$ac_ext <<_ACEOF
61874 /* confdefs.h. */
61875 _ACEOF
61876 cat confdefs.h >>conftest.$ac_ext
61877 cat >>conftest.$ac_ext <<_ACEOF
61878 /* end confdefs.h. */
61879 #include <math.h>
61881 main ()
61883 hypot(0, 0);
61885 return 0;
61887 _ACEOF
61888 rm -f conftest.$ac_objext
61889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61890 (eval $ac_compile) 2>conftest.er1
61891 ac_status=$?
61892 grep -v '^ *+' conftest.er1 >conftest.err
61893 rm -f conftest.er1
61894 cat conftest.err >&5
61895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61896 (exit $ac_status); } &&
61897 { ac_try='test -z "$ac_cxx_werror_flag"
61898 || test ! -s conftest.err'
61899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61900 (eval $ac_try) 2>&5
61901 ac_status=$?
61902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61903 (exit $ac_status); }; } &&
61904 { ac_try='test -s conftest.$ac_objext'
61905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61906 (eval $ac_try) 2>&5
61907 ac_status=$?
61908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61909 (exit $ac_status); }; }; then
61910 glibcxx_cv_func_hypot_use=yes
61911 else
61912 echo "$as_me: failed program was:" >&5
61913 sed 's/^/| /' conftest.$ac_ext >&5
61915 glibcxx_cv_func_hypot_use=no
61917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61918 ac_ext=c
61919 ac_cpp='$CPP $CPPFLAGS'
61920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
61929 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
61931 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61933 for ac_func in hypot
61935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61936 echo "$as_me:$LINENO: checking for $ac_func" >&5
61937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61938 if eval "test \"\${$as_ac_var+set}\" = set"; then
61939 echo $ECHO_N "(cached) $ECHO_C" >&6
61940 else
61941 if test x$gcc_no_link = xyes; then
61942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61944 { (exit 1); exit 1; }; }
61946 cat >conftest.$ac_ext <<_ACEOF
61947 /* confdefs.h. */
61948 _ACEOF
61949 cat confdefs.h >>conftest.$ac_ext
61950 cat >>conftest.$ac_ext <<_ACEOF
61951 /* end confdefs.h. */
61952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61954 #define $ac_func innocuous_$ac_func
61956 /* System header to define __stub macros and hopefully few prototypes,
61957 which can conflict with char $ac_func (); below.
61958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61959 <limits.h> exists even on freestanding compilers. */
61961 #ifdef __STDC__
61962 # include <limits.h>
61963 #else
61964 # include <assert.h>
61965 #endif
61967 #undef $ac_func
61969 /* Override any gcc2 internal prototype to avoid an error. */
61970 #ifdef __cplusplus
61971 extern "C"
61973 #endif
61974 /* We use char because int might match the return type of a gcc2
61975 builtin and then its argument prototype would still apply. */
61976 char $ac_func ();
61977 /* The GNU C library defines this for functions which it implements
61978 to always fail with ENOSYS. Some functions are actually named
61979 something starting with __ and the normal name is an alias. */
61980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61981 choke me
61982 #else
61983 char (*f) () = $ac_func;
61984 #endif
61985 #ifdef __cplusplus
61987 #endif
61990 main ()
61992 return f != $ac_func;
61994 return 0;
61996 _ACEOF
61997 rm -f conftest.$ac_objext conftest$ac_exeext
61998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61999 (eval $ac_link) 2>conftest.er1
62000 ac_status=$?
62001 grep -v '^ *+' conftest.er1 >conftest.err
62002 rm -f conftest.er1
62003 cat conftest.err >&5
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); } &&
62006 { ac_try='test -z "$ac_c_werror_flag"
62007 || test ! -s conftest.err'
62008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62009 (eval $ac_try) 2>&5
62010 ac_status=$?
62011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62012 (exit $ac_status); }; } &&
62013 { ac_try='test -s conftest$ac_exeext'
62014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62015 (eval $ac_try) 2>&5
62016 ac_status=$?
62017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62018 (exit $ac_status); }; }; then
62019 eval "$as_ac_var=yes"
62020 else
62021 echo "$as_me: failed program was:" >&5
62022 sed 's/^/| /' conftest.$ac_ext >&5
62024 eval "$as_ac_var=no"
62026 rm -f conftest.err conftest.$ac_objext \
62027 conftest$ac_exeext conftest.$ac_ext
62029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62031 if test `eval echo '${'$as_ac_var'}'` = yes; then
62032 cat >>confdefs.h <<_ACEOF
62033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62034 _ACEOF
62037 done
62039 else
62041 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
62042 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
62043 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62044 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
62045 echo $ECHO_N "(cached) $ECHO_C" >&6
62046 else
62050 ac_ext=cc
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62056 cat >conftest.$ac_ext <<_ACEOF
62057 /* confdefs.h. */
62058 _ACEOF
62059 cat confdefs.h >>conftest.$ac_ext
62060 cat >>conftest.$ac_ext <<_ACEOF
62061 /* end confdefs.h. */
62062 #include <math.h>
62064 main ()
62066 _hypot(0, 0);
62068 return 0;
62070 _ACEOF
62071 rm -f conftest.$ac_objext
62072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62073 (eval $ac_compile) 2>conftest.er1
62074 ac_status=$?
62075 grep -v '^ *+' conftest.er1 >conftest.err
62076 rm -f conftest.er1
62077 cat conftest.err >&5
62078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079 (exit $ac_status); } &&
62080 { ac_try='test -z "$ac_cxx_werror_flag"
62081 || test ! -s conftest.err'
62082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62083 (eval $ac_try) 2>&5
62084 ac_status=$?
62085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62086 (exit $ac_status); }; } &&
62087 { ac_try='test -s conftest.$ac_objext'
62088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62089 (eval $ac_try) 2>&5
62090 ac_status=$?
62091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62092 (exit $ac_status); }; }; then
62093 glibcxx_cv_func__hypot_use=yes
62094 else
62095 echo "$as_me: failed program was:" >&5
62096 sed 's/^/| /' conftest.$ac_ext >&5
62098 glibcxx_cv_func__hypot_use=no
62100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62101 ac_ext=c
62102 ac_cpp='$CPP $CPPFLAGS'
62103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
62112 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
62114 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62116 for ac_func in _hypot
62118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62119 echo "$as_me:$LINENO: checking for $ac_func" >&5
62120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62121 if eval "test \"\${$as_ac_var+set}\" = set"; then
62122 echo $ECHO_N "(cached) $ECHO_C" >&6
62123 else
62124 if test x$gcc_no_link = xyes; then
62125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62127 { (exit 1); exit 1; }; }
62129 cat >conftest.$ac_ext <<_ACEOF
62130 /* confdefs.h. */
62131 _ACEOF
62132 cat confdefs.h >>conftest.$ac_ext
62133 cat >>conftest.$ac_ext <<_ACEOF
62134 /* end confdefs.h. */
62135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62137 #define $ac_func innocuous_$ac_func
62139 /* System header to define __stub macros and hopefully few prototypes,
62140 which can conflict with char $ac_func (); below.
62141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62142 <limits.h> exists even on freestanding compilers. */
62144 #ifdef __STDC__
62145 # include <limits.h>
62146 #else
62147 # include <assert.h>
62148 #endif
62150 #undef $ac_func
62152 /* Override any gcc2 internal prototype to avoid an error. */
62153 #ifdef __cplusplus
62154 extern "C"
62156 #endif
62157 /* We use char because int might match the return type of a gcc2
62158 builtin and then its argument prototype would still apply. */
62159 char $ac_func ();
62160 /* The GNU C library defines this for functions which it implements
62161 to always fail with ENOSYS. Some functions are actually named
62162 something starting with __ and the normal name is an alias. */
62163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62164 choke me
62165 #else
62166 char (*f) () = $ac_func;
62167 #endif
62168 #ifdef __cplusplus
62170 #endif
62173 main ()
62175 return f != $ac_func;
62177 return 0;
62179 _ACEOF
62180 rm -f conftest.$ac_objext conftest$ac_exeext
62181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62182 (eval $ac_link) 2>conftest.er1
62183 ac_status=$?
62184 grep -v '^ *+' conftest.er1 >conftest.err
62185 rm -f conftest.er1
62186 cat conftest.err >&5
62187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188 (exit $ac_status); } &&
62189 { ac_try='test -z "$ac_c_werror_flag"
62190 || test ! -s conftest.err'
62191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62192 (eval $ac_try) 2>&5
62193 ac_status=$?
62194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62195 (exit $ac_status); }; } &&
62196 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
62202 eval "$as_ac_var=yes"
62203 else
62204 echo "$as_me: failed program was:" >&5
62205 sed 's/^/| /' conftest.$ac_ext >&5
62207 eval "$as_ac_var=no"
62209 rm -f conftest.err conftest.$ac_objext \
62210 conftest$ac_exeext conftest.$ac_ext
62212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62214 if test `eval echo '${'$as_ac_var'}'` = yes; then
62215 cat >>confdefs.h <<_ACEOF
62216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62217 _ACEOF
62220 done
62230 echo "$as_me:$LINENO: checking for float trig functions" >&5
62231 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
62232 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
62233 echo $ECHO_N "(cached) $ECHO_C" >&6
62234 else
62238 ac_ext=cc
62239 ac_cpp='$CXXCPP $CPPFLAGS'
62240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62244 cat >conftest.$ac_ext <<_ACEOF
62245 /* confdefs.h. */
62246 _ACEOF
62247 cat confdefs.h >>conftest.$ac_ext
62248 cat >>conftest.$ac_ext <<_ACEOF
62249 /* end confdefs.h. */
62250 #include <math.h>
62252 main ()
62254 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62256 return 0;
62258 _ACEOF
62259 rm -f conftest.$ac_objext
62260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62261 (eval $ac_compile) 2>conftest.er1
62262 ac_status=$?
62263 grep -v '^ *+' conftest.er1 >conftest.err
62264 rm -f conftest.er1
62265 cat conftest.err >&5
62266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62267 (exit $ac_status); } &&
62268 { ac_try='test -z "$ac_cxx_werror_flag"
62269 || test ! -s conftest.err'
62270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62271 (eval $ac_try) 2>&5
62272 ac_status=$?
62273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62274 (exit $ac_status); }; } &&
62275 { ac_try='test -s conftest.$ac_objext'
62276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62277 (eval $ac_try) 2>&5
62278 ac_status=$?
62279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62280 (exit $ac_status); }; }; then
62281 glibcxx_cv_func_float_trig_use=yes
62282 else
62283 echo "$as_me: failed program was:" >&5
62284 sed 's/^/| /' conftest.$ac_ext >&5
62286 glibcxx_cv_func_float_trig_use=no
62288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62289 ac_ext=c
62290 ac_cpp='$CPP $CPPFLAGS'
62291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
62298 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
62299 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62309 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62312 echo "$as_me:$LINENO: checking for $ac_func" >&5
62313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62314 if eval "test \"\${$as_ac_var+set}\" = set"; then
62315 echo $ECHO_N "(cached) $ECHO_C" >&6
62316 else
62317 if test x$gcc_no_link = xyes; then
62318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62320 { (exit 1); exit 1; }; }
62322 cat >conftest.$ac_ext <<_ACEOF
62323 /* confdefs.h. */
62324 _ACEOF
62325 cat confdefs.h >>conftest.$ac_ext
62326 cat >>conftest.$ac_ext <<_ACEOF
62327 /* end confdefs.h. */
62328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62330 #define $ac_func innocuous_$ac_func
62332 /* System header to define __stub macros and hopefully few prototypes,
62333 which can conflict with char $ac_func (); below.
62334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62335 <limits.h> exists even on freestanding compilers. */
62337 #ifdef __STDC__
62338 # include <limits.h>
62339 #else
62340 # include <assert.h>
62341 #endif
62343 #undef $ac_func
62345 /* Override any gcc2 internal prototype to avoid an error. */
62346 #ifdef __cplusplus
62347 extern "C"
62349 #endif
62350 /* We use char because int might match the return type of a gcc2
62351 builtin and then its argument prototype would still apply. */
62352 char $ac_func ();
62353 /* The GNU C library defines this for functions which it implements
62354 to always fail with ENOSYS. Some functions are actually named
62355 something starting with __ and the normal name is an alias. */
62356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62357 choke me
62358 #else
62359 char (*f) () = $ac_func;
62360 #endif
62361 #ifdef __cplusplus
62363 #endif
62366 main ()
62368 return f != $ac_func;
62370 return 0;
62372 _ACEOF
62373 rm -f conftest.$ac_objext conftest$ac_exeext
62374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62375 (eval $ac_link) 2>conftest.er1
62376 ac_status=$?
62377 grep -v '^ *+' conftest.er1 >conftest.err
62378 rm -f conftest.er1
62379 cat conftest.err >&5
62380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62381 (exit $ac_status); } &&
62382 { ac_try='test -z "$ac_c_werror_flag"
62383 || test ! -s conftest.err'
62384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62385 (eval $ac_try) 2>&5
62386 ac_status=$?
62387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62388 (exit $ac_status); }; } &&
62389 { ac_try='test -s conftest$ac_exeext'
62390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62391 (eval $ac_try) 2>&5
62392 ac_status=$?
62393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62394 (exit $ac_status); }; }; then
62395 eval "$as_ac_var=yes"
62396 else
62397 echo "$as_me: failed program was:" >&5
62398 sed 's/^/| /' conftest.$ac_ext >&5
62400 eval "$as_ac_var=no"
62402 rm -f conftest.err conftest.$ac_objext \
62403 conftest$ac_exeext conftest.$ac_ext
62405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62407 if test `eval echo '${'$as_ac_var'}'` = yes; then
62408 cat >>confdefs.h <<_ACEOF
62409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62410 _ACEOF
62413 done
62415 else
62416 echo "$as_me:$LINENO: checking for _float trig functions" >&5
62417 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
62418 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
62419 echo $ECHO_N "(cached) $ECHO_C" >&6
62420 else
62424 ac_ext=cc
62425 ac_cpp='$CXXCPP $CPPFLAGS'
62426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62430 cat >conftest.$ac_ext <<_ACEOF
62431 /* confdefs.h. */
62432 _ACEOF
62433 cat confdefs.h >>conftest.$ac_ext
62434 cat >>conftest.$ac_ext <<_ACEOF
62435 /* end confdefs.h. */
62436 #include <math.h>
62438 main ()
62440 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62442 return 0;
62444 _ACEOF
62445 rm -f conftest.$ac_objext
62446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62447 (eval $ac_compile) 2>conftest.er1
62448 ac_status=$?
62449 grep -v '^ *+' conftest.er1 >conftest.err
62450 rm -f conftest.er1
62451 cat conftest.err >&5
62452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62453 (exit $ac_status); } &&
62454 { ac_try='test -z "$ac_cxx_werror_flag"
62455 || test ! -s conftest.err'
62456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62457 (eval $ac_try) 2>&5
62458 ac_status=$?
62459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62460 (exit $ac_status); }; } &&
62461 { ac_try='test -s conftest.$ac_objext'
62462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62463 (eval $ac_try) 2>&5
62464 ac_status=$?
62465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62466 (exit $ac_status); }; }; then
62467 glibcxx_cv_func__float_trig_use=yes
62468 else
62469 echo "$as_me: failed program was:" >&5
62470 sed 's/^/| /' conftest.$ac_ext >&5
62472 glibcxx_cv_func__float_trig_use=no
62474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62475 ac_ext=c
62476 ac_cpp='$CPP $CPPFLAGS'
62477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
62484 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
62485 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62495 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62498 echo "$as_me:$LINENO: checking for $ac_func" >&5
62499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62500 if eval "test \"\${$as_ac_var+set}\" = set"; then
62501 echo $ECHO_N "(cached) $ECHO_C" >&6
62502 else
62503 if test x$gcc_no_link = xyes; then
62504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62506 { (exit 1); exit 1; }; }
62508 cat >conftest.$ac_ext <<_ACEOF
62509 /* confdefs.h. */
62510 _ACEOF
62511 cat confdefs.h >>conftest.$ac_ext
62512 cat >>conftest.$ac_ext <<_ACEOF
62513 /* end confdefs.h. */
62514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62516 #define $ac_func innocuous_$ac_func
62518 /* System header to define __stub macros and hopefully few prototypes,
62519 which can conflict with char $ac_func (); below.
62520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62521 <limits.h> exists even on freestanding compilers. */
62523 #ifdef __STDC__
62524 # include <limits.h>
62525 #else
62526 # include <assert.h>
62527 #endif
62529 #undef $ac_func
62531 /* Override any gcc2 internal prototype to avoid an error. */
62532 #ifdef __cplusplus
62533 extern "C"
62535 #endif
62536 /* We use char because int might match the return type of a gcc2
62537 builtin and then its argument prototype would still apply. */
62538 char $ac_func ();
62539 /* The GNU C library defines this for functions which it implements
62540 to always fail with ENOSYS. Some functions are actually named
62541 something starting with __ and the normal name is an alias. */
62542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62543 choke me
62544 #else
62545 char (*f) () = $ac_func;
62546 #endif
62547 #ifdef __cplusplus
62549 #endif
62552 main ()
62554 return f != $ac_func;
62556 return 0;
62558 _ACEOF
62559 rm -f conftest.$ac_objext conftest$ac_exeext
62560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62561 (eval $ac_link) 2>conftest.er1
62562 ac_status=$?
62563 grep -v '^ *+' conftest.er1 >conftest.err
62564 rm -f conftest.er1
62565 cat conftest.err >&5
62566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62567 (exit $ac_status); } &&
62568 { ac_try='test -z "$ac_c_werror_flag"
62569 || test ! -s conftest.err'
62570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62571 (eval $ac_try) 2>&5
62572 ac_status=$?
62573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62574 (exit $ac_status); }; } &&
62575 { ac_try='test -s conftest$ac_exeext'
62576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62577 (eval $ac_try) 2>&5
62578 ac_status=$?
62579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62580 (exit $ac_status); }; }; then
62581 eval "$as_ac_var=yes"
62582 else
62583 echo "$as_me: failed program was:" >&5
62584 sed 's/^/| /' conftest.$ac_ext >&5
62586 eval "$as_ac_var=no"
62588 rm -f conftest.err conftest.$ac_objext \
62589 conftest$ac_exeext conftest.$ac_ext
62591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62593 if test `eval echo '${'$as_ac_var'}'` = yes; then
62594 cat >>confdefs.h <<_ACEOF
62595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62596 _ACEOF
62599 done
62617 echo "$as_me:$LINENO: checking for float round functions" >&5
62618 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
62619 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
62620 echo $ECHO_N "(cached) $ECHO_C" >&6
62621 else
62625 ac_ext=cc
62626 ac_cpp='$CXXCPP $CPPFLAGS'
62627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62631 cat >conftest.$ac_ext <<_ACEOF
62632 /* confdefs.h. */
62633 _ACEOF
62634 cat confdefs.h >>conftest.$ac_ext
62635 cat >>conftest.$ac_ext <<_ACEOF
62636 /* end confdefs.h. */
62637 #include <math.h>
62639 main ()
62641 ceilf (0); floorf (0);
62643 return 0;
62645 _ACEOF
62646 rm -f conftest.$ac_objext
62647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62648 (eval $ac_compile) 2>conftest.er1
62649 ac_status=$?
62650 grep -v '^ *+' conftest.er1 >conftest.err
62651 rm -f conftest.er1
62652 cat conftest.err >&5
62653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62654 (exit $ac_status); } &&
62655 { ac_try='test -z "$ac_cxx_werror_flag"
62656 || test ! -s conftest.err'
62657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62658 (eval $ac_try) 2>&5
62659 ac_status=$?
62660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62661 (exit $ac_status); }; } &&
62662 { ac_try='test -s conftest.$ac_objext'
62663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62664 (eval $ac_try) 2>&5
62665 ac_status=$?
62666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62667 (exit $ac_status); }; }; then
62668 glibcxx_cv_func_float_round_use=yes
62669 else
62670 echo "$as_me: failed program was:" >&5
62671 sed 's/^/| /' conftest.$ac_ext >&5
62673 glibcxx_cv_func_float_round_use=no
62675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62676 ac_ext=c
62677 ac_cpp='$CPP $CPPFLAGS'
62678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
62685 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
62686 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62689 for ac_func in ceilf floorf
62691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62692 echo "$as_me:$LINENO: checking for $ac_func" >&5
62693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62694 if eval "test \"\${$as_ac_var+set}\" = set"; then
62695 echo $ECHO_N "(cached) $ECHO_C" >&6
62696 else
62697 if test x$gcc_no_link = xyes; then
62698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62700 { (exit 1); exit 1; }; }
62702 cat >conftest.$ac_ext <<_ACEOF
62703 /* confdefs.h. */
62704 _ACEOF
62705 cat confdefs.h >>conftest.$ac_ext
62706 cat >>conftest.$ac_ext <<_ACEOF
62707 /* end confdefs.h. */
62708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62710 #define $ac_func innocuous_$ac_func
62712 /* System header to define __stub macros and hopefully few prototypes,
62713 which can conflict with char $ac_func (); below.
62714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62715 <limits.h> exists even on freestanding compilers. */
62717 #ifdef __STDC__
62718 # include <limits.h>
62719 #else
62720 # include <assert.h>
62721 #endif
62723 #undef $ac_func
62725 /* Override any gcc2 internal prototype to avoid an error. */
62726 #ifdef __cplusplus
62727 extern "C"
62729 #endif
62730 /* We use char because int might match the return type of a gcc2
62731 builtin and then its argument prototype would still apply. */
62732 char $ac_func ();
62733 /* The GNU C library defines this for functions which it implements
62734 to always fail with ENOSYS. Some functions are actually named
62735 something starting with __ and the normal name is an alias. */
62736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62737 choke me
62738 #else
62739 char (*f) () = $ac_func;
62740 #endif
62741 #ifdef __cplusplus
62743 #endif
62746 main ()
62748 return f != $ac_func;
62750 return 0;
62752 _ACEOF
62753 rm -f conftest.$ac_objext conftest$ac_exeext
62754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62755 (eval $ac_link) 2>conftest.er1
62756 ac_status=$?
62757 grep -v '^ *+' conftest.er1 >conftest.err
62758 rm -f conftest.er1
62759 cat conftest.err >&5
62760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62761 (exit $ac_status); } &&
62762 { ac_try='test -z "$ac_c_werror_flag"
62763 || test ! -s conftest.err'
62764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62765 (eval $ac_try) 2>&5
62766 ac_status=$?
62767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62768 (exit $ac_status); }; } &&
62769 { ac_try='test -s conftest$ac_exeext'
62770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62771 (eval $ac_try) 2>&5
62772 ac_status=$?
62773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62774 (exit $ac_status); }; }; then
62775 eval "$as_ac_var=yes"
62776 else
62777 echo "$as_me: failed program was:" >&5
62778 sed 's/^/| /' conftest.$ac_ext >&5
62780 eval "$as_ac_var=no"
62782 rm -f conftest.err conftest.$ac_objext \
62783 conftest$ac_exeext conftest.$ac_ext
62785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62787 if test `eval echo '${'$as_ac_var'}'` = yes; then
62788 cat >>confdefs.h <<_ACEOF
62789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62790 _ACEOF
62793 done
62795 else
62796 echo "$as_me:$LINENO: checking for _float round functions" >&5
62797 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
62798 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
62799 echo $ECHO_N "(cached) $ECHO_C" >&6
62800 else
62804 ac_ext=cc
62805 ac_cpp='$CXXCPP $CPPFLAGS'
62806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62810 cat >conftest.$ac_ext <<_ACEOF
62811 /* confdefs.h. */
62812 _ACEOF
62813 cat confdefs.h >>conftest.$ac_ext
62814 cat >>conftest.$ac_ext <<_ACEOF
62815 /* end confdefs.h. */
62816 #include <math.h>
62818 main ()
62820 _ceilf (0); _floorf (0);
62822 return 0;
62824 _ACEOF
62825 rm -f conftest.$ac_objext
62826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62827 (eval $ac_compile) 2>conftest.er1
62828 ac_status=$?
62829 grep -v '^ *+' conftest.er1 >conftest.err
62830 rm -f conftest.er1
62831 cat conftest.err >&5
62832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62833 (exit $ac_status); } &&
62834 { ac_try='test -z "$ac_cxx_werror_flag"
62835 || test ! -s conftest.err'
62836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62837 (eval $ac_try) 2>&5
62838 ac_status=$?
62839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62840 (exit $ac_status); }; } &&
62841 { ac_try='test -s conftest.$ac_objext'
62842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62843 (eval $ac_try) 2>&5
62844 ac_status=$?
62845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62846 (exit $ac_status); }; }; then
62847 glibcxx_cv_func__float_round_use=yes
62848 else
62849 echo "$as_me: failed program was:" >&5
62850 sed 's/^/| /' conftest.$ac_ext >&5
62852 glibcxx_cv_func__float_round_use=no
62854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62855 ac_ext=c
62856 ac_cpp='$CPP $CPPFLAGS'
62857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
62864 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
62865 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62868 for ac_func in _ceilf _floorf
62870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62871 echo "$as_me:$LINENO: checking for $ac_func" >&5
62872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62873 if eval "test \"\${$as_ac_var+set}\" = set"; then
62874 echo $ECHO_N "(cached) $ECHO_C" >&6
62875 else
62876 if test x$gcc_no_link = xyes; then
62877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62879 { (exit 1); exit 1; }; }
62881 cat >conftest.$ac_ext <<_ACEOF
62882 /* confdefs.h. */
62883 _ACEOF
62884 cat confdefs.h >>conftest.$ac_ext
62885 cat >>conftest.$ac_ext <<_ACEOF
62886 /* end confdefs.h. */
62887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62889 #define $ac_func innocuous_$ac_func
62891 /* System header to define __stub macros and hopefully few prototypes,
62892 which can conflict with char $ac_func (); below.
62893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62894 <limits.h> exists even on freestanding compilers. */
62896 #ifdef __STDC__
62897 # include <limits.h>
62898 #else
62899 # include <assert.h>
62900 #endif
62902 #undef $ac_func
62904 /* Override any gcc2 internal prototype to avoid an error. */
62905 #ifdef __cplusplus
62906 extern "C"
62908 #endif
62909 /* We use char because int might match the return type of a gcc2
62910 builtin and then its argument prototype would still apply. */
62911 char $ac_func ();
62912 /* The GNU C library defines this for functions which it implements
62913 to always fail with ENOSYS. Some functions are actually named
62914 something starting with __ and the normal name is an alias. */
62915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62916 choke me
62917 #else
62918 char (*f) () = $ac_func;
62919 #endif
62920 #ifdef __cplusplus
62922 #endif
62925 main ()
62927 return f != $ac_func;
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 eval "$as_ac_var=yes"
62955 else
62956 echo "$as_me: failed program was:" >&5
62957 sed 's/^/| /' conftest.$ac_ext >&5
62959 eval "$as_ac_var=no"
62961 rm -f conftest.err conftest.$ac_objext \
62962 conftest$ac_exeext conftest.$ac_ext
62964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62966 if test `eval echo '${'$as_ac_var'}'` = yes; then
62967 cat >>confdefs.h <<_ACEOF
62968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62969 _ACEOF
62972 done
62984 echo "$as_me:$LINENO: checking for expf declaration" >&5
62985 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
62986 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62987 if test "${glibcxx_cv_func_expf_use+set}" = set; then
62988 echo $ECHO_N "(cached) $ECHO_C" >&6
62989 else
62993 ac_ext=cc
62994 ac_cpp='$CXXCPP $CPPFLAGS'
62995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62999 cat >conftest.$ac_ext <<_ACEOF
63000 /* confdefs.h. */
63001 _ACEOF
63002 cat confdefs.h >>conftest.$ac_ext
63003 cat >>conftest.$ac_ext <<_ACEOF
63004 /* end confdefs.h. */
63005 #include <math.h>
63006 #ifdef HAVE_IEEEFP_H
63007 #include <ieeefp.h>
63008 #endif
63011 main ()
63013 expf(0);
63015 return 0;
63017 _ACEOF
63018 rm -f conftest.$ac_objext
63019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63020 (eval $ac_compile) 2>conftest.er1
63021 ac_status=$?
63022 grep -v '^ *+' conftest.er1 >conftest.err
63023 rm -f conftest.er1
63024 cat conftest.err >&5
63025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63026 (exit $ac_status); } &&
63027 { ac_try='test -z "$ac_cxx_werror_flag"
63028 || test ! -s conftest.err'
63029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63030 (eval $ac_try) 2>&5
63031 ac_status=$?
63032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63033 (exit $ac_status); }; } &&
63034 { ac_try='test -s conftest.$ac_objext'
63035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63036 (eval $ac_try) 2>&5
63037 ac_status=$?
63038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63039 (exit $ac_status); }; }; then
63040 glibcxx_cv_func_expf_use=yes
63041 else
63042 echo "$as_me: failed program was:" >&5
63043 sed 's/^/| /' conftest.$ac_ext >&5
63045 glibcxx_cv_func_expf_use=no
63047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63048 ac_ext=c
63049 ac_cpp='$CPP $CPPFLAGS'
63050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63058 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
63059 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
63061 if test x$glibcxx_cv_func_expf_use = x"yes"; then
63063 for ac_func in expf
63065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63066 echo "$as_me:$LINENO: checking for $ac_func" >&5
63067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63068 if eval "test \"\${$as_ac_var+set}\" = set"; then
63069 echo $ECHO_N "(cached) $ECHO_C" >&6
63070 else
63071 if test x$gcc_no_link = xyes; then
63072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63074 { (exit 1); exit 1; }; }
63076 cat >conftest.$ac_ext <<_ACEOF
63077 /* confdefs.h. */
63078 _ACEOF
63079 cat confdefs.h >>conftest.$ac_ext
63080 cat >>conftest.$ac_ext <<_ACEOF
63081 /* end confdefs.h. */
63082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63084 #define $ac_func innocuous_$ac_func
63086 /* System header to define __stub macros and hopefully few prototypes,
63087 which can conflict with char $ac_func (); below.
63088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63089 <limits.h> exists even on freestanding compilers. */
63091 #ifdef __STDC__
63092 # include <limits.h>
63093 #else
63094 # include <assert.h>
63095 #endif
63097 #undef $ac_func
63099 /* Override any gcc2 internal prototype to avoid an error. */
63100 #ifdef __cplusplus
63101 extern "C"
63103 #endif
63104 /* We use char because int might match the return type of a gcc2
63105 builtin and then its argument prototype would still apply. */
63106 char $ac_func ();
63107 /* The GNU C library defines this for functions which it implements
63108 to always fail with ENOSYS. Some functions are actually named
63109 something starting with __ and the normal name is an alias. */
63110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63111 choke me
63112 #else
63113 char (*f) () = $ac_func;
63114 #endif
63115 #ifdef __cplusplus
63117 #endif
63120 main ()
63122 return f != $ac_func;
63124 return 0;
63126 _ACEOF
63127 rm -f conftest.$ac_objext conftest$ac_exeext
63128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63129 (eval $ac_link) 2>conftest.er1
63130 ac_status=$?
63131 grep -v '^ *+' conftest.er1 >conftest.err
63132 rm -f conftest.er1
63133 cat conftest.err >&5
63134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63135 (exit $ac_status); } &&
63136 { ac_try='test -z "$ac_c_werror_flag"
63137 || test ! -s conftest.err'
63138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63139 (eval $ac_try) 2>&5
63140 ac_status=$?
63141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63142 (exit $ac_status); }; } &&
63143 { ac_try='test -s conftest$ac_exeext'
63144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63145 (eval $ac_try) 2>&5
63146 ac_status=$?
63147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63148 (exit $ac_status); }; }; then
63149 eval "$as_ac_var=yes"
63150 else
63151 echo "$as_me: failed program was:" >&5
63152 sed 's/^/| /' conftest.$ac_ext >&5
63154 eval "$as_ac_var=no"
63156 rm -f conftest.err conftest.$ac_objext \
63157 conftest$ac_exeext conftest.$ac_ext
63159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63161 if test `eval echo '${'$as_ac_var'}'` = yes; then
63162 cat >>confdefs.h <<_ACEOF
63163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63164 _ACEOF
63167 done
63169 else
63171 echo "$as_me:$LINENO: checking for _expf declaration" >&5
63172 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
63173 if test x${glibcxx_cv_func__expf_use+set} != xset; then
63174 if test "${glibcxx_cv_func__expf_use+set}" = set; then
63175 echo $ECHO_N "(cached) $ECHO_C" >&6
63176 else
63180 ac_ext=cc
63181 ac_cpp='$CXXCPP $CPPFLAGS'
63182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63186 cat >conftest.$ac_ext <<_ACEOF
63187 /* confdefs.h. */
63188 _ACEOF
63189 cat confdefs.h >>conftest.$ac_ext
63190 cat >>conftest.$ac_ext <<_ACEOF
63191 /* end confdefs.h. */
63192 #include <math.h>
63193 #ifdef HAVE_IEEEFP_H
63194 #include <ieeefp.h>
63195 #endif
63198 main ()
63200 _expf(0);
63202 return 0;
63204 _ACEOF
63205 rm -f conftest.$ac_objext
63206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63207 (eval $ac_compile) 2>conftest.er1
63208 ac_status=$?
63209 grep -v '^ *+' conftest.er1 >conftest.err
63210 rm -f conftest.er1
63211 cat conftest.err >&5
63212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63213 (exit $ac_status); } &&
63214 { ac_try='test -z "$ac_cxx_werror_flag"
63215 || test ! -s conftest.err'
63216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63217 (eval $ac_try) 2>&5
63218 ac_status=$?
63219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63220 (exit $ac_status); }; } &&
63221 { ac_try='test -s conftest.$ac_objext'
63222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63223 (eval $ac_try) 2>&5
63224 ac_status=$?
63225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63226 (exit $ac_status); }; }; then
63227 glibcxx_cv_func__expf_use=yes
63228 else
63229 echo "$as_me: failed program was:" >&5
63230 sed 's/^/| /' conftest.$ac_ext >&5
63232 glibcxx_cv_func__expf_use=no
63234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63235 ac_ext=c
63236 ac_cpp='$CPP $CPPFLAGS'
63237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
63246 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
63248 if test x$glibcxx_cv_func__expf_use = x"yes"; then
63250 for ac_func in _expf
63252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63253 echo "$as_me:$LINENO: checking for $ac_func" >&5
63254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63255 if eval "test \"\${$as_ac_var+set}\" = set"; then
63256 echo $ECHO_N "(cached) $ECHO_C" >&6
63257 else
63258 if test x$gcc_no_link = xyes; then
63259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63261 { (exit 1); exit 1; }; }
63263 cat >conftest.$ac_ext <<_ACEOF
63264 /* confdefs.h. */
63265 _ACEOF
63266 cat confdefs.h >>conftest.$ac_ext
63267 cat >>conftest.$ac_ext <<_ACEOF
63268 /* end confdefs.h. */
63269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63271 #define $ac_func innocuous_$ac_func
63273 /* System header to define __stub macros and hopefully few prototypes,
63274 which can conflict with char $ac_func (); below.
63275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63276 <limits.h> exists even on freestanding compilers. */
63278 #ifdef __STDC__
63279 # include <limits.h>
63280 #else
63281 # include <assert.h>
63282 #endif
63284 #undef $ac_func
63286 /* Override any gcc2 internal prototype to avoid an error. */
63287 #ifdef __cplusplus
63288 extern "C"
63290 #endif
63291 /* We use char because int might match the return type of a gcc2
63292 builtin and then its argument prototype would still apply. */
63293 char $ac_func ();
63294 /* The GNU C library defines this for functions which it implements
63295 to always fail with ENOSYS. Some functions are actually named
63296 something starting with __ and the normal name is an alias. */
63297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63298 choke me
63299 #else
63300 char (*f) () = $ac_func;
63301 #endif
63302 #ifdef __cplusplus
63304 #endif
63307 main ()
63309 return f != $ac_func;
63311 return 0;
63313 _ACEOF
63314 rm -f conftest.$ac_objext conftest$ac_exeext
63315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63316 (eval $ac_link) 2>conftest.er1
63317 ac_status=$?
63318 grep -v '^ *+' conftest.er1 >conftest.err
63319 rm -f conftest.er1
63320 cat conftest.err >&5
63321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63322 (exit $ac_status); } &&
63323 { ac_try='test -z "$ac_c_werror_flag"
63324 || test ! -s conftest.err'
63325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63326 (eval $ac_try) 2>&5
63327 ac_status=$?
63328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63329 (exit $ac_status); }; } &&
63330 { ac_try='test -s conftest$ac_exeext'
63331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332 (eval $ac_try) 2>&5
63333 ac_status=$?
63334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335 (exit $ac_status); }; }; then
63336 eval "$as_ac_var=yes"
63337 else
63338 echo "$as_me: failed program was:" >&5
63339 sed 's/^/| /' conftest.$ac_ext >&5
63341 eval "$as_ac_var=no"
63343 rm -f conftest.err conftest.$ac_objext \
63344 conftest$ac_exeext conftest.$ac_ext
63346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63348 if test `eval echo '${'$as_ac_var'}'` = yes; then
63349 cat >>confdefs.h <<_ACEOF
63350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63351 _ACEOF
63354 done
63364 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
63365 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
63366 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
63367 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
63368 echo $ECHO_N "(cached) $ECHO_C" >&6
63369 else
63373 ac_ext=cc
63374 ac_cpp='$CXXCPP $CPPFLAGS'
63375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63379 cat >conftest.$ac_ext <<_ACEOF
63380 /* confdefs.h. */
63381 _ACEOF
63382 cat confdefs.h >>conftest.$ac_ext
63383 cat >>conftest.$ac_ext <<_ACEOF
63384 /* end confdefs.h. */
63385 #include <math.h>
63386 #ifdef HAVE_IEEEFP_H
63387 #include <ieeefp.h>
63388 #endif
63391 main ()
63393 isnanf(0);
63395 return 0;
63397 _ACEOF
63398 rm -f conftest.$ac_objext
63399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63400 (eval $ac_compile) 2>conftest.er1
63401 ac_status=$?
63402 grep -v '^ *+' conftest.er1 >conftest.err
63403 rm -f conftest.er1
63404 cat conftest.err >&5
63405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63406 (exit $ac_status); } &&
63407 { ac_try='test -z "$ac_cxx_werror_flag"
63408 || test ! -s conftest.err'
63409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63410 (eval $ac_try) 2>&5
63411 ac_status=$?
63412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63413 (exit $ac_status); }; } &&
63414 { ac_try='test -s conftest.$ac_objext'
63415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63416 (eval $ac_try) 2>&5
63417 ac_status=$?
63418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419 (exit $ac_status); }; }; then
63420 glibcxx_cv_func_isnanf_use=yes
63421 else
63422 echo "$as_me: failed program was:" >&5
63423 sed 's/^/| /' conftest.$ac_ext >&5
63425 glibcxx_cv_func_isnanf_use=no
63427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63428 ac_ext=c
63429 ac_cpp='$CPP $CPPFLAGS'
63430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
63439 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
63441 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
63443 for ac_func in isnanf
63445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63446 echo "$as_me:$LINENO: checking for $ac_func" >&5
63447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63448 if eval "test \"\${$as_ac_var+set}\" = set"; then
63449 echo $ECHO_N "(cached) $ECHO_C" >&6
63450 else
63451 if test x$gcc_no_link = xyes; then
63452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63454 { (exit 1); exit 1; }; }
63456 cat >conftest.$ac_ext <<_ACEOF
63457 /* confdefs.h. */
63458 _ACEOF
63459 cat confdefs.h >>conftest.$ac_ext
63460 cat >>conftest.$ac_ext <<_ACEOF
63461 /* end confdefs.h. */
63462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63464 #define $ac_func innocuous_$ac_func
63466 /* System header to define __stub macros and hopefully few prototypes,
63467 which can conflict with char $ac_func (); below.
63468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63469 <limits.h> exists even on freestanding compilers. */
63471 #ifdef __STDC__
63472 # include <limits.h>
63473 #else
63474 # include <assert.h>
63475 #endif
63477 #undef $ac_func
63479 /* Override any gcc2 internal prototype to avoid an error. */
63480 #ifdef __cplusplus
63481 extern "C"
63483 #endif
63484 /* We use char because int might match the return type of a gcc2
63485 builtin and then its argument prototype would still apply. */
63486 char $ac_func ();
63487 /* The GNU C library defines this for functions which it implements
63488 to always fail with ENOSYS. Some functions are actually named
63489 something starting with __ and the normal name is an alias. */
63490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63491 choke me
63492 #else
63493 char (*f) () = $ac_func;
63494 #endif
63495 #ifdef __cplusplus
63497 #endif
63500 main ()
63502 return f != $ac_func;
63504 return 0;
63506 _ACEOF
63507 rm -f conftest.$ac_objext conftest$ac_exeext
63508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63509 (eval $ac_link) 2>conftest.er1
63510 ac_status=$?
63511 grep -v '^ *+' conftest.er1 >conftest.err
63512 rm -f conftest.er1
63513 cat conftest.err >&5
63514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63515 (exit $ac_status); } &&
63516 { ac_try='test -z "$ac_c_werror_flag"
63517 || test ! -s conftest.err'
63518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63519 (eval $ac_try) 2>&5
63520 ac_status=$?
63521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63522 (exit $ac_status); }; } &&
63523 { ac_try='test -s conftest$ac_exeext'
63524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63525 (eval $ac_try) 2>&5
63526 ac_status=$?
63527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63528 (exit $ac_status); }; }; then
63529 eval "$as_ac_var=yes"
63530 else
63531 echo "$as_me: failed program was:" >&5
63532 sed 's/^/| /' conftest.$ac_ext >&5
63534 eval "$as_ac_var=no"
63536 rm -f conftest.err conftest.$ac_objext \
63537 conftest$ac_exeext conftest.$ac_ext
63539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63541 if test `eval echo '${'$as_ac_var'}'` = yes; then
63542 cat >>confdefs.h <<_ACEOF
63543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63544 _ACEOF
63547 done
63549 else
63551 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
63552 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
63553 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
63554 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
63555 echo $ECHO_N "(cached) $ECHO_C" >&6
63556 else
63560 ac_ext=cc
63561 ac_cpp='$CXXCPP $CPPFLAGS'
63562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63566 cat >conftest.$ac_ext <<_ACEOF
63567 /* confdefs.h. */
63568 _ACEOF
63569 cat confdefs.h >>conftest.$ac_ext
63570 cat >>conftest.$ac_ext <<_ACEOF
63571 /* end confdefs.h. */
63572 #include <math.h>
63573 #ifdef HAVE_IEEEFP_H
63574 #include <ieeefp.h>
63575 #endif
63578 main ()
63580 _isnanf(0);
63582 return 0;
63584 _ACEOF
63585 rm -f conftest.$ac_objext
63586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63587 (eval $ac_compile) 2>conftest.er1
63588 ac_status=$?
63589 grep -v '^ *+' conftest.er1 >conftest.err
63590 rm -f conftest.er1
63591 cat conftest.err >&5
63592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63593 (exit $ac_status); } &&
63594 { ac_try='test -z "$ac_cxx_werror_flag"
63595 || test ! -s conftest.err'
63596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63597 (eval $ac_try) 2>&5
63598 ac_status=$?
63599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63600 (exit $ac_status); }; } &&
63601 { ac_try='test -s conftest.$ac_objext'
63602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63603 (eval $ac_try) 2>&5
63604 ac_status=$?
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); }; }; then
63607 glibcxx_cv_func__isnanf_use=yes
63608 else
63609 echo "$as_me: failed program was:" >&5
63610 sed 's/^/| /' conftest.$ac_ext >&5
63612 glibcxx_cv_func__isnanf_use=no
63614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63615 ac_ext=c
63616 ac_cpp='$CPP $CPPFLAGS'
63617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
63626 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
63628 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
63630 for ac_func in _isnanf
63632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63633 echo "$as_me:$LINENO: checking for $ac_func" >&5
63634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63635 if eval "test \"\${$as_ac_var+set}\" = set"; then
63636 echo $ECHO_N "(cached) $ECHO_C" >&6
63637 else
63638 if test x$gcc_no_link = xyes; then
63639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63641 { (exit 1); exit 1; }; }
63643 cat >conftest.$ac_ext <<_ACEOF
63644 /* confdefs.h. */
63645 _ACEOF
63646 cat confdefs.h >>conftest.$ac_ext
63647 cat >>conftest.$ac_ext <<_ACEOF
63648 /* end confdefs.h. */
63649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63651 #define $ac_func innocuous_$ac_func
63653 /* System header to define __stub macros and hopefully few prototypes,
63654 which can conflict with char $ac_func (); below.
63655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63656 <limits.h> exists even on freestanding compilers. */
63658 #ifdef __STDC__
63659 # include <limits.h>
63660 #else
63661 # include <assert.h>
63662 #endif
63664 #undef $ac_func
63666 /* Override any gcc2 internal prototype to avoid an error. */
63667 #ifdef __cplusplus
63668 extern "C"
63670 #endif
63671 /* We use char because int might match the return type of a gcc2
63672 builtin and then its argument prototype would still apply. */
63673 char $ac_func ();
63674 /* The GNU C library defines this for functions which it implements
63675 to always fail with ENOSYS. Some functions are actually named
63676 something starting with __ and the normal name is an alias. */
63677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63678 choke me
63679 #else
63680 char (*f) () = $ac_func;
63681 #endif
63682 #ifdef __cplusplus
63684 #endif
63687 main ()
63689 return f != $ac_func;
63691 return 0;
63693 _ACEOF
63694 rm -f conftest.$ac_objext conftest$ac_exeext
63695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63696 (eval $ac_link) 2>conftest.er1
63697 ac_status=$?
63698 grep -v '^ *+' conftest.er1 >conftest.err
63699 rm -f conftest.er1
63700 cat conftest.err >&5
63701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63702 (exit $ac_status); } &&
63703 { ac_try='test -z "$ac_c_werror_flag"
63704 || test ! -s conftest.err'
63705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63706 (eval $ac_try) 2>&5
63707 ac_status=$?
63708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63709 (exit $ac_status); }; } &&
63710 { ac_try='test -s conftest$ac_exeext'
63711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63712 (eval $ac_try) 2>&5
63713 ac_status=$?
63714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63715 (exit $ac_status); }; }; then
63716 eval "$as_ac_var=yes"
63717 else
63718 echo "$as_me: failed program was:" >&5
63719 sed 's/^/| /' conftest.$ac_ext >&5
63721 eval "$as_ac_var=no"
63723 rm -f conftest.err conftest.$ac_objext \
63724 conftest$ac_exeext conftest.$ac_ext
63726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63728 if test `eval echo '${'$as_ac_var'}'` = yes; then
63729 cat >>confdefs.h <<_ACEOF
63730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63731 _ACEOF
63734 done
63744 echo "$as_me:$LINENO: checking for isinff declaration" >&5
63745 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
63746 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
63747 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
63748 echo $ECHO_N "(cached) $ECHO_C" >&6
63749 else
63753 ac_ext=cc
63754 ac_cpp='$CXXCPP $CPPFLAGS'
63755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63759 cat >conftest.$ac_ext <<_ACEOF
63760 /* confdefs.h. */
63761 _ACEOF
63762 cat confdefs.h >>conftest.$ac_ext
63763 cat >>conftest.$ac_ext <<_ACEOF
63764 /* end confdefs.h. */
63765 #include <math.h>
63766 #ifdef HAVE_IEEEFP_H
63767 #include <ieeefp.h>
63768 #endif
63771 main ()
63773 isinff(0);
63775 return 0;
63777 _ACEOF
63778 rm -f conftest.$ac_objext
63779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63780 (eval $ac_compile) 2>conftest.er1
63781 ac_status=$?
63782 grep -v '^ *+' conftest.er1 >conftest.err
63783 rm -f conftest.er1
63784 cat conftest.err >&5
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); } &&
63787 { ac_try='test -z "$ac_cxx_werror_flag"
63788 || test ! -s conftest.err'
63789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63790 (eval $ac_try) 2>&5
63791 ac_status=$?
63792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793 (exit $ac_status); }; } &&
63794 { ac_try='test -s conftest.$ac_objext'
63795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63796 (eval $ac_try) 2>&5
63797 ac_status=$?
63798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799 (exit $ac_status); }; }; then
63800 glibcxx_cv_func_isinff_use=yes
63801 else
63802 echo "$as_me: failed program was:" >&5
63803 sed 's/^/| /' conftest.$ac_ext >&5
63805 glibcxx_cv_func_isinff_use=no
63807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63808 ac_ext=c
63809 ac_cpp='$CPP $CPPFLAGS'
63810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
63819 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
63821 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
63823 for ac_func in isinff
63825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63826 echo "$as_me:$LINENO: checking for $ac_func" >&5
63827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63828 if eval "test \"\${$as_ac_var+set}\" = set"; then
63829 echo $ECHO_N "(cached) $ECHO_C" >&6
63830 else
63831 if test x$gcc_no_link = xyes; then
63832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63834 { (exit 1); exit 1; }; }
63836 cat >conftest.$ac_ext <<_ACEOF
63837 /* confdefs.h. */
63838 _ACEOF
63839 cat confdefs.h >>conftest.$ac_ext
63840 cat >>conftest.$ac_ext <<_ACEOF
63841 /* end confdefs.h. */
63842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63844 #define $ac_func innocuous_$ac_func
63846 /* System header to define __stub macros and hopefully few prototypes,
63847 which can conflict with char $ac_func (); below.
63848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63849 <limits.h> exists even on freestanding compilers. */
63851 #ifdef __STDC__
63852 # include <limits.h>
63853 #else
63854 # include <assert.h>
63855 #endif
63857 #undef $ac_func
63859 /* Override any gcc2 internal prototype to avoid an error. */
63860 #ifdef __cplusplus
63861 extern "C"
63863 #endif
63864 /* We use char because int might match the return type of a gcc2
63865 builtin and then its argument prototype would still apply. */
63866 char $ac_func ();
63867 /* The GNU C library defines this for functions which it implements
63868 to always fail with ENOSYS. Some functions are actually named
63869 something starting with __ and the normal name is an alias. */
63870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63871 choke me
63872 #else
63873 char (*f) () = $ac_func;
63874 #endif
63875 #ifdef __cplusplus
63877 #endif
63880 main ()
63882 return f != $ac_func;
63884 return 0;
63886 _ACEOF
63887 rm -f conftest.$ac_objext conftest$ac_exeext
63888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63889 (eval $ac_link) 2>conftest.er1
63890 ac_status=$?
63891 grep -v '^ *+' conftest.er1 >conftest.err
63892 rm -f conftest.er1
63893 cat conftest.err >&5
63894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63895 (exit $ac_status); } &&
63896 { ac_try='test -z "$ac_c_werror_flag"
63897 || test ! -s conftest.err'
63898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63899 (eval $ac_try) 2>&5
63900 ac_status=$?
63901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63902 (exit $ac_status); }; } &&
63903 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
63909 eval "$as_ac_var=yes"
63910 else
63911 echo "$as_me: failed program was:" >&5
63912 sed 's/^/| /' conftest.$ac_ext >&5
63914 eval "$as_ac_var=no"
63916 rm -f conftest.err conftest.$ac_objext \
63917 conftest$ac_exeext conftest.$ac_ext
63919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63921 if test `eval echo '${'$as_ac_var'}'` = yes; then
63922 cat >>confdefs.h <<_ACEOF
63923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63924 _ACEOF
63927 done
63929 else
63931 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
63932 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
63933 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
63934 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
63935 echo $ECHO_N "(cached) $ECHO_C" >&6
63936 else
63940 ac_ext=cc
63941 ac_cpp='$CXXCPP $CPPFLAGS'
63942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63946 cat >conftest.$ac_ext <<_ACEOF
63947 /* confdefs.h. */
63948 _ACEOF
63949 cat confdefs.h >>conftest.$ac_ext
63950 cat >>conftest.$ac_ext <<_ACEOF
63951 /* end confdefs.h. */
63952 #include <math.h>
63953 #ifdef HAVE_IEEEFP_H
63954 #include <ieeefp.h>
63955 #endif
63958 main ()
63960 _isinff(0);
63962 return 0;
63964 _ACEOF
63965 rm -f conftest.$ac_objext
63966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63967 (eval $ac_compile) 2>conftest.er1
63968 ac_status=$?
63969 grep -v '^ *+' conftest.er1 >conftest.err
63970 rm -f conftest.er1
63971 cat conftest.err >&5
63972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63973 (exit $ac_status); } &&
63974 { ac_try='test -z "$ac_cxx_werror_flag"
63975 || test ! -s conftest.err'
63976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63977 (eval $ac_try) 2>&5
63978 ac_status=$?
63979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63980 (exit $ac_status); }; } &&
63981 { ac_try='test -s conftest.$ac_objext'
63982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63983 (eval $ac_try) 2>&5
63984 ac_status=$?
63985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63986 (exit $ac_status); }; }; then
63987 glibcxx_cv_func__isinff_use=yes
63988 else
63989 echo "$as_me: failed program was:" >&5
63990 sed 's/^/| /' conftest.$ac_ext >&5
63992 glibcxx_cv_func__isinff_use=no
63994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63995 ac_ext=c
63996 ac_cpp='$CPP $CPPFLAGS'
63997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
64006 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
64008 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
64010 for ac_func in _isinff
64012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64013 echo "$as_me:$LINENO: checking for $ac_func" >&5
64014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64015 if eval "test \"\${$as_ac_var+set}\" = set"; then
64016 echo $ECHO_N "(cached) $ECHO_C" >&6
64017 else
64018 if test x$gcc_no_link = xyes; then
64019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64021 { (exit 1); exit 1; }; }
64023 cat >conftest.$ac_ext <<_ACEOF
64024 /* confdefs.h. */
64025 _ACEOF
64026 cat confdefs.h >>conftest.$ac_ext
64027 cat >>conftest.$ac_ext <<_ACEOF
64028 /* end confdefs.h. */
64029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64031 #define $ac_func innocuous_$ac_func
64033 /* System header to define __stub macros and hopefully few prototypes,
64034 which can conflict with char $ac_func (); below.
64035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64036 <limits.h> exists even on freestanding compilers. */
64038 #ifdef __STDC__
64039 # include <limits.h>
64040 #else
64041 # include <assert.h>
64042 #endif
64044 #undef $ac_func
64046 /* Override any gcc2 internal prototype to avoid an error. */
64047 #ifdef __cplusplus
64048 extern "C"
64050 #endif
64051 /* We use char because int might match the return type of a gcc2
64052 builtin and then its argument prototype would still apply. */
64053 char $ac_func ();
64054 /* The GNU C library defines this for functions which it implements
64055 to always fail with ENOSYS. Some functions are actually named
64056 something starting with __ and the normal name is an alias. */
64057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64058 choke me
64059 #else
64060 char (*f) () = $ac_func;
64061 #endif
64062 #ifdef __cplusplus
64064 #endif
64067 main ()
64069 return f != $ac_func;
64071 return 0;
64073 _ACEOF
64074 rm -f conftest.$ac_objext conftest$ac_exeext
64075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64076 (eval $ac_link) 2>conftest.er1
64077 ac_status=$?
64078 grep -v '^ *+' conftest.er1 >conftest.err
64079 rm -f conftest.er1
64080 cat conftest.err >&5
64081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64082 (exit $ac_status); } &&
64083 { ac_try='test -z "$ac_c_werror_flag"
64084 || test ! -s conftest.err'
64085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64086 (eval $ac_try) 2>&5
64087 ac_status=$?
64088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64089 (exit $ac_status); }; } &&
64090 { ac_try='test -s conftest$ac_exeext'
64091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64092 (eval $ac_try) 2>&5
64093 ac_status=$?
64094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64095 (exit $ac_status); }; }; then
64096 eval "$as_ac_var=yes"
64097 else
64098 echo "$as_me: failed program was:" >&5
64099 sed 's/^/| /' conftest.$ac_ext >&5
64101 eval "$as_ac_var=no"
64103 rm -f conftest.err conftest.$ac_objext \
64104 conftest$ac_exeext conftest.$ac_ext
64106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64108 if test `eval echo '${'$as_ac_var'}'` = yes; then
64109 cat >>confdefs.h <<_ACEOF
64110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64111 _ACEOF
64114 done
64124 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
64125 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
64126 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64127 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
64128 echo $ECHO_N "(cached) $ECHO_C" >&6
64129 else
64133 ac_ext=cc
64134 ac_cpp='$CXXCPP $CPPFLAGS'
64135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64139 cat >conftest.$ac_ext <<_ACEOF
64140 /* confdefs.h. */
64141 _ACEOF
64142 cat confdefs.h >>conftest.$ac_ext
64143 cat >>conftest.$ac_ext <<_ACEOF
64144 /* end confdefs.h. */
64145 #include <math.h>
64147 main ()
64149 atan2f(0, 0);
64151 return 0;
64153 _ACEOF
64154 rm -f conftest.$ac_objext
64155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64156 (eval $ac_compile) 2>conftest.er1
64157 ac_status=$?
64158 grep -v '^ *+' conftest.er1 >conftest.err
64159 rm -f conftest.er1
64160 cat conftest.err >&5
64161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64162 (exit $ac_status); } &&
64163 { ac_try='test -z "$ac_cxx_werror_flag"
64164 || test ! -s conftest.err'
64165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64166 (eval $ac_try) 2>&5
64167 ac_status=$?
64168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64169 (exit $ac_status); }; } &&
64170 { ac_try='test -s conftest.$ac_objext'
64171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64172 (eval $ac_try) 2>&5
64173 ac_status=$?
64174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64175 (exit $ac_status); }; }; then
64176 glibcxx_cv_func_atan2f_use=yes
64177 else
64178 echo "$as_me: failed program was:" >&5
64179 sed 's/^/| /' conftest.$ac_ext >&5
64181 glibcxx_cv_func_atan2f_use=no
64183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64184 ac_ext=c
64185 ac_cpp='$CPP $CPPFLAGS'
64186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
64195 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
64197 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64199 for ac_func in atan2f
64201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64202 echo "$as_me:$LINENO: checking for $ac_func" >&5
64203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64204 if eval "test \"\${$as_ac_var+set}\" = set"; then
64205 echo $ECHO_N "(cached) $ECHO_C" >&6
64206 else
64207 if test x$gcc_no_link = xyes; then
64208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64210 { (exit 1); exit 1; }; }
64212 cat >conftest.$ac_ext <<_ACEOF
64213 /* confdefs.h. */
64214 _ACEOF
64215 cat confdefs.h >>conftest.$ac_ext
64216 cat >>conftest.$ac_ext <<_ACEOF
64217 /* end confdefs.h. */
64218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64220 #define $ac_func innocuous_$ac_func
64222 /* System header to define __stub macros and hopefully few prototypes,
64223 which can conflict with char $ac_func (); below.
64224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64225 <limits.h> exists even on freestanding compilers. */
64227 #ifdef __STDC__
64228 # include <limits.h>
64229 #else
64230 # include <assert.h>
64231 #endif
64233 #undef $ac_func
64235 /* Override any gcc2 internal prototype to avoid an error. */
64236 #ifdef __cplusplus
64237 extern "C"
64239 #endif
64240 /* We use char because int might match the return type of a gcc2
64241 builtin and then its argument prototype would still apply. */
64242 char $ac_func ();
64243 /* The GNU C library defines this for functions which it implements
64244 to always fail with ENOSYS. Some functions are actually named
64245 something starting with __ and the normal name is an alias. */
64246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64247 choke me
64248 #else
64249 char (*f) () = $ac_func;
64250 #endif
64251 #ifdef __cplusplus
64253 #endif
64256 main ()
64258 return f != $ac_func;
64260 return 0;
64262 _ACEOF
64263 rm -f conftest.$ac_objext conftest$ac_exeext
64264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64265 (eval $ac_link) 2>conftest.er1
64266 ac_status=$?
64267 grep -v '^ *+' conftest.er1 >conftest.err
64268 rm -f conftest.er1
64269 cat conftest.err >&5
64270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64271 (exit $ac_status); } &&
64272 { ac_try='test -z "$ac_c_werror_flag"
64273 || test ! -s conftest.err'
64274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64275 (eval $ac_try) 2>&5
64276 ac_status=$?
64277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64278 (exit $ac_status); }; } &&
64279 { ac_try='test -s conftest$ac_exeext'
64280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64281 (eval $ac_try) 2>&5
64282 ac_status=$?
64283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64284 (exit $ac_status); }; }; then
64285 eval "$as_ac_var=yes"
64286 else
64287 echo "$as_me: failed program was:" >&5
64288 sed 's/^/| /' conftest.$ac_ext >&5
64290 eval "$as_ac_var=no"
64292 rm -f conftest.err conftest.$ac_objext \
64293 conftest$ac_exeext conftest.$ac_ext
64295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64297 if test `eval echo '${'$as_ac_var'}'` = yes; then
64298 cat >>confdefs.h <<_ACEOF
64299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64300 _ACEOF
64303 done
64305 else
64307 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
64308 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
64309 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64310 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
64311 echo $ECHO_N "(cached) $ECHO_C" >&6
64312 else
64316 ac_ext=cc
64317 ac_cpp='$CXXCPP $CPPFLAGS'
64318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64322 cat >conftest.$ac_ext <<_ACEOF
64323 /* confdefs.h. */
64324 _ACEOF
64325 cat confdefs.h >>conftest.$ac_ext
64326 cat >>conftest.$ac_ext <<_ACEOF
64327 /* end confdefs.h. */
64328 #include <math.h>
64330 main ()
64332 _atan2f(0, 0);
64334 return 0;
64336 _ACEOF
64337 rm -f conftest.$ac_objext
64338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64339 (eval $ac_compile) 2>conftest.er1
64340 ac_status=$?
64341 grep -v '^ *+' conftest.er1 >conftest.err
64342 rm -f conftest.er1
64343 cat conftest.err >&5
64344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64345 (exit $ac_status); } &&
64346 { ac_try='test -z "$ac_cxx_werror_flag"
64347 || test ! -s conftest.err'
64348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64349 (eval $ac_try) 2>&5
64350 ac_status=$?
64351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64352 (exit $ac_status); }; } &&
64353 { ac_try='test -s conftest.$ac_objext'
64354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64355 (eval $ac_try) 2>&5
64356 ac_status=$?
64357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358 (exit $ac_status); }; }; then
64359 glibcxx_cv_func__atan2f_use=yes
64360 else
64361 echo "$as_me: failed program was:" >&5
64362 sed 's/^/| /' conftest.$ac_ext >&5
64364 glibcxx_cv_func__atan2f_use=no
64366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64367 ac_ext=c
64368 ac_cpp='$CPP $CPPFLAGS'
64369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
64378 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
64380 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64382 for ac_func in _atan2f
64384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64385 echo "$as_me:$LINENO: checking for $ac_func" >&5
64386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64387 if eval "test \"\${$as_ac_var+set}\" = set"; then
64388 echo $ECHO_N "(cached) $ECHO_C" >&6
64389 else
64390 if test x$gcc_no_link = xyes; then
64391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64393 { (exit 1); exit 1; }; }
64395 cat >conftest.$ac_ext <<_ACEOF
64396 /* confdefs.h. */
64397 _ACEOF
64398 cat confdefs.h >>conftest.$ac_ext
64399 cat >>conftest.$ac_ext <<_ACEOF
64400 /* end confdefs.h. */
64401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64403 #define $ac_func innocuous_$ac_func
64405 /* System header to define __stub macros and hopefully few prototypes,
64406 which can conflict with char $ac_func (); below.
64407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64408 <limits.h> exists even on freestanding compilers. */
64410 #ifdef __STDC__
64411 # include <limits.h>
64412 #else
64413 # include <assert.h>
64414 #endif
64416 #undef $ac_func
64418 /* Override any gcc2 internal prototype to avoid an error. */
64419 #ifdef __cplusplus
64420 extern "C"
64422 #endif
64423 /* We use char because int might match the return type of a gcc2
64424 builtin and then its argument prototype would still apply. */
64425 char $ac_func ();
64426 /* The GNU C library defines this for functions which it implements
64427 to always fail with ENOSYS. Some functions are actually named
64428 something starting with __ and the normal name is an alias. */
64429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64430 choke me
64431 #else
64432 char (*f) () = $ac_func;
64433 #endif
64434 #ifdef __cplusplus
64436 #endif
64439 main ()
64441 return f != $ac_func;
64443 return 0;
64445 _ACEOF
64446 rm -f conftest.$ac_objext conftest$ac_exeext
64447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64448 (eval $ac_link) 2>conftest.er1
64449 ac_status=$?
64450 grep -v '^ *+' conftest.er1 >conftest.err
64451 rm -f conftest.er1
64452 cat conftest.err >&5
64453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64454 (exit $ac_status); } &&
64455 { ac_try='test -z "$ac_c_werror_flag"
64456 || test ! -s conftest.err'
64457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64458 (eval $ac_try) 2>&5
64459 ac_status=$?
64460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64461 (exit $ac_status); }; } &&
64462 { ac_try='test -s conftest$ac_exeext'
64463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64464 (eval $ac_try) 2>&5
64465 ac_status=$?
64466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64467 (exit $ac_status); }; }; then
64468 eval "$as_ac_var=yes"
64469 else
64470 echo "$as_me: failed program was:" >&5
64471 sed 's/^/| /' conftest.$ac_ext >&5
64473 eval "$as_ac_var=no"
64475 rm -f conftest.err conftest.$ac_objext \
64476 conftest$ac_exeext conftest.$ac_ext
64478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64480 if test `eval echo '${'$as_ac_var'}'` = yes; then
64481 cat >>confdefs.h <<_ACEOF
64482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64483 _ACEOF
64486 done
64496 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
64497 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
64498 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64499 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
64500 echo $ECHO_N "(cached) $ECHO_C" >&6
64501 else
64505 ac_ext=cc
64506 ac_cpp='$CXXCPP $CPPFLAGS'
64507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64511 cat >conftest.$ac_ext <<_ACEOF
64512 /* confdefs.h. */
64513 _ACEOF
64514 cat confdefs.h >>conftest.$ac_ext
64515 cat >>conftest.$ac_ext <<_ACEOF
64516 /* end confdefs.h. */
64517 #include <math.h>
64518 #ifdef HAVE_IEEEFP_H
64519 #include <ieeefp.h>
64520 #endif
64523 main ()
64525 fabsf(0);
64527 return 0;
64529 _ACEOF
64530 rm -f conftest.$ac_objext
64531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64532 (eval $ac_compile) 2>conftest.er1
64533 ac_status=$?
64534 grep -v '^ *+' conftest.er1 >conftest.err
64535 rm -f conftest.er1
64536 cat conftest.err >&5
64537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538 (exit $ac_status); } &&
64539 { ac_try='test -z "$ac_cxx_werror_flag"
64540 || test ! -s conftest.err'
64541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64542 (eval $ac_try) 2>&5
64543 ac_status=$?
64544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545 (exit $ac_status); }; } &&
64546 { ac_try='test -s conftest.$ac_objext'
64547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64548 (eval $ac_try) 2>&5
64549 ac_status=$?
64550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551 (exit $ac_status); }; }; then
64552 glibcxx_cv_func_fabsf_use=yes
64553 else
64554 echo "$as_me: failed program was:" >&5
64555 sed 's/^/| /' conftest.$ac_ext >&5
64557 glibcxx_cv_func_fabsf_use=no
64559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
64571 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
64573 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64575 for ac_func in fabsf
64577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64578 echo "$as_me:$LINENO: checking for $ac_func" >&5
64579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64580 if eval "test \"\${$as_ac_var+set}\" = set"; then
64581 echo $ECHO_N "(cached) $ECHO_C" >&6
64582 else
64583 if test x$gcc_no_link = xyes; then
64584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64586 { (exit 1); exit 1; }; }
64588 cat >conftest.$ac_ext <<_ACEOF
64589 /* confdefs.h. */
64590 _ACEOF
64591 cat confdefs.h >>conftest.$ac_ext
64592 cat >>conftest.$ac_ext <<_ACEOF
64593 /* end confdefs.h. */
64594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64596 #define $ac_func innocuous_$ac_func
64598 /* System header to define __stub macros and hopefully few prototypes,
64599 which can conflict with char $ac_func (); below.
64600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64601 <limits.h> exists even on freestanding compilers. */
64603 #ifdef __STDC__
64604 # include <limits.h>
64605 #else
64606 # include <assert.h>
64607 #endif
64609 #undef $ac_func
64611 /* Override any gcc2 internal prototype to avoid an error. */
64612 #ifdef __cplusplus
64613 extern "C"
64615 #endif
64616 /* We use char because int might match the return type of a gcc2
64617 builtin and then its argument prototype would still apply. */
64618 char $ac_func ();
64619 /* The GNU C library defines this for functions which it implements
64620 to always fail with ENOSYS. Some functions are actually named
64621 something starting with __ and the normal name is an alias. */
64622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64623 choke me
64624 #else
64625 char (*f) () = $ac_func;
64626 #endif
64627 #ifdef __cplusplus
64629 #endif
64632 main ()
64634 return f != $ac_func;
64636 return 0;
64638 _ACEOF
64639 rm -f conftest.$ac_objext conftest$ac_exeext
64640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64641 (eval $ac_link) 2>conftest.er1
64642 ac_status=$?
64643 grep -v '^ *+' conftest.er1 >conftest.err
64644 rm -f conftest.er1
64645 cat conftest.err >&5
64646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64647 (exit $ac_status); } &&
64648 { ac_try='test -z "$ac_c_werror_flag"
64649 || test ! -s conftest.err'
64650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64651 (eval $ac_try) 2>&5
64652 ac_status=$?
64653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64654 (exit $ac_status); }; } &&
64655 { ac_try='test -s conftest$ac_exeext'
64656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64657 (eval $ac_try) 2>&5
64658 ac_status=$?
64659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64660 (exit $ac_status); }; }; then
64661 eval "$as_ac_var=yes"
64662 else
64663 echo "$as_me: failed program was:" >&5
64664 sed 's/^/| /' conftest.$ac_ext >&5
64666 eval "$as_ac_var=no"
64668 rm -f conftest.err conftest.$ac_objext \
64669 conftest$ac_exeext conftest.$ac_ext
64671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64673 if test `eval echo '${'$as_ac_var'}'` = yes; then
64674 cat >>confdefs.h <<_ACEOF
64675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64676 _ACEOF
64679 done
64681 else
64683 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
64684 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
64685 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64686 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
64687 echo $ECHO_N "(cached) $ECHO_C" >&6
64688 else
64692 ac_ext=cc
64693 ac_cpp='$CXXCPP $CPPFLAGS'
64694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64698 cat >conftest.$ac_ext <<_ACEOF
64699 /* confdefs.h. */
64700 _ACEOF
64701 cat confdefs.h >>conftest.$ac_ext
64702 cat >>conftest.$ac_ext <<_ACEOF
64703 /* end confdefs.h. */
64704 #include <math.h>
64705 #ifdef HAVE_IEEEFP_H
64706 #include <ieeefp.h>
64707 #endif
64710 main ()
64712 _fabsf(0);
64714 return 0;
64716 _ACEOF
64717 rm -f conftest.$ac_objext
64718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64719 (eval $ac_compile) 2>conftest.er1
64720 ac_status=$?
64721 grep -v '^ *+' conftest.er1 >conftest.err
64722 rm -f conftest.er1
64723 cat conftest.err >&5
64724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64725 (exit $ac_status); } &&
64726 { ac_try='test -z "$ac_cxx_werror_flag"
64727 || test ! -s conftest.err'
64728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64729 (eval $ac_try) 2>&5
64730 ac_status=$?
64731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64732 (exit $ac_status); }; } &&
64733 { ac_try='test -s conftest.$ac_objext'
64734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64735 (eval $ac_try) 2>&5
64736 ac_status=$?
64737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64738 (exit $ac_status); }; }; then
64739 glibcxx_cv_func__fabsf_use=yes
64740 else
64741 echo "$as_me: failed program was:" >&5
64742 sed 's/^/| /' conftest.$ac_ext >&5
64744 glibcxx_cv_func__fabsf_use=no
64746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64747 ac_ext=c
64748 ac_cpp='$CPP $CPPFLAGS'
64749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
64758 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
64760 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64762 for ac_func in _fabsf
64764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64765 echo "$as_me:$LINENO: checking for $ac_func" >&5
64766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64767 if eval "test \"\${$as_ac_var+set}\" = set"; then
64768 echo $ECHO_N "(cached) $ECHO_C" >&6
64769 else
64770 if test x$gcc_no_link = xyes; then
64771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64773 { (exit 1); exit 1; }; }
64775 cat >conftest.$ac_ext <<_ACEOF
64776 /* confdefs.h. */
64777 _ACEOF
64778 cat confdefs.h >>conftest.$ac_ext
64779 cat >>conftest.$ac_ext <<_ACEOF
64780 /* end confdefs.h. */
64781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64783 #define $ac_func innocuous_$ac_func
64785 /* System header to define __stub macros and hopefully few prototypes,
64786 which can conflict with char $ac_func (); below.
64787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64788 <limits.h> exists even on freestanding compilers. */
64790 #ifdef __STDC__
64791 # include <limits.h>
64792 #else
64793 # include <assert.h>
64794 #endif
64796 #undef $ac_func
64798 /* Override any gcc2 internal prototype to avoid an error. */
64799 #ifdef __cplusplus
64800 extern "C"
64802 #endif
64803 /* We use char because int might match the return type of a gcc2
64804 builtin and then its argument prototype would still apply. */
64805 char $ac_func ();
64806 /* The GNU C library defines this for functions which it implements
64807 to always fail with ENOSYS. Some functions are actually named
64808 something starting with __ and the normal name is an alias. */
64809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64810 choke me
64811 #else
64812 char (*f) () = $ac_func;
64813 #endif
64814 #ifdef __cplusplus
64816 #endif
64819 main ()
64821 return f != $ac_func;
64823 return 0;
64825 _ACEOF
64826 rm -f conftest.$ac_objext conftest$ac_exeext
64827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64828 (eval $ac_link) 2>conftest.er1
64829 ac_status=$?
64830 grep -v '^ *+' conftest.er1 >conftest.err
64831 rm -f conftest.er1
64832 cat conftest.err >&5
64833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64834 (exit $ac_status); } &&
64835 { ac_try='test -z "$ac_c_werror_flag"
64836 || test ! -s conftest.err'
64837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64838 (eval $ac_try) 2>&5
64839 ac_status=$?
64840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64841 (exit $ac_status); }; } &&
64842 { ac_try='test -s conftest$ac_exeext'
64843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64844 (eval $ac_try) 2>&5
64845 ac_status=$?
64846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64847 (exit $ac_status); }; }; then
64848 eval "$as_ac_var=yes"
64849 else
64850 echo "$as_me: failed program was:" >&5
64851 sed 's/^/| /' conftest.$ac_ext >&5
64853 eval "$as_ac_var=no"
64855 rm -f conftest.err conftest.$ac_objext \
64856 conftest$ac_exeext conftest.$ac_ext
64858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64860 if test `eval echo '${'$as_ac_var'}'` = yes; then
64861 cat >>confdefs.h <<_ACEOF
64862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64863 _ACEOF
64866 done
64876 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
64877 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
64878 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64879 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
64880 echo $ECHO_N "(cached) $ECHO_C" >&6
64881 else
64885 ac_ext=cc
64886 ac_cpp='$CXXCPP $CPPFLAGS'
64887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64891 cat >conftest.$ac_ext <<_ACEOF
64892 /* confdefs.h. */
64893 _ACEOF
64894 cat confdefs.h >>conftest.$ac_ext
64895 cat >>conftest.$ac_ext <<_ACEOF
64896 /* end confdefs.h. */
64897 #include <math.h>
64899 main ()
64901 fmodf(0, 0);
64903 return 0;
64905 _ACEOF
64906 rm -f conftest.$ac_objext
64907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64908 (eval $ac_compile) 2>conftest.er1
64909 ac_status=$?
64910 grep -v '^ *+' conftest.er1 >conftest.err
64911 rm -f conftest.er1
64912 cat conftest.err >&5
64913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914 (exit $ac_status); } &&
64915 { ac_try='test -z "$ac_cxx_werror_flag"
64916 || test ! -s conftest.err'
64917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64918 (eval $ac_try) 2>&5
64919 ac_status=$?
64920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64921 (exit $ac_status); }; } &&
64922 { ac_try='test -s conftest.$ac_objext'
64923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64924 (eval $ac_try) 2>&5
64925 ac_status=$?
64926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64927 (exit $ac_status); }; }; then
64928 glibcxx_cv_func_fmodf_use=yes
64929 else
64930 echo "$as_me: failed program was:" >&5
64931 sed 's/^/| /' conftest.$ac_ext >&5
64933 glibcxx_cv_func_fmodf_use=no
64935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64936 ac_ext=c
64937 ac_cpp='$CPP $CPPFLAGS'
64938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
64947 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
64949 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
64951 for ac_func in fmodf
64953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64954 echo "$as_me:$LINENO: checking for $ac_func" >&5
64955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64956 if eval "test \"\${$as_ac_var+set}\" = set"; then
64957 echo $ECHO_N "(cached) $ECHO_C" >&6
64958 else
64959 if test x$gcc_no_link = xyes; then
64960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64962 { (exit 1); exit 1; }; }
64964 cat >conftest.$ac_ext <<_ACEOF
64965 /* confdefs.h. */
64966 _ACEOF
64967 cat confdefs.h >>conftest.$ac_ext
64968 cat >>conftest.$ac_ext <<_ACEOF
64969 /* end confdefs.h. */
64970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64972 #define $ac_func innocuous_$ac_func
64974 /* System header to define __stub macros and hopefully few prototypes,
64975 which can conflict with char $ac_func (); below.
64976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64977 <limits.h> exists even on freestanding compilers. */
64979 #ifdef __STDC__
64980 # include <limits.h>
64981 #else
64982 # include <assert.h>
64983 #endif
64985 #undef $ac_func
64987 /* Override any gcc2 internal prototype to avoid an error. */
64988 #ifdef __cplusplus
64989 extern "C"
64991 #endif
64992 /* We use char because int might match the return type of a gcc2
64993 builtin and then its argument prototype would still apply. */
64994 char $ac_func ();
64995 /* The GNU C library defines this for functions which it implements
64996 to always fail with ENOSYS. Some functions are actually named
64997 something starting with __ and the normal name is an alias. */
64998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64999 choke me
65000 #else
65001 char (*f) () = $ac_func;
65002 #endif
65003 #ifdef __cplusplus
65005 #endif
65008 main ()
65010 return f != $ac_func;
65012 return 0;
65014 _ACEOF
65015 rm -f conftest.$ac_objext conftest$ac_exeext
65016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65017 (eval $ac_link) 2>conftest.er1
65018 ac_status=$?
65019 grep -v '^ *+' conftest.er1 >conftest.err
65020 rm -f conftest.er1
65021 cat conftest.err >&5
65022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65023 (exit $ac_status); } &&
65024 { ac_try='test -z "$ac_c_werror_flag"
65025 || test ! -s conftest.err'
65026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65027 (eval $ac_try) 2>&5
65028 ac_status=$?
65029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65030 (exit $ac_status); }; } &&
65031 { ac_try='test -s conftest$ac_exeext'
65032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65033 (eval $ac_try) 2>&5
65034 ac_status=$?
65035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65036 (exit $ac_status); }; }; then
65037 eval "$as_ac_var=yes"
65038 else
65039 echo "$as_me: failed program was:" >&5
65040 sed 's/^/| /' conftest.$ac_ext >&5
65042 eval "$as_ac_var=no"
65044 rm -f conftest.err conftest.$ac_objext \
65045 conftest$ac_exeext conftest.$ac_ext
65047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65049 if test `eval echo '${'$as_ac_var'}'` = yes; then
65050 cat >>confdefs.h <<_ACEOF
65051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65052 _ACEOF
65055 done
65057 else
65059 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
65060 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
65061 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65062 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
65063 echo $ECHO_N "(cached) $ECHO_C" >&6
65064 else
65068 ac_ext=cc
65069 ac_cpp='$CXXCPP $CPPFLAGS'
65070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65074 cat >conftest.$ac_ext <<_ACEOF
65075 /* confdefs.h. */
65076 _ACEOF
65077 cat confdefs.h >>conftest.$ac_ext
65078 cat >>conftest.$ac_ext <<_ACEOF
65079 /* end confdefs.h. */
65080 #include <math.h>
65082 main ()
65084 _fmodf(0, 0);
65086 return 0;
65088 _ACEOF
65089 rm -f conftest.$ac_objext
65090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65091 (eval $ac_compile) 2>conftest.er1
65092 ac_status=$?
65093 grep -v '^ *+' conftest.er1 >conftest.err
65094 rm -f conftest.er1
65095 cat conftest.err >&5
65096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65097 (exit $ac_status); } &&
65098 { ac_try='test -z "$ac_cxx_werror_flag"
65099 || test ! -s conftest.err'
65100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65101 (eval $ac_try) 2>&5
65102 ac_status=$?
65103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65104 (exit $ac_status); }; } &&
65105 { ac_try='test -s conftest.$ac_objext'
65106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65107 (eval $ac_try) 2>&5
65108 ac_status=$?
65109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65110 (exit $ac_status); }; }; then
65111 glibcxx_cv_func__fmodf_use=yes
65112 else
65113 echo "$as_me: failed program was:" >&5
65114 sed 's/^/| /' conftest.$ac_ext >&5
65116 glibcxx_cv_func__fmodf_use=no
65118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65119 ac_ext=c
65120 ac_cpp='$CPP $CPPFLAGS'
65121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
65130 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
65132 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65134 for ac_func in _fmodf
65136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65137 echo "$as_me:$LINENO: checking for $ac_func" >&5
65138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65139 if eval "test \"\${$as_ac_var+set}\" = set"; then
65140 echo $ECHO_N "(cached) $ECHO_C" >&6
65141 else
65142 if test x$gcc_no_link = xyes; then
65143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65145 { (exit 1); exit 1; }; }
65147 cat >conftest.$ac_ext <<_ACEOF
65148 /* confdefs.h. */
65149 _ACEOF
65150 cat confdefs.h >>conftest.$ac_ext
65151 cat >>conftest.$ac_ext <<_ACEOF
65152 /* end confdefs.h. */
65153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65155 #define $ac_func innocuous_$ac_func
65157 /* System header to define __stub macros and hopefully few prototypes,
65158 which can conflict with char $ac_func (); below.
65159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65160 <limits.h> exists even on freestanding compilers. */
65162 #ifdef __STDC__
65163 # include <limits.h>
65164 #else
65165 # include <assert.h>
65166 #endif
65168 #undef $ac_func
65170 /* Override any gcc2 internal prototype to avoid an error. */
65171 #ifdef __cplusplus
65172 extern "C"
65174 #endif
65175 /* We use char because int might match the return type of a gcc2
65176 builtin and then its argument prototype would still apply. */
65177 char $ac_func ();
65178 /* The GNU C library defines this for functions which it implements
65179 to always fail with ENOSYS. Some functions are actually named
65180 something starting with __ and the normal name is an alias. */
65181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65182 choke me
65183 #else
65184 char (*f) () = $ac_func;
65185 #endif
65186 #ifdef __cplusplus
65188 #endif
65191 main ()
65193 return f != $ac_func;
65195 return 0;
65197 _ACEOF
65198 rm -f conftest.$ac_objext conftest$ac_exeext
65199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65200 (eval $ac_link) 2>conftest.er1
65201 ac_status=$?
65202 grep -v '^ *+' conftest.er1 >conftest.err
65203 rm -f conftest.er1
65204 cat conftest.err >&5
65205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65206 (exit $ac_status); } &&
65207 { ac_try='test -z "$ac_c_werror_flag"
65208 || test ! -s conftest.err'
65209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65210 (eval $ac_try) 2>&5
65211 ac_status=$?
65212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65213 (exit $ac_status); }; } &&
65214 { ac_try='test -s conftest$ac_exeext'
65215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65216 (eval $ac_try) 2>&5
65217 ac_status=$?
65218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65219 (exit $ac_status); }; }; then
65220 eval "$as_ac_var=yes"
65221 else
65222 echo "$as_me: failed program was:" >&5
65223 sed 's/^/| /' conftest.$ac_ext >&5
65225 eval "$as_ac_var=no"
65227 rm -f conftest.err conftest.$ac_objext \
65228 conftest$ac_exeext conftest.$ac_ext
65230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65232 if test `eval echo '${'$as_ac_var'}'` = yes; then
65233 cat >>confdefs.h <<_ACEOF
65234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65235 _ACEOF
65238 done
65248 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
65249 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
65250 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65251 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
65252 echo $ECHO_N "(cached) $ECHO_C" >&6
65253 else
65257 ac_ext=cc
65258 ac_cpp='$CXXCPP $CPPFLAGS'
65259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65263 cat >conftest.$ac_ext <<_ACEOF
65264 /* confdefs.h. */
65265 _ACEOF
65266 cat confdefs.h >>conftest.$ac_ext
65267 cat >>conftest.$ac_ext <<_ACEOF
65268 /* end confdefs.h. */
65269 #include <math.h>
65271 main ()
65273 frexpf(0, 0);
65275 return 0;
65277 _ACEOF
65278 rm -f conftest.$ac_objext
65279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65280 (eval $ac_compile) 2>conftest.er1
65281 ac_status=$?
65282 grep -v '^ *+' conftest.er1 >conftest.err
65283 rm -f conftest.er1
65284 cat conftest.err >&5
65285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65286 (exit $ac_status); } &&
65287 { ac_try='test -z "$ac_cxx_werror_flag"
65288 || test ! -s conftest.err'
65289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65290 (eval $ac_try) 2>&5
65291 ac_status=$?
65292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65293 (exit $ac_status); }; } &&
65294 { ac_try='test -s conftest.$ac_objext'
65295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65296 (eval $ac_try) 2>&5
65297 ac_status=$?
65298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65299 (exit $ac_status); }; }; then
65300 glibcxx_cv_func_frexpf_use=yes
65301 else
65302 echo "$as_me: failed program was:" >&5
65303 sed 's/^/| /' conftest.$ac_ext >&5
65305 glibcxx_cv_func_frexpf_use=no
65307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65308 ac_ext=c
65309 ac_cpp='$CPP $CPPFLAGS'
65310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
65319 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
65321 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65323 for ac_func in frexpf
65325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65326 echo "$as_me:$LINENO: checking for $ac_func" >&5
65327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65328 if eval "test \"\${$as_ac_var+set}\" = set"; then
65329 echo $ECHO_N "(cached) $ECHO_C" >&6
65330 else
65331 if test x$gcc_no_link = xyes; then
65332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65334 { (exit 1); exit 1; }; }
65336 cat >conftest.$ac_ext <<_ACEOF
65337 /* confdefs.h. */
65338 _ACEOF
65339 cat confdefs.h >>conftest.$ac_ext
65340 cat >>conftest.$ac_ext <<_ACEOF
65341 /* end confdefs.h. */
65342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65344 #define $ac_func innocuous_$ac_func
65346 /* System header to define __stub macros and hopefully few prototypes,
65347 which can conflict with char $ac_func (); below.
65348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65349 <limits.h> exists even on freestanding compilers. */
65351 #ifdef __STDC__
65352 # include <limits.h>
65353 #else
65354 # include <assert.h>
65355 #endif
65357 #undef $ac_func
65359 /* Override any gcc2 internal prototype to avoid an error. */
65360 #ifdef __cplusplus
65361 extern "C"
65363 #endif
65364 /* We use char because int might match the return type of a gcc2
65365 builtin and then its argument prototype would still apply. */
65366 char $ac_func ();
65367 /* The GNU C library defines this for functions which it implements
65368 to always fail with ENOSYS. Some functions are actually named
65369 something starting with __ and the normal name is an alias. */
65370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65371 choke me
65372 #else
65373 char (*f) () = $ac_func;
65374 #endif
65375 #ifdef __cplusplus
65377 #endif
65380 main ()
65382 return f != $ac_func;
65384 return 0;
65386 _ACEOF
65387 rm -f conftest.$ac_objext conftest$ac_exeext
65388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65389 (eval $ac_link) 2>conftest.er1
65390 ac_status=$?
65391 grep -v '^ *+' conftest.er1 >conftest.err
65392 rm -f conftest.er1
65393 cat conftest.err >&5
65394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65395 (exit $ac_status); } &&
65396 { ac_try='test -z "$ac_c_werror_flag"
65397 || test ! -s conftest.err'
65398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65399 (eval $ac_try) 2>&5
65400 ac_status=$?
65401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65402 (exit $ac_status); }; } &&
65403 { ac_try='test -s conftest$ac_exeext'
65404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65405 (eval $ac_try) 2>&5
65406 ac_status=$?
65407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65408 (exit $ac_status); }; }; then
65409 eval "$as_ac_var=yes"
65410 else
65411 echo "$as_me: failed program was:" >&5
65412 sed 's/^/| /' conftest.$ac_ext >&5
65414 eval "$as_ac_var=no"
65416 rm -f conftest.err conftest.$ac_objext \
65417 conftest$ac_exeext conftest.$ac_ext
65419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65421 if test `eval echo '${'$as_ac_var'}'` = yes; then
65422 cat >>confdefs.h <<_ACEOF
65423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65424 _ACEOF
65427 done
65429 else
65431 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
65432 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
65433 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65434 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
65435 echo $ECHO_N "(cached) $ECHO_C" >&6
65436 else
65440 ac_ext=cc
65441 ac_cpp='$CXXCPP $CPPFLAGS'
65442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65446 cat >conftest.$ac_ext <<_ACEOF
65447 /* confdefs.h. */
65448 _ACEOF
65449 cat confdefs.h >>conftest.$ac_ext
65450 cat >>conftest.$ac_ext <<_ACEOF
65451 /* end confdefs.h. */
65452 #include <math.h>
65454 main ()
65456 _frexpf(0, 0);
65458 return 0;
65460 _ACEOF
65461 rm -f conftest.$ac_objext
65462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65463 (eval $ac_compile) 2>conftest.er1
65464 ac_status=$?
65465 grep -v '^ *+' conftest.er1 >conftest.err
65466 rm -f conftest.er1
65467 cat conftest.err >&5
65468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65469 (exit $ac_status); } &&
65470 { ac_try='test -z "$ac_cxx_werror_flag"
65471 || test ! -s conftest.err'
65472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65473 (eval $ac_try) 2>&5
65474 ac_status=$?
65475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65476 (exit $ac_status); }; } &&
65477 { ac_try='test -s conftest.$ac_objext'
65478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65479 (eval $ac_try) 2>&5
65480 ac_status=$?
65481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65482 (exit $ac_status); }; }; then
65483 glibcxx_cv_func__frexpf_use=yes
65484 else
65485 echo "$as_me: failed program was:" >&5
65486 sed 's/^/| /' conftest.$ac_ext >&5
65488 glibcxx_cv_func__frexpf_use=no
65490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65491 ac_ext=c
65492 ac_cpp='$CPP $CPPFLAGS'
65493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
65502 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
65504 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65506 for ac_func in _frexpf
65508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65509 echo "$as_me:$LINENO: checking for $ac_func" >&5
65510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65511 if eval "test \"\${$as_ac_var+set}\" = set"; then
65512 echo $ECHO_N "(cached) $ECHO_C" >&6
65513 else
65514 if test x$gcc_no_link = xyes; then
65515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65517 { (exit 1); exit 1; }; }
65519 cat >conftest.$ac_ext <<_ACEOF
65520 /* confdefs.h. */
65521 _ACEOF
65522 cat confdefs.h >>conftest.$ac_ext
65523 cat >>conftest.$ac_ext <<_ACEOF
65524 /* end confdefs.h. */
65525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65527 #define $ac_func innocuous_$ac_func
65529 /* System header to define __stub macros and hopefully few prototypes,
65530 which can conflict with char $ac_func (); below.
65531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65532 <limits.h> exists even on freestanding compilers. */
65534 #ifdef __STDC__
65535 # include <limits.h>
65536 #else
65537 # include <assert.h>
65538 #endif
65540 #undef $ac_func
65542 /* Override any gcc2 internal prototype to avoid an error. */
65543 #ifdef __cplusplus
65544 extern "C"
65546 #endif
65547 /* We use char because int might match the return type of a gcc2
65548 builtin and then its argument prototype would still apply. */
65549 char $ac_func ();
65550 /* The GNU C library defines this for functions which it implements
65551 to always fail with ENOSYS. Some functions are actually named
65552 something starting with __ and the normal name is an alias. */
65553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65554 choke me
65555 #else
65556 char (*f) () = $ac_func;
65557 #endif
65558 #ifdef __cplusplus
65560 #endif
65563 main ()
65565 return f != $ac_func;
65567 return 0;
65569 _ACEOF
65570 rm -f conftest.$ac_objext conftest$ac_exeext
65571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65572 (eval $ac_link) 2>conftest.er1
65573 ac_status=$?
65574 grep -v '^ *+' conftest.er1 >conftest.err
65575 rm -f conftest.er1
65576 cat conftest.err >&5
65577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65578 (exit $ac_status); } &&
65579 { ac_try='test -z "$ac_c_werror_flag"
65580 || test ! -s conftest.err'
65581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65582 (eval $ac_try) 2>&5
65583 ac_status=$?
65584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65585 (exit $ac_status); }; } &&
65586 { ac_try='test -s conftest$ac_exeext'
65587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65588 (eval $ac_try) 2>&5
65589 ac_status=$?
65590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65591 (exit $ac_status); }; }; then
65592 eval "$as_ac_var=yes"
65593 else
65594 echo "$as_me: failed program was:" >&5
65595 sed 's/^/| /' conftest.$ac_ext >&5
65597 eval "$as_ac_var=no"
65599 rm -f conftest.err conftest.$ac_objext \
65600 conftest$ac_exeext conftest.$ac_ext
65602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65604 if test `eval echo '${'$as_ac_var'}'` = yes; then
65605 cat >>confdefs.h <<_ACEOF
65606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65607 _ACEOF
65610 done
65620 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
65621 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
65622 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65623 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
65624 echo $ECHO_N "(cached) $ECHO_C" >&6
65625 else
65629 ac_ext=cc
65630 ac_cpp='$CXXCPP $CPPFLAGS'
65631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65635 cat >conftest.$ac_ext <<_ACEOF
65636 /* confdefs.h. */
65637 _ACEOF
65638 cat confdefs.h >>conftest.$ac_ext
65639 cat >>conftest.$ac_ext <<_ACEOF
65640 /* end confdefs.h. */
65641 #include <math.h>
65643 main ()
65645 hypotf(0, 0);
65647 return 0;
65649 _ACEOF
65650 rm -f conftest.$ac_objext
65651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65652 (eval $ac_compile) 2>conftest.er1
65653 ac_status=$?
65654 grep -v '^ *+' conftest.er1 >conftest.err
65655 rm -f conftest.er1
65656 cat conftest.err >&5
65657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65658 (exit $ac_status); } &&
65659 { ac_try='test -z "$ac_cxx_werror_flag"
65660 || test ! -s conftest.err'
65661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65662 (eval $ac_try) 2>&5
65663 ac_status=$?
65664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65665 (exit $ac_status); }; } &&
65666 { ac_try='test -s conftest.$ac_objext'
65667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65668 (eval $ac_try) 2>&5
65669 ac_status=$?
65670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65671 (exit $ac_status); }; }; then
65672 glibcxx_cv_func_hypotf_use=yes
65673 else
65674 echo "$as_me: failed program was:" >&5
65675 sed 's/^/| /' conftest.$ac_ext >&5
65677 glibcxx_cv_func_hypotf_use=no
65679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65680 ac_ext=c
65681 ac_cpp='$CPP $CPPFLAGS'
65682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
65691 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
65693 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65695 for ac_func in hypotf
65697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65698 echo "$as_me:$LINENO: checking for $ac_func" >&5
65699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65700 if eval "test \"\${$as_ac_var+set}\" = set"; then
65701 echo $ECHO_N "(cached) $ECHO_C" >&6
65702 else
65703 if test x$gcc_no_link = xyes; then
65704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65706 { (exit 1); exit 1; }; }
65708 cat >conftest.$ac_ext <<_ACEOF
65709 /* confdefs.h. */
65710 _ACEOF
65711 cat confdefs.h >>conftest.$ac_ext
65712 cat >>conftest.$ac_ext <<_ACEOF
65713 /* end confdefs.h. */
65714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65716 #define $ac_func innocuous_$ac_func
65718 /* System header to define __stub macros and hopefully few prototypes,
65719 which can conflict with char $ac_func (); below.
65720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65721 <limits.h> exists even on freestanding compilers. */
65723 #ifdef __STDC__
65724 # include <limits.h>
65725 #else
65726 # include <assert.h>
65727 #endif
65729 #undef $ac_func
65731 /* Override any gcc2 internal prototype to avoid an error. */
65732 #ifdef __cplusplus
65733 extern "C"
65735 #endif
65736 /* We use char because int might match the return type of a gcc2
65737 builtin and then its argument prototype would still apply. */
65738 char $ac_func ();
65739 /* The GNU C library defines this for functions which it implements
65740 to always fail with ENOSYS. Some functions are actually named
65741 something starting with __ and the normal name is an alias. */
65742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65743 choke me
65744 #else
65745 char (*f) () = $ac_func;
65746 #endif
65747 #ifdef __cplusplus
65749 #endif
65752 main ()
65754 return f != $ac_func;
65756 return 0;
65758 _ACEOF
65759 rm -f conftest.$ac_objext conftest$ac_exeext
65760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65761 (eval $ac_link) 2>conftest.er1
65762 ac_status=$?
65763 grep -v '^ *+' conftest.er1 >conftest.err
65764 rm -f conftest.er1
65765 cat conftest.err >&5
65766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65767 (exit $ac_status); } &&
65768 { ac_try='test -z "$ac_c_werror_flag"
65769 || test ! -s conftest.err'
65770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65771 (eval $ac_try) 2>&5
65772 ac_status=$?
65773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65774 (exit $ac_status); }; } &&
65775 { ac_try='test -s conftest$ac_exeext'
65776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65777 (eval $ac_try) 2>&5
65778 ac_status=$?
65779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65780 (exit $ac_status); }; }; then
65781 eval "$as_ac_var=yes"
65782 else
65783 echo "$as_me: failed program was:" >&5
65784 sed 's/^/| /' conftest.$ac_ext >&5
65786 eval "$as_ac_var=no"
65788 rm -f conftest.err conftest.$ac_objext \
65789 conftest$ac_exeext conftest.$ac_ext
65791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65793 if test `eval echo '${'$as_ac_var'}'` = yes; then
65794 cat >>confdefs.h <<_ACEOF
65795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65796 _ACEOF
65799 done
65801 else
65803 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
65804 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
65805 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65806 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
65807 echo $ECHO_N "(cached) $ECHO_C" >&6
65808 else
65812 ac_ext=cc
65813 ac_cpp='$CXXCPP $CPPFLAGS'
65814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65818 cat >conftest.$ac_ext <<_ACEOF
65819 /* confdefs.h. */
65820 _ACEOF
65821 cat confdefs.h >>conftest.$ac_ext
65822 cat >>conftest.$ac_ext <<_ACEOF
65823 /* end confdefs.h. */
65824 #include <math.h>
65826 main ()
65828 _hypotf(0, 0);
65830 return 0;
65832 _ACEOF
65833 rm -f conftest.$ac_objext
65834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65835 (eval $ac_compile) 2>conftest.er1
65836 ac_status=$?
65837 grep -v '^ *+' conftest.er1 >conftest.err
65838 rm -f conftest.er1
65839 cat conftest.err >&5
65840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65841 (exit $ac_status); } &&
65842 { ac_try='test -z "$ac_cxx_werror_flag"
65843 || test ! -s conftest.err'
65844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65845 (eval $ac_try) 2>&5
65846 ac_status=$?
65847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65848 (exit $ac_status); }; } &&
65849 { ac_try='test -s conftest.$ac_objext'
65850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65851 (eval $ac_try) 2>&5
65852 ac_status=$?
65853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65854 (exit $ac_status); }; }; then
65855 glibcxx_cv_func__hypotf_use=yes
65856 else
65857 echo "$as_me: failed program was:" >&5
65858 sed 's/^/| /' conftest.$ac_ext >&5
65860 glibcxx_cv_func__hypotf_use=no
65862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65863 ac_ext=c
65864 ac_cpp='$CPP $CPPFLAGS'
65865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
65874 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
65876 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65878 for ac_func in _hypotf
65880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65881 echo "$as_me:$LINENO: checking for $ac_func" >&5
65882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65883 if eval "test \"\${$as_ac_var+set}\" = set"; then
65884 echo $ECHO_N "(cached) $ECHO_C" >&6
65885 else
65886 if test x$gcc_no_link = xyes; then
65887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65889 { (exit 1); exit 1; }; }
65891 cat >conftest.$ac_ext <<_ACEOF
65892 /* confdefs.h. */
65893 _ACEOF
65894 cat confdefs.h >>conftest.$ac_ext
65895 cat >>conftest.$ac_ext <<_ACEOF
65896 /* end confdefs.h. */
65897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65899 #define $ac_func innocuous_$ac_func
65901 /* System header to define __stub macros and hopefully few prototypes,
65902 which can conflict with char $ac_func (); below.
65903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65904 <limits.h> exists even on freestanding compilers. */
65906 #ifdef __STDC__
65907 # include <limits.h>
65908 #else
65909 # include <assert.h>
65910 #endif
65912 #undef $ac_func
65914 /* Override any gcc2 internal prototype to avoid an error. */
65915 #ifdef __cplusplus
65916 extern "C"
65918 #endif
65919 /* We use char because int might match the return type of a gcc2
65920 builtin and then its argument prototype would still apply. */
65921 char $ac_func ();
65922 /* The GNU C library defines this for functions which it implements
65923 to always fail with ENOSYS. Some functions are actually named
65924 something starting with __ and the normal name is an alias. */
65925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65926 choke me
65927 #else
65928 char (*f) () = $ac_func;
65929 #endif
65930 #ifdef __cplusplus
65932 #endif
65935 main ()
65937 return f != $ac_func;
65939 return 0;
65941 _ACEOF
65942 rm -f conftest.$ac_objext conftest$ac_exeext
65943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65944 (eval $ac_link) 2>conftest.er1
65945 ac_status=$?
65946 grep -v '^ *+' conftest.er1 >conftest.err
65947 rm -f conftest.er1
65948 cat conftest.err >&5
65949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65950 (exit $ac_status); } &&
65951 { ac_try='test -z "$ac_c_werror_flag"
65952 || test ! -s conftest.err'
65953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65954 (eval $ac_try) 2>&5
65955 ac_status=$?
65956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65957 (exit $ac_status); }; } &&
65958 { ac_try='test -s conftest$ac_exeext'
65959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65960 (eval $ac_try) 2>&5
65961 ac_status=$?
65962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65963 (exit $ac_status); }; }; then
65964 eval "$as_ac_var=yes"
65965 else
65966 echo "$as_me: failed program was:" >&5
65967 sed 's/^/| /' conftest.$ac_ext >&5
65969 eval "$as_ac_var=no"
65971 rm -f conftest.err conftest.$ac_objext \
65972 conftest$ac_exeext conftest.$ac_ext
65974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65976 if test `eval echo '${'$as_ac_var'}'` = yes; then
65977 cat >>confdefs.h <<_ACEOF
65978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65979 _ACEOF
65982 done
65992 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
65993 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
65994 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65995 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
65996 echo $ECHO_N "(cached) $ECHO_C" >&6
65997 else
66001 ac_ext=cc
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66007 cat >conftest.$ac_ext <<_ACEOF
66008 /* confdefs.h. */
66009 _ACEOF
66010 cat confdefs.h >>conftest.$ac_ext
66011 cat >>conftest.$ac_ext <<_ACEOF
66012 /* end confdefs.h. */
66013 #include <math.h>
66015 main ()
66017 ldexpf(0, 0);
66019 return 0;
66021 _ACEOF
66022 rm -f conftest.$ac_objext
66023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66024 (eval $ac_compile) 2>conftest.er1
66025 ac_status=$?
66026 grep -v '^ *+' conftest.er1 >conftest.err
66027 rm -f conftest.er1
66028 cat conftest.err >&5
66029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66030 (exit $ac_status); } &&
66031 { ac_try='test -z "$ac_cxx_werror_flag"
66032 || test ! -s conftest.err'
66033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66034 (eval $ac_try) 2>&5
66035 ac_status=$?
66036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66037 (exit $ac_status); }; } &&
66038 { ac_try='test -s conftest.$ac_objext'
66039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66040 (eval $ac_try) 2>&5
66041 ac_status=$?
66042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66043 (exit $ac_status); }; }; then
66044 glibcxx_cv_func_ldexpf_use=yes
66045 else
66046 echo "$as_me: failed program was:" >&5
66047 sed 's/^/| /' conftest.$ac_ext >&5
66049 glibcxx_cv_func_ldexpf_use=no
66051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66052 ac_ext=c
66053 ac_cpp='$CPP $CPPFLAGS'
66054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
66063 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
66065 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66067 for ac_func in ldexpf
66069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66070 echo "$as_me:$LINENO: checking for $ac_func" >&5
66071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66072 if eval "test \"\${$as_ac_var+set}\" = set"; then
66073 echo $ECHO_N "(cached) $ECHO_C" >&6
66074 else
66075 if test x$gcc_no_link = xyes; then
66076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66078 { (exit 1); exit 1; }; }
66080 cat >conftest.$ac_ext <<_ACEOF
66081 /* confdefs.h. */
66082 _ACEOF
66083 cat confdefs.h >>conftest.$ac_ext
66084 cat >>conftest.$ac_ext <<_ACEOF
66085 /* end confdefs.h. */
66086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66088 #define $ac_func innocuous_$ac_func
66090 /* System header to define __stub macros and hopefully few prototypes,
66091 which can conflict with char $ac_func (); below.
66092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66093 <limits.h> exists even on freestanding compilers. */
66095 #ifdef __STDC__
66096 # include <limits.h>
66097 #else
66098 # include <assert.h>
66099 #endif
66101 #undef $ac_func
66103 /* Override any gcc2 internal prototype to avoid an error. */
66104 #ifdef __cplusplus
66105 extern "C"
66107 #endif
66108 /* We use char because int might match the return type of a gcc2
66109 builtin and then its argument prototype would still apply. */
66110 char $ac_func ();
66111 /* The GNU C library defines this for functions which it implements
66112 to always fail with ENOSYS. Some functions are actually named
66113 something starting with __ and the normal name is an alias. */
66114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66115 choke me
66116 #else
66117 char (*f) () = $ac_func;
66118 #endif
66119 #ifdef __cplusplus
66121 #endif
66124 main ()
66126 return f != $ac_func;
66128 return 0;
66130 _ACEOF
66131 rm -f conftest.$ac_objext conftest$ac_exeext
66132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66133 (eval $ac_link) 2>conftest.er1
66134 ac_status=$?
66135 grep -v '^ *+' conftest.er1 >conftest.err
66136 rm -f conftest.er1
66137 cat conftest.err >&5
66138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66139 (exit $ac_status); } &&
66140 { ac_try='test -z "$ac_c_werror_flag"
66141 || test ! -s conftest.err'
66142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66143 (eval $ac_try) 2>&5
66144 ac_status=$?
66145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66146 (exit $ac_status); }; } &&
66147 { ac_try='test -s conftest$ac_exeext'
66148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66149 (eval $ac_try) 2>&5
66150 ac_status=$?
66151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66152 (exit $ac_status); }; }; then
66153 eval "$as_ac_var=yes"
66154 else
66155 echo "$as_me: failed program was:" >&5
66156 sed 's/^/| /' conftest.$ac_ext >&5
66158 eval "$as_ac_var=no"
66160 rm -f conftest.err conftest.$ac_objext \
66161 conftest$ac_exeext conftest.$ac_ext
66163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66165 if test `eval echo '${'$as_ac_var'}'` = yes; then
66166 cat >>confdefs.h <<_ACEOF
66167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66168 _ACEOF
66171 done
66173 else
66175 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
66176 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
66177 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66178 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
66179 echo $ECHO_N "(cached) $ECHO_C" >&6
66180 else
66184 ac_ext=cc
66185 ac_cpp='$CXXCPP $CPPFLAGS'
66186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66190 cat >conftest.$ac_ext <<_ACEOF
66191 /* confdefs.h. */
66192 _ACEOF
66193 cat confdefs.h >>conftest.$ac_ext
66194 cat >>conftest.$ac_ext <<_ACEOF
66195 /* end confdefs.h. */
66196 #include <math.h>
66198 main ()
66200 _ldexpf(0, 0);
66202 return 0;
66204 _ACEOF
66205 rm -f conftest.$ac_objext
66206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66207 (eval $ac_compile) 2>conftest.er1
66208 ac_status=$?
66209 grep -v '^ *+' conftest.er1 >conftest.err
66210 rm -f conftest.er1
66211 cat conftest.err >&5
66212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66213 (exit $ac_status); } &&
66214 { ac_try='test -z "$ac_cxx_werror_flag"
66215 || test ! -s conftest.err'
66216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66217 (eval $ac_try) 2>&5
66218 ac_status=$?
66219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66220 (exit $ac_status); }; } &&
66221 { ac_try='test -s conftest.$ac_objext'
66222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66223 (eval $ac_try) 2>&5
66224 ac_status=$?
66225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66226 (exit $ac_status); }; }; then
66227 glibcxx_cv_func__ldexpf_use=yes
66228 else
66229 echo "$as_me: failed program was:" >&5
66230 sed 's/^/| /' conftest.$ac_ext >&5
66232 glibcxx_cv_func__ldexpf_use=no
66234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66235 ac_ext=c
66236 ac_cpp='$CPP $CPPFLAGS'
66237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66245 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
66246 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
66248 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66250 for ac_func in _ldexpf
66252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66253 echo "$as_me:$LINENO: checking for $ac_func" >&5
66254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66255 if eval "test \"\${$as_ac_var+set}\" = set"; then
66256 echo $ECHO_N "(cached) $ECHO_C" >&6
66257 else
66258 if test x$gcc_no_link = xyes; then
66259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66261 { (exit 1); exit 1; }; }
66263 cat >conftest.$ac_ext <<_ACEOF
66264 /* confdefs.h. */
66265 _ACEOF
66266 cat confdefs.h >>conftest.$ac_ext
66267 cat >>conftest.$ac_ext <<_ACEOF
66268 /* end confdefs.h. */
66269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66271 #define $ac_func innocuous_$ac_func
66273 /* System header to define __stub macros and hopefully few prototypes,
66274 which can conflict with char $ac_func (); below.
66275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66276 <limits.h> exists even on freestanding compilers. */
66278 #ifdef __STDC__
66279 # include <limits.h>
66280 #else
66281 # include <assert.h>
66282 #endif
66284 #undef $ac_func
66286 /* Override any gcc2 internal prototype to avoid an error. */
66287 #ifdef __cplusplus
66288 extern "C"
66290 #endif
66291 /* We use char because int might match the return type of a gcc2
66292 builtin and then its argument prototype would still apply. */
66293 char $ac_func ();
66294 /* The GNU C library defines this for functions which it implements
66295 to always fail with ENOSYS. Some functions are actually named
66296 something starting with __ and the normal name is an alias. */
66297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66298 choke me
66299 #else
66300 char (*f) () = $ac_func;
66301 #endif
66302 #ifdef __cplusplus
66304 #endif
66307 main ()
66309 return f != $ac_func;
66311 return 0;
66313 _ACEOF
66314 rm -f conftest.$ac_objext conftest$ac_exeext
66315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66316 (eval $ac_link) 2>conftest.er1
66317 ac_status=$?
66318 grep -v '^ *+' conftest.er1 >conftest.err
66319 rm -f conftest.er1
66320 cat conftest.err >&5
66321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66322 (exit $ac_status); } &&
66323 { ac_try='test -z "$ac_c_werror_flag"
66324 || test ! -s conftest.err'
66325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66326 (eval $ac_try) 2>&5
66327 ac_status=$?
66328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66329 (exit $ac_status); }; } &&
66330 { ac_try='test -s conftest$ac_exeext'
66331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66332 (eval $ac_try) 2>&5
66333 ac_status=$?
66334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66335 (exit $ac_status); }; }; then
66336 eval "$as_ac_var=yes"
66337 else
66338 echo "$as_me: failed program was:" >&5
66339 sed 's/^/| /' conftest.$ac_ext >&5
66341 eval "$as_ac_var=no"
66343 rm -f conftest.err conftest.$ac_objext \
66344 conftest$ac_exeext conftest.$ac_ext
66346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66348 if test `eval echo '${'$as_ac_var'}'` = yes; then
66349 cat >>confdefs.h <<_ACEOF
66350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66351 _ACEOF
66354 done
66364 echo "$as_me:$LINENO: checking for logf declaration" >&5
66365 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
66366 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66367 if test "${glibcxx_cv_func_logf_use+set}" = set; then
66368 echo $ECHO_N "(cached) $ECHO_C" >&6
66369 else
66373 ac_ext=cc
66374 ac_cpp='$CXXCPP $CPPFLAGS'
66375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66379 cat >conftest.$ac_ext <<_ACEOF
66380 /* confdefs.h. */
66381 _ACEOF
66382 cat confdefs.h >>conftest.$ac_ext
66383 cat >>conftest.$ac_ext <<_ACEOF
66384 /* end confdefs.h. */
66385 #include <math.h>
66386 #ifdef HAVE_IEEEFP_H
66387 #include <ieeefp.h>
66388 #endif
66391 main ()
66393 logf(0);
66395 return 0;
66397 _ACEOF
66398 rm -f conftest.$ac_objext
66399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66400 (eval $ac_compile) 2>conftest.er1
66401 ac_status=$?
66402 grep -v '^ *+' conftest.er1 >conftest.err
66403 rm -f conftest.er1
66404 cat conftest.err >&5
66405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66406 (exit $ac_status); } &&
66407 { ac_try='test -z "$ac_cxx_werror_flag"
66408 || test ! -s conftest.err'
66409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66410 (eval $ac_try) 2>&5
66411 ac_status=$?
66412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66413 (exit $ac_status); }; } &&
66414 { ac_try='test -s conftest.$ac_objext'
66415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66416 (eval $ac_try) 2>&5
66417 ac_status=$?
66418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66419 (exit $ac_status); }; }; then
66420 glibcxx_cv_func_logf_use=yes
66421 else
66422 echo "$as_me: failed program was:" >&5
66423 sed 's/^/| /' conftest.$ac_ext >&5
66425 glibcxx_cv_func_logf_use=no
66427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66428 ac_ext=c
66429 ac_cpp='$CPP $CPPFLAGS'
66430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
66439 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
66441 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66443 for ac_func in logf
66445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66446 echo "$as_me:$LINENO: checking for $ac_func" >&5
66447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66448 if eval "test \"\${$as_ac_var+set}\" = set"; then
66449 echo $ECHO_N "(cached) $ECHO_C" >&6
66450 else
66451 if test x$gcc_no_link = xyes; then
66452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66454 { (exit 1); exit 1; }; }
66456 cat >conftest.$ac_ext <<_ACEOF
66457 /* confdefs.h. */
66458 _ACEOF
66459 cat confdefs.h >>conftest.$ac_ext
66460 cat >>conftest.$ac_ext <<_ACEOF
66461 /* end confdefs.h. */
66462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66464 #define $ac_func innocuous_$ac_func
66466 /* System header to define __stub macros and hopefully few prototypes,
66467 which can conflict with char $ac_func (); below.
66468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66469 <limits.h> exists even on freestanding compilers. */
66471 #ifdef __STDC__
66472 # include <limits.h>
66473 #else
66474 # include <assert.h>
66475 #endif
66477 #undef $ac_func
66479 /* Override any gcc2 internal prototype to avoid an error. */
66480 #ifdef __cplusplus
66481 extern "C"
66483 #endif
66484 /* We use char because int might match the return type of a gcc2
66485 builtin and then its argument prototype would still apply. */
66486 char $ac_func ();
66487 /* The GNU C library defines this for functions which it implements
66488 to always fail with ENOSYS. Some functions are actually named
66489 something starting with __ and the normal name is an alias. */
66490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66491 choke me
66492 #else
66493 char (*f) () = $ac_func;
66494 #endif
66495 #ifdef __cplusplus
66497 #endif
66500 main ()
66502 return f != $ac_func;
66504 return 0;
66506 _ACEOF
66507 rm -f conftest.$ac_objext conftest$ac_exeext
66508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66509 (eval $ac_link) 2>conftest.er1
66510 ac_status=$?
66511 grep -v '^ *+' conftest.er1 >conftest.err
66512 rm -f conftest.er1
66513 cat conftest.err >&5
66514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66515 (exit $ac_status); } &&
66516 { ac_try='test -z "$ac_c_werror_flag"
66517 || test ! -s conftest.err'
66518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66519 (eval $ac_try) 2>&5
66520 ac_status=$?
66521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66522 (exit $ac_status); }; } &&
66523 { ac_try='test -s conftest$ac_exeext'
66524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66525 (eval $ac_try) 2>&5
66526 ac_status=$?
66527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66528 (exit $ac_status); }; }; then
66529 eval "$as_ac_var=yes"
66530 else
66531 echo "$as_me: failed program was:" >&5
66532 sed 's/^/| /' conftest.$ac_ext >&5
66534 eval "$as_ac_var=no"
66536 rm -f conftest.err conftest.$ac_objext \
66537 conftest$ac_exeext conftest.$ac_ext
66539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66541 if test `eval echo '${'$as_ac_var'}'` = yes; then
66542 cat >>confdefs.h <<_ACEOF
66543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66544 _ACEOF
66547 done
66549 else
66551 echo "$as_me:$LINENO: checking for _logf declaration" >&5
66552 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
66553 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66554 if test "${glibcxx_cv_func__logf_use+set}" = set; then
66555 echo $ECHO_N "(cached) $ECHO_C" >&6
66556 else
66560 ac_ext=cc
66561 ac_cpp='$CXXCPP $CPPFLAGS'
66562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66566 cat >conftest.$ac_ext <<_ACEOF
66567 /* confdefs.h. */
66568 _ACEOF
66569 cat confdefs.h >>conftest.$ac_ext
66570 cat >>conftest.$ac_ext <<_ACEOF
66571 /* end confdefs.h. */
66572 #include <math.h>
66573 #ifdef HAVE_IEEEFP_H
66574 #include <ieeefp.h>
66575 #endif
66578 main ()
66580 _logf(0);
66582 return 0;
66584 _ACEOF
66585 rm -f conftest.$ac_objext
66586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66587 (eval $ac_compile) 2>conftest.er1
66588 ac_status=$?
66589 grep -v '^ *+' conftest.er1 >conftest.err
66590 rm -f conftest.er1
66591 cat conftest.err >&5
66592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66593 (exit $ac_status); } &&
66594 { ac_try='test -z "$ac_cxx_werror_flag"
66595 || test ! -s conftest.err'
66596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66597 (eval $ac_try) 2>&5
66598 ac_status=$?
66599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66600 (exit $ac_status); }; } &&
66601 { ac_try='test -s conftest.$ac_objext'
66602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66603 (eval $ac_try) 2>&5
66604 ac_status=$?
66605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66606 (exit $ac_status); }; }; then
66607 glibcxx_cv_func__logf_use=yes
66608 else
66609 echo "$as_me: failed program was:" >&5
66610 sed 's/^/| /' conftest.$ac_ext >&5
66612 glibcxx_cv_func__logf_use=no
66614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66615 ac_ext=c
66616 ac_cpp='$CPP $CPPFLAGS'
66617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
66626 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
66628 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66630 for ac_func in _logf
66632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66633 echo "$as_me:$LINENO: checking for $ac_func" >&5
66634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66635 if eval "test \"\${$as_ac_var+set}\" = set"; then
66636 echo $ECHO_N "(cached) $ECHO_C" >&6
66637 else
66638 if test x$gcc_no_link = xyes; then
66639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66641 { (exit 1); exit 1; }; }
66643 cat >conftest.$ac_ext <<_ACEOF
66644 /* confdefs.h. */
66645 _ACEOF
66646 cat confdefs.h >>conftest.$ac_ext
66647 cat >>conftest.$ac_ext <<_ACEOF
66648 /* end confdefs.h. */
66649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66651 #define $ac_func innocuous_$ac_func
66653 /* System header to define __stub macros and hopefully few prototypes,
66654 which can conflict with char $ac_func (); below.
66655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66656 <limits.h> exists even on freestanding compilers. */
66658 #ifdef __STDC__
66659 # include <limits.h>
66660 #else
66661 # include <assert.h>
66662 #endif
66664 #undef $ac_func
66666 /* Override any gcc2 internal prototype to avoid an error. */
66667 #ifdef __cplusplus
66668 extern "C"
66670 #endif
66671 /* We use char because int might match the return type of a gcc2
66672 builtin and then its argument prototype would still apply. */
66673 char $ac_func ();
66674 /* The GNU C library defines this for functions which it implements
66675 to always fail with ENOSYS. Some functions are actually named
66676 something starting with __ and the normal name is an alias. */
66677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66678 choke me
66679 #else
66680 char (*f) () = $ac_func;
66681 #endif
66682 #ifdef __cplusplus
66684 #endif
66687 main ()
66689 return f != $ac_func;
66691 return 0;
66693 _ACEOF
66694 rm -f conftest.$ac_objext conftest$ac_exeext
66695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66696 (eval $ac_link) 2>conftest.er1
66697 ac_status=$?
66698 grep -v '^ *+' conftest.er1 >conftest.err
66699 rm -f conftest.er1
66700 cat conftest.err >&5
66701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66702 (exit $ac_status); } &&
66703 { ac_try='test -z "$ac_c_werror_flag"
66704 || test ! -s conftest.err'
66705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66706 (eval $ac_try) 2>&5
66707 ac_status=$?
66708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66709 (exit $ac_status); }; } &&
66710 { ac_try='test -s conftest$ac_exeext'
66711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66712 (eval $ac_try) 2>&5
66713 ac_status=$?
66714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66715 (exit $ac_status); }; }; then
66716 eval "$as_ac_var=yes"
66717 else
66718 echo "$as_me: failed program was:" >&5
66719 sed 's/^/| /' conftest.$ac_ext >&5
66721 eval "$as_ac_var=no"
66723 rm -f conftest.err conftest.$ac_objext \
66724 conftest$ac_exeext conftest.$ac_ext
66726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66728 if test `eval echo '${'$as_ac_var'}'` = yes; then
66729 cat >>confdefs.h <<_ACEOF
66730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66731 _ACEOF
66734 done
66744 echo "$as_me:$LINENO: checking for log10f declaration" >&5
66745 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
66746 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66747 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
66748 echo $ECHO_N "(cached) $ECHO_C" >&6
66749 else
66753 ac_ext=cc
66754 ac_cpp='$CXXCPP $CPPFLAGS'
66755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66759 cat >conftest.$ac_ext <<_ACEOF
66760 /* confdefs.h. */
66761 _ACEOF
66762 cat confdefs.h >>conftest.$ac_ext
66763 cat >>conftest.$ac_ext <<_ACEOF
66764 /* end confdefs.h. */
66765 #include <math.h>
66766 #ifdef HAVE_IEEEFP_H
66767 #include <ieeefp.h>
66768 #endif
66771 main ()
66773 log10f(0);
66775 return 0;
66777 _ACEOF
66778 rm -f conftest.$ac_objext
66779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66780 (eval $ac_compile) 2>conftest.er1
66781 ac_status=$?
66782 grep -v '^ *+' conftest.er1 >conftest.err
66783 rm -f conftest.er1
66784 cat conftest.err >&5
66785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66786 (exit $ac_status); } &&
66787 { ac_try='test -z "$ac_cxx_werror_flag"
66788 || test ! -s conftest.err'
66789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66790 (eval $ac_try) 2>&5
66791 ac_status=$?
66792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66793 (exit $ac_status); }; } &&
66794 { ac_try='test -s conftest.$ac_objext'
66795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66796 (eval $ac_try) 2>&5
66797 ac_status=$?
66798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66799 (exit $ac_status); }; }; then
66800 glibcxx_cv_func_log10f_use=yes
66801 else
66802 echo "$as_me: failed program was:" >&5
66803 sed 's/^/| /' conftest.$ac_ext >&5
66805 glibcxx_cv_func_log10f_use=no
66807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66808 ac_ext=c
66809 ac_cpp='$CPP $CPPFLAGS'
66810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
66819 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
66821 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66823 for ac_func in log10f
66825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66826 echo "$as_me:$LINENO: checking for $ac_func" >&5
66827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66828 if eval "test \"\${$as_ac_var+set}\" = set"; then
66829 echo $ECHO_N "(cached) $ECHO_C" >&6
66830 else
66831 if test x$gcc_no_link = xyes; then
66832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66834 { (exit 1); exit 1; }; }
66836 cat >conftest.$ac_ext <<_ACEOF
66837 /* confdefs.h. */
66838 _ACEOF
66839 cat confdefs.h >>conftest.$ac_ext
66840 cat >>conftest.$ac_ext <<_ACEOF
66841 /* end confdefs.h. */
66842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66844 #define $ac_func innocuous_$ac_func
66846 /* System header to define __stub macros and hopefully few prototypes,
66847 which can conflict with char $ac_func (); below.
66848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66849 <limits.h> exists even on freestanding compilers. */
66851 #ifdef __STDC__
66852 # include <limits.h>
66853 #else
66854 # include <assert.h>
66855 #endif
66857 #undef $ac_func
66859 /* Override any gcc2 internal prototype to avoid an error. */
66860 #ifdef __cplusplus
66861 extern "C"
66863 #endif
66864 /* We use char because int might match the return type of a gcc2
66865 builtin and then its argument prototype would still apply. */
66866 char $ac_func ();
66867 /* The GNU C library defines this for functions which it implements
66868 to always fail with ENOSYS. Some functions are actually named
66869 something starting with __ and the normal name is an alias. */
66870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66871 choke me
66872 #else
66873 char (*f) () = $ac_func;
66874 #endif
66875 #ifdef __cplusplus
66877 #endif
66880 main ()
66882 return f != $ac_func;
66884 return 0;
66886 _ACEOF
66887 rm -f conftest.$ac_objext conftest$ac_exeext
66888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66889 (eval $ac_link) 2>conftest.er1
66890 ac_status=$?
66891 grep -v '^ *+' conftest.er1 >conftest.err
66892 rm -f conftest.er1
66893 cat conftest.err >&5
66894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66895 (exit $ac_status); } &&
66896 { ac_try='test -z "$ac_c_werror_flag"
66897 || test ! -s conftest.err'
66898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66899 (eval $ac_try) 2>&5
66900 ac_status=$?
66901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66902 (exit $ac_status); }; } &&
66903 { ac_try='test -s conftest$ac_exeext'
66904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66905 (eval $ac_try) 2>&5
66906 ac_status=$?
66907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66908 (exit $ac_status); }; }; then
66909 eval "$as_ac_var=yes"
66910 else
66911 echo "$as_me: failed program was:" >&5
66912 sed 's/^/| /' conftest.$ac_ext >&5
66914 eval "$as_ac_var=no"
66916 rm -f conftest.err conftest.$ac_objext \
66917 conftest$ac_exeext conftest.$ac_ext
66919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66921 if test `eval echo '${'$as_ac_var'}'` = yes; then
66922 cat >>confdefs.h <<_ACEOF
66923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66924 _ACEOF
66927 done
66929 else
66931 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
66932 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
66933 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66934 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
66935 echo $ECHO_N "(cached) $ECHO_C" >&6
66936 else
66940 ac_ext=cc
66941 ac_cpp='$CXXCPP $CPPFLAGS'
66942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66946 cat >conftest.$ac_ext <<_ACEOF
66947 /* confdefs.h. */
66948 _ACEOF
66949 cat confdefs.h >>conftest.$ac_ext
66950 cat >>conftest.$ac_ext <<_ACEOF
66951 /* end confdefs.h. */
66952 #include <math.h>
66953 #ifdef HAVE_IEEEFP_H
66954 #include <ieeefp.h>
66955 #endif
66958 main ()
66960 _log10f(0);
66962 return 0;
66964 _ACEOF
66965 rm -f conftest.$ac_objext
66966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66967 (eval $ac_compile) 2>conftest.er1
66968 ac_status=$?
66969 grep -v '^ *+' conftest.er1 >conftest.err
66970 rm -f conftest.er1
66971 cat conftest.err >&5
66972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66973 (exit $ac_status); } &&
66974 { ac_try='test -z "$ac_cxx_werror_flag"
66975 || test ! -s conftest.err'
66976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66977 (eval $ac_try) 2>&5
66978 ac_status=$?
66979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66980 (exit $ac_status); }; } &&
66981 { ac_try='test -s conftest.$ac_objext'
66982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66983 (eval $ac_try) 2>&5
66984 ac_status=$?
66985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66986 (exit $ac_status); }; }; then
66987 glibcxx_cv_func__log10f_use=yes
66988 else
66989 echo "$as_me: failed program was:" >&5
66990 sed 's/^/| /' conftest.$ac_ext >&5
66992 glibcxx_cv_func__log10f_use=no
66994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66995 ac_ext=c
66996 ac_cpp='$CPP $CPPFLAGS'
66997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
67006 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
67008 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67010 for ac_func in _log10f
67012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67013 echo "$as_me:$LINENO: checking for $ac_func" >&5
67014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67015 if eval "test \"\${$as_ac_var+set}\" = set"; then
67016 echo $ECHO_N "(cached) $ECHO_C" >&6
67017 else
67018 if test x$gcc_no_link = xyes; then
67019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67021 { (exit 1); exit 1; }; }
67023 cat >conftest.$ac_ext <<_ACEOF
67024 /* confdefs.h. */
67025 _ACEOF
67026 cat confdefs.h >>conftest.$ac_ext
67027 cat >>conftest.$ac_ext <<_ACEOF
67028 /* end confdefs.h. */
67029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67031 #define $ac_func innocuous_$ac_func
67033 /* System header to define __stub macros and hopefully few prototypes,
67034 which can conflict with char $ac_func (); below.
67035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67036 <limits.h> exists even on freestanding compilers. */
67038 #ifdef __STDC__
67039 # include <limits.h>
67040 #else
67041 # include <assert.h>
67042 #endif
67044 #undef $ac_func
67046 /* Override any gcc2 internal prototype to avoid an error. */
67047 #ifdef __cplusplus
67048 extern "C"
67050 #endif
67051 /* We use char because int might match the return type of a gcc2
67052 builtin and then its argument prototype would still apply. */
67053 char $ac_func ();
67054 /* The GNU C library defines this for functions which it implements
67055 to always fail with ENOSYS. Some functions are actually named
67056 something starting with __ and the normal name is an alias. */
67057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67058 choke me
67059 #else
67060 char (*f) () = $ac_func;
67061 #endif
67062 #ifdef __cplusplus
67064 #endif
67067 main ()
67069 return f != $ac_func;
67071 return 0;
67073 _ACEOF
67074 rm -f conftest.$ac_objext conftest$ac_exeext
67075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67076 (eval $ac_link) 2>conftest.er1
67077 ac_status=$?
67078 grep -v '^ *+' conftest.er1 >conftest.err
67079 rm -f conftest.er1
67080 cat conftest.err >&5
67081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67082 (exit $ac_status); } &&
67083 { ac_try='test -z "$ac_c_werror_flag"
67084 || test ! -s conftest.err'
67085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67086 (eval $ac_try) 2>&5
67087 ac_status=$?
67088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67089 (exit $ac_status); }; } &&
67090 { ac_try='test -s conftest$ac_exeext'
67091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67092 (eval $ac_try) 2>&5
67093 ac_status=$?
67094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67095 (exit $ac_status); }; }; then
67096 eval "$as_ac_var=yes"
67097 else
67098 echo "$as_me: failed program was:" >&5
67099 sed 's/^/| /' conftest.$ac_ext >&5
67101 eval "$as_ac_var=no"
67103 rm -f conftest.err conftest.$ac_objext \
67104 conftest$ac_exeext conftest.$ac_ext
67106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67108 if test `eval echo '${'$as_ac_var'}'` = yes; then
67109 cat >>confdefs.h <<_ACEOF
67110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67111 _ACEOF
67114 done
67124 echo "$as_me:$LINENO: checking for modff declaration" >&5
67125 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
67126 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67127 if test "${glibcxx_cv_func_modff_use+set}" = set; then
67128 echo $ECHO_N "(cached) $ECHO_C" >&6
67129 else
67133 ac_ext=cc
67134 ac_cpp='$CXXCPP $CPPFLAGS'
67135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67139 cat >conftest.$ac_ext <<_ACEOF
67140 /* confdefs.h. */
67141 _ACEOF
67142 cat confdefs.h >>conftest.$ac_ext
67143 cat >>conftest.$ac_ext <<_ACEOF
67144 /* end confdefs.h. */
67145 #include <math.h>
67147 main ()
67149 modff(0, 0);
67151 return 0;
67153 _ACEOF
67154 rm -f conftest.$ac_objext
67155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67156 (eval $ac_compile) 2>conftest.er1
67157 ac_status=$?
67158 grep -v '^ *+' conftest.er1 >conftest.err
67159 rm -f conftest.er1
67160 cat conftest.err >&5
67161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67162 (exit $ac_status); } &&
67163 { ac_try='test -z "$ac_cxx_werror_flag"
67164 || test ! -s conftest.err'
67165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67166 (eval $ac_try) 2>&5
67167 ac_status=$?
67168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67169 (exit $ac_status); }; } &&
67170 { ac_try='test -s conftest.$ac_objext'
67171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67172 (eval $ac_try) 2>&5
67173 ac_status=$?
67174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67175 (exit $ac_status); }; }; then
67176 glibcxx_cv_func_modff_use=yes
67177 else
67178 echo "$as_me: failed program was:" >&5
67179 sed 's/^/| /' conftest.$ac_ext >&5
67181 glibcxx_cv_func_modff_use=no
67183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67184 ac_ext=c
67185 ac_cpp='$CPP $CPPFLAGS'
67186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
67195 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
67197 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67199 for ac_func in modff
67201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67202 echo "$as_me:$LINENO: checking for $ac_func" >&5
67203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67204 if eval "test \"\${$as_ac_var+set}\" = set"; then
67205 echo $ECHO_N "(cached) $ECHO_C" >&6
67206 else
67207 if test x$gcc_no_link = xyes; then
67208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67210 { (exit 1); exit 1; }; }
67212 cat >conftest.$ac_ext <<_ACEOF
67213 /* confdefs.h. */
67214 _ACEOF
67215 cat confdefs.h >>conftest.$ac_ext
67216 cat >>conftest.$ac_ext <<_ACEOF
67217 /* end confdefs.h. */
67218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67220 #define $ac_func innocuous_$ac_func
67222 /* System header to define __stub macros and hopefully few prototypes,
67223 which can conflict with char $ac_func (); below.
67224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67225 <limits.h> exists even on freestanding compilers. */
67227 #ifdef __STDC__
67228 # include <limits.h>
67229 #else
67230 # include <assert.h>
67231 #endif
67233 #undef $ac_func
67235 /* Override any gcc2 internal prototype to avoid an error. */
67236 #ifdef __cplusplus
67237 extern "C"
67239 #endif
67240 /* We use char because int might match the return type of a gcc2
67241 builtin and then its argument prototype would still apply. */
67242 char $ac_func ();
67243 /* The GNU C library defines this for functions which it implements
67244 to always fail with ENOSYS. Some functions are actually named
67245 something starting with __ and the normal name is an alias. */
67246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67247 choke me
67248 #else
67249 char (*f) () = $ac_func;
67250 #endif
67251 #ifdef __cplusplus
67253 #endif
67256 main ()
67258 return f != $ac_func;
67260 return 0;
67262 _ACEOF
67263 rm -f conftest.$ac_objext conftest$ac_exeext
67264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67265 (eval $ac_link) 2>conftest.er1
67266 ac_status=$?
67267 grep -v '^ *+' conftest.er1 >conftest.err
67268 rm -f conftest.er1
67269 cat conftest.err >&5
67270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67271 (exit $ac_status); } &&
67272 { ac_try='test -z "$ac_c_werror_flag"
67273 || test ! -s conftest.err'
67274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67275 (eval $ac_try) 2>&5
67276 ac_status=$?
67277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67278 (exit $ac_status); }; } &&
67279 { ac_try='test -s conftest$ac_exeext'
67280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67281 (eval $ac_try) 2>&5
67282 ac_status=$?
67283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67284 (exit $ac_status); }; }; then
67285 eval "$as_ac_var=yes"
67286 else
67287 echo "$as_me: failed program was:" >&5
67288 sed 's/^/| /' conftest.$ac_ext >&5
67290 eval "$as_ac_var=no"
67292 rm -f conftest.err conftest.$ac_objext \
67293 conftest$ac_exeext conftest.$ac_ext
67295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67297 if test `eval echo '${'$as_ac_var'}'` = yes; then
67298 cat >>confdefs.h <<_ACEOF
67299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67300 _ACEOF
67303 done
67305 else
67307 echo "$as_me:$LINENO: checking for _modff declaration" >&5
67308 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
67309 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67310 if test "${glibcxx_cv_func__modff_use+set}" = set; then
67311 echo $ECHO_N "(cached) $ECHO_C" >&6
67312 else
67316 ac_ext=cc
67317 ac_cpp='$CXXCPP $CPPFLAGS'
67318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67322 cat >conftest.$ac_ext <<_ACEOF
67323 /* confdefs.h. */
67324 _ACEOF
67325 cat confdefs.h >>conftest.$ac_ext
67326 cat >>conftest.$ac_ext <<_ACEOF
67327 /* end confdefs.h. */
67328 #include <math.h>
67330 main ()
67332 _modff(0, 0);
67334 return 0;
67336 _ACEOF
67337 rm -f conftest.$ac_objext
67338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67339 (eval $ac_compile) 2>conftest.er1
67340 ac_status=$?
67341 grep -v '^ *+' conftest.er1 >conftest.err
67342 rm -f conftest.er1
67343 cat conftest.err >&5
67344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345 (exit $ac_status); } &&
67346 { ac_try='test -z "$ac_cxx_werror_flag"
67347 || test ! -s conftest.err'
67348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67349 (eval $ac_try) 2>&5
67350 ac_status=$?
67351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67352 (exit $ac_status); }; } &&
67353 { ac_try='test -s conftest.$ac_objext'
67354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67355 (eval $ac_try) 2>&5
67356 ac_status=$?
67357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67358 (exit $ac_status); }; }; then
67359 glibcxx_cv_func__modff_use=yes
67360 else
67361 echo "$as_me: failed program was:" >&5
67362 sed 's/^/| /' conftest.$ac_ext >&5
67364 glibcxx_cv_func__modff_use=no
67366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67367 ac_ext=c
67368 ac_cpp='$CPP $CPPFLAGS'
67369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
67378 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
67380 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67382 for ac_func in _modff
67384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67385 echo "$as_me:$LINENO: checking for $ac_func" >&5
67386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67387 if eval "test \"\${$as_ac_var+set}\" = set"; then
67388 echo $ECHO_N "(cached) $ECHO_C" >&6
67389 else
67390 if test x$gcc_no_link = xyes; then
67391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67393 { (exit 1); exit 1; }; }
67395 cat >conftest.$ac_ext <<_ACEOF
67396 /* confdefs.h. */
67397 _ACEOF
67398 cat confdefs.h >>conftest.$ac_ext
67399 cat >>conftest.$ac_ext <<_ACEOF
67400 /* end confdefs.h. */
67401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67403 #define $ac_func innocuous_$ac_func
67405 /* System header to define __stub macros and hopefully few prototypes,
67406 which can conflict with char $ac_func (); below.
67407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67408 <limits.h> exists even on freestanding compilers. */
67410 #ifdef __STDC__
67411 # include <limits.h>
67412 #else
67413 # include <assert.h>
67414 #endif
67416 #undef $ac_func
67418 /* Override any gcc2 internal prototype to avoid an error. */
67419 #ifdef __cplusplus
67420 extern "C"
67422 #endif
67423 /* We use char because int might match the return type of a gcc2
67424 builtin and then its argument prototype would still apply. */
67425 char $ac_func ();
67426 /* The GNU C library defines this for functions which it implements
67427 to always fail with ENOSYS. Some functions are actually named
67428 something starting with __ and the normal name is an alias. */
67429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67430 choke me
67431 #else
67432 char (*f) () = $ac_func;
67433 #endif
67434 #ifdef __cplusplus
67436 #endif
67439 main ()
67441 return f != $ac_func;
67443 return 0;
67445 _ACEOF
67446 rm -f conftest.$ac_objext conftest$ac_exeext
67447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67448 (eval $ac_link) 2>conftest.er1
67449 ac_status=$?
67450 grep -v '^ *+' conftest.er1 >conftest.err
67451 rm -f conftest.er1
67452 cat conftest.err >&5
67453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67454 (exit $ac_status); } &&
67455 { ac_try='test -z "$ac_c_werror_flag"
67456 || test ! -s conftest.err'
67457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67458 (eval $ac_try) 2>&5
67459 ac_status=$?
67460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67461 (exit $ac_status); }; } &&
67462 { ac_try='test -s conftest$ac_exeext'
67463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67464 (eval $ac_try) 2>&5
67465 ac_status=$?
67466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67467 (exit $ac_status); }; }; then
67468 eval "$as_ac_var=yes"
67469 else
67470 echo "$as_me: failed program was:" >&5
67471 sed 's/^/| /' conftest.$ac_ext >&5
67473 eval "$as_ac_var=no"
67475 rm -f conftest.err conftest.$ac_objext \
67476 conftest$ac_exeext conftest.$ac_ext
67478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67480 if test `eval echo '${'$as_ac_var'}'` = yes; then
67481 cat >>confdefs.h <<_ACEOF
67482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67483 _ACEOF
67486 done
67496 echo "$as_me:$LINENO: checking for modf declaration" >&5
67497 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
67498 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67499 if test "${glibcxx_cv_func_modf_use+set}" = set; then
67500 echo $ECHO_N "(cached) $ECHO_C" >&6
67501 else
67505 ac_ext=cc
67506 ac_cpp='$CXXCPP $CPPFLAGS'
67507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67511 cat >conftest.$ac_ext <<_ACEOF
67512 /* confdefs.h. */
67513 _ACEOF
67514 cat confdefs.h >>conftest.$ac_ext
67515 cat >>conftest.$ac_ext <<_ACEOF
67516 /* end confdefs.h. */
67517 #include <math.h>
67519 main ()
67521 modf(0, 0);
67523 return 0;
67525 _ACEOF
67526 rm -f conftest.$ac_objext
67527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67528 (eval $ac_compile) 2>conftest.er1
67529 ac_status=$?
67530 grep -v '^ *+' conftest.er1 >conftest.err
67531 rm -f conftest.er1
67532 cat conftest.err >&5
67533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67534 (exit $ac_status); } &&
67535 { ac_try='test -z "$ac_cxx_werror_flag"
67536 || test ! -s conftest.err'
67537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67538 (eval $ac_try) 2>&5
67539 ac_status=$?
67540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67541 (exit $ac_status); }; } &&
67542 { ac_try='test -s conftest.$ac_objext'
67543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67544 (eval $ac_try) 2>&5
67545 ac_status=$?
67546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67547 (exit $ac_status); }; }; then
67548 glibcxx_cv_func_modf_use=yes
67549 else
67550 echo "$as_me: failed program was:" >&5
67551 sed 's/^/| /' conftest.$ac_ext >&5
67553 glibcxx_cv_func_modf_use=no
67555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67556 ac_ext=c
67557 ac_cpp='$CPP $CPPFLAGS'
67558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67566 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
67567 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
67569 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67571 for ac_func in modf
67573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67574 echo "$as_me:$LINENO: checking for $ac_func" >&5
67575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67576 if eval "test \"\${$as_ac_var+set}\" = set"; then
67577 echo $ECHO_N "(cached) $ECHO_C" >&6
67578 else
67579 if test x$gcc_no_link = xyes; then
67580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67582 { (exit 1); exit 1; }; }
67584 cat >conftest.$ac_ext <<_ACEOF
67585 /* confdefs.h. */
67586 _ACEOF
67587 cat confdefs.h >>conftest.$ac_ext
67588 cat >>conftest.$ac_ext <<_ACEOF
67589 /* end confdefs.h. */
67590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67592 #define $ac_func innocuous_$ac_func
67594 /* System header to define __stub macros and hopefully few prototypes,
67595 which can conflict with char $ac_func (); below.
67596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67597 <limits.h> exists even on freestanding compilers. */
67599 #ifdef __STDC__
67600 # include <limits.h>
67601 #else
67602 # include <assert.h>
67603 #endif
67605 #undef $ac_func
67607 /* Override any gcc2 internal prototype to avoid an error. */
67608 #ifdef __cplusplus
67609 extern "C"
67611 #endif
67612 /* We use char because int might match the return type of a gcc2
67613 builtin and then its argument prototype would still apply. */
67614 char $ac_func ();
67615 /* The GNU C library defines this for functions which it implements
67616 to always fail with ENOSYS. Some functions are actually named
67617 something starting with __ and the normal name is an alias. */
67618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67619 choke me
67620 #else
67621 char (*f) () = $ac_func;
67622 #endif
67623 #ifdef __cplusplus
67625 #endif
67628 main ()
67630 return f != $ac_func;
67632 return 0;
67634 _ACEOF
67635 rm -f conftest.$ac_objext conftest$ac_exeext
67636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67637 (eval $ac_link) 2>conftest.er1
67638 ac_status=$?
67639 grep -v '^ *+' conftest.er1 >conftest.err
67640 rm -f conftest.er1
67641 cat conftest.err >&5
67642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67643 (exit $ac_status); } &&
67644 { ac_try='test -z "$ac_c_werror_flag"
67645 || test ! -s conftest.err'
67646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67647 (eval $ac_try) 2>&5
67648 ac_status=$?
67649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67650 (exit $ac_status); }; } &&
67651 { ac_try='test -s conftest$ac_exeext'
67652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67653 (eval $ac_try) 2>&5
67654 ac_status=$?
67655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67656 (exit $ac_status); }; }; then
67657 eval "$as_ac_var=yes"
67658 else
67659 echo "$as_me: failed program was:" >&5
67660 sed 's/^/| /' conftest.$ac_ext >&5
67662 eval "$as_ac_var=no"
67664 rm -f conftest.err conftest.$ac_objext \
67665 conftest$ac_exeext conftest.$ac_ext
67667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67669 if test `eval echo '${'$as_ac_var'}'` = yes; then
67670 cat >>confdefs.h <<_ACEOF
67671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67672 _ACEOF
67675 done
67677 else
67679 echo "$as_me:$LINENO: checking for _modf declaration" >&5
67680 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
67681 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67682 if test "${glibcxx_cv_func__modf_use+set}" = set; then
67683 echo $ECHO_N "(cached) $ECHO_C" >&6
67684 else
67688 ac_ext=cc
67689 ac_cpp='$CXXCPP $CPPFLAGS'
67690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67694 cat >conftest.$ac_ext <<_ACEOF
67695 /* confdefs.h. */
67696 _ACEOF
67697 cat confdefs.h >>conftest.$ac_ext
67698 cat >>conftest.$ac_ext <<_ACEOF
67699 /* end confdefs.h. */
67700 #include <math.h>
67702 main ()
67704 _modf(0, 0);
67706 return 0;
67708 _ACEOF
67709 rm -f conftest.$ac_objext
67710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67711 (eval $ac_compile) 2>conftest.er1
67712 ac_status=$?
67713 grep -v '^ *+' conftest.er1 >conftest.err
67714 rm -f conftest.er1
67715 cat conftest.err >&5
67716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717 (exit $ac_status); } &&
67718 { ac_try='test -z "$ac_cxx_werror_flag"
67719 || test ! -s conftest.err'
67720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67721 (eval $ac_try) 2>&5
67722 ac_status=$?
67723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67724 (exit $ac_status); }; } &&
67725 { ac_try='test -s conftest.$ac_objext'
67726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67727 (eval $ac_try) 2>&5
67728 ac_status=$?
67729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67730 (exit $ac_status); }; }; then
67731 glibcxx_cv_func__modf_use=yes
67732 else
67733 echo "$as_me: failed program was:" >&5
67734 sed 's/^/| /' conftest.$ac_ext >&5
67736 glibcxx_cv_func__modf_use=no
67738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67739 ac_ext=c
67740 ac_cpp='$CPP $CPPFLAGS'
67741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
67750 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
67752 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67754 for ac_func in _modf
67756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67757 echo "$as_me:$LINENO: checking for $ac_func" >&5
67758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67759 if eval "test \"\${$as_ac_var+set}\" = set"; then
67760 echo $ECHO_N "(cached) $ECHO_C" >&6
67761 else
67762 if test x$gcc_no_link = xyes; then
67763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67765 { (exit 1); exit 1; }; }
67767 cat >conftest.$ac_ext <<_ACEOF
67768 /* confdefs.h. */
67769 _ACEOF
67770 cat confdefs.h >>conftest.$ac_ext
67771 cat >>conftest.$ac_ext <<_ACEOF
67772 /* end confdefs.h. */
67773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67775 #define $ac_func innocuous_$ac_func
67777 /* System header to define __stub macros and hopefully few prototypes,
67778 which can conflict with char $ac_func (); below.
67779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67780 <limits.h> exists even on freestanding compilers. */
67782 #ifdef __STDC__
67783 # include <limits.h>
67784 #else
67785 # include <assert.h>
67786 #endif
67788 #undef $ac_func
67790 /* Override any gcc2 internal prototype to avoid an error. */
67791 #ifdef __cplusplus
67792 extern "C"
67794 #endif
67795 /* We use char because int might match the return type of a gcc2
67796 builtin and then its argument prototype would still apply. */
67797 char $ac_func ();
67798 /* The GNU C library defines this for functions which it implements
67799 to always fail with ENOSYS. Some functions are actually named
67800 something starting with __ and the normal name is an alias. */
67801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67802 choke me
67803 #else
67804 char (*f) () = $ac_func;
67805 #endif
67806 #ifdef __cplusplus
67808 #endif
67811 main ()
67813 return f != $ac_func;
67815 return 0;
67817 _ACEOF
67818 rm -f conftest.$ac_objext conftest$ac_exeext
67819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67820 (eval $ac_link) 2>conftest.er1
67821 ac_status=$?
67822 grep -v '^ *+' conftest.er1 >conftest.err
67823 rm -f conftest.er1
67824 cat conftest.err >&5
67825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67826 (exit $ac_status); } &&
67827 { ac_try='test -z "$ac_c_werror_flag"
67828 || test ! -s conftest.err'
67829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67830 (eval $ac_try) 2>&5
67831 ac_status=$?
67832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67833 (exit $ac_status); }; } &&
67834 { ac_try='test -s conftest$ac_exeext'
67835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67836 (eval $ac_try) 2>&5
67837 ac_status=$?
67838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67839 (exit $ac_status); }; }; then
67840 eval "$as_ac_var=yes"
67841 else
67842 echo "$as_me: failed program was:" >&5
67843 sed 's/^/| /' conftest.$ac_ext >&5
67845 eval "$as_ac_var=no"
67847 rm -f conftest.err conftest.$ac_objext \
67848 conftest$ac_exeext conftest.$ac_ext
67850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67852 if test `eval echo '${'$as_ac_var'}'` = yes; then
67853 cat >>confdefs.h <<_ACEOF
67854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67855 _ACEOF
67858 done
67868 echo "$as_me:$LINENO: checking for powf declaration" >&5
67869 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
67870 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67871 if test "${glibcxx_cv_func_powf_use+set}" = set; then
67872 echo $ECHO_N "(cached) $ECHO_C" >&6
67873 else
67877 ac_ext=cc
67878 ac_cpp='$CXXCPP $CPPFLAGS'
67879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67883 cat >conftest.$ac_ext <<_ACEOF
67884 /* confdefs.h. */
67885 _ACEOF
67886 cat confdefs.h >>conftest.$ac_ext
67887 cat >>conftest.$ac_ext <<_ACEOF
67888 /* end confdefs.h. */
67889 #include <math.h>
67891 main ()
67893 powf(0, 0);
67895 return 0;
67897 _ACEOF
67898 rm -f conftest.$ac_objext
67899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67900 (eval $ac_compile) 2>conftest.er1
67901 ac_status=$?
67902 grep -v '^ *+' conftest.er1 >conftest.err
67903 rm -f conftest.er1
67904 cat conftest.err >&5
67905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67906 (exit $ac_status); } &&
67907 { ac_try='test -z "$ac_cxx_werror_flag"
67908 || test ! -s conftest.err'
67909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67910 (eval $ac_try) 2>&5
67911 ac_status=$?
67912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67913 (exit $ac_status); }; } &&
67914 { ac_try='test -s conftest.$ac_objext'
67915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67916 (eval $ac_try) 2>&5
67917 ac_status=$?
67918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67919 (exit $ac_status); }; }; then
67920 glibcxx_cv_func_powf_use=yes
67921 else
67922 echo "$as_me: failed program was:" >&5
67923 sed 's/^/| /' conftest.$ac_ext >&5
67925 glibcxx_cv_func_powf_use=no
67927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67928 ac_ext=c
67929 ac_cpp='$CPP $CPPFLAGS'
67930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67938 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
67939 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
67941 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67943 for ac_func in powf
67945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67946 echo "$as_me:$LINENO: checking for $ac_func" >&5
67947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67948 if eval "test \"\${$as_ac_var+set}\" = set"; then
67949 echo $ECHO_N "(cached) $ECHO_C" >&6
67950 else
67951 if test x$gcc_no_link = xyes; then
67952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67954 { (exit 1); exit 1; }; }
67956 cat >conftest.$ac_ext <<_ACEOF
67957 /* confdefs.h. */
67958 _ACEOF
67959 cat confdefs.h >>conftest.$ac_ext
67960 cat >>conftest.$ac_ext <<_ACEOF
67961 /* end confdefs.h. */
67962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67964 #define $ac_func innocuous_$ac_func
67966 /* System header to define __stub macros and hopefully few prototypes,
67967 which can conflict with char $ac_func (); below.
67968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67969 <limits.h> exists even on freestanding compilers. */
67971 #ifdef __STDC__
67972 # include <limits.h>
67973 #else
67974 # include <assert.h>
67975 #endif
67977 #undef $ac_func
67979 /* Override any gcc2 internal prototype to avoid an error. */
67980 #ifdef __cplusplus
67981 extern "C"
67983 #endif
67984 /* We use char because int might match the return type of a gcc2
67985 builtin and then its argument prototype would still apply. */
67986 char $ac_func ();
67987 /* The GNU C library defines this for functions which it implements
67988 to always fail with ENOSYS. Some functions are actually named
67989 something starting with __ and the normal name is an alias. */
67990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67991 choke me
67992 #else
67993 char (*f) () = $ac_func;
67994 #endif
67995 #ifdef __cplusplus
67997 #endif
68000 main ()
68002 return f != $ac_func;
68004 return 0;
68006 _ACEOF
68007 rm -f conftest.$ac_objext conftest$ac_exeext
68008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68009 (eval $ac_link) 2>conftest.er1
68010 ac_status=$?
68011 grep -v '^ *+' conftest.er1 >conftest.err
68012 rm -f conftest.er1
68013 cat conftest.err >&5
68014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68015 (exit $ac_status); } &&
68016 { ac_try='test -z "$ac_c_werror_flag"
68017 || test ! -s conftest.err'
68018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68019 (eval $ac_try) 2>&5
68020 ac_status=$?
68021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68022 (exit $ac_status); }; } &&
68023 { ac_try='test -s conftest$ac_exeext'
68024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68025 (eval $ac_try) 2>&5
68026 ac_status=$?
68027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68028 (exit $ac_status); }; }; then
68029 eval "$as_ac_var=yes"
68030 else
68031 echo "$as_me: failed program was:" >&5
68032 sed 's/^/| /' conftest.$ac_ext >&5
68034 eval "$as_ac_var=no"
68036 rm -f conftest.err conftest.$ac_objext \
68037 conftest$ac_exeext conftest.$ac_ext
68039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68041 if test `eval echo '${'$as_ac_var'}'` = yes; then
68042 cat >>confdefs.h <<_ACEOF
68043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68044 _ACEOF
68047 done
68049 else
68051 echo "$as_me:$LINENO: checking for _powf declaration" >&5
68052 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
68053 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68054 if test "${glibcxx_cv_func__powf_use+set}" = set; then
68055 echo $ECHO_N "(cached) $ECHO_C" >&6
68056 else
68060 ac_ext=cc
68061 ac_cpp='$CXXCPP $CPPFLAGS'
68062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68066 cat >conftest.$ac_ext <<_ACEOF
68067 /* confdefs.h. */
68068 _ACEOF
68069 cat confdefs.h >>conftest.$ac_ext
68070 cat >>conftest.$ac_ext <<_ACEOF
68071 /* end confdefs.h. */
68072 #include <math.h>
68074 main ()
68076 _powf(0, 0);
68078 return 0;
68080 _ACEOF
68081 rm -f conftest.$ac_objext
68082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68083 (eval $ac_compile) 2>conftest.er1
68084 ac_status=$?
68085 grep -v '^ *+' conftest.er1 >conftest.err
68086 rm -f conftest.er1
68087 cat conftest.err >&5
68088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68089 (exit $ac_status); } &&
68090 { ac_try='test -z "$ac_cxx_werror_flag"
68091 || test ! -s conftest.err'
68092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68093 (eval $ac_try) 2>&5
68094 ac_status=$?
68095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68096 (exit $ac_status); }; } &&
68097 { ac_try='test -s conftest.$ac_objext'
68098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68099 (eval $ac_try) 2>&5
68100 ac_status=$?
68101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68102 (exit $ac_status); }; }; then
68103 glibcxx_cv_func__powf_use=yes
68104 else
68105 echo "$as_me: failed program was:" >&5
68106 sed 's/^/| /' conftest.$ac_ext >&5
68108 glibcxx_cv_func__powf_use=no
68110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68111 ac_ext=c
68112 ac_cpp='$CPP $CPPFLAGS'
68113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
68122 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
68124 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68126 for ac_func in _powf
68128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68129 echo "$as_me:$LINENO: checking for $ac_func" >&5
68130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68131 if eval "test \"\${$as_ac_var+set}\" = set"; then
68132 echo $ECHO_N "(cached) $ECHO_C" >&6
68133 else
68134 if test x$gcc_no_link = xyes; then
68135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68137 { (exit 1); exit 1; }; }
68139 cat >conftest.$ac_ext <<_ACEOF
68140 /* confdefs.h. */
68141 _ACEOF
68142 cat confdefs.h >>conftest.$ac_ext
68143 cat >>conftest.$ac_ext <<_ACEOF
68144 /* end confdefs.h. */
68145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68147 #define $ac_func innocuous_$ac_func
68149 /* System header to define __stub macros and hopefully few prototypes,
68150 which can conflict with char $ac_func (); below.
68151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68152 <limits.h> exists even on freestanding compilers. */
68154 #ifdef __STDC__
68155 # include <limits.h>
68156 #else
68157 # include <assert.h>
68158 #endif
68160 #undef $ac_func
68162 /* Override any gcc2 internal prototype to avoid an error. */
68163 #ifdef __cplusplus
68164 extern "C"
68166 #endif
68167 /* We use char because int might match the return type of a gcc2
68168 builtin and then its argument prototype would still apply. */
68169 char $ac_func ();
68170 /* The GNU C library defines this for functions which it implements
68171 to always fail with ENOSYS. Some functions are actually named
68172 something starting with __ and the normal name is an alias. */
68173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68174 choke me
68175 #else
68176 char (*f) () = $ac_func;
68177 #endif
68178 #ifdef __cplusplus
68180 #endif
68183 main ()
68185 return f != $ac_func;
68187 return 0;
68189 _ACEOF
68190 rm -f conftest.$ac_objext conftest$ac_exeext
68191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68192 (eval $ac_link) 2>conftest.er1
68193 ac_status=$?
68194 grep -v '^ *+' conftest.er1 >conftest.err
68195 rm -f conftest.er1
68196 cat conftest.err >&5
68197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68198 (exit $ac_status); } &&
68199 { ac_try='test -z "$ac_c_werror_flag"
68200 || test ! -s conftest.err'
68201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68202 (eval $ac_try) 2>&5
68203 ac_status=$?
68204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68205 (exit $ac_status); }; } &&
68206 { ac_try='test -s conftest$ac_exeext'
68207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68208 (eval $ac_try) 2>&5
68209 ac_status=$?
68210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68211 (exit $ac_status); }; }; then
68212 eval "$as_ac_var=yes"
68213 else
68214 echo "$as_me: failed program was:" >&5
68215 sed 's/^/| /' conftest.$ac_ext >&5
68217 eval "$as_ac_var=no"
68219 rm -f conftest.err conftest.$ac_objext \
68220 conftest$ac_exeext conftest.$ac_ext
68222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68224 if test `eval echo '${'$as_ac_var'}'` = yes; then
68225 cat >>confdefs.h <<_ACEOF
68226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68227 _ACEOF
68230 done
68240 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
68241 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
68242 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68243 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
68244 echo $ECHO_N "(cached) $ECHO_C" >&6
68245 else
68249 ac_ext=cc
68250 ac_cpp='$CXXCPP $CPPFLAGS'
68251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68255 cat >conftest.$ac_ext <<_ACEOF
68256 /* confdefs.h. */
68257 _ACEOF
68258 cat confdefs.h >>conftest.$ac_ext
68259 cat >>conftest.$ac_ext <<_ACEOF
68260 /* end confdefs.h. */
68261 #include <math.h>
68262 #ifdef HAVE_IEEEFP_H
68263 #include <ieeefp.h>
68264 #endif
68267 main ()
68269 sqrtf(0);
68271 return 0;
68273 _ACEOF
68274 rm -f conftest.$ac_objext
68275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68276 (eval $ac_compile) 2>conftest.er1
68277 ac_status=$?
68278 grep -v '^ *+' conftest.er1 >conftest.err
68279 rm -f conftest.er1
68280 cat conftest.err >&5
68281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68282 (exit $ac_status); } &&
68283 { ac_try='test -z "$ac_cxx_werror_flag"
68284 || test ! -s conftest.err'
68285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68286 (eval $ac_try) 2>&5
68287 ac_status=$?
68288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68289 (exit $ac_status); }; } &&
68290 { ac_try='test -s conftest.$ac_objext'
68291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68292 (eval $ac_try) 2>&5
68293 ac_status=$?
68294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68295 (exit $ac_status); }; }; then
68296 glibcxx_cv_func_sqrtf_use=yes
68297 else
68298 echo "$as_me: failed program was:" >&5
68299 sed 's/^/| /' conftest.$ac_ext >&5
68301 glibcxx_cv_func_sqrtf_use=no
68303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68304 ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
68315 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
68317 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68319 for ac_func in sqrtf
68321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68322 echo "$as_me:$LINENO: checking for $ac_func" >&5
68323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68324 if eval "test \"\${$as_ac_var+set}\" = set"; then
68325 echo $ECHO_N "(cached) $ECHO_C" >&6
68326 else
68327 if test x$gcc_no_link = xyes; then
68328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68330 { (exit 1); exit 1; }; }
68332 cat >conftest.$ac_ext <<_ACEOF
68333 /* confdefs.h. */
68334 _ACEOF
68335 cat confdefs.h >>conftest.$ac_ext
68336 cat >>conftest.$ac_ext <<_ACEOF
68337 /* end confdefs.h. */
68338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68340 #define $ac_func innocuous_$ac_func
68342 /* System header to define __stub macros and hopefully few prototypes,
68343 which can conflict with char $ac_func (); below.
68344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68345 <limits.h> exists even on freestanding compilers. */
68347 #ifdef __STDC__
68348 # include <limits.h>
68349 #else
68350 # include <assert.h>
68351 #endif
68353 #undef $ac_func
68355 /* Override any gcc2 internal prototype to avoid an error. */
68356 #ifdef __cplusplus
68357 extern "C"
68359 #endif
68360 /* We use char because int might match the return type of a gcc2
68361 builtin and then its argument prototype would still apply. */
68362 char $ac_func ();
68363 /* The GNU C library defines this for functions which it implements
68364 to always fail with ENOSYS. Some functions are actually named
68365 something starting with __ and the normal name is an alias. */
68366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68367 choke me
68368 #else
68369 char (*f) () = $ac_func;
68370 #endif
68371 #ifdef __cplusplus
68373 #endif
68376 main ()
68378 return f != $ac_func;
68380 return 0;
68382 _ACEOF
68383 rm -f conftest.$ac_objext conftest$ac_exeext
68384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68385 (eval $ac_link) 2>conftest.er1
68386 ac_status=$?
68387 grep -v '^ *+' conftest.er1 >conftest.err
68388 rm -f conftest.er1
68389 cat conftest.err >&5
68390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68391 (exit $ac_status); } &&
68392 { ac_try='test -z "$ac_c_werror_flag"
68393 || test ! -s conftest.err'
68394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68395 (eval $ac_try) 2>&5
68396 ac_status=$?
68397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68398 (exit $ac_status); }; } &&
68399 { ac_try='test -s conftest$ac_exeext'
68400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68401 (eval $ac_try) 2>&5
68402 ac_status=$?
68403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68404 (exit $ac_status); }; }; then
68405 eval "$as_ac_var=yes"
68406 else
68407 echo "$as_me: failed program was:" >&5
68408 sed 's/^/| /' conftest.$ac_ext >&5
68410 eval "$as_ac_var=no"
68412 rm -f conftest.err conftest.$ac_objext \
68413 conftest$ac_exeext conftest.$ac_ext
68415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68417 if test `eval echo '${'$as_ac_var'}'` = yes; then
68418 cat >>confdefs.h <<_ACEOF
68419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68420 _ACEOF
68423 done
68425 else
68427 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
68428 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
68429 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68430 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
68431 echo $ECHO_N "(cached) $ECHO_C" >&6
68432 else
68436 ac_ext=cc
68437 ac_cpp='$CXXCPP $CPPFLAGS'
68438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68442 cat >conftest.$ac_ext <<_ACEOF
68443 /* confdefs.h. */
68444 _ACEOF
68445 cat confdefs.h >>conftest.$ac_ext
68446 cat >>conftest.$ac_ext <<_ACEOF
68447 /* end confdefs.h. */
68448 #include <math.h>
68449 #ifdef HAVE_IEEEFP_H
68450 #include <ieeefp.h>
68451 #endif
68454 main ()
68456 _sqrtf(0);
68458 return 0;
68460 _ACEOF
68461 rm -f conftest.$ac_objext
68462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68463 (eval $ac_compile) 2>conftest.er1
68464 ac_status=$?
68465 grep -v '^ *+' conftest.er1 >conftest.err
68466 rm -f conftest.er1
68467 cat conftest.err >&5
68468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68469 (exit $ac_status); } &&
68470 { ac_try='test -z "$ac_cxx_werror_flag"
68471 || test ! -s conftest.err'
68472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68473 (eval $ac_try) 2>&5
68474 ac_status=$?
68475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68476 (exit $ac_status); }; } &&
68477 { ac_try='test -s conftest.$ac_objext'
68478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68479 (eval $ac_try) 2>&5
68480 ac_status=$?
68481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68482 (exit $ac_status); }; }; then
68483 glibcxx_cv_func__sqrtf_use=yes
68484 else
68485 echo "$as_me: failed program was:" >&5
68486 sed 's/^/| /' conftest.$ac_ext >&5
68488 glibcxx_cv_func__sqrtf_use=no
68490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68491 ac_ext=c
68492 ac_cpp='$CPP $CPPFLAGS'
68493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
68502 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
68504 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68506 for ac_func in _sqrtf
68508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68509 echo "$as_me:$LINENO: checking for $ac_func" >&5
68510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68511 if eval "test \"\${$as_ac_var+set}\" = set"; then
68512 echo $ECHO_N "(cached) $ECHO_C" >&6
68513 else
68514 if test x$gcc_no_link = xyes; then
68515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68517 { (exit 1); exit 1; }; }
68519 cat >conftest.$ac_ext <<_ACEOF
68520 /* confdefs.h. */
68521 _ACEOF
68522 cat confdefs.h >>conftest.$ac_ext
68523 cat >>conftest.$ac_ext <<_ACEOF
68524 /* end confdefs.h. */
68525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68527 #define $ac_func innocuous_$ac_func
68529 /* System header to define __stub macros and hopefully few prototypes,
68530 which can conflict with char $ac_func (); below.
68531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68532 <limits.h> exists even on freestanding compilers. */
68534 #ifdef __STDC__
68535 # include <limits.h>
68536 #else
68537 # include <assert.h>
68538 #endif
68540 #undef $ac_func
68542 /* Override any gcc2 internal prototype to avoid an error. */
68543 #ifdef __cplusplus
68544 extern "C"
68546 #endif
68547 /* We use char because int might match the return type of a gcc2
68548 builtin and then its argument prototype would still apply. */
68549 char $ac_func ();
68550 /* The GNU C library defines this for functions which it implements
68551 to always fail with ENOSYS. Some functions are actually named
68552 something starting with __ and the normal name is an alias. */
68553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68554 choke me
68555 #else
68556 char (*f) () = $ac_func;
68557 #endif
68558 #ifdef __cplusplus
68560 #endif
68563 main ()
68565 return f != $ac_func;
68567 return 0;
68569 _ACEOF
68570 rm -f conftest.$ac_objext conftest$ac_exeext
68571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68572 (eval $ac_link) 2>conftest.er1
68573 ac_status=$?
68574 grep -v '^ *+' conftest.er1 >conftest.err
68575 rm -f conftest.er1
68576 cat conftest.err >&5
68577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68578 (exit $ac_status); } &&
68579 { ac_try='test -z "$ac_c_werror_flag"
68580 || test ! -s conftest.err'
68581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68582 (eval $ac_try) 2>&5
68583 ac_status=$?
68584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68585 (exit $ac_status); }; } &&
68586 { ac_try='test -s conftest$ac_exeext'
68587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68588 (eval $ac_try) 2>&5
68589 ac_status=$?
68590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68591 (exit $ac_status); }; }; then
68592 eval "$as_ac_var=yes"
68593 else
68594 echo "$as_me: failed program was:" >&5
68595 sed 's/^/| /' conftest.$ac_ext >&5
68597 eval "$as_ac_var=no"
68599 rm -f conftest.err conftest.$ac_objext \
68600 conftest$ac_exeext conftest.$ac_ext
68602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68604 if test `eval echo '${'$as_ac_var'}'` = yes; then
68605 cat >>confdefs.h <<_ACEOF
68606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68607 _ACEOF
68610 done
68620 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
68621 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
68622 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68623 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
68624 echo $ECHO_N "(cached) $ECHO_C" >&6
68625 else
68629 ac_ext=cc
68630 ac_cpp='$CXXCPP $CPPFLAGS'
68631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68635 cat >conftest.$ac_ext <<_ACEOF
68636 /* confdefs.h. */
68637 _ACEOF
68638 cat confdefs.h >>conftest.$ac_ext
68639 cat >>conftest.$ac_ext <<_ACEOF
68640 /* end confdefs.h. */
68641 #include <math.h>
68643 main ()
68645 sincosf(0, 0, 0);
68647 return 0;
68649 _ACEOF
68650 rm -f conftest.$ac_objext
68651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68652 (eval $ac_compile) 2>conftest.er1
68653 ac_status=$?
68654 grep -v '^ *+' conftest.er1 >conftest.err
68655 rm -f conftest.er1
68656 cat conftest.err >&5
68657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68658 (exit $ac_status); } &&
68659 { ac_try='test -z "$ac_cxx_werror_flag"
68660 || test ! -s conftest.err'
68661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68662 (eval $ac_try) 2>&5
68663 ac_status=$?
68664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68665 (exit $ac_status); }; } &&
68666 { ac_try='test -s conftest.$ac_objext'
68667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68668 (eval $ac_try) 2>&5
68669 ac_status=$?
68670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68671 (exit $ac_status); }; }; then
68672 glibcxx_cv_func_sincosf_use=yes
68673 else
68674 echo "$as_me: failed program was:" >&5
68675 sed 's/^/| /' conftest.$ac_ext >&5
68677 glibcxx_cv_func_sincosf_use=no
68679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68680 ac_ext=c
68681 ac_cpp='$CPP $CPPFLAGS'
68682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
68691 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
68693 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68695 for ac_func in sincosf
68697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68698 echo "$as_me:$LINENO: checking for $ac_func" >&5
68699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68700 if eval "test \"\${$as_ac_var+set}\" = set"; then
68701 echo $ECHO_N "(cached) $ECHO_C" >&6
68702 else
68703 if test x$gcc_no_link = xyes; then
68704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68706 { (exit 1); exit 1; }; }
68708 cat >conftest.$ac_ext <<_ACEOF
68709 /* confdefs.h. */
68710 _ACEOF
68711 cat confdefs.h >>conftest.$ac_ext
68712 cat >>conftest.$ac_ext <<_ACEOF
68713 /* end confdefs.h. */
68714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68716 #define $ac_func innocuous_$ac_func
68718 /* System header to define __stub macros and hopefully few prototypes,
68719 which can conflict with char $ac_func (); below.
68720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68721 <limits.h> exists even on freestanding compilers. */
68723 #ifdef __STDC__
68724 # include <limits.h>
68725 #else
68726 # include <assert.h>
68727 #endif
68729 #undef $ac_func
68731 /* Override any gcc2 internal prototype to avoid an error. */
68732 #ifdef __cplusplus
68733 extern "C"
68735 #endif
68736 /* We use char because int might match the return type of a gcc2
68737 builtin and then its argument prototype would still apply. */
68738 char $ac_func ();
68739 /* The GNU C library defines this for functions which it implements
68740 to always fail with ENOSYS. Some functions are actually named
68741 something starting with __ and the normal name is an alias. */
68742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68743 choke me
68744 #else
68745 char (*f) () = $ac_func;
68746 #endif
68747 #ifdef __cplusplus
68749 #endif
68752 main ()
68754 return f != $ac_func;
68756 return 0;
68758 _ACEOF
68759 rm -f conftest.$ac_objext conftest$ac_exeext
68760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68761 (eval $ac_link) 2>conftest.er1
68762 ac_status=$?
68763 grep -v '^ *+' conftest.er1 >conftest.err
68764 rm -f conftest.er1
68765 cat conftest.err >&5
68766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68767 (exit $ac_status); } &&
68768 { ac_try='test -z "$ac_c_werror_flag"
68769 || test ! -s conftest.err'
68770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68771 (eval $ac_try) 2>&5
68772 ac_status=$?
68773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68774 (exit $ac_status); }; } &&
68775 { ac_try='test -s conftest$ac_exeext'
68776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68777 (eval $ac_try) 2>&5
68778 ac_status=$?
68779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68780 (exit $ac_status); }; }; then
68781 eval "$as_ac_var=yes"
68782 else
68783 echo "$as_me: failed program was:" >&5
68784 sed 's/^/| /' conftest.$ac_ext >&5
68786 eval "$as_ac_var=no"
68788 rm -f conftest.err conftest.$ac_objext \
68789 conftest$ac_exeext conftest.$ac_ext
68791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68793 if test `eval echo '${'$as_ac_var'}'` = yes; then
68794 cat >>confdefs.h <<_ACEOF
68795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68796 _ACEOF
68799 done
68801 else
68803 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
68804 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
68805 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68806 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
68807 echo $ECHO_N "(cached) $ECHO_C" >&6
68808 else
68812 ac_ext=cc
68813 ac_cpp='$CXXCPP $CPPFLAGS'
68814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68818 cat >conftest.$ac_ext <<_ACEOF
68819 /* confdefs.h. */
68820 _ACEOF
68821 cat confdefs.h >>conftest.$ac_ext
68822 cat >>conftest.$ac_ext <<_ACEOF
68823 /* end confdefs.h. */
68824 #include <math.h>
68826 main ()
68828 _sincosf(0, 0, 0);
68830 return 0;
68832 _ACEOF
68833 rm -f conftest.$ac_objext
68834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68835 (eval $ac_compile) 2>conftest.er1
68836 ac_status=$?
68837 grep -v '^ *+' conftest.er1 >conftest.err
68838 rm -f conftest.er1
68839 cat conftest.err >&5
68840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68841 (exit $ac_status); } &&
68842 { ac_try='test -z "$ac_cxx_werror_flag"
68843 || test ! -s conftest.err'
68844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68845 (eval $ac_try) 2>&5
68846 ac_status=$?
68847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68848 (exit $ac_status); }; } &&
68849 { ac_try='test -s conftest.$ac_objext'
68850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68851 (eval $ac_try) 2>&5
68852 ac_status=$?
68853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68854 (exit $ac_status); }; }; then
68855 glibcxx_cv_func__sincosf_use=yes
68856 else
68857 echo "$as_me: failed program was:" >&5
68858 sed 's/^/| /' conftest.$ac_ext >&5
68860 glibcxx_cv_func__sincosf_use=no
68862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68863 ac_ext=c
68864 ac_cpp='$CPP $CPPFLAGS'
68865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68873 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
68874 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
68876 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68878 for ac_func in _sincosf
68880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68881 echo "$as_me:$LINENO: checking for $ac_func" >&5
68882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68883 if eval "test \"\${$as_ac_var+set}\" = set"; then
68884 echo $ECHO_N "(cached) $ECHO_C" >&6
68885 else
68886 if test x$gcc_no_link = xyes; then
68887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68889 { (exit 1); exit 1; }; }
68891 cat >conftest.$ac_ext <<_ACEOF
68892 /* confdefs.h. */
68893 _ACEOF
68894 cat confdefs.h >>conftest.$ac_ext
68895 cat >>conftest.$ac_ext <<_ACEOF
68896 /* end confdefs.h. */
68897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68899 #define $ac_func innocuous_$ac_func
68901 /* System header to define __stub macros and hopefully few prototypes,
68902 which can conflict with char $ac_func (); below.
68903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68904 <limits.h> exists even on freestanding compilers. */
68906 #ifdef __STDC__
68907 # include <limits.h>
68908 #else
68909 # include <assert.h>
68910 #endif
68912 #undef $ac_func
68914 /* Override any gcc2 internal prototype to avoid an error. */
68915 #ifdef __cplusplus
68916 extern "C"
68918 #endif
68919 /* We use char because int might match the return type of a gcc2
68920 builtin and then its argument prototype would still apply. */
68921 char $ac_func ();
68922 /* The GNU C library defines this for functions which it implements
68923 to always fail with ENOSYS. Some functions are actually named
68924 something starting with __ and the normal name is an alias. */
68925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68926 choke me
68927 #else
68928 char (*f) () = $ac_func;
68929 #endif
68930 #ifdef __cplusplus
68932 #endif
68935 main ()
68937 return f != $ac_func;
68939 return 0;
68941 _ACEOF
68942 rm -f conftest.$ac_objext conftest$ac_exeext
68943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68944 (eval $ac_link) 2>conftest.er1
68945 ac_status=$?
68946 grep -v '^ *+' conftest.er1 >conftest.err
68947 rm -f conftest.er1
68948 cat conftest.err >&5
68949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68950 (exit $ac_status); } &&
68951 { ac_try='test -z "$ac_c_werror_flag"
68952 || test ! -s conftest.err'
68953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68954 (eval $ac_try) 2>&5
68955 ac_status=$?
68956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68957 (exit $ac_status); }; } &&
68958 { ac_try='test -s conftest$ac_exeext'
68959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68960 (eval $ac_try) 2>&5
68961 ac_status=$?
68962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68963 (exit $ac_status); }; }; then
68964 eval "$as_ac_var=yes"
68965 else
68966 echo "$as_me: failed program was:" >&5
68967 sed 's/^/| /' conftest.$ac_ext >&5
68969 eval "$as_ac_var=no"
68971 rm -f conftest.err conftest.$ac_objext \
68972 conftest$ac_exeext conftest.$ac_ext
68974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68976 if test `eval echo '${'$as_ac_var'}'` = yes; then
68977 cat >>confdefs.h <<_ACEOF
68978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68979 _ACEOF
68982 done
68992 echo "$as_me:$LINENO: checking for finitef declaration" >&5
68993 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
68994 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68995 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
68996 echo $ECHO_N "(cached) $ECHO_C" >&6
68997 else
69001 ac_ext=cc
69002 ac_cpp='$CXXCPP $CPPFLAGS'
69003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69007 cat >conftest.$ac_ext <<_ACEOF
69008 /* confdefs.h. */
69009 _ACEOF
69010 cat confdefs.h >>conftest.$ac_ext
69011 cat >>conftest.$ac_ext <<_ACEOF
69012 /* end confdefs.h. */
69013 #include <math.h>
69014 #ifdef HAVE_IEEEFP_H
69015 #include <ieeefp.h>
69016 #endif
69019 main ()
69021 finitef(0);
69023 return 0;
69025 _ACEOF
69026 rm -f conftest.$ac_objext
69027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69028 (eval $ac_compile) 2>conftest.er1
69029 ac_status=$?
69030 grep -v '^ *+' conftest.er1 >conftest.err
69031 rm -f conftest.er1
69032 cat conftest.err >&5
69033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69034 (exit $ac_status); } &&
69035 { ac_try='test -z "$ac_cxx_werror_flag"
69036 || test ! -s conftest.err'
69037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69038 (eval $ac_try) 2>&5
69039 ac_status=$?
69040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69041 (exit $ac_status); }; } &&
69042 { ac_try='test -s conftest.$ac_objext'
69043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69044 (eval $ac_try) 2>&5
69045 ac_status=$?
69046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69047 (exit $ac_status); }; }; then
69048 glibcxx_cv_func_finitef_use=yes
69049 else
69050 echo "$as_me: failed program was:" >&5
69051 sed 's/^/| /' conftest.$ac_ext >&5
69053 glibcxx_cv_func_finitef_use=no
69055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
69067 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
69069 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69071 for ac_func in finitef
69073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69074 echo "$as_me:$LINENO: checking for $ac_func" >&5
69075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69076 if eval "test \"\${$as_ac_var+set}\" = set"; then
69077 echo $ECHO_N "(cached) $ECHO_C" >&6
69078 else
69079 if test x$gcc_no_link = xyes; then
69080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69082 { (exit 1); exit 1; }; }
69084 cat >conftest.$ac_ext <<_ACEOF
69085 /* confdefs.h. */
69086 _ACEOF
69087 cat confdefs.h >>conftest.$ac_ext
69088 cat >>conftest.$ac_ext <<_ACEOF
69089 /* end confdefs.h. */
69090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69092 #define $ac_func innocuous_$ac_func
69094 /* System header to define __stub macros and hopefully few prototypes,
69095 which can conflict with char $ac_func (); below.
69096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69097 <limits.h> exists even on freestanding compilers. */
69099 #ifdef __STDC__
69100 # include <limits.h>
69101 #else
69102 # include <assert.h>
69103 #endif
69105 #undef $ac_func
69107 /* Override any gcc2 internal prototype to avoid an error. */
69108 #ifdef __cplusplus
69109 extern "C"
69111 #endif
69112 /* We use char because int might match the return type of a gcc2
69113 builtin and then its argument prototype would still apply. */
69114 char $ac_func ();
69115 /* The GNU C library defines this for functions which it implements
69116 to always fail with ENOSYS. Some functions are actually named
69117 something starting with __ and the normal name is an alias. */
69118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69119 choke me
69120 #else
69121 char (*f) () = $ac_func;
69122 #endif
69123 #ifdef __cplusplus
69125 #endif
69128 main ()
69130 return f != $ac_func;
69132 return 0;
69134 _ACEOF
69135 rm -f conftest.$ac_objext conftest$ac_exeext
69136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69137 (eval $ac_link) 2>conftest.er1
69138 ac_status=$?
69139 grep -v '^ *+' conftest.er1 >conftest.err
69140 rm -f conftest.er1
69141 cat conftest.err >&5
69142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69143 (exit $ac_status); } &&
69144 { ac_try='test -z "$ac_c_werror_flag"
69145 || test ! -s conftest.err'
69146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69147 (eval $ac_try) 2>&5
69148 ac_status=$?
69149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69150 (exit $ac_status); }; } &&
69151 { ac_try='test -s conftest$ac_exeext'
69152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69153 (eval $ac_try) 2>&5
69154 ac_status=$?
69155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69156 (exit $ac_status); }; }; then
69157 eval "$as_ac_var=yes"
69158 else
69159 echo "$as_me: failed program was:" >&5
69160 sed 's/^/| /' conftest.$ac_ext >&5
69162 eval "$as_ac_var=no"
69164 rm -f conftest.err conftest.$ac_objext \
69165 conftest$ac_exeext conftest.$ac_ext
69167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69169 if test `eval echo '${'$as_ac_var'}'` = yes; then
69170 cat >>confdefs.h <<_ACEOF
69171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69172 _ACEOF
69175 done
69177 else
69179 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
69180 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
69181 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69182 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
69183 echo $ECHO_N "(cached) $ECHO_C" >&6
69184 else
69188 ac_ext=cc
69189 ac_cpp='$CXXCPP $CPPFLAGS'
69190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69194 cat >conftest.$ac_ext <<_ACEOF
69195 /* confdefs.h. */
69196 _ACEOF
69197 cat confdefs.h >>conftest.$ac_ext
69198 cat >>conftest.$ac_ext <<_ACEOF
69199 /* end confdefs.h. */
69200 #include <math.h>
69201 #ifdef HAVE_IEEEFP_H
69202 #include <ieeefp.h>
69203 #endif
69206 main ()
69208 _finitef(0);
69210 return 0;
69212 _ACEOF
69213 rm -f conftest.$ac_objext
69214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69215 (eval $ac_compile) 2>conftest.er1
69216 ac_status=$?
69217 grep -v '^ *+' conftest.er1 >conftest.err
69218 rm -f conftest.er1
69219 cat conftest.err >&5
69220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221 (exit $ac_status); } &&
69222 { ac_try='test -z "$ac_cxx_werror_flag"
69223 || test ! -s conftest.err'
69224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225 (eval $ac_try) 2>&5
69226 ac_status=$?
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); }; } &&
69229 { ac_try='test -s conftest.$ac_objext'
69230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69231 (eval $ac_try) 2>&5
69232 ac_status=$?
69233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69234 (exit $ac_status); }; }; then
69235 glibcxx_cv_func__finitef_use=yes
69236 else
69237 echo "$as_me: failed program was:" >&5
69238 sed 's/^/| /' conftest.$ac_ext >&5
69240 glibcxx_cv_func__finitef_use=no
69242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
69254 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
69256 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69258 for ac_func in _finitef
69260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69261 echo "$as_me:$LINENO: checking for $ac_func" >&5
69262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69263 if eval "test \"\${$as_ac_var+set}\" = set"; then
69264 echo $ECHO_N "(cached) $ECHO_C" >&6
69265 else
69266 if test x$gcc_no_link = xyes; then
69267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69269 { (exit 1); exit 1; }; }
69271 cat >conftest.$ac_ext <<_ACEOF
69272 /* confdefs.h. */
69273 _ACEOF
69274 cat confdefs.h >>conftest.$ac_ext
69275 cat >>conftest.$ac_ext <<_ACEOF
69276 /* end confdefs.h. */
69277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69279 #define $ac_func innocuous_$ac_func
69281 /* System header to define __stub macros and hopefully few prototypes,
69282 which can conflict with char $ac_func (); below.
69283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69284 <limits.h> exists even on freestanding compilers. */
69286 #ifdef __STDC__
69287 # include <limits.h>
69288 #else
69289 # include <assert.h>
69290 #endif
69292 #undef $ac_func
69294 /* Override any gcc2 internal prototype to avoid an error. */
69295 #ifdef __cplusplus
69296 extern "C"
69298 #endif
69299 /* We use char because int might match the return type of a gcc2
69300 builtin and then its argument prototype would still apply. */
69301 char $ac_func ();
69302 /* The GNU C library defines this for functions which it implements
69303 to always fail with ENOSYS. Some functions are actually named
69304 something starting with __ and the normal name is an alias. */
69305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69306 choke me
69307 #else
69308 char (*f) () = $ac_func;
69309 #endif
69310 #ifdef __cplusplus
69312 #endif
69315 main ()
69317 return f != $ac_func;
69319 return 0;
69321 _ACEOF
69322 rm -f conftest.$ac_objext conftest$ac_exeext
69323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69324 (eval $ac_link) 2>conftest.er1
69325 ac_status=$?
69326 grep -v '^ *+' conftest.er1 >conftest.err
69327 rm -f conftest.er1
69328 cat conftest.err >&5
69329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69330 (exit $ac_status); } &&
69331 { ac_try='test -z "$ac_c_werror_flag"
69332 || test ! -s conftest.err'
69333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69334 (eval $ac_try) 2>&5
69335 ac_status=$?
69336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69337 (exit $ac_status); }; } &&
69338 { ac_try='test -s conftest$ac_exeext'
69339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69340 (eval $ac_try) 2>&5
69341 ac_status=$?
69342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69343 (exit $ac_status); }; }; then
69344 eval "$as_ac_var=yes"
69345 else
69346 echo "$as_me: failed program was:" >&5
69347 sed 's/^/| /' conftest.$ac_ext >&5
69349 eval "$as_ac_var=no"
69351 rm -f conftest.err conftest.$ac_objext \
69352 conftest$ac_exeext conftest.$ac_ext
69354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69356 if test `eval echo '${'$as_ac_var'}'` = yes; then
69357 cat >>confdefs.h <<_ACEOF
69358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69359 _ACEOF
69362 done
69372 echo "$as_me:$LINENO: checking for long double trig functions" >&5
69373 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
69374 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
69375 echo $ECHO_N "(cached) $ECHO_C" >&6
69376 else
69380 ac_ext=cc
69381 ac_cpp='$CXXCPP $CPPFLAGS'
69382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69386 cat >conftest.$ac_ext <<_ACEOF
69387 /* confdefs.h. */
69388 _ACEOF
69389 cat confdefs.h >>conftest.$ac_ext
69390 cat >>conftest.$ac_ext <<_ACEOF
69391 /* end confdefs.h. */
69392 #include <math.h>
69394 main ()
69396 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69398 return 0;
69400 _ACEOF
69401 rm -f conftest.$ac_objext
69402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69403 (eval $ac_compile) 2>conftest.er1
69404 ac_status=$?
69405 grep -v '^ *+' conftest.er1 >conftest.err
69406 rm -f conftest.er1
69407 cat conftest.err >&5
69408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69409 (exit $ac_status); } &&
69410 { ac_try='test -z "$ac_cxx_werror_flag"
69411 || test ! -s conftest.err'
69412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69413 (eval $ac_try) 2>&5
69414 ac_status=$?
69415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69416 (exit $ac_status); }; } &&
69417 { ac_try='test -s conftest.$ac_objext'
69418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69419 (eval $ac_try) 2>&5
69420 ac_status=$?
69421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69422 (exit $ac_status); }; }; then
69423 glibcxx_cv_func_long_double_trig_use=yes
69424 else
69425 echo "$as_me: failed program was:" >&5
69426 sed 's/^/| /' conftest.$ac_ext >&5
69428 glibcxx_cv_func_long_double_trig_use=no
69430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69431 ac_ext=c
69432 ac_cpp='$CPP $CPPFLAGS'
69433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69439 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
69440 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
69441 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69451 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69454 echo "$as_me:$LINENO: checking for $ac_func" >&5
69455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69456 if eval "test \"\${$as_ac_var+set}\" = set"; then
69457 echo $ECHO_N "(cached) $ECHO_C" >&6
69458 else
69459 if test x$gcc_no_link = xyes; then
69460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69462 { (exit 1); exit 1; }; }
69464 cat >conftest.$ac_ext <<_ACEOF
69465 /* confdefs.h. */
69466 _ACEOF
69467 cat confdefs.h >>conftest.$ac_ext
69468 cat >>conftest.$ac_ext <<_ACEOF
69469 /* end confdefs.h. */
69470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69472 #define $ac_func innocuous_$ac_func
69474 /* System header to define __stub macros and hopefully few prototypes,
69475 which can conflict with char $ac_func (); below.
69476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69477 <limits.h> exists even on freestanding compilers. */
69479 #ifdef __STDC__
69480 # include <limits.h>
69481 #else
69482 # include <assert.h>
69483 #endif
69485 #undef $ac_func
69487 /* Override any gcc2 internal prototype to avoid an error. */
69488 #ifdef __cplusplus
69489 extern "C"
69491 #endif
69492 /* We use char because int might match the return type of a gcc2
69493 builtin and then its argument prototype would still apply. */
69494 char $ac_func ();
69495 /* The GNU C library defines this for functions which it implements
69496 to always fail with ENOSYS. Some functions are actually named
69497 something starting with __ and the normal name is an alias. */
69498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69499 choke me
69500 #else
69501 char (*f) () = $ac_func;
69502 #endif
69503 #ifdef __cplusplus
69505 #endif
69508 main ()
69510 return f != $ac_func;
69512 return 0;
69514 _ACEOF
69515 rm -f conftest.$ac_objext conftest$ac_exeext
69516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69517 (eval $ac_link) 2>conftest.er1
69518 ac_status=$?
69519 grep -v '^ *+' conftest.er1 >conftest.err
69520 rm -f conftest.er1
69521 cat conftest.err >&5
69522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69523 (exit $ac_status); } &&
69524 { ac_try='test -z "$ac_c_werror_flag"
69525 || test ! -s conftest.err'
69526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69527 (eval $ac_try) 2>&5
69528 ac_status=$?
69529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69530 (exit $ac_status); }; } &&
69531 { ac_try='test -s conftest$ac_exeext'
69532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69533 (eval $ac_try) 2>&5
69534 ac_status=$?
69535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69536 (exit $ac_status); }; }; then
69537 eval "$as_ac_var=yes"
69538 else
69539 echo "$as_me: failed program was:" >&5
69540 sed 's/^/| /' conftest.$ac_ext >&5
69542 eval "$as_ac_var=no"
69544 rm -f conftest.err conftest.$ac_objext \
69545 conftest$ac_exeext conftest.$ac_ext
69547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69549 if test `eval echo '${'$as_ac_var'}'` = yes; then
69550 cat >>confdefs.h <<_ACEOF
69551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69552 _ACEOF
69555 done
69557 else
69558 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
69559 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
69560 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
69561 echo $ECHO_N "(cached) $ECHO_C" >&6
69562 else
69566 ac_ext=cc
69567 ac_cpp='$CXXCPP $CPPFLAGS'
69568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69572 cat >conftest.$ac_ext <<_ACEOF
69573 /* confdefs.h. */
69574 _ACEOF
69575 cat confdefs.h >>conftest.$ac_ext
69576 cat >>conftest.$ac_ext <<_ACEOF
69577 /* end confdefs.h. */
69578 #include <math.h>
69580 main ()
69582 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69584 return 0;
69586 _ACEOF
69587 rm -f conftest.$ac_objext
69588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69589 (eval $ac_compile) 2>conftest.er1
69590 ac_status=$?
69591 grep -v '^ *+' conftest.er1 >conftest.err
69592 rm -f conftest.er1
69593 cat conftest.err >&5
69594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69595 (exit $ac_status); } &&
69596 { ac_try='test -z "$ac_cxx_werror_flag"
69597 || test ! -s conftest.err'
69598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69599 (eval $ac_try) 2>&5
69600 ac_status=$?
69601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602 (exit $ac_status); }; } &&
69603 { ac_try='test -s conftest.$ac_objext'
69604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605 (eval $ac_try) 2>&5
69606 ac_status=$?
69607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608 (exit $ac_status); }; }; then
69609 glibcxx_cv_func__long_double_trig_use=yes
69610 else
69611 echo "$as_me: failed program was:" >&5
69612 sed 's/^/| /' conftest.$ac_ext >&5
69614 glibcxx_cv_func__long_double_trig_use=no
69616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69617 ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69625 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
69626 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
69627 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69637 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69640 echo "$as_me:$LINENO: checking for $ac_func" >&5
69641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69642 if eval "test \"\${$as_ac_var+set}\" = set"; then
69643 echo $ECHO_N "(cached) $ECHO_C" >&6
69644 else
69645 if test x$gcc_no_link = xyes; then
69646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69648 { (exit 1); exit 1; }; }
69650 cat >conftest.$ac_ext <<_ACEOF
69651 /* confdefs.h. */
69652 _ACEOF
69653 cat confdefs.h >>conftest.$ac_ext
69654 cat >>conftest.$ac_ext <<_ACEOF
69655 /* end confdefs.h. */
69656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69658 #define $ac_func innocuous_$ac_func
69660 /* System header to define __stub macros and hopefully few prototypes,
69661 which can conflict with char $ac_func (); below.
69662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69663 <limits.h> exists even on freestanding compilers. */
69665 #ifdef __STDC__
69666 # include <limits.h>
69667 #else
69668 # include <assert.h>
69669 #endif
69671 #undef $ac_func
69673 /* Override any gcc2 internal prototype to avoid an error. */
69674 #ifdef __cplusplus
69675 extern "C"
69677 #endif
69678 /* We use char because int might match the return type of a gcc2
69679 builtin and then its argument prototype would still apply. */
69680 char $ac_func ();
69681 /* The GNU C library defines this for functions which it implements
69682 to always fail with ENOSYS. Some functions are actually named
69683 something starting with __ and the normal name is an alias. */
69684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69685 choke me
69686 #else
69687 char (*f) () = $ac_func;
69688 #endif
69689 #ifdef __cplusplus
69691 #endif
69694 main ()
69696 return f != $ac_func;
69698 return 0;
69700 _ACEOF
69701 rm -f conftest.$ac_objext conftest$ac_exeext
69702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69703 (eval $ac_link) 2>conftest.er1
69704 ac_status=$?
69705 grep -v '^ *+' conftest.er1 >conftest.err
69706 rm -f conftest.er1
69707 cat conftest.err >&5
69708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69709 (exit $ac_status); } &&
69710 { ac_try='test -z "$ac_c_werror_flag"
69711 || test ! -s conftest.err'
69712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69713 (eval $ac_try) 2>&5
69714 ac_status=$?
69715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69716 (exit $ac_status); }; } &&
69717 { ac_try='test -s conftest$ac_exeext'
69718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69719 (eval $ac_try) 2>&5
69720 ac_status=$?
69721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69722 (exit $ac_status); }; }; then
69723 eval "$as_ac_var=yes"
69724 else
69725 echo "$as_me: failed program was:" >&5
69726 sed 's/^/| /' conftest.$ac_ext >&5
69728 eval "$as_ac_var=no"
69730 rm -f conftest.err conftest.$ac_objext \
69731 conftest$ac_exeext conftest.$ac_ext
69733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69735 if test `eval echo '${'$as_ac_var'}'` = yes; then
69736 cat >>confdefs.h <<_ACEOF
69737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69738 _ACEOF
69741 done
69759 echo "$as_me:$LINENO: checking for long double round functions" >&5
69760 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
69761 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
69762 echo $ECHO_N "(cached) $ECHO_C" >&6
69763 else
69767 ac_ext=cc
69768 ac_cpp='$CXXCPP $CPPFLAGS'
69769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69773 cat >conftest.$ac_ext <<_ACEOF
69774 /* confdefs.h. */
69775 _ACEOF
69776 cat confdefs.h >>conftest.$ac_ext
69777 cat >>conftest.$ac_ext <<_ACEOF
69778 /* end confdefs.h. */
69779 #include <math.h>
69781 main ()
69783 ceill (0); floorl (0);
69785 return 0;
69787 _ACEOF
69788 rm -f conftest.$ac_objext
69789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69790 (eval $ac_compile) 2>conftest.er1
69791 ac_status=$?
69792 grep -v '^ *+' conftest.er1 >conftest.err
69793 rm -f conftest.er1
69794 cat conftest.err >&5
69795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69796 (exit $ac_status); } &&
69797 { ac_try='test -z "$ac_cxx_werror_flag"
69798 || test ! -s conftest.err'
69799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69800 (eval $ac_try) 2>&5
69801 ac_status=$?
69802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69803 (exit $ac_status); }; } &&
69804 { ac_try='test -s conftest.$ac_objext'
69805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69806 (eval $ac_try) 2>&5
69807 ac_status=$?
69808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69809 (exit $ac_status); }; }; then
69810 glibcxx_cv_func_long_double_round_use=yes
69811 else
69812 echo "$as_me: failed program was:" >&5
69813 sed 's/^/| /' conftest.$ac_ext >&5
69815 glibcxx_cv_func_long_double_round_use=no
69817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69818 ac_ext=c
69819 ac_cpp='$CPP $CPPFLAGS'
69820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
69827 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
69828 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69831 for ac_func in ceill floorl
69833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69834 echo "$as_me:$LINENO: checking for $ac_func" >&5
69835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69836 if eval "test \"\${$as_ac_var+set}\" = set"; then
69837 echo $ECHO_N "(cached) $ECHO_C" >&6
69838 else
69839 if test x$gcc_no_link = xyes; then
69840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69842 { (exit 1); exit 1; }; }
69844 cat >conftest.$ac_ext <<_ACEOF
69845 /* confdefs.h. */
69846 _ACEOF
69847 cat confdefs.h >>conftest.$ac_ext
69848 cat >>conftest.$ac_ext <<_ACEOF
69849 /* end confdefs.h. */
69850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69852 #define $ac_func innocuous_$ac_func
69854 /* System header to define __stub macros and hopefully few prototypes,
69855 which can conflict with char $ac_func (); below.
69856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69857 <limits.h> exists even on freestanding compilers. */
69859 #ifdef __STDC__
69860 # include <limits.h>
69861 #else
69862 # include <assert.h>
69863 #endif
69865 #undef $ac_func
69867 /* Override any gcc2 internal prototype to avoid an error. */
69868 #ifdef __cplusplus
69869 extern "C"
69871 #endif
69872 /* We use char because int might match the return type of a gcc2
69873 builtin and then its argument prototype would still apply. */
69874 char $ac_func ();
69875 /* The GNU C library defines this for functions which it implements
69876 to always fail with ENOSYS. Some functions are actually named
69877 something starting with __ and the normal name is an alias. */
69878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69879 choke me
69880 #else
69881 char (*f) () = $ac_func;
69882 #endif
69883 #ifdef __cplusplus
69885 #endif
69888 main ()
69890 return f != $ac_func;
69892 return 0;
69894 _ACEOF
69895 rm -f conftest.$ac_objext conftest$ac_exeext
69896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69897 (eval $ac_link) 2>conftest.er1
69898 ac_status=$?
69899 grep -v '^ *+' conftest.er1 >conftest.err
69900 rm -f conftest.er1
69901 cat conftest.err >&5
69902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69903 (exit $ac_status); } &&
69904 { ac_try='test -z "$ac_c_werror_flag"
69905 || test ! -s conftest.err'
69906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69907 (eval $ac_try) 2>&5
69908 ac_status=$?
69909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69910 (exit $ac_status); }; } &&
69911 { ac_try='test -s conftest$ac_exeext'
69912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69913 (eval $ac_try) 2>&5
69914 ac_status=$?
69915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69916 (exit $ac_status); }; }; then
69917 eval "$as_ac_var=yes"
69918 else
69919 echo "$as_me: failed program was:" >&5
69920 sed 's/^/| /' conftest.$ac_ext >&5
69922 eval "$as_ac_var=no"
69924 rm -f conftest.err conftest.$ac_objext \
69925 conftest$ac_exeext conftest.$ac_ext
69927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69929 if test `eval echo '${'$as_ac_var'}'` = yes; then
69930 cat >>confdefs.h <<_ACEOF
69931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69932 _ACEOF
69935 done
69937 else
69938 echo "$as_me:$LINENO: checking for _long double round functions" >&5
69939 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
69940 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
69941 echo $ECHO_N "(cached) $ECHO_C" >&6
69942 else
69946 ac_ext=cc
69947 ac_cpp='$CXXCPP $CPPFLAGS'
69948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69952 cat >conftest.$ac_ext <<_ACEOF
69953 /* confdefs.h. */
69954 _ACEOF
69955 cat confdefs.h >>conftest.$ac_ext
69956 cat >>conftest.$ac_ext <<_ACEOF
69957 /* end confdefs.h. */
69958 #include <math.h>
69960 main ()
69962 _ceill (0); _floorl (0);
69964 return 0;
69966 _ACEOF
69967 rm -f conftest.$ac_objext
69968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69969 (eval $ac_compile) 2>conftest.er1
69970 ac_status=$?
69971 grep -v '^ *+' conftest.er1 >conftest.err
69972 rm -f conftest.er1
69973 cat conftest.err >&5
69974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69975 (exit $ac_status); } &&
69976 { ac_try='test -z "$ac_cxx_werror_flag"
69977 || test ! -s conftest.err'
69978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69979 (eval $ac_try) 2>&5
69980 ac_status=$?
69981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69982 (exit $ac_status); }; } &&
69983 { ac_try='test -s conftest.$ac_objext'
69984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69985 (eval $ac_try) 2>&5
69986 ac_status=$?
69987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69988 (exit $ac_status); }; }; then
69989 glibcxx_cv_func__long_double_round_use=yes
69990 else
69991 echo "$as_me: failed program was:" >&5
69992 sed 's/^/| /' conftest.$ac_ext >&5
69994 glibcxx_cv_func__long_double_round_use=no
69996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69997 ac_ext=c
69998 ac_cpp='$CPP $CPPFLAGS'
69999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70006 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70007 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70010 for ac_func in _ceill _floorl
70012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70013 echo "$as_me:$LINENO: checking for $ac_func" >&5
70014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70015 if eval "test \"\${$as_ac_var+set}\" = set"; then
70016 echo $ECHO_N "(cached) $ECHO_C" >&6
70017 else
70018 if test x$gcc_no_link = xyes; then
70019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70021 { (exit 1); exit 1; }; }
70023 cat >conftest.$ac_ext <<_ACEOF
70024 /* confdefs.h. */
70025 _ACEOF
70026 cat confdefs.h >>conftest.$ac_ext
70027 cat >>conftest.$ac_ext <<_ACEOF
70028 /* end confdefs.h. */
70029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70031 #define $ac_func innocuous_$ac_func
70033 /* System header to define __stub macros and hopefully few prototypes,
70034 which can conflict with char $ac_func (); below.
70035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70036 <limits.h> exists even on freestanding compilers. */
70038 #ifdef __STDC__
70039 # include <limits.h>
70040 #else
70041 # include <assert.h>
70042 #endif
70044 #undef $ac_func
70046 /* Override any gcc2 internal prototype to avoid an error. */
70047 #ifdef __cplusplus
70048 extern "C"
70050 #endif
70051 /* We use char because int might match the return type of a gcc2
70052 builtin and then its argument prototype would still apply. */
70053 char $ac_func ();
70054 /* The GNU C library defines this for functions which it implements
70055 to always fail with ENOSYS. Some functions are actually named
70056 something starting with __ and the normal name is an alias. */
70057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70058 choke me
70059 #else
70060 char (*f) () = $ac_func;
70061 #endif
70062 #ifdef __cplusplus
70064 #endif
70067 main ()
70069 return f != $ac_func;
70071 return 0;
70073 _ACEOF
70074 rm -f conftest.$ac_objext conftest$ac_exeext
70075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70076 (eval $ac_link) 2>conftest.er1
70077 ac_status=$?
70078 grep -v '^ *+' conftest.er1 >conftest.err
70079 rm -f conftest.er1
70080 cat conftest.err >&5
70081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70082 (exit $ac_status); } &&
70083 { ac_try='test -z "$ac_c_werror_flag"
70084 || test ! -s conftest.err'
70085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70086 (eval $ac_try) 2>&5
70087 ac_status=$?
70088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70089 (exit $ac_status); }; } &&
70090 { ac_try='test -s conftest$ac_exeext'
70091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70092 (eval $ac_try) 2>&5
70093 ac_status=$?
70094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70095 (exit $ac_status); }; }; then
70096 eval "$as_ac_var=yes"
70097 else
70098 echo "$as_me: failed program was:" >&5
70099 sed 's/^/| /' conftest.$ac_ext >&5
70101 eval "$as_ac_var=no"
70103 rm -f conftest.err conftest.$ac_objext \
70104 conftest$ac_exeext conftest.$ac_ext
70106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70108 if test `eval echo '${'$as_ac_var'}'` = yes; then
70109 cat >>confdefs.h <<_ACEOF
70110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70111 _ACEOF
70114 done
70126 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
70127 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
70128 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70129 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
70130 echo $ECHO_N "(cached) $ECHO_C" >&6
70131 else
70135 ac_ext=cc
70136 ac_cpp='$CXXCPP $CPPFLAGS'
70137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70141 cat >conftest.$ac_ext <<_ACEOF
70142 /* confdefs.h. */
70143 _ACEOF
70144 cat confdefs.h >>conftest.$ac_ext
70145 cat >>conftest.$ac_ext <<_ACEOF
70146 /* end confdefs.h. */
70147 #include <math.h>
70148 #ifdef HAVE_IEEEFP_H
70149 #include <ieeefp.h>
70150 #endif
70153 main ()
70155 isnanl(0);
70157 return 0;
70159 _ACEOF
70160 rm -f conftest.$ac_objext
70161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70162 (eval $ac_compile) 2>conftest.er1
70163 ac_status=$?
70164 grep -v '^ *+' conftest.er1 >conftest.err
70165 rm -f conftest.er1
70166 cat conftest.err >&5
70167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70168 (exit $ac_status); } &&
70169 { ac_try='test -z "$ac_cxx_werror_flag"
70170 || test ! -s conftest.err'
70171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70172 (eval $ac_try) 2>&5
70173 ac_status=$?
70174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70175 (exit $ac_status); }; } &&
70176 { ac_try='test -s conftest.$ac_objext'
70177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70178 (eval $ac_try) 2>&5
70179 ac_status=$?
70180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70181 (exit $ac_status); }; }; then
70182 glibcxx_cv_func_isnanl_use=yes
70183 else
70184 echo "$as_me: failed program was:" >&5
70185 sed 's/^/| /' conftest.$ac_ext >&5
70187 glibcxx_cv_func_isnanl_use=no
70189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70190 ac_ext=c
70191 ac_cpp='$CPP $CPPFLAGS'
70192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70200 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
70201 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
70203 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70205 for ac_func in isnanl
70207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70208 echo "$as_me:$LINENO: checking for $ac_func" >&5
70209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70210 if eval "test \"\${$as_ac_var+set}\" = set"; then
70211 echo $ECHO_N "(cached) $ECHO_C" >&6
70212 else
70213 if test x$gcc_no_link = xyes; then
70214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70216 { (exit 1); exit 1; }; }
70218 cat >conftest.$ac_ext <<_ACEOF
70219 /* confdefs.h. */
70220 _ACEOF
70221 cat confdefs.h >>conftest.$ac_ext
70222 cat >>conftest.$ac_ext <<_ACEOF
70223 /* end confdefs.h. */
70224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70226 #define $ac_func innocuous_$ac_func
70228 /* System header to define __stub macros and hopefully few prototypes,
70229 which can conflict with char $ac_func (); below.
70230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70231 <limits.h> exists even on freestanding compilers. */
70233 #ifdef __STDC__
70234 # include <limits.h>
70235 #else
70236 # include <assert.h>
70237 #endif
70239 #undef $ac_func
70241 /* Override any gcc2 internal prototype to avoid an error. */
70242 #ifdef __cplusplus
70243 extern "C"
70245 #endif
70246 /* We use char because int might match the return type of a gcc2
70247 builtin and then its argument prototype would still apply. */
70248 char $ac_func ();
70249 /* The GNU C library defines this for functions which it implements
70250 to always fail with ENOSYS. Some functions are actually named
70251 something starting with __ and the normal name is an alias. */
70252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70253 choke me
70254 #else
70255 char (*f) () = $ac_func;
70256 #endif
70257 #ifdef __cplusplus
70259 #endif
70262 main ()
70264 return f != $ac_func;
70266 return 0;
70268 _ACEOF
70269 rm -f conftest.$ac_objext conftest$ac_exeext
70270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70271 (eval $ac_link) 2>conftest.er1
70272 ac_status=$?
70273 grep -v '^ *+' conftest.er1 >conftest.err
70274 rm -f conftest.er1
70275 cat conftest.err >&5
70276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70277 (exit $ac_status); } &&
70278 { ac_try='test -z "$ac_c_werror_flag"
70279 || test ! -s conftest.err'
70280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70281 (eval $ac_try) 2>&5
70282 ac_status=$?
70283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70284 (exit $ac_status); }; } &&
70285 { ac_try='test -s conftest$ac_exeext'
70286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70287 (eval $ac_try) 2>&5
70288 ac_status=$?
70289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70290 (exit $ac_status); }; }; then
70291 eval "$as_ac_var=yes"
70292 else
70293 echo "$as_me: failed program was:" >&5
70294 sed 's/^/| /' conftest.$ac_ext >&5
70296 eval "$as_ac_var=no"
70298 rm -f conftest.err conftest.$ac_objext \
70299 conftest$ac_exeext conftest.$ac_ext
70301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70303 if test `eval echo '${'$as_ac_var'}'` = yes; then
70304 cat >>confdefs.h <<_ACEOF
70305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70306 _ACEOF
70309 done
70311 else
70313 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
70314 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
70315 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70316 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
70317 echo $ECHO_N "(cached) $ECHO_C" >&6
70318 else
70322 ac_ext=cc
70323 ac_cpp='$CXXCPP $CPPFLAGS'
70324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70328 cat >conftest.$ac_ext <<_ACEOF
70329 /* confdefs.h. */
70330 _ACEOF
70331 cat confdefs.h >>conftest.$ac_ext
70332 cat >>conftest.$ac_ext <<_ACEOF
70333 /* end confdefs.h. */
70334 #include <math.h>
70335 #ifdef HAVE_IEEEFP_H
70336 #include <ieeefp.h>
70337 #endif
70340 main ()
70342 _isnanl(0);
70344 return 0;
70346 _ACEOF
70347 rm -f conftest.$ac_objext
70348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70349 (eval $ac_compile) 2>conftest.er1
70350 ac_status=$?
70351 grep -v '^ *+' conftest.er1 >conftest.err
70352 rm -f conftest.er1
70353 cat conftest.err >&5
70354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70355 (exit $ac_status); } &&
70356 { ac_try='test -z "$ac_cxx_werror_flag"
70357 || test ! -s conftest.err'
70358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70359 (eval $ac_try) 2>&5
70360 ac_status=$?
70361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70362 (exit $ac_status); }; } &&
70363 { ac_try='test -s conftest.$ac_objext'
70364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70365 (eval $ac_try) 2>&5
70366 ac_status=$?
70367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70368 (exit $ac_status); }; }; then
70369 glibcxx_cv_func__isnanl_use=yes
70370 else
70371 echo "$as_me: failed program was:" >&5
70372 sed 's/^/| /' conftest.$ac_ext >&5
70374 glibcxx_cv_func__isnanl_use=no
70376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70377 ac_ext=c
70378 ac_cpp='$CPP $CPPFLAGS'
70379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
70388 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
70390 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70392 for ac_func in _isnanl
70394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70395 echo "$as_me:$LINENO: checking for $ac_func" >&5
70396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70397 if eval "test \"\${$as_ac_var+set}\" = set"; then
70398 echo $ECHO_N "(cached) $ECHO_C" >&6
70399 else
70400 if test x$gcc_no_link = xyes; then
70401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70403 { (exit 1); exit 1; }; }
70405 cat >conftest.$ac_ext <<_ACEOF
70406 /* confdefs.h. */
70407 _ACEOF
70408 cat confdefs.h >>conftest.$ac_ext
70409 cat >>conftest.$ac_ext <<_ACEOF
70410 /* end confdefs.h. */
70411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70413 #define $ac_func innocuous_$ac_func
70415 /* System header to define __stub macros and hopefully few prototypes,
70416 which can conflict with char $ac_func (); below.
70417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70418 <limits.h> exists even on freestanding compilers. */
70420 #ifdef __STDC__
70421 # include <limits.h>
70422 #else
70423 # include <assert.h>
70424 #endif
70426 #undef $ac_func
70428 /* Override any gcc2 internal prototype to avoid an error. */
70429 #ifdef __cplusplus
70430 extern "C"
70432 #endif
70433 /* We use char because int might match the return type of a gcc2
70434 builtin and then its argument prototype would still apply. */
70435 char $ac_func ();
70436 /* The GNU C library defines this for functions which it implements
70437 to always fail with ENOSYS. Some functions are actually named
70438 something starting with __ and the normal name is an alias. */
70439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70440 choke me
70441 #else
70442 char (*f) () = $ac_func;
70443 #endif
70444 #ifdef __cplusplus
70446 #endif
70449 main ()
70451 return f != $ac_func;
70453 return 0;
70455 _ACEOF
70456 rm -f conftest.$ac_objext conftest$ac_exeext
70457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70458 (eval $ac_link) 2>conftest.er1
70459 ac_status=$?
70460 grep -v '^ *+' conftest.er1 >conftest.err
70461 rm -f conftest.er1
70462 cat conftest.err >&5
70463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70464 (exit $ac_status); } &&
70465 { ac_try='test -z "$ac_c_werror_flag"
70466 || test ! -s conftest.err'
70467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70468 (eval $ac_try) 2>&5
70469 ac_status=$?
70470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70471 (exit $ac_status); }; } &&
70472 { ac_try='test -s conftest$ac_exeext'
70473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70474 (eval $ac_try) 2>&5
70475 ac_status=$?
70476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70477 (exit $ac_status); }; }; then
70478 eval "$as_ac_var=yes"
70479 else
70480 echo "$as_me: failed program was:" >&5
70481 sed 's/^/| /' conftest.$ac_ext >&5
70483 eval "$as_ac_var=no"
70485 rm -f conftest.err conftest.$ac_objext \
70486 conftest$ac_exeext conftest.$ac_ext
70488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70490 if test `eval echo '${'$as_ac_var'}'` = yes; then
70491 cat >>confdefs.h <<_ACEOF
70492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70493 _ACEOF
70496 done
70506 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
70507 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
70508 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70509 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
70510 echo $ECHO_N "(cached) $ECHO_C" >&6
70511 else
70515 ac_ext=cc
70516 ac_cpp='$CXXCPP $CPPFLAGS'
70517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70521 cat >conftest.$ac_ext <<_ACEOF
70522 /* confdefs.h. */
70523 _ACEOF
70524 cat confdefs.h >>conftest.$ac_ext
70525 cat >>conftest.$ac_ext <<_ACEOF
70526 /* end confdefs.h. */
70527 #include <math.h>
70528 #ifdef HAVE_IEEEFP_H
70529 #include <ieeefp.h>
70530 #endif
70533 main ()
70535 isinfl(0);
70537 return 0;
70539 _ACEOF
70540 rm -f conftest.$ac_objext
70541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70542 (eval $ac_compile) 2>conftest.er1
70543 ac_status=$?
70544 grep -v '^ *+' conftest.er1 >conftest.err
70545 rm -f conftest.er1
70546 cat conftest.err >&5
70547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70548 (exit $ac_status); } &&
70549 { ac_try='test -z "$ac_cxx_werror_flag"
70550 || test ! -s conftest.err'
70551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70552 (eval $ac_try) 2>&5
70553 ac_status=$?
70554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70555 (exit $ac_status); }; } &&
70556 { ac_try='test -s conftest.$ac_objext'
70557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70558 (eval $ac_try) 2>&5
70559 ac_status=$?
70560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70561 (exit $ac_status); }; }; then
70562 glibcxx_cv_func_isinfl_use=yes
70563 else
70564 echo "$as_me: failed program was:" >&5
70565 sed 's/^/| /' conftest.$ac_ext >&5
70567 glibcxx_cv_func_isinfl_use=no
70569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70570 ac_ext=c
70571 ac_cpp='$CPP $CPPFLAGS'
70572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
70581 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
70583 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70585 for ac_func in isinfl
70587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70588 echo "$as_me:$LINENO: checking for $ac_func" >&5
70589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70590 if eval "test \"\${$as_ac_var+set}\" = set"; then
70591 echo $ECHO_N "(cached) $ECHO_C" >&6
70592 else
70593 if test x$gcc_no_link = xyes; then
70594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70596 { (exit 1); exit 1; }; }
70598 cat >conftest.$ac_ext <<_ACEOF
70599 /* confdefs.h. */
70600 _ACEOF
70601 cat confdefs.h >>conftest.$ac_ext
70602 cat >>conftest.$ac_ext <<_ACEOF
70603 /* end confdefs.h. */
70604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70606 #define $ac_func innocuous_$ac_func
70608 /* System header to define __stub macros and hopefully few prototypes,
70609 which can conflict with char $ac_func (); below.
70610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70611 <limits.h> exists even on freestanding compilers. */
70613 #ifdef __STDC__
70614 # include <limits.h>
70615 #else
70616 # include <assert.h>
70617 #endif
70619 #undef $ac_func
70621 /* Override any gcc2 internal prototype to avoid an error. */
70622 #ifdef __cplusplus
70623 extern "C"
70625 #endif
70626 /* We use char because int might match the return type of a gcc2
70627 builtin and then its argument prototype would still apply. */
70628 char $ac_func ();
70629 /* The GNU C library defines this for functions which it implements
70630 to always fail with ENOSYS. Some functions are actually named
70631 something starting with __ and the normal name is an alias. */
70632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70633 choke me
70634 #else
70635 char (*f) () = $ac_func;
70636 #endif
70637 #ifdef __cplusplus
70639 #endif
70642 main ()
70644 return f != $ac_func;
70646 return 0;
70648 _ACEOF
70649 rm -f conftest.$ac_objext conftest$ac_exeext
70650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70651 (eval $ac_link) 2>conftest.er1
70652 ac_status=$?
70653 grep -v '^ *+' conftest.er1 >conftest.err
70654 rm -f conftest.er1
70655 cat conftest.err >&5
70656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70657 (exit $ac_status); } &&
70658 { ac_try='test -z "$ac_c_werror_flag"
70659 || test ! -s conftest.err'
70660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70661 (eval $ac_try) 2>&5
70662 ac_status=$?
70663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70664 (exit $ac_status); }; } &&
70665 { ac_try='test -s conftest$ac_exeext'
70666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70667 (eval $ac_try) 2>&5
70668 ac_status=$?
70669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70670 (exit $ac_status); }; }; then
70671 eval "$as_ac_var=yes"
70672 else
70673 echo "$as_me: failed program was:" >&5
70674 sed 's/^/| /' conftest.$ac_ext >&5
70676 eval "$as_ac_var=no"
70678 rm -f conftest.err conftest.$ac_objext \
70679 conftest$ac_exeext conftest.$ac_ext
70681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70683 if test `eval echo '${'$as_ac_var'}'` = yes; then
70684 cat >>confdefs.h <<_ACEOF
70685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70686 _ACEOF
70689 done
70691 else
70693 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
70694 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
70695 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70696 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
70697 echo $ECHO_N "(cached) $ECHO_C" >&6
70698 else
70702 ac_ext=cc
70703 ac_cpp='$CXXCPP $CPPFLAGS'
70704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70708 cat >conftest.$ac_ext <<_ACEOF
70709 /* confdefs.h. */
70710 _ACEOF
70711 cat confdefs.h >>conftest.$ac_ext
70712 cat >>conftest.$ac_ext <<_ACEOF
70713 /* end confdefs.h. */
70714 #include <math.h>
70715 #ifdef HAVE_IEEEFP_H
70716 #include <ieeefp.h>
70717 #endif
70720 main ()
70722 _isinfl(0);
70724 return 0;
70726 _ACEOF
70727 rm -f conftest.$ac_objext
70728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70729 (eval $ac_compile) 2>conftest.er1
70730 ac_status=$?
70731 grep -v '^ *+' conftest.er1 >conftest.err
70732 rm -f conftest.er1
70733 cat conftest.err >&5
70734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70735 (exit $ac_status); } &&
70736 { ac_try='test -z "$ac_cxx_werror_flag"
70737 || test ! -s conftest.err'
70738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70739 (eval $ac_try) 2>&5
70740 ac_status=$?
70741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70742 (exit $ac_status); }; } &&
70743 { ac_try='test -s conftest.$ac_objext'
70744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70745 (eval $ac_try) 2>&5
70746 ac_status=$?
70747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70748 (exit $ac_status); }; }; then
70749 glibcxx_cv_func__isinfl_use=yes
70750 else
70751 echo "$as_me: failed program was:" >&5
70752 sed 's/^/| /' conftest.$ac_ext >&5
70754 glibcxx_cv_func__isinfl_use=no
70756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70757 ac_ext=c
70758 ac_cpp='$CPP $CPPFLAGS'
70759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
70768 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
70770 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70772 for ac_func in _isinfl
70774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70775 echo "$as_me:$LINENO: checking for $ac_func" >&5
70776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70777 if eval "test \"\${$as_ac_var+set}\" = set"; then
70778 echo $ECHO_N "(cached) $ECHO_C" >&6
70779 else
70780 if test x$gcc_no_link = xyes; then
70781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70783 { (exit 1); exit 1; }; }
70785 cat >conftest.$ac_ext <<_ACEOF
70786 /* confdefs.h. */
70787 _ACEOF
70788 cat confdefs.h >>conftest.$ac_ext
70789 cat >>conftest.$ac_ext <<_ACEOF
70790 /* end confdefs.h. */
70791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70793 #define $ac_func innocuous_$ac_func
70795 /* System header to define __stub macros and hopefully few prototypes,
70796 which can conflict with char $ac_func (); below.
70797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70798 <limits.h> exists even on freestanding compilers. */
70800 #ifdef __STDC__
70801 # include <limits.h>
70802 #else
70803 # include <assert.h>
70804 #endif
70806 #undef $ac_func
70808 /* Override any gcc2 internal prototype to avoid an error. */
70809 #ifdef __cplusplus
70810 extern "C"
70812 #endif
70813 /* We use char because int might match the return type of a gcc2
70814 builtin and then its argument prototype would still apply. */
70815 char $ac_func ();
70816 /* The GNU C library defines this for functions which it implements
70817 to always fail with ENOSYS. Some functions are actually named
70818 something starting with __ and the normal name is an alias. */
70819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70820 choke me
70821 #else
70822 char (*f) () = $ac_func;
70823 #endif
70824 #ifdef __cplusplus
70826 #endif
70829 main ()
70831 return f != $ac_func;
70833 return 0;
70835 _ACEOF
70836 rm -f conftest.$ac_objext conftest$ac_exeext
70837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70838 (eval $ac_link) 2>conftest.er1
70839 ac_status=$?
70840 grep -v '^ *+' conftest.er1 >conftest.err
70841 rm -f conftest.er1
70842 cat conftest.err >&5
70843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70844 (exit $ac_status); } &&
70845 { ac_try='test -z "$ac_c_werror_flag"
70846 || test ! -s conftest.err'
70847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70848 (eval $ac_try) 2>&5
70849 ac_status=$?
70850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70851 (exit $ac_status); }; } &&
70852 { ac_try='test -s conftest$ac_exeext'
70853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70854 (eval $ac_try) 2>&5
70855 ac_status=$?
70856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70857 (exit $ac_status); }; }; then
70858 eval "$as_ac_var=yes"
70859 else
70860 echo "$as_me: failed program was:" >&5
70861 sed 's/^/| /' conftest.$ac_ext >&5
70863 eval "$as_ac_var=no"
70865 rm -f conftest.err conftest.$ac_objext \
70866 conftest$ac_exeext conftest.$ac_ext
70868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70870 if test `eval echo '${'$as_ac_var'}'` = yes; then
70871 cat >>confdefs.h <<_ACEOF
70872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70873 _ACEOF
70876 done
70886 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
70887 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
70888 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70889 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
70890 echo $ECHO_N "(cached) $ECHO_C" >&6
70891 else
70895 ac_ext=cc
70896 ac_cpp='$CXXCPP $CPPFLAGS'
70897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70901 cat >conftest.$ac_ext <<_ACEOF
70902 /* confdefs.h. */
70903 _ACEOF
70904 cat confdefs.h >>conftest.$ac_ext
70905 cat >>conftest.$ac_ext <<_ACEOF
70906 /* end confdefs.h. */
70907 #include <math.h>
70909 main ()
70911 atan2l(0, 0);
70913 return 0;
70915 _ACEOF
70916 rm -f conftest.$ac_objext
70917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70918 (eval $ac_compile) 2>conftest.er1
70919 ac_status=$?
70920 grep -v '^ *+' conftest.er1 >conftest.err
70921 rm -f conftest.er1
70922 cat conftest.err >&5
70923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70924 (exit $ac_status); } &&
70925 { ac_try='test -z "$ac_cxx_werror_flag"
70926 || test ! -s conftest.err'
70927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70928 (eval $ac_try) 2>&5
70929 ac_status=$?
70930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70931 (exit $ac_status); }; } &&
70932 { ac_try='test -s conftest.$ac_objext'
70933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70934 (eval $ac_try) 2>&5
70935 ac_status=$?
70936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70937 (exit $ac_status); }; }; then
70938 glibcxx_cv_func_atan2l_use=yes
70939 else
70940 echo "$as_me: failed program was:" >&5
70941 sed 's/^/| /' conftest.$ac_ext >&5
70943 glibcxx_cv_func_atan2l_use=no
70945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70946 ac_ext=c
70947 ac_cpp='$CPP $CPPFLAGS'
70948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
70957 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
70959 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70961 for ac_func in atan2l
70963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70964 echo "$as_me:$LINENO: checking for $ac_func" >&5
70965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70966 if eval "test \"\${$as_ac_var+set}\" = set"; then
70967 echo $ECHO_N "(cached) $ECHO_C" >&6
70968 else
70969 if test x$gcc_no_link = xyes; then
70970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70972 { (exit 1); exit 1; }; }
70974 cat >conftest.$ac_ext <<_ACEOF
70975 /* confdefs.h. */
70976 _ACEOF
70977 cat confdefs.h >>conftest.$ac_ext
70978 cat >>conftest.$ac_ext <<_ACEOF
70979 /* end confdefs.h. */
70980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70982 #define $ac_func innocuous_$ac_func
70984 /* System header to define __stub macros and hopefully few prototypes,
70985 which can conflict with char $ac_func (); below.
70986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70987 <limits.h> exists even on freestanding compilers. */
70989 #ifdef __STDC__
70990 # include <limits.h>
70991 #else
70992 # include <assert.h>
70993 #endif
70995 #undef $ac_func
70997 /* Override any gcc2 internal prototype to avoid an error. */
70998 #ifdef __cplusplus
70999 extern "C"
71001 #endif
71002 /* We use char because int might match the return type of a gcc2
71003 builtin and then its argument prototype would still apply. */
71004 char $ac_func ();
71005 /* The GNU C library defines this for functions which it implements
71006 to always fail with ENOSYS. Some functions are actually named
71007 something starting with __ and the normal name is an alias. */
71008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71009 choke me
71010 #else
71011 char (*f) () = $ac_func;
71012 #endif
71013 #ifdef __cplusplus
71015 #endif
71018 main ()
71020 return f != $ac_func;
71022 return 0;
71024 _ACEOF
71025 rm -f conftest.$ac_objext conftest$ac_exeext
71026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71027 (eval $ac_link) 2>conftest.er1
71028 ac_status=$?
71029 grep -v '^ *+' conftest.er1 >conftest.err
71030 rm -f conftest.er1
71031 cat conftest.err >&5
71032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71033 (exit $ac_status); } &&
71034 { ac_try='test -z "$ac_c_werror_flag"
71035 || test ! -s conftest.err'
71036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71037 (eval $ac_try) 2>&5
71038 ac_status=$?
71039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71040 (exit $ac_status); }; } &&
71041 { ac_try='test -s conftest$ac_exeext'
71042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71043 (eval $ac_try) 2>&5
71044 ac_status=$?
71045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71046 (exit $ac_status); }; }; then
71047 eval "$as_ac_var=yes"
71048 else
71049 echo "$as_me: failed program was:" >&5
71050 sed 's/^/| /' conftest.$ac_ext >&5
71052 eval "$as_ac_var=no"
71054 rm -f conftest.err conftest.$ac_objext \
71055 conftest$ac_exeext conftest.$ac_ext
71057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71059 if test `eval echo '${'$as_ac_var'}'` = yes; then
71060 cat >>confdefs.h <<_ACEOF
71061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71062 _ACEOF
71065 done
71067 else
71069 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
71070 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
71071 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71072 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
71073 echo $ECHO_N "(cached) $ECHO_C" >&6
71074 else
71078 ac_ext=cc
71079 ac_cpp='$CXXCPP $CPPFLAGS'
71080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71084 cat >conftest.$ac_ext <<_ACEOF
71085 /* confdefs.h. */
71086 _ACEOF
71087 cat confdefs.h >>conftest.$ac_ext
71088 cat >>conftest.$ac_ext <<_ACEOF
71089 /* end confdefs.h. */
71090 #include <math.h>
71092 main ()
71094 _atan2l(0, 0);
71096 return 0;
71098 _ACEOF
71099 rm -f conftest.$ac_objext
71100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71101 (eval $ac_compile) 2>conftest.er1
71102 ac_status=$?
71103 grep -v '^ *+' conftest.er1 >conftest.err
71104 rm -f conftest.er1
71105 cat conftest.err >&5
71106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71107 (exit $ac_status); } &&
71108 { ac_try='test -z "$ac_cxx_werror_flag"
71109 || test ! -s conftest.err'
71110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71111 (eval $ac_try) 2>&5
71112 ac_status=$?
71113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71114 (exit $ac_status); }; } &&
71115 { ac_try='test -s conftest.$ac_objext'
71116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71117 (eval $ac_try) 2>&5
71118 ac_status=$?
71119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71120 (exit $ac_status); }; }; then
71121 glibcxx_cv_func__atan2l_use=yes
71122 else
71123 echo "$as_me: failed program was:" >&5
71124 sed 's/^/| /' conftest.$ac_ext >&5
71126 glibcxx_cv_func__atan2l_use=no
71128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71129 ac_ext=c
71130 ac_cpp='$CPP $CPPFLAGS'
71131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71139 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
71140 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
71142 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71144 for ac_func in _atan2l
71146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71147 echo "$as_me:$LINENO: checking for $ac_func" >&5
71148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71149 if eval "test \"\${$as_ac_var+set}\" = set"; then
71150 echo $ECHO_N "(cached) $ECHO_C" >&6
71151 else
71152 if test x$gcc_no_link = xyes; then
71153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71155 { (exit 1); exit 1; }; }
71157 cat >conftest.$ac_ext <<_ACEOF
71158 /* confdefs.h. */
71159 _ACEOF
71160 cat confdefs.h >>conftest.$ac_ext
71161 cat >>conftest.$ac_ext <<_ACEOF
71162 /* end confdefs.h. */
71163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71165 #define $ac_func innocuous_$ac_func
71167 /* System header to define __stub macros and hopefully few prototypes,
71168 which can conflict with char $ac_func (); below.
71169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71170 <limits.h> exists even on freestanding compilers. */
71172 #ifdef __STDC__
71173 # include <limits.h>
71174 #else
71175 # include <assert.h>
71176 #endif
71178 #undef $ac_func
71180 /* Override any gcc2 internal prototype to avoid an error. */
71181 #ifdef __cplusplus
71182 extern "C"
71184 #endif
71185 /* We use char because int might match the return type of a gcc2
71186 builtin and then its argument prototype would still apply. */
71187 char $ac_func ();
71188 /* The GNU C library defines this for functions which it implements
71189 to always fail with ENOSYS. Some functions are actually named
71190 something starting with __ and the normal name is an alias. */
71191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71192 choke me
71193 #else
71194 char (*f) () = $ac_func;
71195 #endif
71196 #ifdef __cplusplus
71198 #endif
71201 main ()
71203 return f != $ac_func;
71205 return 0;
71207 _ACEOF
71208 rm -f conftest.$ac_objext conftest$ac_exeext
71209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71210 (eval $ac_link) 2>conftest.er1
71211 ac_status=$?
71212 grep -v '^ *+' conftest.er1 >conftest.err
71213 rm -f conftest.er1
71214 cat conftest.err >&5
71215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71216 (exit $ac_status); } &&
71217 { ac_try='test -z "$ac_c_werror_flag"
71218 || test ! -s conftest.err'
71219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71220 (eval $ac_try) 2>&5
71221 ac_status=$?
71222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71223 (exit $ac_status); }; } &&
71224 { ac_try='test -s conftest$ac_exeext'
71225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71226 (eval $ac_try) 2>&5
71227 ac_status=$?
71228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71229 (exit $ac_status); }; }; then
71230 eval "$as_ac_var=yes"
71231 else
71232 echo "$as_me: failed program was:" >&5
71233 sed 's/^/| /' conftest.$ac_ext >&5
71235 eval "$as_ac_var=no"
71237 rm -f conftest.err conftest.$ac_objext \
71238 conftest$ac_exeext conftest.$ac_ext
71240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71242 if test `eval echo '${'$as_ac_var'}'` = yes; then
71243 cat >>confdefs.h <<_ACEOF
71244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71245 _ACEOF
71248 done
71258 echo "$as_me:$LINENO: checking for expl declaration" >&5
71259 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
71260 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71261 if test "${glibcxx_cv_func_expl_use+set}" = set; then
71262 echo $ECHO_N "(cached) $ECHO_C" >&6
71263 else
71267 ac_ext=cc
71268 ac_cpp='$CXXCPP $CPPFLAGS'
71269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71273 cat >conftest.$ac_ext <<_ACEOF
71274 /* confdefs.h. */
71275 _ACEOF
71276 cat confdefs.h >>conftest.$ac_ext
71277 cat >>conftest.$ac_ext <<_ACEOF
71278 /* end confdefs.h. */
71279 #include <math.h>
71280 #ifdef HAVE_IEEEFP_H
71281 #include <ieeefp.h>
71282 #endif
71285 main ()
71287 expl(0);
71289 return 0;
71291 _ACEOF
71292 rm -f conftest.$ac_objext
71293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71294 (eval $ac_compile) 2>conftest.er1
71295 ac_status=$?
71296 grep -v '^ *+' conftest.er1 >conftest.err
71297 rm -f conftest.er1
71298 cat conftest.err >&5
71299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71300 (exit $ac_status); } &&
71301 { ac_try='test -z "$ac_cxx_werror_flag"
71302 || test ! -s conftest.err'
71303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71304 (eval $ac_try) 2>&5
71305 ac_status=$?
71306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71307 (exit $ac_status); }; } &&
71308 { ac_try='test -s conftest.$ac_objext'
71309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71310 (eval $ac_try) 2>&5
71311 ac_status=$?
71312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71313 (exit $ac_status); }; }; then
71314 glibcxx_cv_func_expl_use=yes
71315 else
71316 echo "$as_me: failed program was:" >&5
71317 sed 's/^/| /' conftest.$ac_ext >&5
71319 glibcxx_cv_func_expl_use=no
71321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71322 ac_ext=c
71323 ac_cpp='$CPP $CPPFLAGS'
71324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
71333 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
71335 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71337 for ac_func in expl
71339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71340 echo "$as_me:$LINENO: checking for $ac_func" >&5
71341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71342 if eval "test \"\${$as_ac_var+set}\" = set"; then
71343 echo $ECHO_N "(cached) $ECHO_C" >&6
71344 else
71345 if test x$gcc_no_link = xyes; then
71346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71348 { (exit 1); exit 1; }; }
71350 cat >conftest.$ac_ext <<_ACEOF
71351 /* confdefs.h. */
71352 _ACEOF
71353 cat confdefs.h >>conftest.$ac_ext
71354 cat >>conftest.$ac_ext <<_ACEOF
71355 /* end confdefs.h. */
71356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71358 #define $ac_func innocuous_$ac_func
71360 /* System header to define __stub macros and hopefully few prototypes,
71361 which can conflict with char $ac_func (); below.
71362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71363 <limits.h> exists even on freestanding compilers. */
71365 #ifdef __STDC__
71366 # include <limits.h>
71367 #else
71368 # include <assert.h>
71369 #endif
71371 #undef $ac_func
71373 /* Override any gcc2 internal prototype to avoid an error. */
71374 #ifdef __cplusplus
71375 extern "C"
71377 #endif
71378 /* We use char because int might match the return type of a gcc2
71379 builtin and then its argument prototype would still apply. */
71380 char $ac_func ();
71381 /* The GNU C library defines this for functions which it implements
71382 to always fail with ENOSYS. Some functions are actually named
71383 something starting with __ and the normal name is an alias. */
71384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71385 choke me
71386 #else
71387 char (*f) () = $ac_func;
71388 #endif
71389 #ifdef __cplusplus
71391 #endif
71394 main ()
71396 return f != $ac_func;
71398 return 0;
71400 _ACEOF
71401 rm -f conftest.$ac_objext conftest$ac_exeext
71402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71403 (eval $ac_link) 2>conftest.er1
71404 ac_status=$?
71405 grep -v '^ *+' conftest.er1 >conftest.err
71406 rm -f conftest.er1
71407 cat conftest.err >&5
71408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71409 (exit $ac_status); } &&
71410 { ac_try='test -z "$ac_c_werror_flag"
71411 || test ! -s conftest.err'
71412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71413 (eval $ac_try) 2>&5
71414 ac_status=$?
71415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71416 (exit $ac_status); }; } &&
71417 { ac_try='test -s conftest$ac_exeext'
71418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71419 (eval $ac_try) 2>&5
71420 ac_status=$?
71421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71422 (exit $ac_status); }; }; then
71423 eval "$as_ac_var=yes"
71424 else
71425 echo "$as_me: failed program was:" >&5
71426 sed 's/^/| /' conftest.$ac_ext >&5
71428 eval "$as_ac_var=no"
71430 rm -f conftest.err conftest.$ac_objext \
71431 conftest$ac_exeext conftest.$ac_ext
71433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71435 if test `eval echo '${'$as_ac_var'}'` = yes; then
71436 cat >>confdefs.h <<_ACEOF
71437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71438 _ACEOF
71441 done
71443 else
71445 echo "$as_me:$LINENO: checking for _expl declaration" >&5
71446 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
71447 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71448 if test "${glibcxx_cv_func__expl_use+set}" = set; then
71449 echo $ECHO_N "(cached) $ECHO_C" >&6
71450 else
71454 ac_ext=cc
71455 ac_cpp='$CXXCPP $CPPFLAGS'
71456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71460 cat >conftest.$ac_ext <<_ACEOF
71461 /* confdefs.h. */
71462 _ACEOF
71463 cat confdefs.h >>conftest.$ac_ext
71464 cat >>conftest.$ac_ext <<_ACEOF
71465 /* end confdefs.h. */
71466 #include <math.h>
71467 #ifdef HAVE_IEEEFP_H
71468 #include <ieeefp.h>
71469 #endif
71472 main ()
71474 _expl(0);
71476 return 0;
71478 _ACEOF
71479 rm -f conftest.$ac_objext
71480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71481 (eval $ac_compile) 2>conftest.er1
71482 ac_status=$?
71483 grep -v '^ *+' conftest.er1 >conftest.err
71484 rm -f conftest.er1
71485 cat conftest.err >&5
71486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71487 (exit $ac_status); } &&
71488 { ac_try='test -z "$ac_cxx_werror_flag"
71489 || test ! -s conftest.err'
71490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71491 (eval $ac_try) 2>&5
71492 ac_status=$?
71493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71494 (exit $ac_status); }; } &&
71495 { ac_try='test -s conftest.$ac_objext'
71496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71497 (eval $ac_try) 2>&5
71498 ac_status=$?
71499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71500 (exit $ac_status); }; }; then
71501 glibcxx_cv_func__expl_use=yes
71502 else
71503 echo "$as_me: failed program was:" >&5
71504 sed 's/^/| /' conftest.$ac_ext >&5
71506 glibcxx_cv_func__expl_use=no
71508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71509 ac_ext=c
71510 ac_cpp='$CPP $CPPFLAGS'
71511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
71520 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
71522 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71524 for ac_func in _expl
71526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71527 echo "$as_me:$LINENO: checking for $ac_func" >&5
71528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71529 if eval "test \"\${$as_ac_var+set}\" = set"; then
71530 echo $ECHO_N "(cached) $ECHO_C" >&6
71531 else
71532 if test x$gcc_no_link = xyes; then
71533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71535 { (exit 1); exit 1; }; }
71537 cat >conftest.$ac_ext <<_ACEOF
71538 /* confdefs.h. */
71539 _ACEOF
71540 cat confdefs.h >>conftest.$ac_ext
71541 cat >>conftest.$ac_ext <<_ACEOF
71542 /* end confdefs.h. */
71543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71545 #define $ac_func innocuous_$ac_func
71547 /* System header to define __stub macros and hopefully few prototypes,
71548 which can conflict with char $ac_func (); below.
71549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71550 <limits.h> exists even on freestanding compilers. */
71552 #ifdef __STDC__
71553 # include <limits.h>
71554 #else
71555 # include <assert.h>
71556 #endif
71558 #undef $ac_func
71560 /* Override any gcc2 internal prototype to avoid an error. */
71561 #ifdef __cplusplus
71562 extern "C"
71564 #endif
71565 /* We use char because int might match the return type of a gcc2
71566 builtin and then its argument prototype would still apply. */
71567 char $ac_func ();
71568 /* The GNU C library defines this for functions which it implements
71569 to always fail with ENOSYS. Some functions are actually named
71570 something starting with __ and the normal name is an alias. */
71571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71572 choke me
71573 #else
71574 char (*f) () = $ac_func;
71575 #endif
71576 #ifdef __cplusplus
71578 #endif
71581 main ()
71583 return f != $ac_func;
71585 return 0;
71587 _ACEOF
71588 rm -f conftest.$ac_objext conftest$ac_exeext
71589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71590 (eval $ac_link) 2>conftest.er1
71591 ac_status=$?
71592 grep -v '^ *+' conftest.er1 >conftest.err
71593 rm -f conftest.er1
71594 cat conftest.err >&5
71595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71596 (exit $ac_status); } &&
71597 { ac_try='test -z "$ac_c_werror_flag"
71598 || test ! -s conftest.err'
71599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71600 (eval $ac_try) 2>&5
71601 ac_status=$?
71602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71603 (exit $ac_status); }; } &&
71604 { ac_try='test -s conftest$ac_exeext'
71605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71606 (eval $ac_try) 2>&5
71607 ac_status=$?
71608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71609 (exit $ac_status); }; }; then
71610 eval "$as_ac_var=yes"
71611 else
71612 echo "$as_me: failed program was:" >&5
71613 sed 's/^/| /' conftest.$ac_ext >&5
71615 eval "$as_ac_var=no"
71617 rm -f conftest.err conftest.$ac_objext \
71618 conftest$ac_exeext conftest.$ac_ext
71620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71622 if test `eval echo '${'$as_ac_var'}'` = yes; then
71623 cat >>confdefs.h <<_ACEOF
71624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71625 _ACEOF
71628 done
71638 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
71639 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
71640 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71641 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
71642 echo $ECHO_N "(cached) $ECHO_C" >&6
71643 else
71647 ac_ext=cc
71648 ac_cpp='$CXXCPP $CPPFLAGS'
71649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71653 cat >conftest.$ac_ext <<_ACEOF
71654 /* confdefs.h. */
71655 _ACEOF
71656 cat confdefs.h >>conftest.$ac_ext
71657 cat >>conftest.$ac_ext <<_ACEOF
71658 /* end confdefs.h. */
71659 #include <math.h>
71660 #ifdef HAVE_IEEEFP_H
71661 #include <ieeefp.h>
71662 #endif
71665 main ()
71667 fabsl(0);
71669 return 0;
71671 _ACEOF
71672 rm -f conftest.$ac_objext
71673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71674 (eval $ac_compile) 2>conftest.er1
71675 ac_status=$?
71676 grep -v '^ *+' conftest.er1 >conftest.err
71677 rm -f conftest.er1
71678 cat conftest.err >&5
71679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71680 (exit $ac_status); } &&
71681 { ac_try='test -z "$ac_cxx_werror_flag"
71682 || test ! -s conftest.err'
71683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71684 (eval $ac_try) 2>&5
71685 ac_status=$?
71686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71687 (exit $ac_status); }; } &&
71688 { ac_try='test -s conftest.$ac_objext'
71689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71690 (eval $ac_try) 2>&5
71691 ac_status=$?
71692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71693 (exit $ac_status); }; }; then
71694 glibcxx_cv_func_fabsl_use=yes
71695 else
71696 echo "$as_me: failed program was:" >&5
71697 sed 's/^/| /' conftest.$ac_ext >&5
71699 glibcxx_cv_func_fabsl_use=no
71701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71702 ac_ext=c
71703 ac_cpp='$CPP $CPPFLAGS'
71704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
71713 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
71715 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71717 for ac_func in fabsl
71719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71720 echo "$as_me:$LINENO: checking for $ac_func" >&5
71721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71722 if eval "test \"\${$as_ac_var+set}\" = set"; then
71723 echo $ECHO_N "(cached) $ECHO_C" >&6
71724 else
71725 if test x$gcc_no_link = xyes; then
71726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71728 { (exit 1); exit 1; }; }
71730 cat >conftest.$ac_ext <<_ACEOF
71731 /* confdefs.h. */
71732 _ACEOF
71733 cat confdefs.h >>conftest.$ac_ext
71734 cat >>conftest.$ac_ext <<_ACEOF
71735 /* end confdefs.h. */
71736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71738 #define $ac_func innocuous_$ac_func
71740 /* System header to define __stub macros and hopefully few prototypes,
71741 which can conflict with char $ac_func (); below.
71742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71743 <limits.h> exists even on freestanding compilers. */
71745 #ifdef __STDC__
71746 # include <limits.h>
71747 #else
71748 # include <assert.h>
71749 #endif
71751 #undef $ac_func
71753 /* Override any gcc2 internal prototype to avoid an error. */
71754 #ifdef __cplusplus
71755 extern "C"
71757 #endif
71758 /* We use char because int might match the return type of a gcc2
71759 builtin and then its argument prototype would still apply. */
71760 char $ac_func ();
71761 /* The GNU C library defines this for functions which it implements
71762 to always fail with ENOSYS. Some functions are actually named
71763 something starting with __ and the normal name is an alias. */
71764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71765 choke me
71766 #else
71767 char (*f) () = $ac_func;
71768 #endif
71769 #ifdef __cplusplus
71771 #endif
71774 main ()
71776 return f != $ac_func;
71778 return 0;
71780 _ACEOF
71781 rm -f conftest.$ac_objext conftest$ac_exeext
71782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71783 (eval $ac_link) 2>conftest.er1
71784 ac_status=$?
71785 grep -v '^ *+' conftest.er1 >conftest.err
71786 rm -f conftest.er1
71787 cat conftest.err >&5
71788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71789 (exit $ac_status); } &&
71790 { ac_try='test -z "$ac_c_werror_flag"
71791 || test ! -s conftest.err'
71792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71793 (eval $ac_try) 2>&5
71794 ac_status=$?
71795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71796 (exit $ac_status); }; } &&
71797 { ac_try='test -s conftest$ac_exeext'
71798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71799 (eval $ac_try) 2>&5
71800 ac_status=$?
71801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71802 (exit $ac_status); }; }; then
71803 eval "$as_ac_var=yes"
71804 else
71805 echo "$as_me: failed program was:" >&5
71806 sed 's/^/| /' conftest.$ac_ext >&5
71808 eval "$as_ac_var=no"
71810 rm -f conftest.err conftest.$ac_objext \
71811 conftest$ac_exeext conftest.$ac_ext
71813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71815 if test `eval echo '${'$as_ac_var'}'` = yes; then
71816 cat >>confdefs.h <<_ACEOF
71817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71818 _ACEOF
71821 done
71823 else
71825 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
71826 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
71827 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71828 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
71829 echo $ECHO_N "(cached) $ECHO_C" >&6
71830 else
71834 ac_ext=cc
71835 ac_cpp='$CXXCPP $CPPFLAGS'
71836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71840 cat >conftest.$ac_ext <<_ACEOF
71841 /* confdefs.h. */
71842 _ACEOF
71843 cat confdefs.h >>conftest.$ac_ext
71844 cat >>conftest.$ac_ext <<_ACEOF
71845 /* end confdefs.h. */
71846 #include <math.h>
71847 #ifdef HAVE_IEEEFP_H
71848 #include <ieeefp.h>
71849 #endif
71852 main ()
71854 _fabsl(0);
71856 return 0;
71858 _ACEOF
71859 rm -f conftest.$ac_objext
71860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71861 (eval $ac_compile) 2>conftest.er1
71862 ac_status=$?
71863 grep -v '^ *+' conftest.er1 >conftest.err
71864 rm -f conftest.er1
71865 cat conftest.err >&5
71866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71867 (exit $ac_status); } &&
71868 { ac_try='test -z "$ac_cxx_werror_flag"
71869 || test ! -s conftest.err'
71870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71871 (eval $ac_try) 2>&5
71872 ac_status=$?
71873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71874 (exit $ac_status); }; } &&
71875 { ac_try='test -s conftest.$ac_objext'
71876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71877 (eval $ac_try) 2>&5
71878 ac_status=$?
71879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71880 (exit $ac_status); }; }; then
71881 glibcxx_cv_func__fabsl_use=yes
71882 else
71883 echo "$as_me: failed program was:" >&5
71884 sed 's/^/| /' conftest.$ac_ext >&5
71886 glibcxx_cv_func__fabsl_use=no
71888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71889 ac_ext=c
71890 ac_cpp='$CPP $CPPFLAGS'
71891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
71900 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
71902 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71904 for ac_func in _fabsl
71906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71907 echo "$as_me:$LINENO: checking for $ac_func" >&5
71908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71909 if eval "test \"\${$as_ac_var+set}\" = set"; then
71910 echo $ECHO_N "(cached) $ECHO_C" >&6
71911 else
71912 if test x$gcc_no_link = xyes; then
71913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71915 { (exit 1); exit 1; }; }
71917 cat >conftest.$ac_ext <<_ACEOF
71918 /* confdefs.h. */
71919 _ACEOF
71920 cat confdefs.h >>conftest.$ac_ext
71921 cat >>conftest.$ac_ext <<_ACEOF
71922 /* end confdefs.h. */
71923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71925 #define $ac_func innocuous_$ac_func
71927 /* System header to define __stub macros and hopefully few prototypes,
71928 which can conflict with char $ac_func (); below.
71929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71930 <limits.h> exists even on freestanding compilers. */
71932 #ifdef __STDC__
71933 # include <limits.h>
71934 #else
71935 # include <assert.h>
71936 #endif
71938 #undef $ac_func
71940 /* Override any gcc2 internal prototype to avoid an error. */
71941 #ifdef __cplusplus
71942 extern "C"
71944 #endif
71945 /* We use char because int might match the return type of a gcc2
71946 builtin and then its argument prototype would still apply. */
71947 char $ac_func ();
71948 /* The GNU C library defines this for functions which it implements
71949 to always fail with ENOSYS. Some functions are actually named
71950 something starting with __ and the normal name is an alias. */
71951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71952 choke me
71953 #else
71954 char (*f) () = $ac_func;
71955 #endif
71956 #ifdef __cplusplus
71958 #endif
71961 main ()
71963 return f != $ac_func;
71965 return 0;
71967 _ACEOF
71968 rm -f conftest.$ac_objext conftest$ac_exeext
71969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71970 (eval $ac_link) 2>conftest.er1
71971 ac_status=$?
71972 grep -v '^ *+' conftest.er1 >conftest.err
71973 rm -f conftest.er1
71974 cat conftest.err >&5
71975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71976 (exit $ac_status); } &&
71977 { ac_try='test -z "$ac_c_werror_flag"
71978 || test ! -s conftest.err'
71979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71980 (eval $ac_try) 2>&5
71981 ac_status=$?
71982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71983 (exit $ac_status); }; } &&
71984 { ac_try='test -s conftest$ac_exeext'
71985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71986 (eval $ac_try) 2>&5
71987 ac_status=$?
71988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989 (exit $ac_status); }; }; then
71990 eval "$as_ac_var=yes"
71991 else
71992 echo "$as_me: failed program was:" >&5
71993 sed 's/^/| /' conftest.$ac_ext >&5
71995 eval "$as_ac_var=no"
71997 rm -f conftest.err conftest.$ac_objext \
71998 conftest$ac_exeext conftest.$ac_ext
72000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72002 if test `eval echo '${'$as_ac_var'}'` = yes; then
72003 cat >>confdefs.h <<_ACEOF
72004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72005 _ACEOF
72008 done
72018 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
72019 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
72020 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
72021 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
72022 echo $ECHO_N "(cached) $ECHO_C" >&6
72023 else
72027 ac_ext=cc
72028 ac_cpp='$CXXCPP $CPPFLAGS'
72029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72033 cat >conftest.$ac_ext <<_ACEOF
72034 /* confdefs.h. */
72035 _ACEOF
72036 cat confdefs.h >>conftest.$ac_ext
72037 cat >>conftest.$ac_ext <<_ACEOF
72038 /* end confdefs.h. */
72039 #include <math.h>
72041 main ()
72043 fmodl(0, 0);
72045 return 0;
72047 _ACEOF
72048 rm -f conftest.$ac_objext
72049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72050 (eval $ac_compile) 2>conftest.er1
72051 ac_status=$?
72052 grep -v '^ *+' conftest.er1 >conftest.err
72053 rm -f conftest.er1
72054 cat conftest.err >&5
72055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72056 (exit $ac_status); } &&
72057 { ac_try='test -z "$ac_cxx_werror_flag"
72058 || test ! -s conftest.err'
72059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72060 (eval $ac_try) 2>&5
72061 ac_status=$?
72062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72063 (exit $ac_status); }; } &&
72064 { ac_try='test -s conftest.$ac_objext'
72065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72066 (eval $ac_try) 2>&5
72067 ac_status=$?
72068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72069 (exit $ac_status); }; }; then
72070 glibcxx_cv_func_fmodl_use=yes
72071 else
72072 echo "$as_me: failed program was:" >&5
72073 sed 's/^/| /' conftest.$ac_ext >&5
72075 glibcxx_cv_func_fmodl_use=no
72077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72078 ac_ext=c
72079 ac_cpp='$CPP $CPPFLAGS'
72080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
72089 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
72091 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
72093 for ac_func in fmodl
72095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72096 echo "$as_me:$LINENO: checking for $ac_func" >&5
72097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72098 if eval "test \"\${$as_ac_var+set}\" = set"; then
72099 echo $ECHO_N "(cached) $ECHO_C" >&6
72100 else
72101 if test x$gcc_no_link = xyes; then
72102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72104 { (exit 1); exit 1; }; }
72106 cat >conftest.$ac_ext <<_ACEOF
72107 /* confdefs.h. */
72108 _ACEOF
72109 cat confdefs.h >>conftest.$ac_ext
72110 cat >>conftest.$ac_ext <<_ACEOF
72111 /* end confdefs.h. */
72112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72114 #define $ac_func innocuous_$ac_func
72116 /* System header to define __stub macros and hopefully few prototypes,
72117 which can conflict with char $ac_func (); below.
72118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72119 <limits.h> exists even on freestanding compilers. */
72121 #ifdef __STDC__
72122 # include <limits.h>
72123 #else
72124 # include <assert.h>
72125 #endif
72127 #undef $ac_func
72129 /* Override any gcc2 internal prototype to avoid an error. */
72130 #ifdef __cplusplus
72131 extern "C"
72133 #endif
72134 /* We use char because int might match the return type of a gcc2
72135 builtin and then its argument prototype would still apply. */
72136 char $ac_func ();
72137 /* The GNU C library defines this for functions which it implements
72138 to always fail with ENOSYS. Some functions are actually named
72139 something starting with __ and the normal name is an alias. */
72140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72141 choke me
72142 #else
72143 char (*f) () = $ac_func;
72144 #endif
72145 #ifdef __cplusplus
72147 #endif
72150 main ()
72152 return f != $ac_func;
72154 return 0;
72156 _ACEOF
72157 rm -f conftest.$ac_objext conftest$ac_exeext
72158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72159 (eval $ac_link) 2>conftest.er1
72160 ac_status=$?
72161 grep -v '^ *+' conftest.er1 >conftest.err
72162 rm -f conftest.er1
72163 cat conftest.err >&5
72164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72165 (exit $ac_status); } &&
72166 { ac_try='test -z "$ac_c_werror_flag"
72167 || test ! -s conftest.err'
72168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72169 (eval $ac_try) 2>&5
72170 ac_status=$?
72171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72172 (exit $ac_status); }; } &&
72173 { ac_try='test -s conftest$ac_exeext'
72174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72175 (eval $ac_try) 2>&5
72176 ac_status=$?
72177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72178 (exit $ac_status); }; }; then
72179 eval "$as_ac_var=yes"
72180 else
72181 echo "$as_me: failed program was:" >&5
72182 sed 's/^/| /' conftest.$ac_ext >&5
72184 eval "$as_ac_var=no"
72186 rm -f conftest.err conftest.$ac_objext \
72187 conftest$ac_exeext conftest.$ac_ext
72189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72191 if test `eval echo '${'$as_ac_var'}'` = yes; then
72192 cat >>confdefs.h <<_ACEOF
72193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72194 _ACEOF
72197 done
72199 else
72201 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
72202 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
72203 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
72204 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
72205 echo $ECHO_N "(cached) $ECHO_C" >&6
72206 else
72210 ac_ext=cc
72211 ac_cpp='$CXXCPP $CPPFLAGS'
72212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72216 cat >conftest.$ac_ext <<_ACEOF
72217 /* confdefs.h. */
72218 _ACEOF
72219 cat confdefs.h >>conftest.$ac_ext
72220 cat >>conftest.$ac_ext <<_ACEOF
72221 /* end confdefs.h. */
72222 #include <math.h>
72224 main ()
72226 _fmodl(0, 0);
72228 return 0;
72230 _ACEOF
72231 rm -f conftest.$ac_objext
72232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72233 (eval $ac_compile) 2>conftest.er1
72234 ac_status=$?
72235 grep -v '^ *+' conftest.er1 >conftest.err
72236 rm -f conftest.er1
72237 cat conftest.err >&5
72238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72239 (exit $ac_status); } &&
72240 { ac_try='test -z "$ac_cxx_werror_flag"
72241 || test ! -s conftest.err'
72242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72243 (eval $ac_try) 2>&5
72244 ac_status=$?
72245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72246 (exit $ac_status); }; } &&
72247 { ac_try='test -s conftest.$ac_objext'
72248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72249 (eval $ac_try) 2>&5
72250 ac_status=$?
72251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72252 (exit $ac_status); }; }; then
72253 glibcxx_cv_func__fmodl_use=yes
72254 else
72255 echo "$as_me: failed program was:" >&5
72256 sed 's/^/| /' conftest.$ac_ext >&5
72258 glibcxx_cv_func__fmodl_use=no
72260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72261 ac_ext=c
72262 ac_cpp='$CPP $CPPFLAGS'
72263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
72272 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
72274 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
72276 for ac_func in _fmodl
72278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72279 echo "$as_me:$LINENO: checking for $ac_func" >&5
72280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72281 if eval "test \"\${$as_ac_var+set}\" = set"; then
72282 echo $ECHO_N "(cached) $ECHO_C" >&6
72283 else
72284 if test x$gcc_no_link = xyes; then
72285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72287 { (exit 1); exit 1; }; }
72289 cat >conftest.$ac_ext <<_ACEOF
72290 /* confdefs.h. */
72291 _ACEOF
72292 cat confdefs.h >>conftest.$ac_ext
72293 cat >>conftest.$ac_ext <<_ACEOF
72294 /* end confdefs.h. */
72295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72297 #define $ac_func innocuous_$ac_func
72299 /* System header to define __stub macros and hopefully few prototypes,
72300 which can conflict with char $ac_func (); below.
72301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72302 <limits.h> exists even on freestanding compilers. */
72304 #ifdef __STDC__
72305 # include <limits.h>
72306 #else
72307 # include <assert.h>
72308 #endif
72310 #undef $ac_func
72312 /* Override any gcc2 internal prototype to avoid an error. */
72313 #ifdef __cplusplus
72314 extern "C"
72316 #endif
72317 /* We use char because int might match the return type of a gcc2
72318 builtin and then its argument prototype would still apply. */
72319 char $ac_func ();
72320 /* The GNU C library defines this for functions which it implements
72321 to always fail with ENOSYS. Some functions are actually named
72322 something starting with __ and the normal name is an alias. */
72323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72324 choke me
72325 #else
72326 char (*f) () = $ac_func;
72327 #endif
72328 #ifdef __cplusplus
72330 #endif
72333 main ()
72335 return f != $ac_func;
72337 return 0;
72339 _ACEOF
72340 rm -f conftest.$ac_objext conftest$ac_exeext
72341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72342 (eval $ac_link) 2>conftest.er1
72343 ac_status=$?
72344 grep -v '^ *+' conftest.er1 >conftest.err
72345 rm -f conftest.er1
72346 cat conftest.err >&5
72347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72348 (exit $ac_status); } &&
72349 { ac_try='test -z "$ac_c_werror_flag"
72350 || test ! -s conftest.err'
72351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72352 (eval $ac_try) 2>&5
72353 ac_status=$?
72354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72355 (exit $ac_status); }; } &&
72356 { ac_try='test -s conftest$ac_exeext'
72357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72358 (eval $ac_try) 2>&5
72359 ac_status=$?
72360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72361 (exit $ac_status); }; }; then
72362 eval "$as_ac_var=yes"
72363 else
72364 echo "$as_me: failed program was:" >&5
72365 sed 's/^/| /' conftest.$ac_ext >&5
72367 eval "$as_ac_var=no"
72369 rm -f conftest.err conftest.$ac_objext \
72370 conftest$ac_exeext conftest.$ac_ext
72372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72374 if test `eval echo '${'$as_ac_var'}'` = yes; then
72375 cat >>confdefs.h <<_ACEOF
72376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72377 _ACEOF
72380 done
72390 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
72391 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
72392 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
72393 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
72394 echo $ECHO_N "(cached) $ECHO_C" >&6
72395 else
72399 ac_ext=cc
72400 ac_cpp='$CXXCPP $CPPFLAGS'
72401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72405 cat >conftest.$ac_ext <<_ACEOF
72406 /* confdefs.h. */
72407 _ACEOF
72408 cat confdefs.h >>conftest.$ac_ext
72409 cat >>conftest.$ac_ext <<_ACEOF
72410 /* end confdefs.h. */
72411 #include <math.h>
72413 main ()
72415 frexpl(0, 0);
72417 return 0;
72419 _ACEOF
72420 rm -f conftest.$ac_objext
72421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72422 (eval $ac_compile) 2>conftest.er1
72423 ac_status=$?
72424 grep -v '^ *+' conftest.er1 >conftest.err
72425 rm -f conftest.er1
72426 cat conftest.err >&5
72427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72428 (exit $ac_status); } &&
72429 { ac_try='test -z "$ac_cxx_werror_flag"
72430 || test ! -s conftest.err'
72431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72432 (eval $ac_try) 2>&5
72433 ac_status=$?
72434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72435 (exit $ac_status); }; } &&
72436 { ac_try='test -s conftest.$ac_objext'
72437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72438 (eval $ac_try) 2>&5
72439 ac_status=$?
72440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72441 (exit $ac_status); }; }; then
72442 glibcxx_cv_func_frexpl_use=yes
72443 else
72444 echo "$as_me: failed program was:" >&5
72445 sed 's/^/| /' conftest.$ac_ext >&5
72447 glibcxx_cv_func_frexpl_use=no
72449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72450 ac_ext=c
72451 ac_cpp='$CPP $CPPFLAGS'
72452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
72461 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
72463 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
72465 for ac_func in frexpl
72467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72468 echo "$as_me:$LINENO: checking for $ac_func" >&5
72469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72470 if eval "test \"\${$as_ac_var+set}\" = set"; then
72471 echo $ECHO_N "(cached) $ECHO_C" >&6
72472 else
72473 if test x$gcc_no_link = xyes; then
72474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72476 { (exit 1); exit 1; }; }
72478 cat >conftest.$ac_ext <<_ACEOF
72479 /* confdefs.h. */
72480 _ACEOF
72481 cat confdefs.h >>conftest.$ac_ext
72482 cat >>conftest.$ac_ext <<_ACEOF
72483 /* end confdefs.h. */
72484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72486 #define $ac_func innocuous_$ac_func
72488 /* System header to define __stub macros and hopefully few prototypes,
72489 which can conflict with char $ac_func (); below.
72490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72491 <limits.h> exists even on freestanding compilers. */
72493 #ifdef __STDC__
72494 # include <limits.h>
72495 #else
72496 # include <assert.h>
72497 #endif
72499 #undef $ac_func
72501 /* Override any gcc2 internal prototype to avoid an error. */
72502 #ifdef __cplusplus
72503 extern "C"
72505 #endif
72506 /* We use char because int might match the return type of a gcc2
72507 builtin and then its argument prototype would still apply. */
72508 char $ac_func ();
72509 /* The GNU C library defines this for functions which it implements
72510 to always fail with ENOSYS. Some functions are actually named
72511 something starting with __ and the normal name is an alias. */
72512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72513 choke me
72514 #else
72515 char (*f) () = $ac_func;
72516 #endif
72517 #ifdef __cplusplus
72519 #endif
72522 main ()
72524 return f != $ac_func;
72526 return 0;
72528 _ACEOF
72529 rm -f conftest.$ac_objext conftest$ac_exeext
72530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72531 (eval $ac_link) 2>conftest.er1
72532 ac_status=$?
72533 grep -v '^ *+' conftest.er1 >conftest.err
72534 rm -f conftest.er1
72535 cat conftest.err >&5
72536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537 (exit $ac_status); } &&
72538 { ac_try='test -z "$ac_c_werror_flag"
72539 || test ! -s conftest.err'
72540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72541 (eval $ac_try) 2>&5
72542 ac_status=$?
72543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72544 (exit $ac_status); }; } &&
72545 { ac_try='test -s conftest$ac_exeext'
72546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72547 (eval $ac_try) 2>&5
72548 ac_status=$?
72549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72550 (exit $ac_status); }; }; then
72551 eval "$as_ac_var=yes"
72552 else
72553 echo "$as_me: failed program was:" >&5
72554 sed 's/^/| /' conftest.$ac_ext >&5
72556 eval "$as_ac_var=no"
72558 rm -f conftest.err conftest.$ac_objext \
72559 conftest$ac_exeext conftest.$ac_ext
72561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72563 if test `eval echo '${'$as_ac_var'}'` = yes; then
72564 cat >>confdefs.h <<_ACEOF
72565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72566 _ACEOF
72569 done
72571 else
72573 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
72574 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
72575 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
72576 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
72577 echo $ECHO_N "(cached) $ECHO_C" >&6
72578 else
72582 ac_ext=cc
72583 ac_cpp='$CXXCPP $CPPFLAGS'
72584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72588 cat >conftest.$ac_ext <<_ACEOF
72589 /* confdefs.h. */
72590 _ACEOF
72591 cat confdefs.h >>conftest.$ac_ext
72592 cat >>conftest.$ac_ext <<_ACEOF
72593 /* end confdefs.h. */
72594 #include <math.h>
72596 main ()
72598 _frexpl(0, 0);
72600 return 0;
72602 _ACEOF
72603 rm -f conftest.$ac_objext
72604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72605 (eval $ac_compile) 2>conftest.er1
72606 ac_status=$?
72607 grep -v '^ *+' conftest.er1 >conftest.err
72608 rm -f conftest.er1
72609 cat conftest.err >&5
72610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72611 (exit $ac_status); } &&
72612 { ac_try='test -z "$ac_cxx_werror_flag"
72613 || test ! -s conftest.err'
72614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72615 (eval $ac_try) 2>&5
72616 ac_status=$?
72617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72618 (exit $ac_status); }; } &&
72619 { ac_try='test -s conftest.$ac_objext'
72620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72621 (eval $ac_try) 2>&5
72622 ac_status=$?
72623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72624 (exit $ac_status); }; }; then
72625 glibcxx_cv_func__frexpl_use=yes
72626 else
72627 echo "$as_me: failed program was:" >&5
72628 sed 's/^/| /' conftest.$ac_ext >&5
72630 glibcxx_cv_func__frexpl_use=no
72632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72633 ac_ext=c
72634 ac_cpp='$CPP $CPPFLAGS'
72635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
72644 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
72646 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
72648 for ac_func in _frexpl
72650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72651 echo "$as_me:$LINENO: checking for $ac_func" >&5
72652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72653 if eval "test \"\${$as_ac_var+set}\" = set"; then
72654 echo $ECHO_N "(cached) $ECHO_C" >&6
72655 else
72656 if test x$gcc_no_link = xyes; then
72657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72659 { (exit 1); exit 1; }; }
72661 cat >conftest.$ac_ext <<_ACEOF
72662 /* confdefs.h. */
72663 _ACEOF
72664 cat confdefs.h >>conftest.$ac_ext
72665 cat >>conftest.$ac_ext <<_ACEOF
72666 /* end confdefs.h. */
72667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72669 #define $ac_func innocuous_$ac_func
72671 /* System header to define __stub macros and hopefully few prototypes,
72672 which can conflict with char $ac_func (); below.
72673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72674 <limits.h> exists even on freestanding compilers. */
72676 #ifdef __STDC__
72677 # include <limits.h>
72678 #else
72679 # include <assert.h>
72680 #endif
72682 #undef $ac_func
72684 /* Override any gcc2 internal prototype to avoid an error. */
72685 #ifdef __cplusplus
72686 extern "C"
72688 #endif
72689 /* We use char because int might match the return type of a gcc2
72690 builtin and then its argument prototype would still apply. */
72691 char $ac_func ();
72692 /* The GNU C library defines this for functions which it implements
72693 to always fail with ENOSYS. Some functions are actually named
72694 something starting with __ and the normal name is an alias. */
72695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72696 choke me
72697 #else
72698 char (*f) () = $ac_func;
72699 #endif
72700 #ifdef __cplusplus
72702 #endif
72705 main ()
72707 return f != $ac_func;
72709 return 0;
72711 _ACEOF
72712 rm -f conftest.$ac_objext conftest$ac_exeext
72713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72714 (eval $ac_link) 2>conftest.er1
72715 ac_status=$?
72716 grep -v '^ *+' conftest.er1 >conftest.err
72717 rm -f conftest.er1
72718 cat conftest.err >&5
72719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72720 (exit $ac_status); } &&
72721 { ac_try='test -z "$ac_c_werror_flag"
72722 || test ! -s conftest.err'
72723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72724 (eval $ac_try) 2>&5
72725 ac_status=$?
72726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72727 (exit $ac_status); }; } &&
72728 { ac_try='test -s conftest$ac_exeext'
72729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72730 (eval $ac_try) 2>&5
72731 ac_status=$?
72732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72733 (exit $ac_status); }; }; then
72734 eval "$as_ac_var=yes"
72735 else
72736 echo "$as_me: failed program was:" >&5
72737 sed 's/^/| /' conftest.$ac_ext >&5
72739 eval "$as_ac_var=no"
72741 rm -f conftest.err conftest.$ac_objext \
72742 conftest$ac_exeext conftest.$ac_ext
72744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72746 if test `eval echo '${'$as_ac_var'}'` = yes; then
72747 cat >>confdefs.h <<_ACEOF
72748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72749 _ACEOF
72752 done
72762 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
72763 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
72764 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
72765 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
72766 echo $ECHO_N "(cached) $ECHO_C" >&6
72767 else
72771 ac_ext=cc
72772 ac_cpp='$CXXCPP $CPPFLAGS'
72773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72777 cat >conftest.$ac_ext <<_ACEOF
72778 /* confdefs.h. */
72779 _ACEOF
72780 cat confdefs.h >>conftest.$ac_ext
72781 cat >>conftest.$ac_ext <<_ACEOF
72782 /* end confdefs.h. */
72783 #include <math.h>
72785 main ()
72787 hypotl(0, 0);
72789 return 0;
72791 _ACEOF
72792 rm -f conftest.$ac_objext
72793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72794 (eval $ac_compile) 2>conftest.er1
72795 ac_status=$?
72796 grep -v '^ *+' conftest.er1 >conftest.err
72797 rm -f conftest.er1
72798 cat conftest.err >&5
72799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72800 (exit $ac_status); } &&
72801 { ac_try='test -z "$ac_cxx_werror_flag"
72802 || test ! -s conftest.err'
72803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72804 (eval $ac_try) 2>&5
72805 ac_status=$?
72806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72807 (exit $ac_status); }; } &&
72808 { ac_try='test -s conftest.$ac_objext'
72809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72810 (eval $ac_try) 2>&5
72811 ac_status=$?
72812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72813 (exit $ac_status); }; }; then
72814 glibcxx_cv_func_hypotl_use=yes
72815 else
72816 echo "$as_me: failed program was:" >&5
72817 sed 's/^/| /' conftest.$ac_ext >&5
72819 glibcxx_cv_func_hypotl_use=no
72821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72822 ac_ext=c
72823 ac_cpp='$CPP $CPPFLAGS'
72824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
72833 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
72835 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
72837 for ac_func in hypotl
72839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72840 echo "$as_me:$LINENO: checking for $ac_func" >&5
72841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72842 if eval "test \"\${$as_ac_var+set}\" = set"; then
72843 echo $ECHO_N "(cached) $ECHO_C" >&6
72844 else
72845 if test x$gcc_no_link = xyes; then
72846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72848 { (exit 1); exit 1; }; }
72850 cat >conftest.$ac_ext <<_ACEOF
72851 /* confdefs.h. */
72852 _ACEOF
72853 cat confdefs.h >>conftest.$ac_ext
72854 cat >>conftest.$ac_ext <<_ACEOF
72855 /* end confdefs.h. */
72856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72858 #define $ac_func innocuous_$ac_func
72860 /* System header to define __stub macros and hopefully few prototypes,
72861 which can conflict with char $ac_func (); below.
72862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72863 <limits.h> exists even on freestanding compilers. */
72865 #ifdef __STDC__
72866 # include <limits.h>
72867 #else
72868 # include <assert.h>
72869 #endif
72871 #undef $ac_func
72873 /* Override any gcc2 internal prototype to avoid an error. */
72874 #ifdef __cplusplus
72875 extern "C"
72877 #endif
72878 /* We use char because int might match the return type of a gcc2
72879 builtin and then its argument prototype would still apply. */
72880 char $ac_func ();
72881 /* The GNU C library defines this for functions which it implements
72882 to always fail with ENOSYS. Some functions are actually named
72883 something starting with __ and the normal name is an alias. */
72884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72885 choke me
72886 #else
72887 char (*f) () = $ac_func;
72888 #endif
72889 #ifdef __cplusplus
72891 #endif
72894 main ()
72896 return f != $ac_func;
72898 return 0;
72900 _ACEOF
72901 rm -f conftest.$ac_objext conftest$ac_exeext
72902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72903 (eval $ac_link) 2>conftest.er1
72904 ac_status=$?
72905 grep -v '^ *+' conftest.er1 >conftest.err
72906 rm -f conftest.er1
72907 cat conftest.err >&5
72908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72909 (exit $ac_status); } &&
72910 { ac_try='test -z "$ac_c_werror_flag"
72911 || test ! -s conftest.err'
72912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72913 (eval $ac_try) 2>&5
72914 ac_status=$?
72915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72916 (exit $ac_status); }; } &&
72917 { ac_try='test -s conftest$ac_exeext'
72918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72919 (eval $ac_try) 2>&5
72920 ac_status=$?
72921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72922 (exit $ac_status); }; }; then
72923 eval "$as_ac_var=yes"
72924 else
72925 echo "$as_me: failed program was:" >&5
72926 sed 's/^/| /' conftest.$ac_ext >&5
72928 eval "$as_ac_var=no"
72930 rm -f conftest.err conftest.$ac_objext \
72931 conftest$ac_exeext conftest.$ac_ext
72933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72935 if test `eval echo '${'$as_ac_var'}'` = yes; then
72936 cat >>confdefs.h <<_ACEOF
72937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72938 _ACEOF
72941 done
72943 else
72945 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
72946 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
72947 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
72948 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
72949 echo $ECHO_N "(cached) $ECHO_C" >&6
72950 else
72954 ac_ext=cc
72955 ac_cpp='$CXXCPP $CPPFLAGS'
72956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72960 cat >conftest.$ac_ext <<_ACEOF
72961 /* confdefs.h. */
72962 _ACEOF
72963 cat confdefs.h >>conftest.$ac_ext
72964 cat >>conftest.$ac_ext <<_ACEOF
72965 /* end confdefs.h. */
72966 #include <math.h>
72968 main ()
72970 _hypotl(0, 0);
72972 return 0;
72974 _ACEOF
72975 rm -f conftest.$ac_objext
72976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72977 (eval $ac_compile) 2>conftest.er1
72978 ac_status=$?
72979 grep -v '^ *+' conftest.er1 >conftest.err
72980 rm -f conftest.er1
72981 cat conftest.err >&5
72982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72983 (exit $ac_status); } &&
72984 { ac_try='test -z "$ac_cxx_werror_flag"
72985 || test ! -s conftest.err'
72986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72987 (eval $ac_try) 2>&5
72988 ac_status=$?
72989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72990 (exit $ac_status); }; } &&
72991 { ac_try='test -s conftest.$ac_objext'
72992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72993 (eval $ac_try) 2>&5
72994 ac_status=$?
72995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72996 (exit $ac_status); }; }; then
72997 glibcxx_cv_func__hypotl_use=yes
72998 else
72999 echo "$as_me: failed program was:" >&5
73000 sed 's/^/| /' conftest.$ac_ext >&5
73002 glibcxx_cv_func__hypotl_use=no
73004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73005 ac_ext=c
73006 ac_cpp='$CPP $CPPFLAGS'
73007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
73016 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
73018 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
73020 for ac_func in _hypotl
73022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73023 echo "$as_me:$LINENO: checking for $ac_func" >&5
73024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73025 if eval "test \"\${$as_ac_var+set}\" = set"; then
73026 echo $ECHO_N "(cached) $ECHO_C" >&6
73027 else
73028 if test x$gcc_no_link = xyes; then
73029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73031 { (exit 1); exit 1; }; }
73033 cat >conftest.$ac_ext <<_ACEOF
73034 /* confdefs.h. */
73035 _ACEOF
73036 cat confdefs.h >>conftest.$ac_ext
73037 cat >>conftest.$ac_ext <<_ACEOF
73038 /* end confdefs.h. */
73039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73041 #define $ac_func innocuous_$ac_func
73043 /* System header to define __stub macros and hopefully few prototypes,
73044 which can conflict with char $ac_func (); below.
73045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73046 <limits.h> exists even on freestanding compilers. */
73048 #ifdef __STDC__
73049 # include <limits.h>
73050 #else
73051 # include <assert.h>
73052 #endif
73054 #undef $ac_func
73056 /* Override any gcc2 internal prototype to avoid an error. */
73057 #ifdef __cplusplus
73058 extern "C"
73060 #endif
73061 /* We use char because int might match the return type of a gcc2
73062 builtin and then its argument prototype would still apply. */
73063 char $ac_func ();
73064 /* The GNU C library defines this for functions which it implements
73065 to always fail with ENOSYS. Some functions are actually named
73066 something starting with __ and the normal name is an alias. */
73067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73068 choke me
73069 #else
73070 char (*f) () = $ac_func;
73071 #endif
73072 #ifdef __cplusplus
73074 #endif
73077 main ()
73079 return f != $ac_func;
73081 return 0;
73083 _ACEOF
73084 rm -f conftest.$ac_objext conftest$ac_exeext
73085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73086 (eval $ac_link) 2>conftest.er1
73087 ac_status=$?
73088 grep -v '^ *+' conftest.er1 >conftest.err
73089 rm -f conftest.er1
73090 cat conftest.err >&5
73091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73092 (exit $ac_status); } &&
73093 { ac_try='test -z "$ac_c_werror_flag"
73094 || test ! -s conftest.err'
73095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73096 (eval $ac_try) 2>&5
73097 ac_status=$?
73098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73099 (exit $ac_status); }; } &&
73100 { ac_try='test -s conftest$ac_exeext'
73101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73102 (eval $ac_try) 2>&5
73103 ac_status=$?
73104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73105 (exit $ac_status); }; }; then
73106 eval "$as_ac_var=yes"
73107 else
73108 echo "$as_me: failed program was:" >&5
73109 sed 's/^/| /' conftest.$ac_ext >&5
73111 eval "$as_ac_var=no"
73113 rm -f conftest.err conftest.$ac_objext \
73114 conftest$ac_exeext conftest.$ac_ext
73116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73118 if test `eval echo '${'$as_ac_var'}'` = yes; then
73119 cat >>confdefs.h <<_ACEOF
73120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73121 _ACEOF
73124 done
73134 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
73135 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
73136 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
73137 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
73138 echo $ECHO_N "(cached) $ECHO_C" >&6
73139 else
73143 ac_ext=cc
73144 ac_cpp='$CXXCPP $CPPFLAGS'
73145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73149 cat >conftest.$ac_ext <<_ACEOF
73150 /* confdefs.h. */
73151 _ACEOF
73152 cat confdefs.h >>conftest.$ac_ext
73153 cat >>conftest.$ac_ext <<_ACEOF
73154 /* end confdefs.h. */
73155 #include <math.h>
73157 main ()
73159 ldexpl(0, 0);
73161 return 0;
73163 _ACEOF
73164 rm -f conftest.$ac_objext
73165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73166 (eval $ac_compile) 2>conftest.er1
73167 ac_status=$?
73168 grep -v '^ *+' conftest.er1 >conftest.err
73169 rm -f conftest.er1
73170 cat conftest.err >&5
73171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172 (exit $ac_status); } &&
73173 { ac_try='test -z "$ac_cxx_werror_flag"
73174 || test ! -s conftest.err'
73175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73176 (eval $ac_try) 2>&5
73177 ac_status=$?
73178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73179 (exit $ac_status); }; } &&
73180 { ac_try='test -s conftest.$ac_objext'
73181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73182 (eval $ac_try) 2>&5
73183 ac_status=$?
73184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73185 (exit $ac_status); }; }; then
73186 glibcxx_cv_func_ldexpl_use=yes
73187 else
73188 echo "$as_me: failed program was:" >&5
73189 sed 's/^/| /' conftest.$ac_ext >&5
73191 glibcxx_cv_func_ldexpl_use=no
73193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73194 ac_ext=c
73195 ac_cpp='$CPP $CPPFLAGS'
73196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
73205 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
73207 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
73209 for ac_func in ldexpl
73211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73212 echo "$as_me:$LINENO: checking for $ac_func" >&5
73213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73214 if eval "test \"\${$as_ac_var+set}\" = set"; then
73215 echo $ECHO_N "(cached) $ECHO_C" >&6
73216 else
73217 if test x$gcc_no_link = xyes; then
73218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73220 { (exit 1); exit 1; }; }
73222 cat >conftest.$ac_ext <<_ACEOF
73223 /* confdefs.h. */
73224 _ACEOF
73225 cat confdefs.h >>conftest.$ac_ext
73226 cat >>conftest.$ac_ext <<_ACEOF
73227 /* end confdefs.h. */
73228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73230 #define $ac_func innocuous_$ac_func
73232 /* System header to define __stub macros and hopefully few prototypes,
73233 which can conflict with char $ac_func (); below.
73234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73235 <limits.h> exists even on freestanding compilers. */
73237 #ifdef __STDC__
73238 # include <limits.h>
73239 #else
73240 # include <assert.h>
73241 #endif
73243 #undef $ac_func
73245 /* Override any gcc2 internal prototype to avoid an error. */
73246 #ifdef __cplusplus
73247 extern "C"
73249 #endif
73250 /* We use char because int might match the return type of a gcc2
73251 builtin and then its argument prototype would still apply. */
73252 char $ac_func ();
73253 /* The GNU C library defines this for functions which it implements
73254 to always fail with ENOSYS. Some functions are actually named
73255 something starting with __ and the normal name is an alias. */
73256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73257 choke me
73258 #else
73259 char (*f) () = $ac_func;
73260 #endif
73261 #ifdef __cplusplus
73263 #endif
73266 main ()
73268 return f != $ac_func;
73270 return 0;
73272 _ACEOF
73273 rm -f conftest.$ac_objext conftest$ac_exeext
73274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73275 (eval $ac_link) 2>conftest.er1
73276 ac_status=$?
73277 grep -v '^ *+' conftest.er1 >conftest.err
73278 rm -f conftest.er1
73279 cat conftest.err >&5
73280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73281 (exit $ac_status); } &&
73282 { ac_try='test -z "$ac_c_werror_flag"
73283 || test ! -s conftest.err'
73284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73285 (eval $ac_try) 2>&5
73286 ac_status=$?
73287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73288 (exit $ac_status); }; } &&
73289 { ac_try='test -s conftest$ac_exeext'
73290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73291 (eval $ac_try) 2>&5
73292 ac_status=$?
73293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73294 (exit $ac_status); }; }; then
73295 eval "$as_ac_var=yes"
73296 else
73297 echo "$as_me: failed program was:" >&5
73298 sed 's/^/| /' conftest.$ac_ext >&5
73300 eval "$as_ac_var=no"
73302 rm -f conftest.err conftest.$ac_objext \
73303 conftest$ac_exeext conftest.$ac_ext
73305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73307 if test `eval echo '${'$as_ac_var'}'` = yes; then
73308 cat >>confdefs.h <<_ACEOF
73309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73310 _ACEOF
73313 done
73315 else
73317 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
73318 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
73319 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
73320 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
73321 echo $ECHO_N "(cached) $ECHO_C" >&6
73322 else
73326 ac_ext=cc
73327 ac_cpp='$CXXCPP $CPPFLAGS'
73328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73332 cat >conftest.$ac_ext <<_ACEOF
73333 /* confdefs.h. */
73334 _ACEOF
73335 cat confdefs.h >>conftest.$ac_ext
73336 cat >>conftest.$ac_ext <<_ACEOF
73337 /* end confdefs.h. */
73338 #include <math.h>
73340 main ()
73342 _ldexpl(0, 0);
73344 return 0;
73346 _ACEOF
73347 rm -f conftest.$ac_objext
73348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73349 (eval $ac_compile) 2>conftest.er1
73350 ac_status=$?
73351 grep -v '^ *+' conftest.er1 >conftest.err
73352 rm -f conftest.er1
73353 cat conftest.err >&5
73354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355 (exit $ac_status); } &&
73356 { ac_try='test -z "$ac_cxx_werror_flag"
73357 || test ! -s conftest.err'
73358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73359 (eval $ac_try) 2>&5
73360 ac_status=$?
73361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73362 (exit $ac_status); }; } &&
73363 { ac_try='test -s conftest.$ac_objext'
73364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73365 (eval $ac_try) 2>&5
73366 ac_status=$?
73367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73368 (exit $ac_status); }; }; then
73369 glibcxx_cv_func__ldexpl_use=yes
73370 else
73371 echo "$as_me: failed program was:" >&5
73372 sed 's/^/| /' conftest.$ac_ext >&5
73374 glibcxx_cv_func__ldexpl_use=no
73376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73377 ac_ext=c
73378 ac_cpp='$CPP $CPPFLAGS'
73379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73387 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
73388 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
73390 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
73392 for ac_func in _ldexpl
73394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73395 echo "$as_me:$LINENO: checking for $ac_func" >&5
73396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73397 if eval "test \"\${$as_ac_var+set}\" = set"; then
73398 echo $ECHO_N "(cached) $ECHO_C" >&6
73399 else
73400 if test x$gcc_no_link = xyes; then
73401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73403 { (exit 1); exit 1; }; }
73405 cat >conftest.$ac_ext <<_ACEOF
73406 /* confdefs.h. */
73407 _ACEOF
73408 cat confdefs.h >>conftest.$ac_ext
73409 cat >>conftest.$ac_ext <<_ACEOF
73410 /* end confdefs.h. */
73411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73413 #define $ac_func innocuous_$ac_func
73415 /* System header to define __stub macros and hopefully few prototypes,
73416 which can conflict with char $ac_func (); below.
73417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73418 <limits.h> exists even on freestanding compilers. */
73420 #ifdef __STDC__
73421 # include <limits.h>
73422 #else
73423 # include <assert.h>
73424 #endif
73426 #undef $ac_func
73428 /* Override any gcc2 internal prototype to avoid an error. */
73429 #ifdef __cplusplus
73430 extern "C"
73432 #endif
73433 /* We use char because int might match the return type of a gcc2
73434 builtin and then its argument prototype would still apply. */
73435 char $ac_func ();
73436 /* The GNU C library defines this for functions which it implements
73437 to always fail with ENOSYS. Some functions are actually named
73438 something starting with __ and the normal name is an alias. */
73439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73440 choke me
73441 #else
73442 char (*f) () = $ac_func;
73443 #endif
73444 #ifdef __cplusplus
73446 #endif
73449 main ()
73451 return f != $ac_func;
73453 return 0;
73455 _ACEOF
73456 rm -f conftest.$ac_objext conftest$ac_exeext
73457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73458 (eval $ac_link) 2>conftest.er1
73459 ac_status=$?
73460 grep -v '^ *+' conftest.er1 >conftest.err
73461 rm -f conftest.er1
73462 cat conftest.err >&5
73463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73464 (exit $ac_status); } &&
73465 { ac_try='test -z "$ac_c_werror_flag"
73466 || test ! -s conftest.err'
73467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73468 (eval $ac_try) 2>&5
73469 ac_status=$?
73470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73471 (exit $ac_status); }; } &&
73472 { ac_try='test -s conftest$ac_exeext'
73473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73474 (eval $ac_try) 2>&5
73475 ac_status=$?
73476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73477 (exit $ac_status); }; }; then
73478 eval "$as_ac_var=yes"
73479 else
73480 echo "$as_me: failed program was:" >&5
73481 sed 's/^/| /' conftest.$ac_ext >&5
73483 eval "$as_ac_var=no"
73485 rm -f conftest.err conftest.$ac_objext \
73486 conftest$ac_exeext conftest.$ac_ext
73488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73490 if test `eval echo '${'$as_ac_var'}'` = yes; then
73491 cat >>confdefs.h <<_ACEOF
73492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73493 _ACEOF
73496 done
73506 echo "$as_me:$LINENO: checking for logl declaration" >&5
73507 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
73508 if test x${glibcxx_cv_func_logl_use+set} != xset; then
73509 if test "${glibcxx_cv_func_logl_use+set}" = set; then
73510 echo $ECHO_N "(cached) $ECHO_C" >&6
73511 else
73515 ac_ext=cc
73516 ac_cpp='$CXXCPP $CPPFLAGS'
73517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73521 cat >conftest.$ac_ext <<_ACEOF
73522 /* confdefs.h. */
73523 _ACEOF
73524 cat confdefs.h >>conftest.$ac_ext
73525 cat >>conftest.$ac_ext <<_ACEOF
73526 /* end confdefs.h. */
73527 #include <math.h>
73528 #ifdef HAVE_IEEEFP_H
73529 #include <ieeefp.h>
73530 #endif
73533 main ()
73535 logl(0);
73537 return 0;
73539 _ACEOF
73540 rm -f conftest.$ac_objext
73541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73542 (eval $ac_compile) 2>conftest.er1
73543 ac_status=$?
73544 grep -v '^ *+' conftest.er1 >conftest.err
73545 rm -f conftest.er1
73546 cat conftest.err >&5
73547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73548 (exit $ac_status); } &&
73549 { ac_try='test -z "$ac_cxx_werror_flag"
73550 || test ! -s conftest.err'
73551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73552 (eval $ac_try) 2>&5
73553 ac_status=$?
73554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73555 (exit $ac_status); }; } &&
73556 { ac_try='test -s conftest.$ac_objext'
73557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73558 (eval $ac_try) 2>&5
73559 ac_status=$?
73560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73561 (exit $ac_status); }; }; then
73562 glibcxx_cv_func_logl_use=yes
73563 else
73564 echo "$as_me: failed program was:" >&5
73565 sed 's/^/| /' conftest.$ac_ext >&5
73567 glibcxx_cv_func_logl_use=no
73569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73570 ac_ext=c
73571 ac_cpp='$CPP $CPPFLAGS'
73572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
73581 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
73583 if test x$glibcxx_cv_func_logl_use = x"yes"; then
73585 for ac_func in logl
73587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73588 echo "$as_me:$LINENO: checking for $ac_func" >&5
73589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73590 if eval "test \"\${$as_ac_var+set}\" = set"; then
73591 echo $ECHO_N "(cached) $ECHO_C" >&6
73592 else
73593 if test x$gcc_no_link = xyes; then
73594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73596 { (exit 1); exit 1; }; }
73598 cat >conftest.$ac_ext <<_ACEOF
73599 /* confdefs.h. */
73600 _ACEOF
73601 cat confdefs.h >>conftest.$ac_ext
73602 cat >>conftest.$ac_ext <<_ACEOF
73603 /* end confdefs.h. */
73604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73606 #define $ac_func innocuous_$ac_func
73608 /* System header to define __stub macros and hopefully few prototypes,
73609 which can conflict with char $ac_func (); below.
73610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73611 <limits.h> exists even on freestanding compilers. */
73613 #ifdef __STDC__
73614 # include <limits.h>
73615 #else
73616 # include <assert.h>
73617 #endif
73619 #undef $ac_func
73621 /* Override any gcc2 internal prototype to avoid an error. */
73622 #ifdef __cplusplus
73623 extern "C"
73625 #endif
73626 /* We use char because int might match the return type of a gcc2
73627 builtin and then its argument prototype would still apply. */
73628 char $ac_func ();
73629 /* The GNU C library defines this for functions which it implements
73630 to always fail with ENOSYS. Some functions are actually named
73631 something starting with __ and the normal name is an alias. */
73632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73633 choke me
73634 #else
73635 char (*f) () = $ac_func;
73636 #endif
73637 #ifdef __cplusplus
73639 #endif
73642 main ()
73644 return f != $ac_func;
73646 return 0;
73648 _ACEOF
73649 rm -f conftest.$ac_objext conftest$ac_exeext
73650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73651 (eval $ac_link) 2>conftest.er1
73652 ac_status=$?
73653 grep -v '^ *+' conftest.er1 >conftest.err
73654 rm -f conftest.er1
73655 cat conftest.err >&5
73656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73657 (exit $ac_status); } &&
73658 { ac_try='test -z "$ac_c_werror_flag"
73659 || test ! -s conftest.err'
73660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73661 (eval $ac_try) 2>&5
73662 ac_status=$?
73663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73664 (exit $ac_status); }; } &&
73665 { ac_try='test -s conftest$ac_exeext'
73666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73667 (eval $ac_try) 2>&5
73668 ac_status=$?
73669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73670 (exit $ac_status); }; }; then
73671 eval "$as_ac_var=yes"
73672 else
73673 echo "$as_me: failed program was:" >&5
73674 sed 's/^/| /' conftest.$ac_ext >&5
73676 eval "$as_ac_var=no"
73678 rm -f conftest.err conftest.$ac_objext \
73679 conftest$ac_exeext conftest.$ac_ext
73681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73683 if test `eval echo '${'$as_ac_var'}'` = yes; then
73684 cat >>confdefs.h <<_ACEOF
73685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73686 _ACEOF
73689 done
73691 else
73693 echo "$as_me:$LINENO: checking for _logl declaration" >&5
73694 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
73695 if test x${glibcxx_cv_func__logl_use+set} != xset; then
73696 if test "${glibcxx_cv_func__logl_use+set}" = set; then
73697 echo $ECHO_N "(cached) $ECHO_C" >&6
73698 else
73702 ac_ext=cc
73703 ac_cpp='$CXXCPP $CPPFLAGS'
73704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73708 cat >conftest.$ac_ext <<_ACEOF
73709 /* confdefs.h. */
73710 _ACEOF
73711 cat confdefs.h >>conftest.$ac_ext
73712 cat >>conftest.$ac_ext <<_ACEOF
73713 /* end confdefs.h. */
73714 #include <math.h>
73715 #ifdef HAVE_IEEEFP_H
73716 #include <ieeefp.h>
73717 #endif
73720 main ()
73722 _logl(0);
73724 return 0;
73726 _ACEOF
73727 rm -f conftest.$ac_objext
73728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73729 (eval $ac_compile) 2>conftest.er1
73730 ac_status=$?
73731 grep -v '^ *+' conftest.er1 >conftest.err
73732 rm -f conftest.er1
73733 cat conftest.err >&5
73734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73735 (exit $ac_status); } &&
73736 { ac_try='test -z "$ac_cxx_werror_flag"
73737 || test ! -s conftest.err'
73738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73739 (eval $ac_try) 2>&5
73740 ac_status=$?
73741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73742 (exit $ac_status); }; } &&
73743 { ac_try='test -s conftest.$ac_objext'
73744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73745 (eval $ac_try) 2>&5
73746 ac_status=$?
73747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73748 (exit $ac_status); }; }; then
73749 glibcxx_cv_func__logl_use=yes
73750 else
73751 echo "$as_me: failed program was:" >&5
73752 sed 's/^/| /' conftest.$ac_ext >&5
73754 glibcxx_cv_func__logl_use=no
73756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73757 ac_ext=c
73758 ac_cpp='$CPP $CPPFLAGS'
73759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
73768 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
73770 if test x$glibcxx_cv_func__logl_use = x"yes"; then
73772 for ac_func in _logl
73774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73775 echo "$as_me:$LINENO: checking for $ac_func" >&5
73776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73777 if eval "test \"\${$as_ac_var+set}\" = set"; then
73778 echo $ECHO_N "(cached) $ECHO_C" >&6
73779 else
73780 if test x$gcc_no_link = xyes; then
73781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73783 { (exit 1); exit 1; }; }
73785 cat >conftest.$ac_ext <<_ACEOF
73786 /* confdefs.h. */
73787 _ACEOF
73788 cat confdefs.h >>conftest.$ac_ext
73789 cat >>conftest.$ac_ext <<_ACEOF
73790 /* end confdefs.h. */
73791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73793 #define $ac_func innocuous_$ac_func
73795 /* System header to define __stub macros and hopefully few prototypes,
73796 which can conflict with char $ac_func (); below.
73797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73798 <limits.h> exists even on freestanding compilers. */
73800 #ifdef __STDC__
73801 # include <limits.h>
73802 #else
73803 # include <assert.h>
73804 #endif
73806 #undef $ac_func
73808 /* Override any gcc2 internal prototype to avoid an error. */
73809 #ifdef __cplusplus
73810 extern "C"
73812 #endif
73813 /* We use char because int might match the return type of a gcc2
73814 builtin and then its argument prototype would still apply. */
73815 char $ac_func ();
73816 /* The GNU C library defines this for functions which it implements
73817 to always fail with ENOSYS. Some functions are actually named
73818 something starting with __ and the normal name is an alias. */
73819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73820 choke me
73821 #else
73822 char (*f) () = $ac_func;
73823 #endif
73824 #ifdef __cplusplus
73826 #endif
73829 main ()
73831 return f != $ac_func;
73833 return 0;
73835 _ACEOF
73836 rm -f conftest.$ac_objext conftest$ac_exeext
73837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73838 (eval $ac_link) 2>conftest.er1
73839 ac_status=$?
73840 grep -v '^ *+' conftest.er1 >conftest.err
73841 rm -f conftest.er1
73842 cat conftest.err >&5
73843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73844 (exit $ac_status); } &&
73845 { ac_try='test -z "$ac_c_werror_flag"
73846 || test ! -s conftest.err'
73847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73848 (eval $ac_try) 2>&5
73849 ac_status=$?
73850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73851 (exit $ac_status); }; } &&
73852 { ac_try='test -s conftest$ac_exeext'
73853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73854 (eval $ac_try) 2>&5
73855 ac_status=$?
73856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73857 (exit $ac_status); }; }; then
73858 eval "$as_ac_var=yes"
73859 else
73860 echo "$as_me: failed program was:" >&5
73861 sed 's/^/| /' conftest.$ac_ext >&5
73863 eval "$as_ac_var=no"
73865 rm -f conftest.err conftest.$ac_objext \
73866 conftest$ac_exeext conftest.$ac_ext
73868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73870 if test `eval echo '${'$as_ac_var'}'` = yes; then
73871 cat >>confdefs.h <<_ACEOF
73872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73873 _ACEOF
73876 done
73886 echo "$as_me:$LINENO: checking for log10l declaration" >&5
73887 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
73888 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
73889 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
73890 echo $ECHO_N "(cached) $ECHO_C" >&6
73891 else
73895 ac_ext=cc
73896 ac_cpp='$CXXCPP $CPPFLAGS'
73897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73901 cat >conftest.$ac_ext <<_ACEOF
73902 /* confdefs.h. */
73903 _ACEOF
73904 cat confdefs.h >>conftest.$ac_ext
73905 cat >>conftest.$ac_ext <<_ACEOF
73906 /* end confdefs.h. */
73907 #include <math.h>
73908 #ifdef HAVE_IEEEFP_H
73909 #include <ieeefp.h>
73910 #endif
73913 main ()
73915 log10l(0);
73917 return 0;
73919 _ACEOF
73920 rm -f conftest.$ac_objext
73921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73922 (eval $ac_compile) 2>conftest.er1
73923 ac_status=$?
73924 grep -v '^ *+' conftest.er1 >conftest.err
73925 rm -f conftest.er1
73926 cat conftest.err >&5
73927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73928 (exit $ac_status); } &&
73929 { ac_try='test -z "$ac_cxx_werror_flag"
73930 || test ! -s conftest.err'
73931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73932 (eval $ac_try) 2>&5
73933 ac_status=$?
73934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73935 (exit $ac_status); }; } &&
73936 { ac_try='test -s conftest.$ac_objext'
73937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73938 (eval $ac_try) 2>&5
73939 ac_status=$?
73940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73941 (exit $ac_status); }; }; then
73942 glibcxx_cv_func_log10l_use=yes
73943 else
73944 echo "$as_me: failed program was:" >&5
73945 sed 's/^/| /' conftest.$ac_ext >&5
73947 glibcxx_cv_func_log10l_use=no
73949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73950 ac_ext=c
73951 ac_cpp='$CPP $CPPFLAGS'
73952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
73961 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
73963 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
73965 for ac_func in log10l
73967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73968 echo "$as_me:$LINENO: checking for $ac_func" >&5
73969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73970 if eval "test \"\${$as_ac_var+set}\" = set"; then
73971 echo $ECHO_N "(cached) $ECHO_C" >&6
73972 else
73973 if test x$gcc_no_link = xyes; then
73974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73976 { (exit 1); exit 1; }; }
73978 cat >conftest.$ac_ext <<_ACEOF
73979 /* confdefs.h. */
73980 _ACEOF
73981 cat confdefs.h >>conftest.$ac_ext
73982 cat >>conftest.$ac_ext <<_ACEOF
73983 /* end confdefs.h. */
73984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73986 #define $ac_func innocuous_$ac_func
73988 /* System header to define __stub macros and hopefully few prototypes,
73989 which can conflict with char $ac_func (); below.
73990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73991 <limits.h> exists even on freestanding compilers. */
73993 #ifdef __STDC__
73994 # include <limits.h>
73995 #else
73996 # include <assert.h>
73997 #endif
73999 #undef $ac_func
74001 /* Override any gcc2 internal prototype to avoid an error. */
74002 #ifdef __cplusplus
74003 extern "C"
74005 #endif
74006 /* We use char because int might match the return type of a gcc2
74007 builtin and then its argument prototype would still apply. */
74008 char $ac_func ();
74009 /* The GNU C library defines this for functions which it implements
74010 to always fail with ENOSYS. Some functions are actually named
74011 something starting with __ and the normal name is an alias. */
74012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74013 choke me
74014 #else
74015 char (*f) () = $ac_func;
74016 #endif
74017 #ifdef __cplusplus
74019 #endif
74022 main ()
74024 return f != $ac_func;
74026 return 0;
74028 _ACEOF
74029 rm -f conftest.$ac_objext conftest$ac_exeext
74030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74031 (eval $ac_link) 2>conftest.er1
74032 ac_status=$?
74033 grep -v '^ *+' conftest.er1 >conftest.err
74034 rm -f conftest.er1
74035 cat conftest.err >&5
74036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74037 (exit $ac_status); } &&
74038 { ac_try='test -z "$ac_c_werror_flag"
74039 || test ! -s conftest.err'
74040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74041 (eval $ac_try) 2>&5
74042 ac_status=$?
74043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74044 (exit $ac_status); }; } &&
74045 { ac_try='test -s conftest$ac_exeext'
74046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74047 (eval $ac_try) 2>&5
74048 ac_status=$?
74049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74050 (exit $ac_status); }; }; then
74051 eval "$as_ac_var=yes"
74052 else
74053 echo "$as_me: failed program was:" >&5
74054 sed 's/^/| /' conftest.$ac_ext >&5
74056 eval "$as_ac_var=no"
74058 rm -f conftest.err conftest.$ac_objext \
74059 conftest$ac_exeext conftest.$ac_ext
74061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74063 if test `eval echo '${'$as_ac_var'}'` = yes; then
74064 cat >>confdefs.h <<_ACEOF
74065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74066 _ACEOF
74069 done
74071 else
74073 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
74074 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
74075 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
74076 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
74077 echo $ECHO_N "(cached) $ECHO_C" >&6
74078 else
74082 ac_ext=cc
74083 ac_cpp='$CXXCPP $CPPFLAGS'
74084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74088 cat >conftest.$ac_ext <<_ACEOF
74089 /* confdefs.h. */
74090 _ACEOF
74091 cat confdefs.h >>conftest.$ac_ext
74092 cat >>conftest.$ac_ext <<_ACEOF
74093 /* end confdefs.h. */
74094 #include <math.h>
74095 #ifdef HAVE_IEEEFP_H
74096 #include <ieeefp.h>
74097 #endif
74100 main ()
74102 _log10l(0);
74104 return 0;
74106 _ACEOF
74107 rm -f conftest.$ac_objext
74108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74109 (eval $ac_compile) 2>conftest.er1
74110 ac_status=$?
74111 grep -v '^ *+' conftest.er1 >conftest.err
74112 rm -f conftest.er1
74113 cat conftest.err >&5
74114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74115 (exit $ac_status); } &&
74116 { ac_try='test -z "$ac_cxx_werror_flag"
74117 || test ! -s conftest.err'
74118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74119 (eval $ac_try) 2>&5
74120 ac_status=$?
74121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74122 (exit $ac_status); }; } &&
74123 { ac_try='test -s conftest.$ac_objext'
74124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74125 (eval $ac_try) 2>&5
74126 ac_status=$?
74127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74128 (exit $ac_status); }; }; then
74129 glibcxx_cv_func__log10l_use=yes
74130 else
74131 echo "$as_me: failed program was:" >&5
74132 sed 's/^/| /' conftest.$ac_ext >&5
74134 glibcxx_cv_func__log10l_use=no
74136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74137 ac_ext=c
74138 ac_cpp='$CPP $CPPFLAGS'
74139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
74148 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
74150 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
74152 for ac_func in _log10l
74154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74155 echo "$as_me:$LINENO: checking for $ac_func" >&5
74156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74157 if eval "test \"\${$as_ac_var+set}\" = set"; then
74158 echo $ECHO_N "(cached) $ECHO_C" >&6
74159 else
74160 if test x$gcc_no_link = xyes; then
74161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74163 { (exit 1); exit 1; }; }
74165 cat >conftest.$ac_ext <<_ACEOF
74166 /* confdefs.h. */
74167 _ACEOF
74168 cat confdefs.h >>conftest.$ac_ext
74169 cat >>conftest.$ac_ext <<_ACEOF
74170 /* end confdefs.h. */
74171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74173 #define $ac_func innocuous_$ac_func
74175 /* System header to define __stub macros and hopefully few prototypes,
74176 which can conflict with char $ac_func (); below.
74177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74178 <limits.h> exists even on freestanding compilers. */
74180 #ifdef __STDC__
74181 # include <limits.h>
74182 #else
74183 # include <assert.h>
74184 #endif
74186 #undef $ac_func
74188 /* Override any gcc2 internal prototype to avoid an error. */
74189 #ifdef __cplusplus
74190 extern "C"
74192 #endif
74193 /* We use char because int might match the return type of a gcc2
74194 builtin and then its argument prototype would still apply. */
74195 char $ac_func ();
74196 /* The GNU C library defines this for functions which it implements
74197 to always fail with ENOSYS. Some functions are actually named
74198 something starting with __ and the normal name is an alias. */
74199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74200 choke me
74201 #else
74202 char (*f) () = $ac_func;
74203 #endif
74204 #ifdef __cplusplus
74206 #endif
74209 main ()
74211 return f != $ac_func;
74213 return 0;
74215 _ACEOF
74216 rm -f conftest.$ac_objext conftest$ac_exeext
74217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74218 (eval $ac_link) 2>conftest.er1
74219 ac_status=$?
74220 grep -v '^ *+' conftest.er1 >conftest.err
74221 rm -f conftest.er1
74222 cat conftest.err >&5
74223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74224 (exit $ac_status); } &&
74225 { ac_try='test -z "$ac_c_werror_flag"
74226 || test ! -s conftest.err'
74227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74228 (eval $ac_try) 2>&5
74229 ac_status=$?
74230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74231 (exit $ac_status); }; } &&
74232 { ac_try='test -s conftest$ac_exeext'
74233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74234 (eval $ac_try) 2>&5
74235 ac_status=$?
74236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74237 (exit $ac_status); }; }; then
74238 eval "$as_ac_var=yes"
74239 else
74240 echo "$as_me: failed program was:" >&5
74241 sed 's/^/| /' conftest.$ac_ext >&5
74243 eval "$as_ac_var=no"
74245 rm -f conftest.err conftest.$ac_objext \
74246 conftest$ac_exeext conftest.$ac_ext
74248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74250 if test `eval echo '${'$as_ac_var'}'` = yes; then
74251 cat >>confdefs.h <<_ACEOF
74252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74253 _ACEOF
74256 done
74266 echo "$as_me:$LINENO: checking for modfl declaration" >&5
74267 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
74268 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
74269 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
74270 echo $ECHO_N "(cached) $ECHO_C" >&6
74271 else
74275 ac_ext=cc
74276 ac_cpp='$CXXCPP $CPPFLAGS'
74277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74281 cat >conftest.$ac_ext <<_ACEOF
74282 /* confdefs.h. */
74283 _ACEOF
74284 cat confdefs.h >>conftest.$ac_ext
74285 cat >>conftest.$ac_ext <<_ACEOF
74286 /* end confdefs.h. */
74287 #include <math.h>
74289 main ()
74291 modfl(0, 0);
74293 return 0;
74295 _ACEOF
74296 rm -f conftest.$ac_objext
74297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74298 (eval $ac_compile) 2>conftest.er1
74299 ac_status=$?
74300 grep -v '^ *+' conftest.er1 >conftest.err
74301 rm -f conftest.er1
74302 cat conftest.err >&5
74303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74304 (exit $ac_status); } &&
74305 { ac_try='test -z "$ac_cxx_werror_flag"
74306 || test ! -s conftest.err'
74307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74308 (eval $ac_try) 2>&5
74309 ac_status=$?
74310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74311 (exit $ac_status); }; } &&
74312 { ac_try='test -s conftest.$ac_objext'
74313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74314 (eval $ac_try) 2>&5
74315 ac_status=$?
74316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74317 (exit $ac_status); }; }; then
74318 glibcxx_cv_func_modfl_use=yes
74319 else
74320 echo "$as_me: failed program was:" >&5
74321 sed 's/^/| /' conftest.$ac_ext >&5
74323 glibcxx_cv_func_modfl_use=no
74325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74326 ac_ext=c
74327 ac_cpp='$CPP $CPPFLAGS'
74328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
74337 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
74339 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
74341 for ac_func in modfl
74343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74344 echo "$as_me:$LINENO: checking for $ac_func" >&5
74345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74346 if eval "test \"\${$as_ac_var+set}\" = set"; then
74347 echo $ECHO_N "(cached) $ECHO_C" >&6
74348 else
74349 if test x$gcc_no_link = xyes; then
74350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74352 { (exit 1); exit 1; }; }
74354 cat >conftest.$ac_ext <<_ACEOF
74355 /* confdefs.h. */
74356 _ACEOF
74357 cat confdefs.h >>conftest.$ac_ext
74358 cat >>conftest.$ac_ext <<_ACEOF
74359 /* end confdefs.h. */
74360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74362 #define $ac_func innocuous_$ac_func
74364 /* System header to define __stub macros and hopefully few prototypes,
74365 which can conflict with char $ac_func (); below.
74366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74367 <limits.h> exists even on freestanding compilers. */
74369 #ifdef __STDC__
74370 # include <limits.h>
74371 #else
74372 # include <assert.h>
74373 #endif
74375 #undef $ac_func
74377 /* Override any gcc2 internal prototype to avoid an error. */
74378 #ifdef __cplusplus
74379 extern "C"
74381 #endif
74382 /* We use char because int might match the return type of a gcc2
74383 builtin and then its argument prototype would still apply. */
74384 char $ac_func ();
74385 /* The GNU C library defines this for functions which it implements
74386 to always fail with ENOSYS. Some functions are actually named
74387 something starting with __ and the normal name is an alias. */
74388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74389 choke me
74390 #else
74391 char (*f) () = $ac_func;
74392 #endif
74393 #ifdef __cplusplus
74395 #endif
74398 main ()
74400 return f != $ac_func;
74402 return 0;
74404 _ACEOF
74405 rm -f conftest.$ac_objext conftest$ac_exeext
74406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74407 (eval $ac_link) 2>conftest.er1
74408 ac_status=$?
74409 grep -v '^ *+' conftest.er1 >conftest.err
74410 rm -f conftest.er1
74411 cat conftest.err >&5
74412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74413 (exit $ac_status); } &&
74414 { ac_try='test -z "$ac_c_werror_flag"
74415 || test ! -s conftest.err'
74416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74417 (eval $ac_try) 2>&5
74418 ac_status=$?
74419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74420 (exit $ac_status); }; } &&
74421 { ac_try='test -s conftest$ac_exeext'
74422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74423 (eval $ac_try) 2>&5
74424 ac_status=$?
74425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74426 (exit $ac_status); }; }; then
74427 eval "$as_ac_var=yes"
74428 else
74429 echo "$as_me: failed program was:" >&5
74430 sed 's/^/| /' conftest.$ac_ext >&5
74432 eval "$as_ac_var=no"
74434 rm -f conftest.err conftest.$ac_objext \
74435 conftest$ac_exeext conftest.$ac_ext
74437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74439 if test `eval echo '${'$as_ac_var'}'` = yes; then
74440 cat >>confdefs.h <<_ACEOF
74441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74442 _ACEOF
74445 done
74447 else
74449 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
74450 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
74451 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
74452 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
74453 echo $ECHO_N "(cached) $ECHO_C" >&6
74454 else
74458 ac_ext=cc
74459 ac_cpp='$CXXCPP $CPPFLAGS'
74460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74464 cat >conftest.$ac_ext <<_ACEOF
74465 /* confdefs.h. */
74466 _ACEOF
74467 cat confdefs.h >>conftest.$ac_ext
74468 cat >>conftest.$ac_ext <<_ACEOF
74469 /* end confdefs.h. */
74470 #include <math.h>
74472 main ()
74474 _modfl(0, 0);
74476 return 0;
74478 _ACEOF
74479 rm -f conftest.$ac_objext
74480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74481 (eval $ac_compile) 2>conftest.er1
74482 ac_status=$?
74483 grep -v '^ *+' conftest.er1 >conftest.err
74484 rm -f conftest.er1
74485 cat conftest.err >&5
74486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74487 (exit $ac_status); } &&
74488 { ac_try='test -z "$ac_cxx_werror_flag"
74489 || test ! -s conftest.err'
74490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74491 (eval $ac_try) 2>&5
74492 ac_status=$?
74493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74494 (exit $ac_status); }; } &&
74495 { ac_try='test -s conftest.$ac_objext'
74496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74497 (eval $ac_try) 2>&5
74498 ac_status=$?
74499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74500 (exit $ac_status); }; }; then
74501 glibcxx_cv_func__modfl_use=yes
74502 else
74503 echo "$as_me: failed program was:" >&5
74504 sed 's/^/| /' conftest.$ac_ext >&5
74506 glibcxx_cv_func__modfl_use=no
74508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74509 ac_ext=c
74510 ac_cpp='$CPP $CPPFLAGS'
74511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
74520 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
74522 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
74524 for ac_func in _modfl
74526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74527 echo "$as_me:$LINENO: checking for $ac_func" >&5
74528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74529 if eval "test \"\${$as_ac_var+set}\" = set"; then
74530 echo $ECHO_N "(cached) $ECHO_C" >&6
74531 else
74532 if test x$gcc_no_link = xyes; then
74533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74535 { (exit 1); exit 1; }; }
74537 cat >conftest.$ac_ext <<_ACEOF
74538 /* confdefs.h. */
74539 _ACEOF
74540 cat confdefs.h >>conftest.$ac_ext
74541 cat >>conftest.$ac_ext <<_ACEOF
74542 /* end confdefs.h. */
74543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74545 #define $ac_func innocuous_$ac_func
74547 /* System header to define __stub macros and hopefully few prototypes,
74548 which can conflict with char $ac_func (); below.
74549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74550 <limits.h> exists even on freestanding compilers. */
74552 #ifdef __STDC__
74553 # include <limits.h>
74554 #else
74555 # include <assert.h>
74556 #endif
74558 #undef $ac_func
74560 /* Override any gcc2 internal prototype to avoid an error. */
74561 #ifdef __cplusplus
74562 extern "C"
74564 #endif
74565 /* We use char because int might match the return type of a gcc2
74566 builtin and then its argument prototype would still apply. */
74567 char $ac_func ();
74568 /* The GNU C library defines this for functions which it implements
74569 to always fail with ENOSYS. Some functions are actually named
74570 something starting with __ and the normal name is an alias. */
74571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74572 choke me
74573 #else
74574 char (*f) () = $ac_func;
74575 #endif
74576 #ifdef __cplusplus
74578 #endif
74581 main ()
74583 return f != $ac_func;
74585 return 0;
74587 _ACEOF
74588 rm -f conftest.$ac_objext conftest$ac_exeext
74589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74590 (eval $ac_link) 2>conftest.er1
74591 ac_status=$?
74592 grep -v '^ *+' conftest.er1 >conftest.err
74593 rm -f conftest.er1
74594 cat conftest.err >&5
74595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74596 (exit $ac_status); } &&
74597 { ac_try='test -z "$ac_c_werror_flag"
74598 || test ! -s conftest.err'
74599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74600 (eval $ac_try) 2>&5
74601 ac_status=$?
74602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74603 (exit $ac_status); }; } &&
74604 { ac_try='test -s conftest$ac_exeext'
74605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74606 (eval $ac_try) 2>&5
74607 ac_status=$?
74608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74609 (exit $ac_status); }; }; then
74610 eval "$as_ac_var=yes"
74611 else
74612 echo "$as_me: failed program was:" >&5
74613 sed 's/^/| /' conftest.$ac_ext >&5
74615 eval "$as_ac_var=no"
74617 rm -f conftest.err conftest.$ac_objext \
74618 conftest$ac_exeext conftest.$ac_ext
74620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74622 if test `eval echo '${'$as_ac_var'}'` = yes; then
74623 cat >>confdefs.h <<_ACEOF
74624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74625 _ACEOF
74628 done
74638 echo "$as_me:$LINENO: checking for powl declaration" >&5
74639 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
74640 if test x${glibcxx_cv_func_powl_use+set} != xset; then
74641 if test "${glibcxx_cv_func_powl_use+set}" = set; then
74642 echo $ECHO_N "(cached) $ECHO_C" >&6
74643 else
74647 ac_ext=cc
74648 ac_cpp='$CXXCPP $CPPFLAGS'
74649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74653 cat >conftest.$ac_ext <<_ACEOF
74654 /* confdefs.h. */
74655 _ACEOF
74656 cat confdefs.h >>conftest.$ac_ext
74657 cat >>conftest.$ac_ext <<_ACEOF
74658 /* end confdefs.h. */
74659 #include <math.h>
74661 main ()
74663 powl(0, 0);
74665 return 0;
74667 _ACEOF
74668 rm -f conftest.$ac_objext
74669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74670 (eval $ac_compile) 2>conftest.er1
74671 ac_status=$?
74672 grep -v '^ *+' conftest.er1 >conftest.err
74673 rm -f conftest.er1
74674 cat conftest.err >&5
74675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74676 (exit $ac_status); } &&
74677 { ac_try='test -z "$ac_cxx_werror_flag"
74678 || test ! -s conftest.err'
74679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74680 (eval $ac_try) 2>&5
74681 ac_status=$?
74682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74683 (exit $ac_status); }; } &&
74684 { ac_try='test -s conftest.$ac_objext'
74685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74686 (eval $ac_try) 2>&5
74687 ac_status=$?
74688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74689 (exit $ac_status); }; }; then
74690 glibcxx_cv_func_powl_use=yes
74691 else
74692 echo "$as_me: failed program was:" >&5
74693 sed 's/^/| /' conftest.$ac_ext >&5
74695 glibcxx_cv_func_powl_use=no
74697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74698 ac_ext=c
74699 ac_cpp='$CPP $CPPFLAGS'
74700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
74709 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
74711 if test x$glibcxx_cv_func_powl_use = x"yes"; then
74713 for ac_func in powl
74715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74716 echo "$as_me:$LINENO: checking for $ac_func" >&5
74717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74718 if eval "test \"\${$as_ac_var+set}\" = set"; then
74719 echo $ECHO_N "(cached) $ECHO_C" >&6
74720 else
74721 if test x$gcc_no_link = xyes; then
74722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74724 { (exit 1); exit 1; }; }
74726 cat >conftest.$ac_ext <<_ACEOF
74727 /* confdefs.h. */
74728 _ACEOF
74729 cat confdefs.h >>conftest.$ac_ext
74730 cat >>conftest.$ac_ext <<_ACEOF
74731 /* end confdefs.h. */
74732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74734 #define $ac_func innocuous_$ac_func
74736 /* System header to define __stub macros and hopefully few prototypes,
74737 which can conflict with char $ac_func (); below.
74738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74739 <limits.h> exists even on freestanding compilers. */
74741 #ifdef __STDC__
74742 # include <limits.h>
74743 #else
74744 # include <assert.h>
74745 #endif
74747 #undef $ac_func
74749 /* Override any gcc2 internal prototype to avoid an error. */
74750 #ifdef __cplusplus
74751 extern "C"
74753 #endif
74754 /* We use char because int might match the return type of a gcc2
74755 builtin and then its argument prototype would still apply. */
74756 char $ac_func ();
74757 /* The GNU C library defines this for functions which it implements
74758 to always fail with ENOSYS. Some functions are actually named
74759 something starting with __ and the normal name is an alias. */
74760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74761 choke me
74762 #else
74763 char (*f) () = $ac_func;
74764 #endif
74765 #ifdef __cplusplus
74767 #endif
74770 main ()
74772 return f != $ac_func;
74774 return 0;
74776 _ACEOF
74777 rm -f conftest.$ac_objext conftest$ac_exeext
74778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74779 (eval $ac_link) 2>conftest.er1
74780 ac_status=$?
74781 grep -v '^ *+' conftest.er1 >conftest.err
74782 rm -f conftest.er1
74783 cat conftest.err >&5
74784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74785 (exit $ac_status); } &&
74786 { ac_try='test -z "$ac_c_werror_flag"
74787 || test ! -s conftest.err'
74788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74789 (eval $ac_try) 2>&5
74790 ac_status=$?
74791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74792 (exit $ac_status); }; } &&
74793 { ac_try='test -s conftest$ac_exeext'
74794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74795 (eval $ac_try) 2>&5
74796 ac_status=$?
74797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74798 (exit $ac_status); }; }; then
74799 eval "$as_ac_var=yes"
74800 else
74801 echo "$as_me: failed program was:" >&5
74802 sed 's/^/| /' conftest.$ac_ext >&5
74804 eval "$as_ac_var=no"
74806 rm -f conftest.err conftest.$ac_objext \
74807 conftest$ac_exeext conftest.$ac_ext
74809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74811 if test `eval echo '${'$as_ac_var'}'` = yes; then
74812 cat >>confdefs.h <<_ACEOF
74813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74814 _ACEOF
74817 done
74819 else
74821 echo "$as_me:$LINENO: checking for _powl declaration" >&5
74822 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
74823 if test x${glibcxx_cv_func__powl_use+set} != xset; then
74824 if test "${glibcxx_cv_func__powl_use+set}" = set; then
74825 echo $ECHO_N "(cached) $ECHO_C" >&6
74826 else
74830 ac_ext=cc
74831 ac_cpp='$CXXCPP $CPPFLAGS'
74832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74836 cat >conftest.$ac_ext <<_ACEOF
74837 /* confdefs.h. */
74838 _ACEOF
74839 cat confdefs.h >>conftest.$ac_ext
74840 cat >>conftest.$ac_ext <<_ACEOF
74841 /* end confdefs.h. */
74842 #include <math.h>
74844 main ()
74846 _powl(0, 0);
74848 return 0;
74850 _ACEOF
74851 rm -f conftest.$ac_objext
74852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74853 (eval $ac_compile) 2>conftest.er1
74854 ac_status=$?
74855 grep -v '^ *+' conftest.er1 >conftest.err
74856 rm -f conftest.er1
74857 cat conftest.err >&5
74858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74859 (exit $ac_status); } &&
74860 { ac_try='test -z "$ac_cxx_werror_flag"
74861 || test ! -s conftest.err'
74862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863 (eval $ac_try) 2>&5
74864 ac_status=$?
74865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866 (exit $ac_status); }; } &&
74867 { ac_try='test -s conftest.$ac_objext'
74868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74869 (eval $ac_try) 2>&5
74870 ac_status=$?
74871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74872 (exit $ac_status); }; }; then
74873 glibcxx_cv_func__powl_use=yes
74874 else
74875 echo "$as_me: failed program was:" >&5
74876 sed 's/^/| /' conftest.$ac_ext >&5
74878 glibcxx_cv_func__powl_use=no
74880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74881 ac_ext=c
74882 ac_cpp='$CPP $CPPFLAGS'
74883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
74892 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
74894 if test x$glibcxx_cv_func__powl_use = x"yes"; then
74896 for ac_func in _powl
74898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74899 echo "$as_me:$LINENO: checking for $ac_func" >&5
74900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74901 if eval "test \"\${$as_ac_var+set}\" = set"; then
74902 echo $ECHO_N "(cached) $ECHO_C" >&6
74903 else
74904 if test x$gcc_no_link = xyes; then
74905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74907 { (exit 1); exit 1; }; }
74909 cat >conftest.$ac_ext <<_ACEOF
74910 /* confdefs.h. */
74911 _ACEOF
74912 cat confdefs.h >>conftest.$ac_ext
74913 cat >>conftest.$ac_ext <<_ACEOF
74914 /* end confdefs.h. */
74915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74917 #define $ac_func innocuous_$ac_func
74919 /* System header to define __stub macros and hopefully few prototypes,
74920 which can conflict with char $ac_func (); below.
74921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74922 <limits.h> exists even on freestanding compilers. */
74924 #ifdef __STDC__
74925 # include <limits.h>
74926 #else
74927 # include <assert.h>
74928 #endif
74930 #undef $ac_func
74932 /* Override any gcc2 internal prototype to avoid an error. */
74933 #ifdef __cplusplus
74934 extern "C"
74936 #endif
74937 /* We use char because int might match the return type of a gcc2
74938 builtin and then its argument prototype would still apply. */
74939 char $ac_func ();
74940 /* The GNU C library defines this for functions which it implements
74941 to always fail with ENOSYS. Some functions are actually named
74942 something starting with __ and the normal name is an alias. */
74943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74944 choke me
74945 #else
74946 char (*f) () = $ac_func;
74947 #endif
74948 #ifdef __cplusplus
74950 #endif
74953 main ()
74955 return f != $ac_func;
74957 return 0;
74959 _ACEOF
74960 rm -f conftest.$ac_objext conftest$ac_exeext
74961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74962 (eval $ac_link) 2>conftest.er1
74963 ac_status=$?
74964 grep -v '^ *+' conftest.er1 >conftest.err
74965 rm -f conftest.er1
74966 cat conftest.err >&5
74967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74968 (exit $ac_status); } &&
74969 { ac_try='test -z "$ac_c_werror_flag"
74970 || test ! -s conftest.err'
74971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74972 (eval $ac_try) 2>&5
74973 ac_status=$?
74974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74975 (exit $ac_status); }; } &&
74976 { ac_try='test -s conftest$ac_exeext'
74977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74978 (eval $ac_try) 2>&5
74979 ac_status=$?
74980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74981 (exit $ac_status); }; }; then
74982 eval "$as_ac_var=yes"
74983 else
74984 echo "$as_me: failed program was:" >&5
74985 sed 's/^/| /' conftest.$ac_ext >&5
74987 eval "$as_ac_var=no"
74989 rm -f conftest.err conftest.$ac_objext \
74990 conftest$ac_exeext conftest.$ac_ext
74992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74994 if test `eval echo '${'$as_ac_var'}'` = yes; then
74995 cat >>confdefs.h <<_ACEOF
74996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74997 _ACEOF
75000 done
75010 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
75011 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
75012 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
75013 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
75014 echo $ECHO_N "(cached) $ECHO_C" >&6
75015 else
75019 ac_ext=cc
75020 ac_cpp='$CXXCPP $CPPFLAGS'
75021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75025 cat >conftest.$ac_ext <<_ACEOF
75026 /* confdefs.h. */
75027 _ACEOF
75028 cat confdefs.h >>conftest.$ac_ext
75029 cat >>conftest.$ac_ext <<_ACEOF
75030 /* end confdefs.h. */
75031 #include <math.h>
75032 #ifdef HAVE_IEEEFP_H
75033 #include <ieeefp.h>
75034 #endif
75037 main ()
75039 sqrtl(0);
75041 return 0;
75043 _ACEOF
75044 rm -f conftest.$ac_objext
75045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75046 (eval $ac_compile) 2>conftest.er1
75047 ac_status=$?
75048 grep -v '^ *+' conftest.er1 >conftest.err
75049 rm -f conftest.er1
75050 cat conftest.err >&5
75051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75052 (exit $ac_status); } &&
75053 { ac_try='test -z "$ac_cxx_werror_flag"
75054 || test ! -s conftest.err'
75055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75056 (eval $ac_try) 2>&5
75057 ac_status=$?
75058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75059 (exit $ac_status); }; } &&
75060 { ac_try='test -s conftest.$ac_objext'
75061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75062 (eval $ac_try) 2>&5
75063 ac_status=$?
75064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75065 (exit $ac_status); }; }; then
75066 glibcxx_cv_func_sqrtl_use=yes
75067 else
75068 echo "$as_me: failed program was:" >&5
75069 sed 's/^/| /' conftest.$ac_ext >&5
75071 glibcxx_cv_func_sqrtl_use=no
75073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75074 ac_ext=c
75075 ac_cpp='$CPP $CPPFLAGS'
75076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
75085 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
75087 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
75089 for ac_func in sqrtl
75091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75092 echo "$as_me:$LINENO: checking for $ac_func" >&5
75093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75094 if eval "test \"\${$as_ac_var+set}\" = set"; then
75095 echo $ECHO_N "(cached) $ECHO_C" >&6
75096 else
75097 if test x$gcc_no_link = xyes; then
75098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75100 { (exit 1); exit 1; }; }
75102 cat >conftest.$ac_ext <<_ACEOF
75103 /* confdefs.h. */
75104 _ACEOF
75105 cat confdefs.h >>conftest.$ac_ext
75106 cat >>conftest.$ac_ext <<_ACEOF
75107 /* end confdefs.h. */
75108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75110 #define $ac_func innocuous_$ac_func
75112 /* System header to define __stub macros and hopefully few prototypes,
75113 which can conflict with char $ac_func (); below.
75114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75115 <limits.h> exists even on freestanding compilers. */
75117 #ifdef __STDC__
75118 # include <limits.h>
75119 #else
75120 # include <assert.h>
75121 #endif
75123 #undef $ac_func
75125 /* Override any gcc2 internal prototype to avoid an error. */
75126 #ifdef __cplusplus
75127 extern "C"
75129 #endif
75130 /* We use char because int might match the return type of a gcc2
75131 builtin and then its argument prototype would still apply. */
75132 char $ac_func ();
75133 /* The GNU C library defines this for functions which it implements
75134 to always fail with ENOSYS. Some functions are actually named
75135 something starting with __ and the normal name is an alias. */
75136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75137 choke me
75138 #else
75139 char (*f) () = $ac_func;
75140 #endif
75141 #ifdef __cplusplus
75143 #endif
75146 main ()
75148 return f != $ac_func;
75150 return 0;
75152 _ACEOF
75153 rm -f conftest.$ac_objext conftest$ac_exeext
75154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75155 (eval $ac_link) 2>conftest.er1
75156 ac_status=$?
75157 grep -v '^ *+' conftest.er1 >conftest.err
75158 rm -f conftest.er1
75159 cat conftest.err >&5
75160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75161 (exit $ac_status); } &&
75162 { ac_try='test -z "$ac_c_werror_flag"
75163 || test ! -s conftest.err'
75164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75165 (eval $ac_try) 2>&5
75166 ac_status=$?
75167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75168 (exit $ac_status); }; } &&
75169 { ac_try='test -s conftest$ac_exeext'
75170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75171 (eval $ac_try) 2>&5
75172 ac_status=$?
75173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75174 (exit $ac_status); }; }; then
75175 eval "$as_ac_var=yes"
75176 else
75177 echo "$as_me: failed program was:" >&5
75178 sed 's/^/| /' conftest.$ac_ext >&5
75180 eval "$as_ac_var=no"
75182 rm -f conftest.err conftest.$ac_objext \
75183 conftest$ac_exeext conftest.$ac_ext
75185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75187 if test `eval echo '${'$as_ac_var'}'` = yes; then
75188 cat >>confdefs.h <<_ACEOF
75189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75190 _ACEOF
75193 done
75195 else
75197 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
75198 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
75199 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
75200 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
75201 echo $ECHO_N "(cached) $ECHO_C" >&6
75202 else
75206 ac_ext=cc
75207 ac_cpp='$CXXCPP $CPPFLAGS'
75208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75212 cat >conftest.$ac_ext <<_ACEOF
75213 /* confdefs.h. */
75214 _ACEOF
75215 cat confdefs.h >>conftest.$ac_ext
75216 cat >>conftest.$ac_ext <<_ACEOF
75217 /* end confdefs.h. */
75218 #include <math.h>
75219 #ifdef HAVE_IEEEFP_H
75220 #include <ieeefp.h>
75221 #endif
75224 main ()
75226 _sqrtl(0);
75228 return 0;
75230 _ACEOF
75231 rm -f conftest.$ac_objext
75232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75233 (eval $ac_compile) 2>conftest.er1
75234 ac_status=$?
75235 grep -v '^ *+' conftest.er1 >conftest.err
75236 rm -f conftest.er1
75237 cat conftest.err >&5
75238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75239 (exit $ac_status); } &&
75240 { ac_try='test -z "$ac_cxx_werror_flag"
75241 || test ! -s conftest.err'
75242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75243 (eval $ac_try) 2>&5
75244 ac_status=$?
75245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75246 (exit $ac_status); }; } &&
75247 { ac_try='test -s conftest.$ac_objext'
75248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75249 (eval $ac_try) 2>&5
75250 ac_status=$?
75251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75252 (exit $ac_status); }; }; then
75253 glibcxx_cv_func__sqrtl_use=yes
75254 else
75255 echo "$as_me: failed program was:" >&5
75256 sed 's/^/| /' conftest.$ac_ext >&5
75258 glibcxx_cv_func__sqrtl_use=no
75260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75261 ac_ext=c
75262 ac_cpp='$CPP $CPPFLAGS'
75263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
75272 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
75274 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
75276 for ac_func in _sqrtl
75278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75279 echo "$as_me:$LINENO: checking for $ac_func" >&5
75280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75281 if eval "test \"\${$as_ac_var+set}\" = set"; then
75282 echo $ECHO_N "(cached) $ECHO_C" >&6
75283 else
75284 if test x$gcc_no_link = xyes; then
75285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75287 { (exit 1); exit 1; }; }
75289 cat >conftest.$ac_ext <<_ACEOF
75290 /* confdefs.h. */
75291 _ACEOF
75292 cat confdefs.h >>conftest.$ac_ext
75293 cat >>conftest.$ac_ext <<_ACEOF
75294 /* end confdefs.h. */
75295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75297 #define $ac_func innocuous_$ac_func
75299 /* System header to define __stub macros and hopefully few prototypes,
75300 which can conflict with char $ac_func (); below.
75301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75302 <limits.h> exists even on freestanding compilers. */
75304 #ifdef __STDC__
75305 # include <limits.h>
75306 #else
75307 # include <assert.h>
75308 #endif
75310 #undef $ac_func
75312 /* Override any gcc2 internal prototype to avoid an error. */
75313 #ifdef __cplusplus
75314 extern "C"
75316 #endif
75317 /* We use char because int might match the return type of a gcc2
75318 builtin and then its argument prototype would still apply. */
75319 char $ac_func ();
75320 /* The GNU C library defines this for functions which it implements
75321 to always fail with ENOSYS. Some functions are actually named
75322 something starting with __ and the normal name is an alias. */
75323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75324 choke me
75325 #else
75326 char (*f) () = $ac_func;
75327 #endif
75328 #ifdef __cplusplus
75330 #endif
75333 main ()
75335 return f != $ac_func;
75337 return 0;
75339 _ACEOF
75340 rm -f conftest.$ac_objext conftest$ac_exeext
75341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75342 (eval $ac_link) 2>conftest.er1
75343 ac_status=$?
75344 grep -v '^ *+' conftest.er1 >conftest.err
75345 rm -f conftest.er1
75346 cat conftest.err >&5
75347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75348 (exit $ac_status); } &&
75349 { ac_try='test -z "$ac_c_werror_flag"
75350 || test ! -s conftest.err'
75351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75352 (eval $ac_try) 2>&5
75353 ac_status=$?
75354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75355 (exit $ac_status); }; } &&
75356 { ac_try='test -s conftest$ac_exeext'
75357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75358 (eval $ac_try) 2>&5
75359 ac_status=$?
75360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75361 (exit $ac_status); }; }; then
75362 eval "$as_ac_var=yes"
75363 else
75364 echo "$as_me: failed program was:" >&5
75365 sed 's/^/| /' conftest.$ac_ext >&5
75367 eval "$as_ac_var=no"
75369 rm -f conftest.err conftest.$ac_objext \
75370 conftest$ac_exeext conftest.$ac_ext
75372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75374 if test `eval echo '${'$as_ac_var'}'` = yes; then
75375 cat >>confdefs.h <<_ACEOF
75376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75377 _ACEOF
75380 done
75390 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
75391 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
75392 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
75393 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
75394 echo $ECHO_N "(cached) $ECHO_C" >&6
75395 else
75399 ac_ext=cc
75400 ac_cpp='$CXXCPP $CPPFLAGS'
75401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75405 cat >conftest.$ac_ext <<_ACEOF
75406 /* confdefs.h. */
75407 _ACEOF
75408 cat confdefs.h >>conftest.$ac_ext
75409 cat >>conftest.$ac_ext <<_ACEOF
75410 /* end confdefs.h. */
75411 #include <math.h>
75413 main ()
75415 sincosl(0, 0, 0);
75417 return 0;
75419 _ACEOF
75420 rm -f conftest.$ac_objext
75421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75422 (eval $ac_compile) 2>conftest.er1
75423 ac_status=$?
75424 grep -v '^ *+' conftest.er1 >conftest.err
75425 rm -f conftest.er1
75426 cat conftest.err >&5
75427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75428 (exit $ac_status); } &&
75429 { ac_try='test -z "$ac_cxx_werror_flag"
75430 || test ! -s conftest.err'
75431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75432 (eval $ac_try) 2>&5
75433 ac_status=$?
75434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75435 (exit $ac_status); }; } &&
75436 { ac_try='test -s conftest.$ac_objext'
75437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75438 (eval $ac_try) 2>&5
75439 ac_status=$?
75440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75441 (exit $ac_status); }; }; then
75442 glibcxx_cv_func_sincosl_use=yes
75443 else
75444 echo "$as_me: failed program was:" >&5
75445 sed 's/^/| /' conftest.$ac_ext >&5
75447 glibcxx_cv_func_sincosl_use=no
75449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75450 ac_ext=c
75451 ac_cpp='$CPP $CPPFLAGS'
75452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
75461 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
75463 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
75465 for ac_func in sincosl
75467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75468 echo "$as_me:$LINENO: checking for $ac_func" >&5
75469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75470 if eval "test \"\${$as_ac_var+set}\" = set"; then
75471 echo $ECHO_N "(cached) $ECHO_C" >&6
75472 else
75473 if test x$gcc_no_link = xyes; then
75474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75476 { (exit 1); exit 1; }; }
75478 cat >conftest.$ac_ext <<_ACEOF
75479 /* confdefs.h. */
75480 _ACEOF
75481 cat confdefs.h >>conftest.$ac_ext
75482 cat >>conftest.$ac_ext <<_ACEOF
75483 /* end confdefs.h. */
75484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75486 #define $ac_func innocuous_$ac_func
75488 /* System header to define __stub macros and hopefully few prototypes,
75489 which can conflict with char $ac_func (); below.
75490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75491 <limits.h> exists even on freestanding compilers. */
75493 #ifdef __STDC__
75494 # include <limits.h>
75495 #else
75496 # include <assert.h>
75497 #endif
75499 #undef $ac_func
75501 /* Override any gcc2 internal prototype to avoid an error. */
75502 #ifdef __cplusplus
75503 extern "C"
75505 #endif
75506 /* We use char because int might match the return type of a gcc2
75507 builtin and then its argument prototype would still apply. */
75508 char $ac_func ();
75509 /* The GNU C library defines this for functions which it implements
75510 to always fail with ENOSYS. Some functions are actually named
75511 something starting with __ and the normal name is an alias. */
75512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75513 choke me
75514 #else
75515 char (*f) () = $ac_func;
75516 #endif
75517 #ifdef __cplusplus
75519 #endif
75522 main ()
75524 return f != $ac_func;
75526 return 0;
75528 _ACEOF
75529 rm -f conftest.$ac_objext conftest$ac_exeext
75530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75531 (eval $ac_link) 2>conftest.er1
75532 ac_status=$?
75533 grep -v '^ *+' conftest.er1 >conftest.err
75534 rm -f conftest.er1
75535 cat conftest.err >&5
75536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75537 (exit $ac_status); } &&
75538 { ac_try='test -z "$ac_c_werror_flag"
75539 || test ! -s conftest.err'
75540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75541 (eval $ac_try) 2>&5
75542 ac_status=$?
75543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75544 (exit $ac_status); }; } &&
75545 { ac_try='test -s conftest$ac_exeext'
75546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75547 (eval $ac_try) 2>&5
75548 ac_status=$?
75549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75550 (exit $ac_status); }; }; then
75551 eval "$as_ac_var=yes"
75552 else
75553 echo "$as_me: failed program was:" >&5
75554 sed 's/^/| /' conftest.$ac_ext >&5
75556 eval "$as_ac_var=no"
75558 rm -f conftest.err conftest.$ac_objext \
75559 conftest$ac_exeext conftest.$ac_ext
75561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75563 if test `eval echo '${'$as_ac_var'}'` = yes; then
75564 cat >>confdefs.h <<_ACEOF
75565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75566 _ACEOF
75569 done
75571 else
75573 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
75574 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
75575 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
75576 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
75577 echo $ECHO_N "(cached) $ECHO_C" >&6
75578 else
75582 ac_ext=cc
75583 ac_cpp='$CXXCPP $CPPFLAGS'
75584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75588 cat >conftest.$ac_ext <<_ACEOF
75589 /* confdefs.h. */
75590 _ACEOF
75591 cat confdefs.h >>conftest.$ac_ext
75592 cat >>conftest.$ac_ext <<_ACEOF
75593 /* end confdefs.h. */
75594 #include <math.h>
75596 main ()
75598 _sincosl(0, 0, 0);
75600 return 0;
75602 _ACEOF
75603 rm -f conftest.$ac_objext
75604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75605 (eval $ac_compile) 2>conftest.er1
75606 ac_status=$?
75607 grep -v '^ *+' conftest.er1 >conftest.err
75608 rm -f conftest.er1
75609 cat conftest.err >&5
75610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75611 (exit $ac_status); } &&
75612 { ac_try='test -z "$ac_cxx_werror_flag"
75613 || test ! -s conftest.err'
75614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75615 (eval $ac_try) 2>&5
75616 ac_status=$?
75617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75618 (exit $ac_status); }; } &&
75619 { ac_try='test -s conftest.$ac_objext'
75620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75621 (eval $ac_try) 2>&5
75622 ac_status=$?
75623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75624 (exit $ac_status); }; }; then
75625 glibcxx_cv_func__sincosl_use=yes
75626 else
75627 echo "$as_me: failed program was:" >&5
75628 sed 's/^/| /' conftest.$ac_ext >&5
75630 glibcxx_cv_func__sincosl_use=no
75632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75633 ac_ext=c
75634 ac_cpp='$CPP $CPPFLAGS'
75635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
75644 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
75646 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
75648 for ac_func in _sincosl
75650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75651 echo "$as_me:$LINENO: checking for $ac_func" >&5
75652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75653 if eval "test \"\${$as_ac_var+set}\" = set"; then
75654 echo $ECHO_N "(cached) $ECHO_C" >&6
75655 else
75656 if test x$gcc_no_link = xyes; then
75657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75659 { (exit 1); exit 1; }; }
75661 cat >conftest.$ac_ext <<_ACEOF
75662 /* confdefs.h. */
75663 _ACEOF
75664 cat confdefs.h >>conftest.$ac_ext
75665 cat >>conftest.$ac_ext <<_ACEOF
75666 /* end confdefs.h. */
75667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75669 #define $ac_func innocuous_$ac_func
75671 /* System header to define __stub macros and hopefully few prototypes,
75672 which can conflict with char $ac_func (); below.
75673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75674 <limits.h> exists even on freestanding compilers. */
75676 #ifdef __STDC__
75677 # include <limits.h>
75678 #else
75679 # include <assert.h>
75680 #endif
75682 #undef $ac_func
75684 /* Override any gcc2 internal prototype to avoid an error. */
75685 #ifdef __cplusplus
75686 extern "C"
75688 #endif
75689 /* We use char because int might match the return type of a gcc2
75690 builtin and then its argument prototype would still apply. */
75691 char $ac_func ();
75692 /* The GNU C library defines this for functions which it implements
75693 to always fail with ENOSYS. Some functions are actually named
75694 something starting with __ and the normal name is an alias. */
75695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75696 choke me
75697 #else
75698 char (*f) () = $ac_func;
75699 #endif
75700 #ifdef __cplusplus
75702 #endif
75705 main ()
75707 return f != $ac_func;
75709 return 0;
75711 _ACEOF
75712 rm -f conftest.$ac_objext conftest$ac_exeext
75713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75714 (eval $ac_link) 2>conftest.er1
75715 ac_status=$?
75716 grep -v '^ *+' conftest.er1 >conftest.err
75717 rm -f conftest.er1
75718 cat conftest.err >&5
75719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75720 (exit $ac_status); } &&
75721 { ac_try='test -z "$ac_c_werror_flag"
75722 || test ! -s conftest.err'
75723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75724 (eval $ac_try) 2>&5
75725 ac_status=$?
75726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75727 (exit $ac_status); }; } &&
75728 { ac_try='test -s conftest$ac_exeext'
75729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75730 (eval $ac_try) 2>&5
75731 ac_status=$?
75732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75733 (exit $ac_status); }; }; then
75734 eval "$as_ac_var=yes"
75735 else
75736 echo "$as_me: failed program was:" >&5
75737 sed 's/^/| /' conftest.$ac_ext >&5
75739 eval "$as_ac_var=no"
75741 rm -f conftest.err conftest.$ac_objext \
75742 conftest$ac_exeext conftest.$ac_ext
75744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75746 if test `eval echo '${'$as_ac_var'}'` = yes; then
75747 cat >>confdefs.h <<_ACEOF
75748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75749 _ACEOF
75752 done
75762 echo "$as_me:$LINENO: checking for finitel declaration" >&5
75763 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
75764 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
75765 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
75766 echo $ECHO_N "(cached) $ECHO_C" >&6
75767 else
75771 ac_ext=cc
75772 ac_cpp='$CXXCPP $CPPFLAGS'
75773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75777 cat >conftest.$ac_ext <<_ACEOF
75778 /* confdefs.h. */
75779 _ACEOF
75780 cat confdefs.h >>conftest.$ac_ext
75781 cat >>conftest.$ac_ext <<_ACEOF
75782 /* end confdefs.h. */
75783 #include <math.h>
75784 #ifdef HAVE_IEEEFP_H
75785 #include <ieeefp.h>
75786 #endif
75789 main ()
75791 finitel(0);
75793 return 0;
75795 _ACEOF
75796 rm -f conftest.$ac_objext
75797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75798 (eval $ac_compile) 2>conftest.er1
75799 ac_status=$?
75800 grep -v '^ *+' conftest.er1 >conftest.err
75801 rm -f conftest.er1
75802 cat conftest.err >&5
75803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75804 (exit $ac_status); } &&
75805 { ac_try='test -z "$ac_cxx_werror_flag"
75806 || test ! -s conftest.err'
75807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75808 (eval $ac_try) 2>&5
75809 ac_status=$?
75810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75811 (exit $ac_status); }; } &&
75812 { ac_try='test -s conftest.$ac_objext'
75813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75814 (eval $ac_try) 2>&5
75815 ac_status=$?
75816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75817 (exit $ac_status); }; }; then
75818 glibcxx_cv_func_finitel_use=yes
75819 else
75820 echo "$as_me: failed program was:" >&5
75821 sed 's/^/| /' conftest.$ac_ext >&5
75823 glibcxx_cv_func_finitel_use=no
75825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75826 ac_ext=c
75827 ac_cpp='$CPP $CPPFLAGS'
75828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
75837 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
75839 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
75841 for ac_func in finitel
75843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75844 echo "$as_me:$LINENO: checking for $ac_func" >&5
75845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75846 if eval "test \"\${$as_ac_var+set}\" = set"; then
75847 echo $ECHO_N "(cached) $ECHO_C" >&6
75848 else
75849 if test x$gcc_no_link = xyes; then
75850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75852 { (exit 1); exit 1; }; }
75854 cat >conftest.$ac_ext <<_ACEOF
75855 /* confdefs.h. */
75856 _ACEOF
75857 cat confdefs.h >>conftest.$ac_ext
75858 cat >>conftest.$ac_ext <<_ACEOF
75859 /* end confdefs.h. */
75860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75862 #define $ac_func innocuous_$ac_func
75864 /* System header to define __stub macros and hopefully few prototypes,
75865 which can conflict with char $ac_func (); below.
75866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75867 <limits.h> exists even on freestanding compilers. */
75869 #ifdef __STDC__
75870 # include <limits.h>
75871 #else
75872 # include <assert.h>
75873 #endif
75875 #undef $ac_func
75877 /* Override any gcc2 internal prototype to avoid an error. */
75878 #ifdef __cplusplus
75879 extern "C"
75881 #endif
75882 /* We use char because int might match the return type of a gcc2
75883 builtin and then its argument prototype would still apply. */
75884 char $ac_func ();
75885 /* The GNU C library defines this for functions which it implements
75886 to always fail with ENOSYS. Some functions are actually named
75887 something starting with __ and the normal name is an alias. */
75888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75889 choke me
75890 #else
75891 char (*f) () = $ac_func;
75892 #endif
75893 #ifdef __cplusplus
75895 #endif
75898 main ()
75900 return f != $ac_func;
75902 return 0;
75904 _ACEOF
75905 rm -f conftest.$ac_objext conftest$ac_exeext
75906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75907 (eval $ac_link) 2>conftest.er1
75908 ac_status=$?
75909 grep -v '^ *+' conftest.er1 >conftest.err
75910 rm -f conftest.er1
75911 cat conftest.err >&5
75912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75913 (exit $ac_status); } &&
75914 { ac_try='test -z "$ac_c_werror_flag"
75915 || test ! -s conftest.err'
75916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75917 (eval $ac_try) 2>&5
75918 ac_status=$?
75919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75920 (exit $ac_status); }; } &&
75921 { ac_try='test -s conftest$ac_exeext'
75922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75923 (eval $ac_try) 2>&5
75924 ac_status=$?
75925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75926 (exit $ac_status); }; }; then
75927 eval "$as_ac_var=yes"
75928 else
75929 echo "$as_me: failed program was:" >&5
75930 sed 's/^/| /' conftest.$ac_ext >&5
75932 eval "$as_ac_var=no"
75934 rm -f conftest.err conftest.$ac_objext \
75935 conftest$ac_exeext conftest.$ac_ext
75937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75939 if test `eval echo '${'$as_ac_var'}'` = yes; then
75940 cat >>confdefs.h <<_ACEOF
75941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75942 _ACEOF
75945 done
75947 else
75949 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
75950 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
75951 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
75952 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
75953 echo $ECHO_N "(cached) $ECHO_C" >&6
75954 else
75958 ac_ext=cc
75959 ac_cpp='$CXXCPP $CPPFLAGS'
75960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75964 cat >conftest.$ac_ext <<_ACEOF
75965 /* confdefs.h. */
75966 _ACEOF
75967 cat confdefs.h >>conftest.$ac_ext
75968 cat >>conftest.$ac_ext <<_ACEOF
75969 /* end confdefs.h. */
75970 #include <math.h>
75971 #ifdef HAVE_IEEEFP_H
75972 #include <ieeefp.h>
75973 #endif
75976 main ()
75978 _finitel(0);
75980 return 0;
75982 _ACEOF
75983 rm -f conftest.$ac_objext
75984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75985 (eval $ac_compile) 2>conftest.er1
75986 ac_status=$?
75987 grep -v '^ *+' conftest.er1 >conftest.err
75988 rm -f conftest.er1
75989 cat conftest.err >&5
75990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75991 (exit $ac_status); } &&
75992 { ac_try='test -z "$ac_cxx_werror_flag"
75993 || test ! -s conftest.err'
75994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75995 (eval $ac_try) 2>&5
75996 ac_status=$?
75997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75998 (exit $ac_status); }; } &&
75999 { ac_try='test -s conftest.$ac_objext'
76000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76001 (eval $ac_try) 2>&5
76002 ac_status=$?
76003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76004 (exit $ac_status); }; }; then
76005 glibcxx_cv_func__finitel_use=yes
76006 else
76007 echo "$as_me: failed program was:" >&5
76008 sed 's/^/| /' conftest.$ac_ext >&5
76010 glibcxx_cv_func__finitel_use=no
76012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76013 ac_ext=c
76014 ac_cpp='$CPP $CPPFLAGS'
76015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
76024 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
76026 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76028 for ac_func in _finitel
76030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76031 echo "$as_me:$LINENO: checking for $ac_func" >&5
76032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76033 if eval "test \"\${$as_ac_var+set}\" = set"; then
76034 echo $ECHO_N "(cached) $ECHO_C" >&6
76035 else
76036 if test x$gcc_no_link = xyes; then
76037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76039 { (exit 1); exit 1; }; }
76041 cat >conftest.$ac_ext <<_ACEOF
76042 /* confdefs.h. */
76043 _ACEOF
76044 cat confdefs.h >>conftest.$ac_ext
76045 cat >>conftest.$ac_ext <<_ACEOF
76046 /* end confdefs.h. */
76047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76049 #define $ac_func innocuous_$ac_func
76051 /* System header to define __stub macros and hopefully few prototypes,
76052 which can conflict with char $ac_func (); below.
76053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76054 <limits.h> exists even on freestanding compilers. */
76056 #ifdef __STDC__
76057 # include <limits.h>
76058 #else
76059 # include <assert.h>
76060 #endif
76062 #undef $ac_func
76064 /* Override any gcc2 internal prototype to avoid an error. */
76065 #ifdef __cplusplus
76066 extern "C"
76068 #endif
76069 /* We use char because int might match the return type of a gcc2
76070 builtin and then its argument prototype would still apply. */
76071 char $ac_func ();
76072 /* The GNU C library defines this for functions which it implements
76073 to always fail with ENOSYS. Some functions are actually named
76074 something starting with __ and the normal name is an alias. */
76075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76076 choke me
76077 #else
76078 char (*f) () = $ac_func;
76079 #endif
76080 #ifdef __cplusplus
76082 #endif
76085 main ()
76087 return f != $ac_func;
76089 return 0;
76091 _ACEOF
76092 rm -f conftest.$ac_objext conftest$ac_exeext
76093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76094 (eval $ac_link) 2>conftest.er1
76095 ac_status=$?
76096 grep -v '^ *+' conftest.er1 >conftest.err
76097 rm -f conftest.er1
76098 cat conftest.err >&5
76099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76100 (exit $ac_status); } &&
76101 { ac_try='test -z "$ac_c_werror_flag"
76102 || test ! -s conftest.err'
76103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76104 (eval $ac_try) 2>&5
76105 ac_status=$?
76106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76107 (exit $ac_status); }; } &&
76108 { ac_try='test -s conftest$ac_exeext'
76109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76110 (eval $ac_try) 2>&5
76111 ac_status=$?
76112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76113 (exit $ac_status); }; }; then
76114 eval "$as_ac_var=yes"
76115 else
76116 echo "$as_me: failed program was:" >&5
76117 sed 's/^/| /' conftest.$ac_ext >&5
76119 eval "$as_ac_var=no"
76121 rm -f conftest.err conftest.$ac_objext \
76122 conftest$ac_exeext conftest.$ac_ext
76124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76126 if test `eval echo '${'$as_ac_var'}'` = yes; then
76127 cat >>confdefs.h <<_ACEOF
76128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76129 _ACEOF
76132 done
76141 LIBS="$ac_save_LIBS"
76142 CXXFLAGS="$ac_save_CXXFLAGS"
76145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76146 ac_save_CXXFLAGS="$CXXFLAGS"
76147 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76150 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76151 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76152 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76153 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76154 echo $ECHO_N "(cached) $ECHO_C" >&6
76155 else
76159 ac_ext=cc
76160 ac_cpp='$CXXCPP $CPPFLAGS'
76161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76165 cat >conftest.$ac_ext <<_ACEOF
76166 /* confdefs.h. */
76167 _ACEOF
76168 cat confdefs.h >>conftest.$ac_ext
76169 cat >>conftest.$ac_ext <<_ACEOF
76170 /* end confdefs.h. */
76171 #include <stdlib.h>
76173 main ()
76175 strtold(0, 0);
76177 return 0;
76179 _ACEOF
76180 rm -f conftest.$ac_objext
76181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76182 (eval $ac_compile) 2>conftest.er1
76183 ac_status=$?
76184 grep -v '^ *+' conftest.er1 >conftest.err
76185 rm -f conftest.er1
76186 cat conftest.err >&5
76187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76188 (exit $ac_status); } &&
76189 { ac_try='test -z "$ac_cxx_werror_flag"
76190 || test ! -s conftest.err'
76191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76192 (eval $ac_try) 2>&5
76193 ac_status=$?
76194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76195 (exit $ac_status); }; } &&
76196 { ac_try='test -s conftest.$ac_objext'
76197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76198 (eval $ac_try) 2>&5
76199 ac_status=$?
76200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76201 (exit $ac_status); }; }; then
76202 glibcxx_cv_func_strtold_use=yes
76203 else
76204 echo "$as_me: failed program was:" >&5
76205 sed 's/^/| /' conftest.$ac_ext >&5
76207 glibcxx_cv_func_strtold_use=no
76209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76210 ac_ext=c
76211 ac_cpp='$CPP $CPPFLAGS'
76212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76221 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76222 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76224 for ac_func in strtold
76226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76227 echo "$as_me:$LINENO: checking for $ac_func" >&5
76228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76229 if eval "test \"\${$as_ac_var+set}\" = set"; then
76230 echo $ECHO_N "(cached) $ECHO_C" >&6
76231 else
76232 if test x$gcc_no_link = xyes; then
76233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76235 { (exit 1); exit 1; }; }
76237 cat >conftest.$ac_ext <<_ACEOF
76238 /* confdefs.h. */
76239 _ACEOF
76240 cat confdefs.h >>conftest.$ac_ext
76241 cat >>conftest.$ac_ext <<_ACEOF
76242 /* end confdefs.h. */
76243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76245 #define $ac_func innocuous_$ac_func
76247 /* System header to define __stub macros and hopefully few prototypes,
76248 which can conflict with char $ac_func (); below.
76249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76250 <limits.h> exists even on freestanding compilers. */
76252 #ifdef __STDC__
76253 # include <limits.h>
76254 #else
76255 # include <assert.h>
76256 #endif
76258 #undef $ac_func
76260 /* Override any gcc2 internal prototype to avoid an error. */
76261 #ifdef __cplusplus
76262 extern "C"
76264 #endif
76265 /* We use char because int might match the return type of a gcc2
76266 builtin and then its argument prototype would still apply. */
76267 char $ac_func ();
76268 /* The GNU C library defines this for functions which it implements
76269 to always fail with ENOSYS. Some functions are actually named
76270 something starting with __ and the normal name is an alias. */
76271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76272 choke me
76273 #else
76274 char (*f) () = $ac_func;
76275 #endif
76276 #ifdef __cplusplus
76278 #endif
76281 main ()
76283 return f != $ac_func;
76285 return 0;
76287 _ACEOF
76288 rm -f conftest.$ac_objext conftest$ac_exeext
76289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76290 (eval $ac_link) 2>conftest.er1
76291 ac_status=$?
76292 grep -v '^ *+' conftest.er1 >conftest.err
76293 rm -f conftest.er1
76294 cat conftest.err >&5
76295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76296 (exit $ac_status); } &&
76297 { ac_try='test -z "$ac_c_werror_flag"
76298 || test ! -s conftest.err'
76299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76300 (eval $ac_try) 2>&5
76301 ac_status=$?
76302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76303 (exit $ac_status); }; } &&
76304 { ac_try='test -s conftest$ac_exeext'
76305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76306 (eval $ac_try) 2>&5
76307 ac_status=$?
76308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76309 (exit $ac_status); }; }; then
76310 eval "$as_ac_var=yes"
76311 else
76312 echo "$as_me: failed program was:" >&5
76313 sed 's/^/| /' conftest.$ac_ext >&5
76315 eval "$as_ac_var=no"
76317 rm -f conftest.err conftest.$ac_objext \
76318 conftest$ac_exeext conftest.$ac_ext
76320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76322 if test `eval echo '${'$as_ac_var'}'` = yes; then
76323 cat >>confdefs.h <<_ACEOF
76324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76325 _ACEOF
76328 done
76336 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76337 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76338 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76339 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76340 echo $ECHO_N "(cached) $ECHO_C" >&6
76341 else
76345 ac_ext=cc
76346 ac_cpp='$CXXCPP $CPPFLAGS'
76347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76351 cat >conftest.$ac_ext <<_ACEOF
76352 /* confdefs.h. */
76353 _ACEOF
76354 cat confdefs.h >>conftest.$ac_ext
76355 cat >>conftest.$ac_ext <<_ACEOF
76356 /* end confdefs.h. */
76357 #include <stdlib.h>
76359 main ()
76361 strtof(0, 0);
76363 return 0;
76365 _ACEOF
76366 rm -f conftest.$ac_objext
76367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76368 (eval $ac_compile) 2>conftest.er1
76369 ac_status=$?
76370 grep -v '^ *+' conftest.er1 >conftest.err
76371 rm -f conftest.er1
76372 cat conftest.err >&5
76373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76374 (exit $ac_status); } &&
76375 { ac_try='test -z "$ac_cxx_werror_flag"
76376 || test ! -s conftest.err'
76377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76378 (eval $ac_try) 2>&5
76379 ac_status=$?
76380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76381 (exit $ac_status); }; } &&
76382 { ac_try='test -s conftest.$ac_objext'
76383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76384 (eval $ac_try) 2>&5
76385 ac_status=$?
76386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76387 (exit $ac_status); }; }; then
76388 glibcxx_cv_func_strtof_use=yes
76389 else
76390 echo "$as_me: failed program was:" >&5
76391 sed 's/^/| /' conftest.$ac_ext >&5
76393 glibcxx_cv_func_strtof_use=no
76395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76396 ac_ext=c
76397 ac_cpp='$CPP $CPPFLAGS'
76398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76407 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76408 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76410 for ac_func in strtof
76412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76413 echo "$as_me:$LINENO: checking for $ac_func" >&5
76414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76415 if eval "test \"\${$as_ac_var+set}\" = set"; then
76416 echo $ECHO_N "(cached) $ECHO_C" >&6
76417 else
76418 if test x$gcc_no_link = xyes; then
76419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76421 { (exit 1); exit 1; }; }
76423 cat >conftest.$ac_ext <<_ACEOF
76424 /* confdefs.h. */
76425 _ACEOF
76426 cat confdefs.h >>conftest.$ac_ext
76427 cat >>conftest.$ac_ext <<_ACEOF
76428 /* end confdefs.h. */
76429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76431 #define $ac_func innocuous_$ac_func
76433 /* System header to define __stub macros and hopefully few prototypes,
76434 which can conflict with char $ac_func (); below.
76435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76436 <limits.h> exists even on freestanding compilers. */
76438 #ifdef __STDC__
76439 # include <limits.h>
76440 #else
76441 # include <assert.h>
76442 #endif
76444 #undef $ac_func
76446 /* Override any gcc2 internal prototype to avoid an error. */
76447 #ifdef __cplusplus
76448 extern "C"
76450 #endif
76451 /* We use char because int might match the return type of a gcc2
76452 builtin and then its argument prototype would still apply. */
76453 char $ac_func ();
76454 /* The GNU C library defines this for functions which it implements
76455 to always fail with ENOSYS. Some functions are actually named
76456 something starting with __ and the normal name is an alias. */
76457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76458 choke me
76459 #else
76460 char (*f) () = $ac_func;
76461 #endif
76462 #ifdef __cplusplus
76464 #endif
76467 main ()
76469 return f != $ac_func;
76471 return 0;
76473 _ACEOF
76474 rm -f conftest.$ac_objext conftest$ac_exeext
76475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76476 (eval $ac_link) 2>conftest.er1
76477 ac_status=$?
76478 grep -v '^ *+' conftest.er1 >conftest.err
76479 rm -f conftest.er1
76480 cat conftest.err >&5
76481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76482 (exit $ac_status); } &&
76483 { ac_try='test -z "$ac_c_werror_flag"
76484 || test ! -s conftest.err'
76485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76486 (eval $ac_try) 2>&5
76487 ac_status=$?
76488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76489 (exit $ac_status); }; } &&
76490 { ac_try='test -s conftest$ac_exeext'
76491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76492 (eval $ac_try) 2>&5
76493 ac_status=$?
76494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76495 (exit $ac_status); }; }; then
76496 eval "$as_ac_var=yes"
76497 else
76498 echo "$as_me: failed program was:" >&5
76499 sed 's/^/| /' conftest.$ac_ext >&5
76501 eval "$as_ac_var=no"
76503 rm -f conftest.err conftest.$ac_objext \
76504 conftest$ac_exeext conftest.$ac_ext
76506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76508 if test `eval echo '${'$as_ac_var'}'` = yes; then
76509 cat >>confdefs.h <<_ACEOF
76510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76511 _ACEOF
76514 done
76522 CXXFLAGS="$ac_save_CXXFLAGS"
76524 cat >>confdefs.h <<\_ACEOF
76525 #define _GLIBCXX_USE_RANDOM_TR1 1
76526 _ACEOF
76528 # We don't yet support AIX's TLS ABI.
76529 #GCC_CHECK_TLS
76535 am_save_CPPFLAGS="$CPPFLAGS"
76537 for element in $INCICONV; do
76538 haveit=
76539 for x in $CPPFLAGS; do
76541 acl_save_prefix="$prefix"
76542 prefix="$acl_final_prefix"
76543 acl_save_exec_prefix="$exec_prefix"
76544 exec_prefix="$acl_final_exec_prefix"
76545 eval x=\"$x\"
76546 exec_prefix="$acl_save_exec_prefix"
76547 prefix="$acl_save_prefix"
76549 if test "X$x" = "X$element"; then
76550 haveit=yes
76551 break
76553 done
76554 if test -z "$haveit"; then
76555 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
76557 done
76560 echo "$as_me:$LINENO: checking for iconv" >&5
76561 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
76562 if test "${am_cv_func_iconv+set}" = set; then
76563 echo $ECHO_N "(cached) $ECHO_C" >&6
76564 else
76566 am_cv_func_iconv="no, consider installing GNU libiconv"
76567 am_cv_lib_iconv=no
76568 if test x$gcc_no_link = xyes; then
76569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76571 { (exit 1); exit 1; }; }
76573 cat >conftest.$ac_ext <<_ACEOF
76574 /* confdefs.h. */
76575 _ACEOF
76576 cat confdefs.h >>conftest.$ac_ext
76577 cat >>conftest.$ac_ext <<_ACEOF
76578 /* end confdefs.h. */
76579 #include <stdlib.h>
76580 #include <iconv.h>
76582 main ()
76584 iconv_t cd = iconv_open("","");
76585 iconv(cd,NULL,NULL,NULL,NULL);
76586 iconv_close(cd);
76588 return 0;
76590 _ACEOF
76591 rm -f conftest.$ac_objext conftest$ac_exeext
76592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76593 (eval $ac_link) 2>conftest.er1
76594 ac_status=$?
76595 grep -v '^ *+' conftest.er1 >conftest.err
76596 rm -f conftest.er1
76597 cat conftest.err >&5
76598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76599 (exit $ac_status); } &&
76600 { ac_try='test -z "$ac_c_werror_flag"
76601 || test ! -s conftest.err'
76602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76603 (eval $ac_try) 2>&5
76604 ac_status=$?
76605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76606 (exit $ac_status); }; } &&
76607 { ac_try='test -s conftest$ac_exeext'
76608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76609 (eval $ac_try) 2>&5
76610 ac_status=$?
76611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76612 (exit $ac_status); }; }; then
76613 am_cv_func_iconv=yes
76614 else
76615 echo "$as_me: failed program was:" >&5
76616 sed 's/^/| /' conftest.$ac_ext >&5
76619 rm -f conftest.err conftest.$ac_objext \
76620 conftest$ac_exeext conftest.$ac_ext
76621 if test "$am_cv_func_iconv" != yes; then
76622 am_save_LIBS="$LIBS"
76623 LIBS="$LIBS $LIBICONV"
76624 if test x$gcc_no_link = xyes; then
76625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76627 { (exit 1); exit 1; }; }
76629 cat >conftest.$ac_ext <<_ACEOF
76630 /* confdefs.h. */
76631 _ACEOF
76632 cat confdefs.h >>conftest.$ac_ext
76633 cat >>conftest.$ac_ext <<_ACEOF
76634 /* end confdefs.h. */
76635 #include <stdlib.h>
76636 #include <iconv.h>
76638 main ()
76640 iconv_t cd = iconv_open("","");
76641 iconv(cd,NULL,NULL,NULL,NULL);
76642 iconv_close(cd);
76644 return 0;
76646 _ACEOF
76647 rm -f conftest.$ac_objext conftest$ac_exeext
76648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76649 (eval $ac_link) 2>conftest.er1
76650 ac_status=$?
76651 grep -v '^ *+' conftest.er1 >conftest.err
76652 rm -f conftest.er1
76653 cat conftest.err >&5
76654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76655 (exit $ac_status); } &&
76656 { ac_try='test -z "$ac_c_werror_flag"
76657 || test ! -s conftest.err'
76658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76659 (eval $ac_try) 2>&5
76660 ac_status=$?
76661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76662 (exit $ac_status); }; } &&
76663 { ac_try='test -s conftest$ac_exeext'
76664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76665 (eval $ac_try) 2>&5
76666 ac_status=$?
76667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76668 (exit $ac_status); }; }; then
76669 am_cv_lib_iconv=yes
76670 am_cv_func_iconv=yes
76671 else
76672 echo "$as_me: failed program was:" >&5
76673 sed 's/^/| /' conftest.$ac_ext >&5
76676 rm -f conftest.err conftest.$ac_objext \
76677 conftest$ac_exeext conftest.$ac_ext
76678 LIBS="$am_save_LIBS"
76682 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
76683 echo "${ECHO_T}$am_cv_func_iconv" >&6
76684 if test "$am_cv_func_iconv" = yes; then
76686 cat >>confdefs.h <<\_ACEOF
76687 #define HAVE_ICONV 1
76688 _ACEOF
76691 if test "$am_cv_lib_iconv" = yes; then
76692 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
76693 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
76694 echo "$as_me:$LINENO: result: $LIBICONV" >&5
76695 echo "${ECHO_T}$LIBICONV" >&6
76696 else
76697 CPPFLAGS="$am_save_CPPFLAGS"
76698 LIBICONV=
76699 LTLIBICONV=
76704 if test "$am_cv_func_iconv" = yes; then
76705 echo "$as_me:$LINENO: checking for iconv declaration" >&5
76706 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
76707 if test "${am_cv_proto_iconv+set}" = set; then
76708 echo $ECHO_N "(cached) $ECHO_C" >&6
76709 else
76711 cat >conftest.$ac_ext <<_ACEOF
76712 /* confdefs.h. */
76713 _ACEOF
76714 cat confdefs.h >>conftest.$ac_ext
76715 cat >>conftest.$ac_ext <<_ACEOF
76716 /* end confdefs.h. */
76718 #include <stdlib.h>
76719 #include <iconv.h>
76720 extern
76721 #ifdef __cplusplus
76723 #endif
76724 #if defined(__STDC__) || defined(__cplusplus)
76725 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
76726 #else
76727 size_t iconv();
76728 #endif
76731 main ()
76735 return 0;
76737 _ACEOF
76738 rm -f conftest.$ac_objext
76739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76740 (eval $ac_compile) 2>conftest.er1
76741 ac_status=$?
76742 grep -v '^ *+' conftest.er1 >conftest.err
76743 rm -f conftest.er1
76744 cat conftest.err >&5
76745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76746 (exit $ac_status); } &&
76747 { ac_try='test -z "$ac_c_werror_flag"
76748 || test ! -s conftest.err'
76749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76750 (eval $ac_try) 2>&5
76751 ac_status=$?
76752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76753 (exit $ac_status); }; } &&
76754 { ac_try='test -s conftest.$ac_objext'
76755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76756 (eval $ac_try) 2>&5
76757 ac_status=$?
76758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76759 (exit $ac_status); }; }; then
76760 am_cv_proto_iconv_arg1=""
76761 else
76762 echo "$as_me: failed program was:" >&5
76763 sed 's/^/| /' conftest.$ac_ext >&5
76765 am_cv_proto_iconv_arg1="const"
76767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76768 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);"
76771 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
76772 echo "$as_me:$LINENO: result: ${ac_t:-
76773 }$am_cv_proto_iconv" >&5
76774 echo "${ECHO_T}${ac_t:-
76775 }$am_cv_proto_iconv" >&6
76777 cat >>confdefs.h <<_ACEOF
76778 #define ICONV_CONST $am_cv_proto_iconv_arg1
76779 _ACEOF
76785 *-darwin*)
76786 # Darwin versions vary, but the linker should work in a cross environment,
76787 # so we just check for all the features here.
76788 # Check for available headers.
76790 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
76792 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76793 ac_save_CXXFLAGS="$CXXFLAGS"
76794 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76796 echo "$as_me:$LINENO: checking for sin in -lm" >&5
76797 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
76798 if test "${ac_cv_lib_m_sin+set}" = set; then
76799 echo $ECHO_N "(cached) $ECHO_C" >&6
76800 else
76801 ac_check_lib_save_LIBS=$LIBS
76802 LIBS="-lm $LIBS"
76803 if test x$gcc_no_link = xyes; then
76804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76806 { (exit 1); exit 1; }; }
76808 cat >conftest.$ac_ext <<_ACEOF
76809 /* confdefs.h. */
76810 _ACEOF
76811 cat confdefs.h >>conftest.$ac_ext
76812 cat >>conftest.$ac_ext <<_ACEOF
76813 /* end confdefs.h. */
76815 /* Override any gcc2 internal prototype to avoid an error. */
76816 #ifdef __cplusplus
76817 extern "C"
76818 #endif
76819 /* We use char because int might match the return type of a gcc2
76820 builtin and then its argument prototype would still apply. */
76821 char sin ();
76823 main ()
76825 sin ();
76827 return 0;
76829 _ACEOF
76830 rm -f conftest.$ac_objext conftest$ac_exeext
76831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76832 (eval $ac_link) 2>conftest.er1
76833 ac_status=$?
76834 grep -v '^ *+' conftest.er1 >conftest.err
76835 rm -f conftest.er1
76836 cat conftest.err >&5
76837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76838 (exit $ac_status); } &&
76839 { ac_try='test -z "$ac_c_werror_flag"
76840 || test ! -s conftest.err'
76841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76842 (eval $ac_try) 2>&5
76843 ac_status=$?
76844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76845 (exit $ac_status); }; } &&
76846 { ac_try='test -s conftest$ac_exeext'
76847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76848 (eval $ac_try) 2>&5
76849 ac_status=$?
76850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76851 (exit $ac_status); }; }; then
76852 ac_cv_lib_m_sin=yes
76853 else
76854 echo "$as_me: failed program was:" >&5
76855 sed 's/^/| /' conftest.$ac_ext >&5
76857 ac_cv_lib_m_sin=no
76859 rm -f conftest.err conftest.$ac_objext \
76860 conftest$ac_exeext conftest.$ac_ext
76861 LIBS=$ac_check_lib_save_LIBS
76863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
76864 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
76865 if test $ac_cv_lib_m_sin = yes; then
76866 libm="-lm"
76869 ac_save_LIBS="$LIBS"
76870 LIBS="$LIBS $libm"
76874 echo "$as_me:$LINENO: checking for isinf declaration" >&5
76875 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
76876 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
76877 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
76878 echo $ECHO_N "(cached) $ECHO_C" >&6
76879 else
76883 ac_ext=cc
76884 ac_cpp='$CXXCPP $CPPFLAGS'
76885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76889 cat >conftest.$ac_ext <<_ACEOF
76890 /* confdefs.h. */
76891 _ACEOF
76892 cat confdefs.h >>conftest.$ac_ext
76893 cat >>conftest.$ac_ext <<_ACEOF
76894 /* end confdefs.h. */
76895 #include <math.h>
76896 #ifdef HAVE_IEEEFP_H
76897 #include <ieeefp.h>
76898 #endif
76901 main ()
76903 isinf(0);
76905 return 0;
76907 _ACEOF
76908 rm -f conftest.$ac_objext
76909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76910 (eval $ac_compile) 2>conftest.er1
76911 ac_status=$?
76912 grep -v '^ *+' conftest.er1 >conftest.err
76913 rm -f conftest.er1
76914 cat conftest.err >&5
76915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76916 (exit $ac_status); } &&
76917 { ac_try='test -z "$ac_cxx_werror_flag"
76918 || test ! -s conftest.err'
76919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76920 (eval $ac_try) 2>&5
76921 ac_status=$?
76922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76923 (exit $ac_status); }; } &&
76924 { ac_try='test -s conftest.$ac_objext'
76925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926 (eval $ac_try) 2>&5
76927 ac_status=$?
76928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929 (exit $ac_status); }; }; then
76930 glibcxx_cv_func_isinf_use=yes
76931 else
76932 echo "$as_me: failed program was:" >&5
76933 sed 's/^/| /' conftest.$ac_ext >&5
76935 glibcxx_cv_func_isinf_use=no
76937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76938 ac_ext=c
76939 ac_cpp='$CPP $CPPFLAGS'
76940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
76949 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
76951 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
76953 for ac_func in isinf
76955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76956 echo "$as_me:$LINENO: checking for $ac_func" >&5
76957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76958 if eval "test \"\${$as_ac_var+set}\" = set"; then
76959 echo $ECHO_N "(cached) $ECHO_C" >&6
76960 else
76961 if test x$gcc_no_link = xyes; then
76962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76964 { (exit 1); exit 1; }; }
76966 cat >conftest.$ac_ext <<_ACEOF
76967 /* confdefs.h. */
76968 _ACEOF
76969 cat confdefs.h >>conftest.$ac_ext
76970 cat >>conftest.$ac_ext <<_ACEOF
76971 /* end confdefs.h. */
76972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76974 #define $ac_func innocuous_$ac_func
76976 /* System header to define __stub macros and hopefully few prototypes,
76977 which can conflict with char $ac_func (); below.
76978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76979 <limits.h> exists even on freestanding compilers. */
76981 #ifdef __STDC__
76982 # include <limits.h>
76983 #else
76984 # include <assert.h>
76985 #endif
76987 #undef $ac_func
76989 /* Override any gcc2 internal prototype to avoid an error. */
76990 #ifdef __cplusplus
76991 extern "C"
76993 #endif
76994 /* We use char because int might match the return type of a gcc2
76995 builtin and then its argument prototype would still apply. */
76996 char $ac_func ();
76997 /* The GNU C library defines this for functions which it implements
76998 to always fail with ENOSYS. Some functions are actually named
76999 something starting with __ and the normal name is an alias. */
77000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77001 choke me
77002 #else
77003 char (*f) () = $ac_func;
77004 #endif
77005 #ifdef __cplusplus
77007 #endif
77010 main ()
77012 return f != $ac_func;
77014 return 0;
77016 _ACEOF
77017 rm -f conftest.$ac_objext conftest$ac_exeext
77018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77019 (eval $ac_link) 2>conftest.er1
77020 ac_status=$?
77021 grep -v '^ *+' conftest.er1 >conftest.err
77022 rm -f conftest.er1
77023 cat conftest.err >&5
77024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77025 (exit $ac_status); } &&
77026 { ac_try='test -z "$ac_c_werror_flag"
77027 || test ! -s conftest.err'
77028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77029 (eval $ac_try) 2>&5
77030 ac_status=$?
77031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77032 (exit $ac_status); }; } &&
77033 { ac_try='test -s conftest$ac_exeext'
77034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77035 (eval $ac_try) 2>&5
77036 ac_status=$?
77037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77038 (exit $ac_status); }; }; then
77039 eval "$as_ac_var=yes"
77040 else
77041 echo "$as_me: failed program was:" >&5
77042 sed 's/^/| /' conftest.$ac_ext >&5
77044 eval "$as_ac_var=no"
77046 rm -f conftest.err conftest.$ac_objext \
77047 conftest$ac_exeext conftest.$ac_ext
77049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77051 if test `eval echo '${'$as_ac_var'}'` = yes; then
77052 cat >>confdefs.h <<_ACEOF
77053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77054 _ACEOF
77057 done
77059 else
77061 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
77062 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
77063 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
77064 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
77065 echo $ECHO_N "(cached) $ECHO_C" >&6
77066 else
77070 ac_ext=cc
77071 ac_cpp='$CXXCPP $CPPFLAGS'
77072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77076 cat >conftest.$ac_ext <<_ACEOF
77077 /* confdefs.h. */
77078 _ACEOF
77079 cat confdefs.h >>conftest.$ac_ext
77080 cat >>conftest.$ac_ext <<_ACEOF
77081 /* end confdefs.h. */
77082 #include <math.h>
77083 #ifdef HAVE_IEEEFP_H
77084 #include <ieeefp.h>
77085 #endif
77088 main ()
77090 _isinf(0);
77092 return 0;
77094 _ACEOF
77095 rm -f conftest.$ac_objext
77096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77097 (eval $ac_compile) 2>conftest.er1
77098 ac_status=$?
77099 grep -v '^ *+' conftest.er1 >conftest.err
77100 rm -f conftest.er1
77101 cat conftest.err >&5
77102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77103 (exit $ac_status); } &&
77104 { ac_try='test -z "$ac_cxx_werror_flag"
77105 || test ! -s conftest.err'
77106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77107 (eval $ac_try) 2>&5
77108 ac_status=$?
77109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77110 (exit $ac_status); }; } &&
77111 { ac_try='test -s conftest.$ac_objext'
77112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77113 (eval $ac_try) 2>&5
77114 ac_status=$?
77115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77116 (exit $ac_status); }; }; then
77117 glibcxx_cv_func__isinf_use=yes
77118 else
77119 echo "$as_me: failed program was:" >&5
77120 sed 's/^/| /' conftest.$ac_ext >&5
77122 glibcxx_cv_func__isinf_use=no
77124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77125 ac_ext=c
77126 ac_cpp='$CPP $CPPFLAGS'
77127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
77136 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
77138 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
77140 for ac_func in _isinf
77142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77143 echo "$as_me:$LINENO: checking for $ac_func" >&5
77144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77145 if eval "test \"\${$as_ac_var+set}\" = set"; then
77146 echo $ECHO_N "(cached) $ECHO_C" >&6
77147 else
77148 if test x$gcc_no_link = xyes; then
77149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77151 { (exit 1); exit 1; }; }
77153 cat >conftest.$ac_ext <<_ACEOF
77154 /* confdefs.h. */
77155 _ACEOF
77156 cat confdefs.h >>conftest.$ac_ext
77157 cat >>conftest.$ac_ext <<_ACEOF
77158 /* end confdefs.h. */
77159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77161 #define $ac_func innocuous_$ac_func
77163 /* System header to define __stub macros and hopefully few prototypes,
77164 which can conflict with char $ac_func (); below.
77165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77166 <limits.h> exists even on freestanding compilers. */
77168 #ifdef __STDC__
77169 # include <limits.h>
77170 #else
77171 # include <assert.h>
77172 #endif
77174 #undef $ac_func
77176 /* Override any gcc2 internal prototype to avoid an error. */
77177 #ifdef __cplusplus
77178 extern "C"
77180 #endif
77181 /* We use char because int might match the return type of a gcc2
77182 builtin and then its argument prototype would still apply. */
77183 char $ac_func ();
77184 /* The GNU C library defines this for functions which it implements
77185 to always fail with ENOSYS. Some functions are actually named
77186 something starting with __ and the normal name is an alias. */
77187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77188 choke me
77189 #else
77190 char (*f) () = $ac_func;
77191 #endif
77192 #ifdef __cplusplus
77194 #endif
77197 main ()
77199 return f != $ac_func;
77201 return 0;
77203 _ACEOF
77204 rm -f conftest.$ac_objext conftest$ac_exeext
77205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77206 (eval $ac_link) 2>conftest.er1
77207 ac_status=$?
77208 grep -v '^ *+' conftest.er1 >conftest.err
77209 rm -f conftest.er1
77210 cat conftest.err >&5
77211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77212 (exit $ac_status); } &&
77213 { ac_try='test -z "$ac_c_werror_flag"
77214 || test ! -s conftest.err'
77215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77216 (eval $ac_try) 2>&5
77217 ac_status=$?
77218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77219 (exit $ac_status); }; } &&
77220 { ac_try='test -s conftest$ac_exeext'
77221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77222 (eval $ac_try) 2>&5
77223 ac_status=$?
77224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77225 (exit $ac_status); }; }; then
77226 eval "$as_ac_var=yes"
77227 else
77228 echo "$as_me: failed program was:" >&5
77229 sed 's/^/| /' conftest.$ac_ext >&5
77231 eval "$as_ac_var=no"
77233 rm -f conftest.err conftest.$ac_objext \
77234 conftest$ac_exeext conftest.$ac_ext
77236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77238 if test `eval echo '${'$as_ac_var'}'` = yes; then
77239 cat >>confdefs.h <<_ACEOF
77240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77241 _ACEOF
77244 done
77254 echo "$as_me:$LINENO: checking for isnan declaration" >&5
77255 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
77256 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
77257 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
77258 echo $ECHO_N "(cached) $ECHO_C" >&6
77259 else
77263 ac_ext=cc
77264 ac_cpp='$CXXCPP $CPPFLAGS'
77265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77269 cat >conftest.$ac_ext <<_ACEOF
77270 /* confdefs.h. */
77271 _ACEOF
77272 cat confdefs.h >>conftest.$ac_ext
77273 cat >>conftest.$ac_ext <<_ACEOF
77274 /* end confdefs.h. */
77275 #include <math.h>
77276 #ifdef HAVE_IEEEFP_H
77277 #include <ieeefp.h>
77278 #endif
77281 main ()
77283 isnan(0);
77285 return 0;
77287 _ACEOF
77288 rm -f conftest.$ac_objext
77289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77290 (eval $ac_compile) 2>conftest.er1
77291 ac_status=$?
77292 grep -v '^ *+' conftest.er1 >conftest.err
77293 rm -f conftest.er1
77294 cat conftest.err >&5
77295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77296 (exit $ac_status); } &&
77297 { ac_try='test -z "$ac_cxx_werror_flag"
77298 || test ! -s conftest.err'
77299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77300 (eval $ac_try) 2>&5
77301 ac_status=$?
77302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77303 (exit $ac_status); }; } &&
77304 { ac_try='test -s conftest.$ac_objext'
77305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77306 (eval $ac_try) 2>&5
77307 ac_status=$?
77308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77309 (exit $ac_status); }; }; then
77310 glibcxx_cv_func_isnan_use=yes
77311 else
77312 echo "$as_me: failed program was:" >&5
77313 sed 's/^/| /' conftest.$ac_ext >&5
77315 glibcxx_cv_func_isnan_use=no
77317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77318 ac_ext=c
77319 ac_cpp='$CPP $CPPFLAGS'
77320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
77329 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
77331 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
77333 for ac_func in isnan
77335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77336 echo "$as_me:$LINENO: checking for $ac_func" >&5
77337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77338 if eval "test \"\${$as_ac_var+set}\" = set"; then
77339 echo $ECHO_N "(cached) $ECHO_C" >&6
77340 else
77341 if test x$gcc_no_link = xyes; then
77342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77344 { (exit 1); exit 1; }; }
77346 cat >conftest.$ac_ext <<_ACEOF
77347 /* confdefs.h. */
77348 _ACEOF
77349 cat confdefs.h >>conftest.$ac_ext
77350 cat >>conftest.$ac_ext <<_ACEOF
77351 /* end confdefs.h. */
77352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77354 #define $ac_func innocuous_$ac_func
77356 /* System header to define __stub macros and hopefully few prototypes,
77357 which can conflict with char $ac_func (); below.
77358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77359 <limits.h> exists even on freestanding compilers. */
77361 #ifdef __STDC__
77362 # include <limits.h>
77363 #else
77364 # include <assert.h>
77365 #endif
77367 #undef $ac_func
77369 /* Override any gcc2 internal prototype to avoid an error. */
77370 #ifdef __cplusplus
77371 extern "C"
77373 #endif
77374 /* We use char because int might match the return type of a gcc2
77375 builtin and then its argument prototype would still apply. */
77376 char $ac_func ();
77377 /* The GNU C library defines this for functions which it implements
77378 to always fail with ENOSYS. Some functions are actually named
77379 something starting with __ and the normal name is an alias. */
77380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77381 choke me
77382 #else
77383 char (*f) () = $ac_func;
77384 #endif
77385 #ifdef __cplusplus
77387 #endif
77390 main ()
77392 return f != $ac_func;
77394 return 0;
77396 _ACEOF
77397 rm -f conftest.$ac_objext conftest$ac_exeext
77398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77399 (eval $ac_link) 2>conftest.er1
77400 ac_status=$?
77401 grep -v '^ *+' conftest.er1 >conftest.err
77402 rm -f conftest.er1
77403 cat conftest.err >&5
77404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77405 (exit $ac_status); } &&
77406 { ac_try='test -z "$ac_c_werror_flag"
77407 || test ! -s conftest.err'
77408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77409 (eval $ac_try) 2>&5
77410 ac_status=$?
77411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77412 (exit $ac_status); }; } &&
77413 { ac_try='test -s conftest$ac_exeext'
77414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77415 (eval $ac_try) 2>&5
77416 ac_status=$?
77417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77418 (exit $ac_status); }; }; then
77419 eval "$as_ac_var=yes"
77420 else
77421 echo "$as_me: failed program was:" >&5
77422 sed 's/^/| /' conftest.$ac_ext >&5
77424 eval "$as_ac_var=no"
77426 rm -f conftest.err conftest.$ac_objext \
77427 conftest$ac_exeext conftest.$ac_ext
77429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77431 if test `eval echo '${'$as_ac_var'}'` = yes; then
77432 cat >>confdefs.h <<_ACEOF
77433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77434 _ACEOF
77437 done
77439 else
77441 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
77442 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
77443 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
77444 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
77445 echo $ECHO_N "(cached) $ECHO_C" >&6
77446 else
77450 ac_ext=cc
77451 ac_cpp='$CXXCPP $CPPFLAGS'
77452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77456 cat >conftest.$ac_ext <<_ACEOF
77457 /* confdefs.h. */
77458 _ACEOF
77459 cat confdefs.h >>conftest.$ac_ext
77460 cat >>conftest.$ac_ext <<_ACEOF
77461 /* end confdefs.h. */
77462 #include <math.h>
77463 #ifdef HAVE_IEEEFP_H
77464 #include <ieeefp.h>
77465 #endif
77468 main ()
77470 _isnan(0);
77472 return 0;
77474 _ACEOF
77475 rm -f conftest.$ac_objext
77476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77477 (eval $ac_compile) 2>conftest.er1
77478 ac_status=$?
77479 grep -v '^ *+' conftest.er1 >conftest.err
77480 rm -f conftest.er1
77481 cat conftest.err >&5
77482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77483 (exit $ac_status); } &&
77484 { ac_try='test -z "$ac_cxx_werror_flag"
77485 || test ! -s conftest.err'
77486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77487 (eval $ac_try) 2>&5
77488 ac_status=$?
77489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77490 (exit $ac_status); }; } &&
77491 { ac_try='test -s conftest.$ac_objext'
77492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77493 (eval $ac_try) 2>&5
77494 ac_status=$?
77495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77496 (exit $ac_status); }; }; then
77497 glibcxx_cv_func__isnan_use=yes
77498 else
77499 echo "$as_me: failed program was:" >&5
77500 sed 's/^/| /' conftest.$ac_ext >&5
77502 glibcxx_cv_func__isnan_use=no
77504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77505 ac_ext=c
77506 ac_cpp='$CPP $CPPFLAGS'
77507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
77516 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
77518 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
77520 for ac_func in _isnan
77522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77523 echo "$as_me:$LINENO: checking for $ac_func" >&5
77524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77525 if eval "test \"\${$as_ac_var+set}\" = set"; then
77526 echo $ECHO_N "(cached) $ECHO_C" >&6
77527 else
77528 if test x$gcc_no_link = xyes; then
77529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77531 { (exit 1); exit 1; }; }
77533 cat >conftest.$ac_ext <<_ACEOF
77534 /* confdefs.h. */
77535 _ACEOF
77536 cat confdefs.h >>conftest.$ac_ext
77537 cat >>conftest.$ac_ext <<_ACEOF
77538 /* end confdefs.h. */
77539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77541 #define $ac_func innocuous_$ac_func
77543 /* System header to define __stub macros and hopefully few prototypes,
77544 which can conflict with char $ac_func (); below.
77545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77546 <limits.h> exists even on freestanding compilers. */
77548 #ifdef __STDC__
77549 # include <limits.h>
77550 #else
77551 # include <assert.h>
77552 #endif
77554 #undef $ac_func
77556 /* Override any gcc2 internal prototype to avoid an error. */
77557 #ifdef __cplusplus
77558 extern "C"
77560 #endif
77561 /* We use char because int might match the return type of a gcc2
77562 builtin and then its argument prototype would still apply. */
77563 char $ac_func ();
77564 /* The GNU C library defines this for functions which it implements
77565 to always fail with ENOSYS. Some functions are actually named
77566 something starting with __ and the normal name is an alias. */
77567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77568 choke me
77569 #else
77570 char (*f) () = $ac_func;
77571 #endif
77572 #ifdef __cplusplus
77574 #endif
77577 main ()
77579 return f != $ac_func;
77581 return 0;
77583 _ACEOF
77584 rm -f conftest.$ac_objext conftest$ac_exeext
77585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77586 (eval $ac_link) 2>conftest.er1
77587 ac_status=$?
77588 grep -v '^ *+' conftest.er1 >conftest.err
77589 rm -f conftest.er1
77590 cat conftest.err >&5
77591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77592 (exit $ac_status); } &&
77593 { ac_try='test -z "$ac_c_werror_flag"
77594 || test ! -s conftest.err'
77595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77596 (eval $ac_try) 2>&5
77597 ac_status=$?
77598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77599 (exit $ac_status); }; } &&
77600 { ac_try='test -s conftest$ac_exeext'
77601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77602 (eval $ac_try) 2>&5
77603 ac_status=$?
77604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77605 (exit $ac_status); }; }; then
77606 eval "$as_ac_var=yes"
77607 else
77608 echo "$as_me: failed program was:" >&5
77609 sed 's/^/| /' conftest.$ac_ext >&5
77611 eval "$as_ac_var=no"
77613 rm -f conftest.err conftest.$ac_objext \
77614 conftest$ac_exeext conftest.$ac_ext
77616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77618 if test `eval echo '${'$as_ac_var'}'` = yes; then
77619 cat >>confdefs.h <<_ACEOF
77620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77621 _ACEOF
77624 done
77634 echo "$as_me:$LINENO: checking for finite declaration" >&5
77635 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
77636 if test x${glibcxx_cv_func_finite_use+set} != xset; then
77637 if test "${glibcxx_cv_func_finite_use+set}" = set; then
77638 echo $ECHO_N "(cached) $ECHO_C" >&6
77639 else
77643 ac_ext=cc
77644 ac_cpp='$CXXCPP $CPPFLAGS'
77645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77649 cat >conftest.$ac_ext <<_ACEOF
77650 /* confdefs.h. */
77651 _ACEOF
77652 cat confdefs.h >>conftest.$ac_ext
77653 cat >>conftest.$ac_ext <<_ACEOF
77654 /* end confdefs.h. */
77655 #include <math.h>
77656 #ifdef HAVE_IEEEFP_H
77657 #include <ieeefp.h>
77658 #endif
77661 main ()
77663 finite(0);
77665 return 0;
77667 _ACEOF
77668 rm -f conftest.$ac_objext
77669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77670 (eval $ac_compile) 2>conftest.er1
77671 ac_status=$?
77672 grep -v '^ *+' conftest.er1 >conftest.err
77673 rm -f conftest.er1
77674 cat conftest.err >&5
77675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77676 (exit $ac_status); } &&
77677 { ac_try='test -z "$ac_cxx_werror_flag"
77678 || test ! -s conftest.err'
77679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77680 (eval $ac_try) 2>&5
77681 ac_status=$?
77682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77683 (exit $ac_status); }; } &&
77684 { ac_try='test -s conftest.$ac_objext'
77685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77686 (eval $ac_try) 2>&5
77687 ac_status=$?
77688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77689 (exit $ac_status); }; }; then
77690 glibcxx_cv_func_finite_use=yes
77691 else
77692 echo "$as_me: failed program was:" >&5
77693 sed 's/^/| /' conftest.$ac_ext >&5
77695 glibcxx_cv_func_finite_use=no
77697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77698 ac_ext=c
77699 ac_cpp='$CPP $CPPFLAGS'
77700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
77709 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
77711 if test x$glibcxx_cv_func_finite_use = x"yes"; then
77713 for ac_func in finite
77715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77716 echo "$as_me:$LINENO: checking for $ac_func" >&5
77717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77718 if eval "test \"\${$as_ac_var+set}\" = set"; then
77719 echo $ECHO_N "(cached) $ECHO_C" >&6
77720 else
77721 if test x$gcc_no_link = xyes; then
77722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77724 { (exit 1); exit 1; }; }
77726 cat >conftest.$ac_ext <<_ACEOF
77727 /* confdefs.h. */
77728 _ACEOF
77729 cat confdefs.h >>conftest.$ac_ext
77730 cat >>conftest.$ac_ext <<_ACEOF
77731 /* end confdefs.h. */
77732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77734 #define $ac_func innocuous_$ac_func
77736 /* System header to define __stub macros and hopefully few prototypes,
77737 which can conflict with char $ac_func (); below.
77738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77739 <limits.h> exists even on freestanding compilers. */
77741 #ifdef __STDC__
77742 # include <limits.h>
77743 #else
77744 # include <assert.h>
77745 #endif
77747 #undef $ac_func
77749 /* Override any gcc2 internal prototype to avoid an error. */
77750 #ifdef __cplusplus
77751 extern "C"
77753 #endif
77754 /* We use char because int might match the return type of a gcc2
77755 builtin and then its argument prototype would still apply. */
77756 char $ac_func ();
77757 /* The GNU C library defines this for functions which it implements
77758 to always fail with ENOSYS. Some functions are actually named
77759 something starting with __ and the normal name is an alias. */
77760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77761 choke me
77762 #else
77763 char (*f) () = $ac_func;
77764 #endif
77765 #ifdef __cplusplus
77767 #endif
77770 main ()
77772 return f != $ac_func;
77774 return 0;
77776 _ACEOF
77777 rm -f conftest.$ac_objext conftest$ac_exeext
77778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77779 (eval $ac_link) 2>conftest.er1
77780 ac_status=$?
77781 grep -v '^ *+' conftest.er1 >conftest.err
77782 rm -f conftest.er1
77783 cat conftest.err >&5
77784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77785 (exit $ac_status); } &&
77786 { ac_try='test -z "$ac_c_werror_flag"
77787 || test ! -s conftest.err'
77788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77789 (eval $ac_try) 2>&5
77790 ac_status=$?
77791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77792 (exit $ac_status); }; } &&
77793 { ac_try='test -s conftest$ac_exeext'
77794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77795 (eval $ac_try) 2>&5
77796 ac_status=$?
77797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77798 (exit $ac_status); }; }; then
77799 eval "$as_ac_var=yes"
77800 else
77801 echo "$as_me: failed program was:" >&5
77802 sed 's/^/| /' conftest.$ac_ext >&5
77804 eval "$as_ac_var=no"
77806 rm -f conftest.err conftest.$ac_objext \
77807 conftest$ac_exeext conftest.$ac_ext
77809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77811 if test `eval echo '${'$as_ac_var'}'` = yes; then
77812 cat >>confdefs.h <<_ACEOF
77813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77814 _ACEOF
77817 done
77819 else
77821 echo "$as_me:$LINENO: checking for _finite declaration" >&5
77822 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
77823 if test x${glibcxx_cv_func__finite_use+set} != xset; then
77824 if test "${glibcxx_cv_func__finite_use+set}" = set; then
77825 echo $ECHO_N "(cached) $ECHO_C" >&6
77826 else
77830 ac_ext=cc
77831 ac_cpp='$CXXCPP $CPPFLAGS'
77832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77836 cat >conftest.$ac_ext <<_ACEOF
77837 /* confdefs.h. */
77838 _ACEOF
77839 cat confdefs.h >>conftest.$ac_ext
77840 cat >>conftest.$ac_ext <<_ACEOF
77841 /* end confdefs.h. */
77842 #include <math.h>
77843 #ifdef HAVE_IEEEFP_H
77844 #include <ieeefp.h>
77845 #endif
77848 main ()
77850 _finite(0);
77852 return 0;
77854 _ACEOF
77855 rm -f conftest.$ac_objext
77856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77857 (eval $ac_compile) 2>conftest.er1
77858 ac_status=$?
77859 grep -v '^ *+' conftest.er1 >conftest.err
77860 rm -f conftest.er1
77861 cat conftest.err >&5
77862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77863 (exit $ac_status); } &&
77864 { ac_try='test -z "$ac_cxx_werror_flag"
77865 || test ! -s conftest.err'
77866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77867 (eval $ac_try) 2>&5
77868 ac_status=$?
77869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77870 (exit $ac_status); }; } &&
77871 { ac_try='test -s conftest.$ac_objext'
77872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77873 (eval $ac_try) 2>&5
77874 ac_status=$?
77875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77876 (exit $ac_status); }; }; then
77877 glibcxx_cv_func__finite_use=yes
77878 else
77879 echo "$as_me: failed program was:" >&5
77880 sed 's/^/| /' conftest.$ac_ext >&5
77882 glibcxx_cv_func__finite_use=no
77884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77885 ac_ext=c
77886 ac_cpp='$CPP $CPPFLAGS'
77887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
77896 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
77898 if test x$glibcxx_cv_func__finite_use = x"yes"; then
77900 for ac_func in _finite
77902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77903 echo "$as_me:$LINENO: checking for $ac_func" >&5
77904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77905 if eval "test \"\${$as_ac_var+set}\" = set"; then
77906 echo $ECHO_N "(cached) $ECHO_C" >&6
77907 else
77908 if test x$gcc_no_link = xyes; then
77909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77911 { (exit 1); exit 1; }; }
77913 cat >conftest.$ac_ext <<_ACEOF
77914 /* confdefs.h. */
77915 _ACEOF
77916 cat confdefs.h >>conftest.$ac_ext
77917 cat >>conftest.$ac_ext <<_ACEOF
77918 /* end confdefs.h. */
77919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77921 #define $ac_func innocuous_$ac_func
77923 /* System header to define __stub macros and hopefully few prototypes,
77924 which can conflict with char $ac_func (); below.
77925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77926 <limits.h> exists even on freestanding compilers. */
77928 #ifdef __STDC__
77929 # include <limits.h>
77930 #else
77931 # include <assert.h>
77932 #endif
77934 #undef $ac_func
77936 /* Override any gcc2 internal prototype to avoid an error. */
77937 #ifdef __cplusplus
77938 extern "C"
77940 #endif
77941 /* We use char because int might match the return type of a gcc2
77942 builtin and then its argument prototype would still apply. */
77943 char $ac_func ();
77944 /* The GNU C library defines this for functions which it implements
77945 to always fail with ENOSYS. Some functions are actually named
77946 something starting with __ and the normal name is an alias. */
77947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77948 choke me
77949 #else
77950 char (*f) () = $ac_func;
77951 #endif
77952 #ifdef __cplusplus
77954 #endif
77957 main ()
77959 return f != $ac_func;
77961 return 0;
77963 _ACEOF
77964 rm -f conftest.$ac_objext conftest$ac_exeext
77965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77966 (eval $ac_link) 2>conftest.er1
77967 ac_status=$?
77968 grep -v '^ *+' conftest.er1 >conftest.err
77969 rm -f conftest.er1
77970 cat conftest.err >&5
77971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77972 (exit $ac_status); } &&
77973 { ac_try='test -z "$ac_c_werror_flag"
77974 || test ! -s conftest.err'
77975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77976 (eval $ac_try) 2>&5
77977 ac_status=$?
77978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77979 (exit $ac_status); }; } &&
77980 { ac_try='test -s conftest$ac_exeext'
77981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77982 (eval $ac_try) 2>&5
77983 ac_status=$?
77984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77985 (exit $ac_status); }; }; then
77986 eval "$as_ac_var=yes"
77987 else
77988 echo "$as_me: failed program was:" >&5
77989 sed 's/^/| /' conftest.$ac_ext >&5
77991 eval "$as_ac_var=no"
77993 rm -f conftest.err conftest.$ac_objext \
77994 conftest$ac_exeext conftest.$ac_ext
77996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77998 if test `eval echo '${'$as_ac_var'}'` = yes; then
77999 cat >>confdefs.h <<_ACEOF
78000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78001 _ACEOF
78004 done
78014 echo "$as_me:$LINENO: checking for sincos declaration" >&5
78015 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
78016 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
78017 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
78018 echo $ECHO_N "(cached) $ECHO_C" >&6
78019 else
78023 ac_ext=cc
78024 ac_cpp='$CXXCPP $CPPFLAGS'
78025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78029 cat >conftest.$ac_ext <<_ACEOF
78030 /* confdefs.h. */
78031 _ACEOF
78032 cat confdefs.h >>conftest.$ac_ext
78033 cat >>conftest.$ac_ext <<_ACEOF
78034 /* end confdefs.h. */
78035 #include <math.h>
78037 main ()
78039 sincos(0, 0, 0);
78041 return 0;
78043 _ACEOF
78044 rm -f conftest.$ac_objext
78045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78046 (eval $ac_compile) 2>conftest.er1
78047 ac_status=$?
78048 grep -v '^ *+' conftest.er1 >conftest.err
78049 rm -f conftest.er1
78050 cat conftest.err >&5
78051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78052 (exit $ac_status); } &&
78053 { ac_try='test -z "$ac_cxx_werror_flag"
78054 || test ! -s conftest.err'
78055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78056 (eval $ac_try) 2>&5
78057 ac_status=$?
78058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78059 (exit $ac_status); }; } &&
78060 { ac_try='test -s conftest.$ac_objext'
78061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78062 (eval $ac_try) 2>&5
78063 ac_status=$?
78064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78065 (exit $ac_status); }; }; then
78066 glibcxx_cv_func_sincos_use=yes
78067 else
78068 echo "$as_me: failed program was:" >&5
78069 sed 's/^/| /' conftest.$ac_ext >&5
78071 glibcxx_cv_func_sincos_use=no
78073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78074 ac_ext=c
78075 ac_cpp='$CPP $CPPFLAGS'
78076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
78085 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
78087 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
78089 for ac_func in sincos
78091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78092 echo "$as_me:$LINENO: checking for $ac_func" >&5
78093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78094 if eval "test \"\${$as_ac_var+set}\" = set"; then
78095 echo $ECHO_N "(cached) $ECHO_C" >&6
78096 else
78097 if test x$gcc_no_link = xyes; then
78098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78100 { (exit 1); exit 1; }; }
78102 cat >conftest.$ac_ext <<_ACEOF
78103 /* confdefs.h. */
78104 _ACEOF
78105 cat confdefs.h >>conftest.$ac_ext
78106 cat >>conftest.$ac_ext <<_ACEOF
78107 /* end confdefs.h. */
78108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78110 #define $ac_func innocuous_$ac_func
78112 /* System header to define __stub macros and hopefully few prototypes,
78113 which can conflict with char $ac_func (); below.
78114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78115 <limits.h> exists even on freestanding compilers. */
78117 #ifdef __STDC__
78118 # include <limits.h>
78119 #else
78120 # include <assert.h>
78121 #endif
78123 #undef $ac_func
78125 /* Override any gcc2 internal prototype to avoid an error. */
78126 #ifdef __cplusplus
78127 extern "C"
78129 #endif
78130 /* We use char because int might match the return type of a gcc2
78131 builtin and then its argument prototype would still apply. */
78132 char $ac_func ();
78133 /* The GNU C library defines this for functions which it implements
78134 to always fail with ENOSYS. Some functions are actually named
78135 something starting with __ and the normal name is an alias. */
78136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78137 choke me
78138 #else
78139 char (*f) () = $ac_func;
78140 #endif
78141 #ifdef __cplusplus
78143 #endif
78146 main ()
78148 return f != $ac_func;
78150 return 0;
78152 _ACEOF
78153 rm -f conftest.$ac_objext conftest$ac_exeext
78154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78155 (eval $ac_link) 2>conftest.er1
78156 ac_status=$?
78157 grep -v '^ *+' conftest.er1 >conftest.err
78158 rm -f conftest.er1
78159 cat conftest.err >&5
78160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78161 (exit $ac_status); } &&
78162 { ac_try='test -z "$ac_c_werror_flag"
78163 || test ! -s conftest.err'
78164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78165 (eval $ac_try) 2>&5
78166 ac_status=$?
78167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78168 (exit $ac_status); }; } &&
78169 { ac_try='test -s conftest$ac_exeext'
78170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78171 (eval $ac_try) 2>&5
78172 ac_status=$?
78173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78174 (exit $ac_status); }; }; then
78175 eval "$as_ac_var=yes"
78176 else
78177 echo "$as_me: failed program was:" >&5
78178 sed 's/^/| /' conftest.$ac_ext >&5
78180 eval "$as_ac_var=no"
78182 rm -f conftest.err conftest.$ac_objext \
78183 conftest$ac_exeext conftest.$ac_ext
78185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78187 if test `eval echo '${'$as_ac_var'}'` = yes; then
78188 cat >>confdefs.h <<_ACEOF
78189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78190 _ACEOF
78193 done
78195 else
78197 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
78198 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
78199 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
78200 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
78201 echo $ECHO_N "(cached) $ECHO_C" >&6
78202 else
78206 ac_ext=cc
78207 ac_cpp='$CXXCPP $CPPFLAGS'
78208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78212 cat >conftest.$ac_ext <<_ACEOF
78213 /* confdefs.h. */
78214 _ACEOF
78215 cat confdefs.h >>conftest.$ac_ext
78216 cat >>conftest.$ac_ext <<_ACEOF
78217 /* end confdefs.h. */
78218 #include <math.h>
78220 main ()
78222 _sincos(0, 0, 0);
78224 return 0;
78226 _ACEOF
78227 rm -f conftest.$ac_objext
78228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78229 (eval $ac_compile) 2>conftest.er1
78230 ac_status=$?
78231 grep -v '^ *+' conftest.er1 >conftest.err
78232 rm -f conftest.er1
78233 cat conftest.err >&5
78234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78235 (exit $ac_status); } &&
78236 { ac_try='test -z "$ac_cxx_werror_flag"
78237 || test ! -s conftest.err'
78238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78239 (eval $ac_try) 2>&5
78240 ac_status=$?
78241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78242 (exit $ac_status); }; } &&
78243 { ac_try='test -s conftest.$ac_objext'
78244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78245 (eval $ac_try) 2>&5
78246 ac_status=$?
78247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78248 (exit $ac_status); }; }; then
78249 glibcxx_cv_func__sincos_use=yes
78250 else
78251 echo "$as_me: failed program was:" >&5
78252 sed 's/^/| /' conftest.$ac_ext >&5
78254 glibcxx_cv_func__sincos_use=no
78256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78257 ac_ext=c
78258 ac_cpp='$CPP $CPPFLAGS'
78259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
78268 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
78270 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
78272 for ac_func in _sincos
78274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78275 echo "$as_me:$LINENO: checking for $ac_func" >&5
78276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78277 if eval "test \"\${$as_ac_var+set}\" = set"; then
78278 echo $ECHO_N "(cached) $ECHO_C" >&6
78279 else
78280 if test x$gcc_no_link = xyes; then
78281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78283 { (exit 1); exit 1; }; }
78285 cat >conftest.$ac_ext <<_ACEOF
78286 /* confdefs.h. */
78287 _ACEOF
78288 cat confdefs.h >>conftest.$ac_ext
78289 cat >>conftest.$ac_ext <<_ACEOF
78290 /* end confdefs.h. */
78291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78293 #define $ac_func innocuous_$ac_func
78295 /* System header to define __stub macros and hopefully few prototypes,
78296 which can conflict with char $ac_func (); below.
78297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78298 <limits.h> exists even on freestanding compilers. */
78300 #ifdef __STDC__
78301 # include <limits.h>
78302 #else
78303 # include <assert.h>
78304 #endif
78306 #undef $ac_func
78308 /* Override any gcc2 internal prototype to avoid an error. */
78309 #ifdef __cplusplus
78310 extern "C"
78312 #endif
78313 /* We use char because int might match the return type of a gcc2
78314 builtin and then its argument prototype would still apply. */
78315 char $ac_func ();
78316 /* The GNU C library defines this for functions which it implements
78317 to always fail with ENOSYS. Some functions are actually named
78318 something starting with __ and the normal name is an alias. */
78319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78320 choke me
78321 #else
78322 char (*f) () = $ac_func;
78323 #endif
78324 #ifdef __cplusplus
78326 #endif
78329 main ()
78331 return f != $ac_func;
78333 return 0;
78335 _ACEOF
78336 rm -f conftest.$ac_objext conftest$ac_exeext
78337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78338 (eval $ac_link) 2>conftest.er1
78339 ac_status=$?
78340 grep -v '^ *+' conftest.er1 >conftest.err
78341 rm -f conftest.er1
78342 cat conftest.err >&5
78343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78344 (exit $ac_status); } &&
78345 { ac_try='test -z "$ac_c_werror_flag"
78346 || test ! -s conftest.err'
78347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78348 (eval $ac_try) 2>&5
78349 ac_status=$?
78350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78351 (exit $ac_status); }; } &&
78352 { ac_try='test -s conftest$ac_exeext'
78353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78354 (eval $ac_try) 2>&5
78355 ac_status=$?
78356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78357 (exit $ac_status); }; }; then
78358 eval "$as_ac_var=yes"
78359 else
78360 echo "$as_me: failed program was:" >&5
78361 sed 's/^/| /' conftest.$ac_ext >&5
78363 eval "$as_ac_var=no"
78365 rm -f conftest.err conftest.$ac_objext \
78366 conftest$ac_exeext conftest.$ac_ext
78368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78370 if test `eval echo '${'$as_ac_var'}'` = yes; then
78371 cat >>confdefs.h <<_ACEOF
78372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78373 _ACEOF
78376 done
78386 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
78387 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
78388 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
78389 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
78390 echo $ECHO_N "(cached) $ECHO_C" >&6
78391 else
78395 ac_ext=cc
78396 ac_cpp='$CXXCPP $CPPFLAGS'
78397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78401 cat >conftest.$ac_ext <<_ACEOF
78402 /* confdefs.h. */
78403 _ACEOF
78404 cat confdefs.h >>conftest.$ac_ext
78405 cat >>conftest.$ac_ext <<_ACEOF
78406 /* end confdefs.h. */
78407 #include <math.h>
78408 #ifdef HAVE_IEEEFP_H
78409 #include <ieeefp.h>
78410 #endif
78413 main ()
78415 fpclass(0);
78417 return 0;
78419 _ACEOF
78420 rm -f conftest.$ac_objext
78421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78422 (eval $ac_compile) 2>conftest.er1
78423 ac_status=$?
78424 grep -v '^ *+' conftest.er1 >conftest.err
78425 rm -f conftest.er1
78426 cat conftest.err >&5
78427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78428 (exit $ac_status); } &&
78429 { ac_try='test -z "$ac_cxx_werror_flag"
78430 || test ! -s conftest.err'
78431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78432 (eval $ac_try) 2>&5
78433 ac_status=$?
78434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78435 (exit $ac_status); }; } &&
78436 { ac_try='test -s conftest.$ac_objext'
78437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78438 (eval $ac_try) 2>&5
78439 ac_status=$?
78440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78441 (exit $ac_status); }; }; then
78442 glibcxx_cv_func_fpclass_use=yes
78443 else
78444 echo "$as_me: failed program was:" >&5
78445 sed 's/^/| /' conftest.$ac_ext >&5
78447 glibcxx_cv_func_fpclass_use=no
78449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78450 ac_ext=c
78451 ac_cpp='$CPP $CPPFLAGS'
78452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
78461 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
78463 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
78465 for ac_func in fpclass
78467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78468 echo "$as_me:$LINENO: checking for $ac_func" >&5
78469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78470 if eval "test \"\${$as_ac_var+set}\" = set"; then
78471 echo $ECHO_N "(cached) $ECHO_C" >&6
78472 else
78473 if test x$gcc_no_link = xyes; then
78474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78476 { (exit 1); exit 1; }; }
78478 cat >conftest.$ac_ext <<_ACEOF
78479 /* confdefs.h. */
78480 _ACEOF
78481 cat confdefs.h >>conftest.$ac_ext
78482 cat >>conftest.$ac_ext <<_ACEOF
78483 /* end confdefs.h. */
78484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78486 #define $ac_func innocuous_$ac_func
78488 /* System header to define __stub macros and hopefully few prototypes,
78489 which can conflict with char $ac_func (); below.
78490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78491 <limits.h> exists even on freestanding compilers. */
78493 #ifdef __STDC__
78494 # include <limits.h>
78495 #else
78496 # include <assert.h>
78497 #endif
78499 #undef $ac_func
78501 /* Override any gcc2 internal prototype to avoid an error. */
78502 #ifdef __cplusplus
78503 extern "C"
78505 #endif
78506 /* We use char because int might match the return type of a gcc2
78507 builtin and then its argument prototype would still apply. */
78508 char $ac_func ();
78509 /* The GNU C library defines this for functions which it implements
78510 to always fail with ENOSYS. Some functions are actually named
78511 something starting with __ and the normal name is an alias. */
78512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78513 choke me
78514 #else
78515 char (*f) () = $ac_func;
78516 #endif
78517 #ifdef __cplusplus
78519 #endif
78522 main ()
78524 return f != $ac_func;
78526 return 0;
78528 _ACEOF
78529 rm -f conftest.$ac_objext conftest$ac_exeext
78530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78531 (eval $ac_link) 2>conftest.er1
78532 ac_status=$?
78533 grep -v '^ *+' conftest.er1 >conftest.err
78534 rm -f conftest.er1
78535 cat conftest.err >&5
78536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78537 (exit $ac_status); } &&
78538 { ac_try='test -z "$ac_c_werror_flag"
78539 || test ! -s conftest.err'
78540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78541 (eval $ac_try) 2>&5
78542 ac_status=$?
78543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78544 (exit $ac_status); }; } &&
78545 { ac_try='test -s conftest$ac_exeext'
78546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78547 (eval $ac_try) 2>&5
78548 ac_status=$?
78549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78550 (exit $ac_status); }; }; then
78551 eval "$as_ac_var=yes"
78552 else
78553 echo "$as_me: failed program was:" >&5
78554 sed 's/^/| /' conftest.$ac_ext >&5
78556 eval "$as_ac_var=no"
78558 rm -f conftest.err conftest.$ac_objext \
78559 conftest$ac_exeext conftest.$ac_ext
78561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78563 if test `eval echo '${'$as_ac_var'}'` = yes; then
78564 cat >>confdefs.h <<_ACEOF
78565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78566 _ACEOF
78569 done
78571 else
78573 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
78574 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
78575 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
78576 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
78577 echo $ECHO_N "(cached) $ECHO_C" >&6
78578 else
78582 ac_ext=cc
78583 ac_cpp='$CXXCPP $CPPFLAGS'
78584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78588 cat >conftest.$ac_ext <<_ACEOF
78589 /* confdefs.h. */
78590 _ACEOF
78591 cat confdefs.h >>conftest.$ac_ext
78592 cat >>conftest.$ac_ext <<_ACEOF
78593 /* end confdefs.h. */
78594 #include <math.h>
78595 #ifdef HAVE_IEEEFP_H
78596 #include <ieeefp.h>
78597 #endif
78600 main ()
78602 _fpclass(0);
78604 return 0;
78606 _ACEOF
78607 rm -f conftest.$ac_objext
78608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78609 (eval $ac_compile) 2>conftest.er1
78610 ac_status=$?
78611 grep -v '^ *+' conftest.er1 >conftest.err
78612 rm -f conftest.er1
78613 cat conftest.err >&5
78614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78615 (exit $ac_status); } &&
78616 { ac_try='test -z "$ac_cxx_werror_flag"
78617 || test ! -s conftest.err'
78618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78619 (eval $ac_try) 2>&5
78620 ac_status=$?
78621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78622 (exit $ac_status); }; } &&
78623 { ac_try='test -s conftest.$ac_objext'
78624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78625 (eval $ac_try) 2>&5
78626 ac_status=$?
78627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78628 (exit $ac_status); }; }; then
78629 glibcxx_cv_func__fpclass_use=yes
78630 else
78631 echo "$as_me: failed program was:" >&5
78632 sed 's/^/| /' conftest.$ac_ext >&5
78634 glibcxx_cv_func__fpclass_use=no
78636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78637 ac_ext=c
78638 ac_cpp='$CPP $CPPFLAGS'
78639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78647 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
78648 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
78650 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
78652 for ac_func in _fpclass
78654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78655 echo "$as_me:$LINENO: checking for $ac_func" >&5
78656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78657 if eval "test \"\${$as_ac_var+set}\" = set"; then
78658 echo $ECHO_N "(cached) $ECHO_C" >&6
78659 else
78660 if test x$gcc_no_link = xyes; then
78661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78663 { (exit 1); exit 1; }; }
78665 cat >conftest.$ac_ext <<_ACEOF
78666 /* confdefs.h. */
78667 _ACEOF
78668 cat confdefs.h >>conftest.$ac_ext
78669 cat >>conftest.$ac_ext <<_ACEOF
78670 /* end confdefs.h. */
78671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78673 #define $ac_func innocuous_$ac_func
78675 /* System header to define __stub macros and hopefully few prototypes,
78676 which can conflict with char $ac_func (); below.
78677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78678 <limits.h> exists even on freestanding compilers. */
78680 #ifdef __STDC__
78681 # include <limits.h>
78682 #else
78683 # include <assert.h>
78684 #endif
78686 #undef $ac_func
78688 /* Override any gcc2 internal prototype to avoid an error. */
78689 #ifdef __cplusplus
78690 extern "C"
78692 #endif
78693 /* We use char because int might match the return type of a gcc2
78694 builtin and then its argument prototype would still apply. */
78695 char $ac_func ();
78696 /* The GNU C library defines this for functions which it implements
78697 to always fail with ENOSYS. Some functions are actually named
78698 something starting with __ and the normal name is an alias. */
78699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78700 choke me
78701 #else
78702 char (*f) () = $ac_func;
78703 #endif
78704 #ifdef __cplusplus
78706 #endif
78709 main ()
78711 return f != $ac_func;
78713 return 0;
78715 _ACEOF
78716 rm -f conftest.$ac_objext conftest$ac_exeext
78717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78718 (eval $ac_link) 2>conftest.er1
78719 ac_status=$?
78720 grep -v '^ *+' conftest.er1 >conftest.err
78721 rm -f conftest.er1
78722 cat conftest.err >&5
78723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78724 (exit $ac_status); } &&
78725 { ac_try='test -z "$ac_c_werror_flag"
78726 || test ! -s conftest.err'
78727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78728 (eval $ac_try) 2>&5
78729 ac_status=$?
78730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78731 (exit $ac_status); }; } &&
78732 { ac_try='test -s conftest$ac_exeext'
78733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78734 (eval $ac_try) 2>&5
78735 ac_status=$?
78736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78737 (exit $ac_status); }; }; then
78738 eval "$as_ac_var=yes"
78739 else
78740 echo "$as_me: failed program was:" >&5
78741 sed 's/^/| /' conftest.$ac_ext >&5
78743 eval "$as_ac_var=no"
78745 rm -f conftest.err conftest.$ac_objext \
78746 conftest$ac_exeext conftest.$ac_ext
78748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78750 if test `eval echo '${'$as_ac_var'}'` = yes; then
78751 cat >>confdefs.h <<_ACEOF
78752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78753 _ACEOF
78756 done
78766 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
78767 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
78768 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
78769 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
78770 echo $ECHO_N "(cached) $ECHO_C" >&6
78771 else
78775 ac_ext=cc
78776 ac_cpp='$CXXCPP $CPPFLAGS'
78777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78781 cat >conftest.$ac_ext <<_ACEOF
78782 /* confdefs.h. */
78783 _ACEOF
78784 cat confdefs.h >>conftest.$ac_ext
78785 cat >>conftest.$ac_ext <<_ACEOF
78786 /* end confdefs.h. */
78787 #include <math.h>
78788 #ifdef HAVE_IEEEFP_H
78789 #include <ieeefp.h>
78790 #endif
78793 main ()
78795 qfpclass(0);
78797 return 0;
78799 _ACEOF
78800 rm -f conftest.$ac_objext
78801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78802 (eval $ac_compile) 2>conftest.er1
78803 ac_status=$?
78804 grep -v '^ *+' conftest.er1 >conftest.err
78805 rm -f conftest.er1
78806 cat conftest.err >&5
78807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78808 (exit $ac_status); } &&
78809 { ac_try='test -z "$ac_cxx_werror_flag"
78810 || test ! -s conftest.err'
78811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78812 (eval $ac_try) 2>&5
78813 ac_status=$?
78814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78815 (exit $ac_status); }; } &&
78816 { ac_try='test -s conftest.$ac_objext'
78817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78818 (eval $ac_try) 2>&5
78819 ac_status=$?
78820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78821 (exit $ac_status); }; }; then
78822 glibcxx_cv_func_qfpclass_use=yes
78823 else
78824 echo "$as_me: failed program was:" >&5
78825 sed 's/^/| /' conftest.$ac_ext >&5
78827 glibcxx_cv_func_qfpclass_use=no
78829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78830 ac_ext=c
78831 ac_cpp='$CPP $CPPFLAGS'
78832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78840 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
78841 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
78843 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
78845 for ac_func in qfpclass
78847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78848 echo "$as_me:$LINENO: checking for $ac_func" >&5
78849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78850 if eval "test \"\${$as_ac_var+set}\" = set"; then
78851 echo $ECHO_N "(cached) $ECHO_C" >&6
78852 else
78853 if test x$gcc_no_link = xyes; then
78854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78856 { (exit 1); exit 1; }; }
78858 cat >conftest.$ac_ext <<_ACEOF
78859 /* confdefs.h. */
78860 _ACEOF
78861 cat confdefs.h >>conftest.$ac_ext
78862 cat >>conftest.$ac_ext <<_ACEOF
78863 /* end confdefs.h. */
78864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78866 #define $ac_func innocuous_$ac_func
78868 /* System header to define __stub macros and hopefully few prototypes,
78869 which can conflict with char $ac_func (); below.
78870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78871 <limits.h> exists even on freestanding compilers. */
78873 #ifdef __STDC__
78874 # include <limits.h>
78875 #else
78876 # include <assert.h>
78877 #endif
78879 #undef $ac_func
78881 /* Override any gcc2 internal prototype to avoid an error. */
78882 #ifdef __cplusplus
78883 extern "C"
78885 #endif
78886 /* We use char because int might match the return type of a gcc2
78887 builtin and then its argument prototype would still apply. */
78888 char $ac_func ();
78889 /* The GNU C library defines this for functions which it implements
78890 to always fail with ENOSYS. Some functions are actually named
78891 something starting with __ and the normal name is an alias. */
78892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78893 choke me
78894 #else
78895 char (*f) () = $ac_func;
78896 #endif
78897 #ifdef __cplusplus
78899 #endif
78902 main ()
78904 return f != $ac_func;
78906 return 0;
78908 _ACEOF
78909 rm -f conftest.$ac_objext conftest$ac_exeext
78910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78911 (eval $ac_link) 2>conftest.er1
78912 ac_status=$?
78913 grep -v '^ *+' conftest.er1 >conftest.err
78914 rm -f conftest.er1
78915 cat conftest.err >&5
78916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78917 (exit $ac_status); } &&
78918 { ac_try='test -z "$ac_c_werror_flag"
78919 || test ! -s conftest.err'
78920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78921 (eval $ac_try) 2>&5
78922 ac_status=$?
78923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78924 (exit $ac_status); }; } &&
78925 { ac_try='test -s conftest$ac_exeext'
78926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78927 (eval $ac_try) 2>&5
78928 ac_status=$?
78929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78930 (exit $ac_status); }; }; then
78931 eval "$as_ac_var=yes"
78932 else
78933 echo "$as_me: failed program was:" >&5
78934 sed 's/^/| /' conftest.$ac_ext >&5
78936 eval "$as_ac_var=no"
78938 rm -f conftest.err conftest.$ac_objext \
78939 conftest$ac_exeext conftest.$ac_ext
78941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78943 if test `eval echo '${'$as_ac_var'}'` = yes; then
78944 cat >>confdefs.h <<_ACEOF
78945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78946 _ACEOF
78949 done
78951 else
78953 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
78954 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
78955 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
78956 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
78957 echo $ECHO_N "(cached) $ECHO_C" >&6
78958 else
78962 ac_ext=cc
78963 ac_cpp='$CXXCPP $CPPFLAGS'
78964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78968 cat >conftest.$ac_ext <<_ACEOF
78969 /* confdefs.h. */
78970 _ACEOF
78971 cat confdefs.h >>conftest.$ac_ext
78972 cat >>conftest.$ac_ext <<_ACEOF
78973 /* end confdefs.h. */
78974 #include <math.h>
78975 #ifdef HAVE_IEEEFP_H
78976 #include <ieeefp.h>
78977 #endif
78980 main ()
78982 _qfpclass(0);
78984 return 0;
78986 _ACEOF
78987 rm -f conftest.$ac_objext
78988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78989 (eval $ac_compile) 2>conftest.er1
78990 ac_status=$?
78991 grep -v '^ *+' conftest.er1 >conftest.err
78992 rm -f conftest.er1
78993 cat conftest.err >&5
78994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78995 (exit $ac_status); } &&
78996 { ac_try='test -z "$ac_cxx_werror_flag"
78997 || test ! -s conftest.err'
78998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78999 (eval $ac_try) 2>&5
79000 ac_status=$?
79001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79002 (exit $ac_status); }; } &&
79003 { ac_try='test -s conftest.$ac_objext'
79004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79005 (eval $ac_try) 2>&5
79006 ac_status=$?
79007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79008 (exit $ac_status); }; }; then
79009 glibcxx_cv_func__qfpclass_use=yes
79010 else
79011 echo "$as_me: failed program was:" >&5
79012 sed 's/^/| /' conftest.$ac_ext >&5
79014 glibcxx_cv_func__qfpclass_use=no
79016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79017 ac_ext=c
79018 ac_cpp='$CPP $CPPFLAGS'
79019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
79028 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
79030 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
79032 for ac_func in _qfpclass
79034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79035 echo "$as_me:$LINENO: checking for $ac_func" >&5
79036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79037 if eval "test \"\${$as_ac_var+set}\" = set"; then
79038 echo $ECHO_N "(cached) $ECHO_C" >&6
79039 else
79040 if test x$gcc_no_link = xyes; then
79041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79043 { (exit 1); exit 1; }; }
79045 cat >conftest.$ac_ext <<_ACEOF
79046 /* confdefs.h. */
79047 _ACEOF
79048 cat confdefs.h >>conftest.$ac_ext
79049 cat >>conftest.$ac_ext <<_ACEOF
79050 /* end confdefs.h. */
79051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79053 #define $ac_func innocuous_$ac_func
79055 /* System header to define __stub macros and hopefully few prototypes,
79056 which can conflict with char $ac_func (); below.
79057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79058 <limits.h> exists even on freestanding compilers. */
79060 #ifdef __STDC__
79061 # include <limits.h>
79062 #else
79063 # include <assert.h>
79064 #endif
79066 #undef $ac_func
79068 /* Override any gcc2 internal prototype to avoid an error. */
79069 #ifdef __cplusplus
79070 extern "C"
79072 #endif
79073 /* We use char because int might match the return type of a gcc2
79074 builtin and then its argument prototype would still apply. */
79075 char $ac_func ();
79076 /* The GNU C library defines this for functions which it implements
79077 to always fail with ENOSYS. Some functions are actually named
79078 something starting with __ and the normal name is an alias. */
79079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79080 choke me
79081 #else
79082 char (*f) () = $ac_func;
79083 #endif
79084 #ifdef __cplusplus
79086 #endif
79089 main ()
79091 return f != $ac_func;
79093 return 0;
79095 _ACEOF
79096 rm -f conftest.$ac_objext conftest$ac_exeext
79097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79098 (eval $ac_link) 2>conftest.er1
79099 ac_status=$?
79100 grep -v '^ *+' conftest.er1 >conftest.err
79101 rm -f conftest.er1
79102 cat conftest.err >&5
79103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79104 (exit $ac_status); } &&
79105 { ac_try='test -z "$ac_c_werror_flag"
79106 || test ! -s conftest.err'
79107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79108 (eval $ac_try) 2>&5
79109 ac_status=$?
79110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79111 (exit $ac_status); }; } &&
79112 { ac_try='test -s conftest$ac_exeext'
79113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79114 (eval $ac_try) 2>&5
79115 ac_status=$?
79116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79117 (exit $ac_status); }; }; then
79118 eval "$as_ac_var=yes"
79119 else
79120 echo "$as_me: failed program was:" >&5
79121 sed 's/^/| /' conftest.$ac_ext >&5
79123 eval "$as_ac_var=no"
79125 rm -f conftest.err conftest.$ac_objext \
79126 conftest$ac_exeext conftest.$ac_ext
79128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79130 if test `eval echo '${'$as_ac_var'}'` = yes; then
79131 cat >>confdefs.h <<_ACEOF
79132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79133 _ACEOF
79136 done
79146 echo "$as_me:$LINENO: checking for hypot declaration" >&5
79147 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
79148 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
79149 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
79150 echo $ECHO_N "(cached) $ECHO_C" >&6
79151 else
79155 ac_ext=cc
79156 ac_cpp='$CXXCPP $CPPFLAGS'
79157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79161 cat >conftest.$ac_ext <<_ACEOF
79162 /* confdefs.h. */
79163 _ACEOF
79164 cat confdefs.h >>conftest.$ac_ext
79165 cat >>conftest.$ac_ext <<_ACEOF
79166 /* end confdefs.h. */
79167 #include <math.h>
79169 main ()
79171 hypot(0, 0);
79173 return 0;
79175 _ACEOF
79176 rm -f conftest.$ac_objext
79177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79178 (eval $ac_compile) 2>conftest.er1
79179 ac_status=$?
79180 grep -v '^ *+' conftest.er1 >conftest.err
79181 rm -f conftest.er1
79182 cat conftest.err >&5
79183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79184 (exit $ac_status); } &&
79185 { ac_try='test -z "$ac_cxx_werror_flag"
79186 || test ! -s conftest.err'
79187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79188 (eval $ac_try) 2>&5
79189 ac_status=$?
79190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79191 (exit $ac_status); }; } &&
79192 { ac_try='test -s conftest.$ac_objext'
79193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79194 (eval $ac_try) 2>&5
79195 ac_status=$?
79196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79197 (exit $ac_status); }; }; then
79198 glibcxx_cv_func_hypot_use=yes
79199 else
79200 echo "$as_me: failed program was:" >&5
79201 sed 's/^/| /' conftest.$ac_ext >&5
79203 glibcxx_cv_func_hypot_use=no
79205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79206 ac_ext=c
79207 ac_cpp='$CPP $CPPFLAGS'
79208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
79217 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
79219 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
79221 for ac_func in hypot
79223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79224 echo "$as_me:$LINENO: checking for $ac_func" >&5
79225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79226 if eval "test \"\${$as_ac_var+set}\" = set"; then
79227 echo $ECHO_N "(cached) $ECHO_C" >&6
79228 else
79229 if test x$gcc_no_link = xyes; then
79230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79232 { (exit 1); exit 1; }; }
79234 cat >conftest.$ac_ext <<_ACEOF
79235 /* confdefs.h. */
79236 _ACEOF
79237 cat confdefs.h >>conftest.$ac_ext
79238 cat >>conftest.$ac_ext <<_ACEOF
79239 /* end confdefs.h. */
79240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79242 #define $ac_func innocuous_$ac_func
79244 /* System header to define __stub macros and hopefully few prototypes,
79245 which can conflict with char $ac_func (); below.
79246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79247 <limits.h> exists even on freestanding compilers. */
79249 #ifdef __STDC__
79250 # include <limits.h>
79251 #else
79252 # include <assert.h>
79253 #endif
79255 #undef $ac_func
79257 /* Override any gcc2 internal prototype to avoid an error. */
79258 #ifdef __cplusplus
79259 extern "C"
79261 #endif
79262 /* We use char because int might match the return type of a gcc2
79263 builtin and then its argument prototype would still apply. */
79264 char $ac_func ();
79265 /* The GNU C library defines this for functions which it implements
79266 to always fail with ENOSYS. Some functions are actually named
79267 something starting with __ and the normal name is an alias. */
79268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79269 choke me
79270 #else
79271 char (*f) () = $ac_func;
79272 #endif
79273 #ifdef __cplusplus
79275 #endif
79278 main ()
79280 return f != $ac_func;
79282 return 0;
79284 _ACEOF
79285 rm -f conftest.$ac_objext conftest$ac_exeext
79286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79287 (eval $ac_link) 2>conftest.er1
79288 ac_status=$?
79289 grep -v '^ *+' conftest.er1 >conftest.err
79290 rm -f conftest.er1
79291 cat conftest.err >&5
79292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79293 (exit $ac_status); } &&
79294 { ac_try='test -z "$ac_c_werror_flag"
79295 || test ! -s conftest.err'
79296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79297 (eval $ac_try) 2>&5
79298 ac_status=$?
79299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79300 (exit $ac_status); }; } &&
79301 { ac_try='test -s conftest$ac_exeext'
79302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79303 (eval $ac_try) 2>&5
79304 ac_status=$?
79305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79306 (exit $ac_status); }; }; then
79307 eval "$as_ac_var=yes"
79308 else
79309 echo "$as_me: failed program was:" >&5
79310 sed 's/^/| /' conftest.$ac_ext >&5
79312 eval "$as_ac_var=no"
79314 rm -f conftest.err conftest.$ac_objext \
79315 conftest$ac_exeext conftest.$ac_ext
79317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79319 if test `eval echo '${'$as_ac_var'}'` = yes; then
79320 cat >>confdefs.h <<_ACEOF
79321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79322 _ACEOF
79325 done
79327 else
79329 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
79330 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
79331 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
79332 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
79333 echo $ECHO_N "(cached) $ECHO_C" >&6
79334 else
79338 ac_ext=cc
79339 ac_cpp='$CXXCPP $CPPFLAGS'
79340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79344 cat >conftest.$ac_ext <<_ACEOF
79345 /* confdefs.h. */
79346 _ACEOF
79347 cat confdefs.h >>conftest.$ac_ext
79348 cat >>conftest.$ac_ext <<_ACEOF
79349 /* end confdefs.h. */
79350 #include <math.h>
79352 main ()
79354 _hypot(0, 0);
79356 return 0;
79358 _ACEOF
79359 rm -f conftest.$ac_objext
79360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79361 (eval $ac_compile) 2>conftest.er1
79362 ac_status=$?
79363 grep -v '^ *+' conftest.er1 >conftest.err
79364 rm -f conftest.er1
79365 cat conftest.err >&5
79366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79367 (exit $ac_status); } &&
79368 { ac_try='test -z "$ac_cxx_werror_flag"
79369 || test ! -s conftest.err'
79370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79371 (eval $ac_try) 2>&5
79372 ac_status=$?
79373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79374 (exit $ac_status); }; } &&
79375 { ac_try='test -s conftest.$ac_objext'
79376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79377 (eval $ac_try) 2>&5
79378 ac_status=$?
79379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79380 (exit $ac_status); }; }; then
79381 glibcxx_cv_func__hypot_use=yes
79382 else
79383 echo "$as_me: failed program was:" >&5
79384 sed 's/^/| /' conftest.$ac_ext >&5
79386 glibcxx_cv_func__hypot_use=no
79388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79389 ac_ext=c
79390 ac_cpp='$CPP $CPPFLAGS'
79391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79399 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
79400 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
79402 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
79404 for ac_func in _hypot
79406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79407 echo "$as_me:$LINENO: checking for $ac_func" >&5
79408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79409 if eval "test \"\${$as_ac_var+set}\" = set"; then
79410 echo $ECHO_N "(cached) $ECHO_C" >&6
79411 else
79412 if test x$gcc_no_link = xyes; then
79413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79415 { (exit 1); exit 1; }; }
79417 cat >conftest.$ac_ext <<_ACEOF
79418 /* confdefs.h. */
79419 _ACEOF
79420 cat confdefs.h >>conftest.$ac_ext
79421 cat >>conftest.$ac_ext <<_ACEOF
79422 /* end confdefs.h. */
79423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79425 #define $ac_func innocuous_$ac_func
79427 /* System header to define __stub macros and hopefully few prototypes,
79428 which can conflict with char $ac_func (); below.
79429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79430 <limits.h> exists even on freestanding compilers. */
79432 #ifdef __STDC__
79433 # include <limits.h>
79434 #else
79435 # include <assert.h>
79436 #endif
79438 #undef $ac_func
79440 /* Override any gcc2 internal prototype to avoid an error. */
79441 #ifdef __cplusplus
79442 extern "C"
79444 #endif
79445 /* We use char because int might match the return type of a gcc2
79446 builtin and then its argument prototype would still apply. */
79447 char $ac_func ();
79448 /* The GNU C library defines this for functions which it implements
79449 to always fail with ENOSYS. Some functions are actually named
79450 something starting with __ and the normal name is an alias. */
79451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79452 choke me
79453 #else
79454 char (*f) () = $ac_func;
79455 #endif
79456 #ifdef __cplusplus
79458 #endif
79461 main ()
79463 return f != $ac_func;
79465 return 0;
79467 _ACEOF
79468 rm -f conftest.$ac_objext conftest$ac_exeext
79469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79470 (eval $ac_link) 2>conftest.er1
79471 ac_status=$?
79472 grep -v '^ *+' conftest.er1 >conftest.err
79473 rm -f conftest.er1
79474 cat conftest.err >&5
79475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79476 (exit $ac_status); } &&
79477 { ac_try='test -z "$ac_c_werror_flag"
79478 || test ! -s conftest.err'
79479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79480 (eval $ac_try) 2>&5
79481 ac_status=$?
79482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79483 (exit $ac_status); }; } &&
79484 { ac_try='test -s conftest$ac_exeext'
79485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79486 (eval $ac_try) 2>&5
79487 ac_status=$?
79488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79489 (exit $ac_status); }; }; then
79490 eval "$as_ac_var=yes"
79491 else
79492 echo "$as_me: failed program was:" >&5
79493 sed 's/^/| /' conftest.$ac_ext >&5
79495 eval "$as_ac_var=no"
79497 rm -f conftest.err conftest.$ac_objext \
79498 conftest$ac_exeext conftest.$ac_ext
79500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79502 if test `eval echo '${'$as_ac_var'}'` = yes; then
79503 cat >>confdefs.h <<_ACEOF
79504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79505 _ACEOF
79508 done
79518 echo "$as_me:$LINENO: checking for float trig functions" >&5
79519 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
79520 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
79521 echo $ECHO_N "(cached) $ECHO_C" >&6
79522 else
79526 ac_ext=cc
79527 ac_cpp='$CXXCPP $CPPFLAGS'
79528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79532 cat >conftest.$ac_ext <<_ACEOF
79533 /* confdefs.h. */
79534 _ACEOF
79535 cat confdefs.h >>conftest.$ac_ext
79536 cat >>conftest.$ac_ext <<_ACEOF
79537 /* end confdefs.h. */
79538 #include <math.h>
79540 main ()
79542 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
79544 return 0;
79546 _ACEOF
79547 rm -f conftest.$ac_objext
79548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79549 (eval $ac_compile) 2>conftest.er1
79550 ac_status=$?
79551 grep -v '^ *+' conftest.er1 >conftest.err
79552 rm -f conftest.er1
79553 cat conftest.err >&5
79554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555 (exit $ac_status); } &&
79556 { ac_try='test -z "$ac_cxx_werror_flag"
79557 || test ! -s conftest.err'
79558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79559 (eval $ac_try) 2>&5
79560 ac_status=$?
79561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79562 (exit $ac_status); }; } &&
79563 { ac_try='test -s conftest.$ac_objext'
79564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79565 (eval $ac_try) 2>&5
79566 ac_status=$?
79567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79568 (exit $ac_status); }; }; then
79569 glibcxx_cv_func_float_trig_use=yes
79570 else
79571 echo "$as_me: failed program was:" >&5
79572 sed 's/^/| /' conftest.$ac_ext >&5
79574 glibcxx_cv_func_float_trig_use=no
79576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79577 ac_ext=c
79578 ac_cpp='$CPP $CPPFLAGS'
79579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79585 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
79586 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
79587 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
79597 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
79599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79600 echo "$as_me:$LINENO: checking for $ac_func" >&5
79601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79602 if eval "test \"\${$as_ac_var+set}\" = set"; then
79603 echo $ECHO_N "(cached) $ECHO_C" >&6
79604 else
79605 if test x$gcc_no_link = xyes; then
79606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79608 { (exit 1); exit 1; }; }
79610 cat >conftest.$ac_ext <<_ACEOF
79611 /* confdefs.h. */
79612 _ACEOF
79613 cat confdefs.h >>conftest.$ac_ext
79614 cat >>conftest.$ac_ext <<_ACEOF
79615 /* end confdefs.h. */
79616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79618 #define $ac_func innocuous_$ac_func
79620 /* System header to define __stub macros and hopefully few prototypes,
79621 which can conflict with char $ac_func (); below.
79622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79623 <limits.h> exists even on freestanding compilers. */
79625 #ifdef __STDC__
79626 # include <limits.h>
79627 #else
79628 # include <assert.h>
79629 #endif
79631 #undef $ac_func
79633 /* Override any gcc2 internal prototype to avoid an error. */
79634 #ifdef __cplusplus
79635 extern "C"
79637 #endif
79638 /* We use char because int might match the return type of a gcc2
79639 builtin and then its argument prototype would still apply. */
79640 char $ac_func ();
79641 /* The GNU C library defines this for functions which it implements
79642 to always fail with ENOSYS. Some functions are actually named
79643 something starting with __ and the normal name is an alias. */
79644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79645 choke me
79646 #else
79647 char (*f) () = $ac_func;
79648 #endif
79649 #ifdef __cplusplus
79651 #endif
79654 main ()
79656 return f != $ac_func;
79658 return 0;
79660 _ACEOF
79661 rm -f conftest.$ac_objext conftest$ac_exeext
79662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79663 (eval $ac_link) 2>conftest.er1
79664 ac_status=$?
79665 grep -v '^ *+' conftest.er1 >conftest.err
79666 rm -f conftest.er1
79667 cat conftest.err >&5
79668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79669 (exit $ac_status); } &&
79670 { ac_try='test -z "$ac_c_werror_flag"
79671 || test ! -s conftest.err'
79672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79673 (eval $ac_try) 2>&5
79674 ac_status=$?
79675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79676 (exit $ac_status); }; } &&
79677 { ac_try='test -s conftest$ac_exeext'
79678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79679 (eval $ac_try) 2>&5
79680 ac_status=$?
79681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79682 (exit $ac_status); }; }; then
79683 eval "$as_ac_var=yes"
79684 else
79685 echo "$as_me: failed program was:" >&5
79686 sed 's/^/| /' conftest.$ac_ext >&5
79688 eval "$as_ac_var=no"
79690 rm -f conftest.err conftest.$ac_objext \
79691 conftest$ac_exeext conftest.$ac_ext
79693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79695 if test `eval echo '${'$as_ac_var'}'` = yes; then
79696 cat >>confdefs.h <<_ACEOF
79697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79698 _ACEOF
79701 done
79703 else
79704 echo "$as_me:$LINENO: checking for _float trig functions" >&5
79705 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
79706 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
79707 echo $ECHO_N "(cached) $ECHO_C" >&6
79708 else
79712 ac_ext=cc
79713 ac_cpp='$CXXCPP $CPPFLAGS'
79714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79718 cat >conftest.$ac_ext <<_ACEOF
79719 /* confdefs.h. */
79720 _ACEOF
79721 cat confdefs.h >>conftest.$ac_ext
79722 cat >>conftest.$ac_ext <<_ACEOF
79723 /* end confdefs.h. */
79724 #include <math.h>
79726 main ()
79728 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
79730 return 0;
79732 _ACEOF
79733 rm -f conftest.$ac_objext
79734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79735 (eval $ac_compile) 2>conftest.er1
79736 ac_status=$?
79737 grep -v '^ *+' conftest.er1 >conftest.err
79738 rm -f conftest.er1
79739 cat conftest.err >&5
79740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79741 (exit $ac_status); } &&
79742 { ac_try='test -z "$ac_cxx_werror_flag"
79743 || test ! -s conftest.err'
79744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79745 (eval $ac_try) 2>&5
79746 ac_status=$?
79747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79748 (exit $ac_status); }; } &&
79749 { ac_try='test -s conftest.$ac_objext'
79750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79751 (eval $ac_try) 2>&5
79752 ac_status=$?
79753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79754 (exit $ac_status); }; }; then
79755 glibcxx_cv_func__float_trig_use=yes
79756 else
79757 echo "$as_me: failed program was:" >&5
79758 sed 's/^/| /' conftest.$ac_ext >&5
79760 glibcxx_cv_func__float_trig_use=no
79762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79763 ac_ext=c
79764 ac_cpp='$CPP $CPPFLAGS'
79765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79771 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
79772 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
79773 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
79783 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
79785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79786 echo "$as_me:$LINENO: checking for $ac_func" >&5
79787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79788 if eval "test \"\${$as_ac_var+set}\" = set"; then
79789 echo $ECHO_N "(cached) $ECHO_C" >&6
79790 else
79791 if test x$gcc_no_link = xyes; then
79792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79794 { (exit 1); exit 1; }; }
79796 cat >conftest.$ac_ext <<_ACEOF
79797 /* confdefs.h. */
79798 _ACEOF
79799 cat confdefs.h >>conftest.$ac_ext
79800 cat >>conftest.$ac_ext <<_ACEOF
79801 /* end confdefs.h. */
79802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79804 #define $ac_func innocuous_$ac_func
79806 /* System header to define __stub macros and hopefully few prototypes,
79807 which can conflict with char $ac_func (); below.
79808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79809 <limits.h> exists even on freestanding compilers. */
79811 #ifdef __STDC__
79812 # include <limits.h>
79813 #else
79814 # include <assert.h>
79815 #endif
79817 #undef $ac_func
79819 /* Override any gcc2 internal prototype to avoid an error. */
79820 #ifdef __cplusplus
79821 extern "C"
79823 #endif
79824 /* We use char because int might match the return type of a gcc2
79825 builtin and then its argument prototype would still apply. */
79826 char $ac_func ();
79827 /* The GNU C library defines this for functions which it implements
79828 to always fail with ENOSYS. Some functions are actually named
79829 something starting with __ and the normal name is an alias. */
79830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79831 choke me
79832 #else
79833 char (*f) () = $ac_func;
79834 #endif
79835 #ifdef __cplusplus
79837 #endif
79840 main ()
79842 return f != $ac_func;
79844 return 0;
79846 _ACEOF
79847 rm -f conftest.$ac_objext conftest$ac_exeext
79848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79849 (eval $ac_link) 2>conftest.er1
79850 ac_status=$?
79851 grep -v '^ *+' conftest.er1 >conftest.err
79852 rm -f conftest.er1
79853 cat conftest.err >&5
79854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855 (exit $ac_status); } &&
79856 { ac_try='test -z "$ac_c_werror_flag"
79857 || test ! -s conftest.err'
79858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79859 (eval $ac_try) 2>&5
79860 ac_status=$?
79861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79862 (exit $ac_status); }; } &&
79863 { ac_try='test -s conftest$ac_exeext'
79864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79865 (eval $ac_try) 2>&5
79866 ac_status=$?
79867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79868 (exit $ac_status); }; }; then
79869 eval "$as_ac_var=yes"
79870 else
79871 echo "$as_me: failed program was:" >&5
79872 sed 's/^/| /' conftest.$ac_ext >&5
79874 eval "$as_ac_var=no"
79876 rm -f conftest.err conftest.$ac_objext \
79877 conftest$ac_exeext conftest.$ac_ext
79879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79881 if test `eval echo '${'$as_ac_var'}'` = yes; then
79882 cat >>confdefs.h <<_ACEOF
79883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79884 _ACEOF
79887 done
79905 echo "$as_me:$LINENO: checking for float round functions" >&5
79906 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
79907 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
79908 echo $ECHO_N "(cached) $ECHO_C" >&6
79909 else
79913 ac_ext=cc
79914 ac_cpp='$CXXCPP $CPPFLAGS'
79915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79919 cat >conftest.$ac_ext <<_ACEOF
79920 /* confdefs.h. */
79921 _ACEOF
79922 cat confdefs.h >>conftest.$ac_ext
79923 cat >>conftest.$ac_ext <<_ACEOF
79924 /* end confdefs.h. */
79925 #include <math.h>
79927 main ()
79929 ceilf (0); floorf (0);
79931 return 0;
79933 _ACEOF
79934 rm -f conftest.$ac_objext
79935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79936 (eval $ac_compile) 2>conftest.er1
79937 ac_status=$?
79938 grep -v '^ *+' conftest.er1 >conftest.err
79939 rm -f conftest.er1
79940 cat conftest.err >&5
79941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79942 (exit $ac_status); } &&
79943 { ac_try='test -z "$ac_cxx_werror_flag"
79944 || test ! -s conftest.err'
79945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79946 (eval $ac_try) 2>&5
79947 ac_status=$?
79948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79949 (exit $ac_status); }; } &&
79950 { ac_try='test -s conftest.$ac_objext'
79951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79952 (eval $ac_try) 2>&5
79953 ac_status=$?
79954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79955 (exit $ac_status); }; }; then
79956 glibcxx_cv_func_float_round_use=yes
79957 else
79958 echo "$as_me: failed program was:" >&5
79959 sed 's/^/| /' conftest.$ac_ext >&5
79961 glibcxx_cv_func_float_round_use=no
79963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79964 ac_ext=c
79965 ac_cpp='$CPP $CPPFLAGS'
79966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
79973 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
79974 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
79977 for ac_func in ceilf floorf
79979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79980 echo "$as_me:$LINENO: checking for $ac_func" >&5
79981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79982 if eval "test \"\${$as_ac_var+set}\" = set"; then
79983 echo $ECHO_N "(cached) $ECHO_C" >&6
79984 else
79985 if test x$gcc_no_link = xyes; then
79986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79988 { (exit 1); exit 1; }; }
79990 cat >conftest.$ac_ext <<_ACEOF
79991 /* confdefs.h. */
79992 _ACEOF
79993 cat confdefs.h >>conftest.$ac_ext
79994 cat >>conftest.$ac_ext <<_ACEOF
79995 /* end confdefs.h. */
79996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79998 #define $ac_func innocuous_$ac_func
80000 /* System header to define __stub macros and hopefully few prototypes,
80001 which can conflict with char $ac_func (); below.
80002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80003 <limits.h> exists even on freestanding compilers. */
80005 #ifdef __STDC__
80006 # include <limits.h>
80007 #else
80008 # include <assert.h>
80009 #endif
80011 #undef $ac_func
80013 /* Override any gcc2 internal prototype to avoid an error. */
80014 #ifdef __cplusplus
80015 extern "C"
80017 #endif
80018 /* We use char because int might match the return type of a gcc2
80019 builtin and then its argument prototype would still apply. */
80020 char $ac_func ();
80021 /* The GNU C library defines this for functions which it implements
80022 to always fail with ENOSYS. Some functions are actually named
80023 something starting with __ and the normal name is an alias. */
80024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80025 choke me
80026 #else
80027 char (*f) () = $ac_func;
80028 #endif
80029 #ifdef __cplusplus
80031 #endif
80034 main ()
80036 return f != $ac_func;
80038 return 0;
80040 _ACEOF
80041 rm -f conftest.$ac_objext conftest$ac_exeext
80042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80043 (eval $ac_link) 2>conftest.er1
80044 ac_status=$?
80045 grep -v '^ *+' conftest.er1 >conftest.err
80046 rm -f conftest.er1
80047 cat conftest.err >&5
80048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80049 (exit $ac_status); } &&
80050 { ac_try='test -z "$ac_c_werror_flag"
80051 || test ! -s conftest.err'
80052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80053 (eval $ac_try) 2>&5
80054 ac_status=$?
80055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80056 (exit $ac_status); }; } &&
80057 { ac_try='test -s conftest$ac_exeext'
80058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80059 (eval $ac_try) 2>&5
80060 ac_status=$?
80061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80062 (exit $ac_status); }; }; then
80063 eval "$as_ac_var=yes"
80064 else
80065 echo "$as_me: failed program was:" >&5
80066 sed 's/^/| /' conftest.$ac_ext >&5
80068 eval "$as_ac_var=no"
80070 rm -f conftest.err conftest.$ac_objext \
80071 conftest$ac_exeext conftest.$ac_ext
80073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80075 if test `eval echo '${'$as_ac_var'}'` = yes; then
80076 cat >>confdefs.h <<_ACEOF
80077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80078 _ACEOF
80081 done
80083 else
80084 echo "$as_me:$LINENO: checking for _float round functions" >&5
80085 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
80086 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
80087 echo $ECHO_N "(cached) $ECHO_C" >&6
80088 else
80092 ac_ext=cc
80093 ac_cpp='$CXXCPP $CPPFLAGS'
80094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80098 cat >conftest.$ac_ext <<_ACEOF
80099 /* confdefs.h. */
80100 _ACEOF
80101 cat confdefs.h >>conftest.$ac_ext
80102 cat >>conftest.$ac_ext <<_ACEOF
80103 /* end confdefs.h. */
80104 #include <math.h>
80106 main ()
80108 _ceilf (0); _floorf (0);
80110 return 0;
80112 _ACEOF
80113 rm -f conftest.$ac_objext
80114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80115 (eval $ac_compile) 2>conftest.er1
80116 ac_status=$?
80117 grep -v '^ *+' conftest.er1 >conftest.err
80118 rm -f conftest.er1
80119 cat conftest.err >&5
80120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80121 (exit $ac_status); } &&
80122 { ac_try='test -z "$ac_cxx_werror_flag"
80123 || test ! -s conftest.err'
80124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80125 (eval $ac_try) 2>&5
80126 ac_status=$?
80127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80128 (exit $ac_status); }; } &&
80129 { ac_try='test -s conftest.$ac_objext'
80130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80131 (eval $ac_try) 2>&5
80132 ac_status=$?
80133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80134 (exit $ac_status); }; }; then
80135 glibcxx_cv_func__float_round_use=yes
80136 else
80137 echo "$as_me: failed program was:" >&5
80138 sed 's/^/| /' conftest.$ac_ext >&5
80140 glibcxx_cv_func__float_round_use=no
80142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80143 ac_ext=c
80144 ac_cpp='$CPP $CPPFLAGS'
80145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80151 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
80152 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
80153 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
80156 for ac_func in _ceilf _floorf
80158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80159 echo "$as_me:$LINENO: checking for $ac_func" >&5
80160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80161 if eval "test \"\${$as_ac_var+set}\" = set"; then
80162 echo $ECHO_N "(cached) $ECHO_C" >&6
80163 else
80164 if test x$gcc_no_link = xyes; then
80165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80167 { (exit 1); exit 1; }; }
80169 cat >conftest.$ac_ext <<_ACEOF
80170 /* confdefs.h. */
80171 _ACEOF
80172 cat confdefs.h >>conftest.$ac_ext
80173 cat >>conftest.$ac_ext <<_ACEOF
80174 /* end confdefs.h. */
80175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80177 #define $ac_func innocuous_$ac_func
80179 /* System header to define __stub macros and hopefully few prototypes,
80180 which can conflict with char $ac_func (); below.
80181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80182 <limits.h> exists even on freestanding compilers. */
80184 #ifdef __STDC__
80185 # include <limits.h>
80186 #else
80187 # include <assert.h>
80188 #endif
80190 #undef $ac_func
80192 /* Override any gcc2 internal prototype to avoid an error. */
80193 #ifdef __cplusplus
80194 extern "C"
80196 #endif
80197 /* We use char because int might match the return type of a gcc2
80198 builtin and then its argument prototype would still apply. */
80199 char $ac_func ();
80200 /* The GNU C library defines this for functions which it implements
80201 to always fail with ENOSYS. Some functions are actually named
80202 something starting with __ and the normal name is an alias. */
80203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80204 choke me
80205 #else
80206 char (*f) () = $ac_func;
80207 #endif
80208 #ifdef __cplusplus
80210 #endif
80213 main ()
80215 return f != $ac_func;
80217 return 0;
80219 _ACEOF
80220 rm -f conftest.$ac_objext conftest$ac_exeext
80221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80222 (eval $ac_link) 2>conftest.er1
80223 ac_status=$?
80224 grep -v '^ *+' conftest.er1 >conftest.err
80225 rm -f conftest.er1
80226 cat conftest.err >&5
80227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80228 (exit $ac_status); } &&
80229 { ac_try='test -z "$ac_c_werror_flag"
80230 || test ! -s conftest.err'
80231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80232 (eval $ac_try) 2>&5
80233 ac_status=$?
80234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235 (exit $ac_status); }; } &&
80236 { ac_try='test -s conftest$ac_exeext'
80237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80238 (eval $ac_try) 2>&5
80239 ac_status=$?
80240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80241 (exit $ac_status); }; }; then
80242 eval "$as_ac_var=yes"
80243 else
80244 echo "$as_me: failed program was:" >&5
80245 sed 's/^/| /' conftest.$ac_ext >&5
80247 eval "$as_ac_var=no"
80249 rm -f conftest.err conftest.$ac_objext \
80250 conftest$ac_exeext conftest.$ac_ext
80252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80254 if test `eval echo '${'$as_ac_var'}'` = yes; then
80255 cat >>confdefs.h <<_ACEOF
80256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80257 _ACEOF
80260 done
80272 echo "$as_me:$LINENO: checking for expf declaration" >&5
80273 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
80274 if test x${glibcxx_cv_func_expf_use+set} != xset; then
80275 if test "${glibcxx_cv_func_expf_use+set}" = set; then
80276 echo $ECHO_N "(cached) $ECHO_C" >&6
80277 else
80281 ac_ext=cc
80282 ac_cpp='$CXXCPP $CPPFLAGS'
80283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80287 cat >conftest.$ac_ext <<_ACEOF
80288 /* confdefs.h. */
80289 _ACEOF
80290 cat confdefs.h >>conftest.$ac_ext
80291 cat >>conftest.$ac_ext <<_ACEOF
80292 /* end confdefs.h. */
80293 #include <math.h>
80294 #ifdef HAVE_IEEEFP_H
80295 #include <ieeefp.h>
80296 #endif
80299 main ()
80301 expf(0);
80303 return 0;
80305 _ACEOF
80306 rm -f conftest.$ac_objext
80307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80308 (eval $ac_compile) 2>conftest.er1
80309 ac_status=$?
80310 grep -v '^ *+' conftest.er1 >conftest.err
80311 rm -f conftest.er1
80312 cat conftest.err >&5
80313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80314 (exit $ac_status); } &&
80315 { ac_try='test -z "$ac_cxx_werror_flag"
80316 || test ! -s conftest.err'
80317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80318 (eval $ac_try) 2>&5
80319 ac_status=$?
80320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80321 (exit $ac_status); }; } &&
80322 { ac_try='test -s conftest.$ac_objext'
80323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80324 (eval $ac_try) 2>&5
80325 ac_status=$?
80326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80327 (exit $ac_status); }; }; then
80328 glibcxx_cv_func_expf_use=yes
80329 else
80330 echo "$as_me: failed program was:" >&5
80331 sed 's/^/| /' conftest.$ac_ext >&5
80333 glibcxx_cv_func_expf_use=no
80335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80336 ac_ext=c
80337 ac_cpp='$CPP $CPPFLAGS'
80338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
80347 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
80349 if test x$glibcxx_cv_func_expf_use = x"yes"; then
80351 for ac_func in expf
80353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80354 echo "$as_me:$LINENO: checking for $ac_func" >&5
80355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80356 if eval "test \"\${$as_ac_var+set}\" = set"; then
80357 echo $ECHO_N "(cached) $ECHO_C" >&6
80358 else
80359 if test x$gcc_no_link = xyes; then
80360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80362 { (exit 1); exit 1; }; }
80364 cat >conftest.$ac_ext <<_ACEOF
80365 /* confdefs.h. */
80366 _ACEOF
80367 cat confdefs.h >>conftest.$ac_ext
80368 cat >>conftest.$ac_ext <<_ACEOF
80369 /* end confdefs.h. */
80370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80372 #define $ac_func innocuous_$ac_func
80374 /* System header to define __stub macros and hopefully few prototypes,
80375 which can conflict with char $ac_func (); below.
80376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80377 <limits.h> exists even on freestanding compilers. */
80379 #ifdef __STDC__
80380 # include <limits.h>
80381 #else
80382 # include <assert.h>
80383 #endif
80385 #undef $ac_func
80387 /* Override any gcc2 internal prototype to avoid an error. */
80388 #ifdef __cplusplus
80389 extern "C"
80391 #endif
80392 /* We use char because int might match the return type of a gcc2
80393 builtin and then its argument prototype would still apply. */
80394 char $ac_func ();
80395 /* The GNU C library defines this for functions which it implements
80396 to always fail with ENOSYS. Some functions are actually named
80397 something starting with __ and the normal name is an alias. */
80398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80399 choke me
80400 #else
80401 char (*f) () = $ac_func;
80402 #endif
80403 #ifdef __cplusplus
80405 #endif
80408 main ()
80410 return f != $ac_func;
80412 return 0;
80414 _ACEOF
80415 rm -f conftest.$ac_objext conftest$ac_exeext
80416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80417 (eval $ac_link) 2>conftest.er1
80418 ac_status=$?
80419 grep -v '^ *+' conftest.er1 >conftest.err
80420 rm -f conftest.er1
80421 cat conftest.err >&5
80422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80423 (exit $ac_status); } &&
80424 { ac_try='test -z "$ac_c_werror_flag"
80425 || test ! -s conftest.err'
80426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80427 (eval $ac_try) 2>&5
80428 ac_status=$?
80429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80430 (exit $ac_status); }; } &&
80431 { ac_try='test -s conftest$ac_exeext'
80432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80433 (eval $ac_try) 2>&5
80434 ac_status=$?
80435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80436 (exit $ac_status); }; }; then
80437 eval "$as_ac_var=yes"
80438 else
80439 echo "$as_me: failed program was:" >&5
80440 sed 's/^/| /' conftest.$ac_ext >&5
80442 eval "$as_ac_var=no"
80444 rm -f conftest.err conftest.$ac_objext \
80445 conftest$ac_exeext conftest.$ac_ext
80447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80449 if test `eval echo '${'$as_ac_var'}'` = yes; then
80450 cat >>confdefs.h <<_ACEOF
80451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80452 _ACEOF
80455 done
80457 else
80459 echo "$as_me:$LINENO: checking for _expf declaration" >&5
80460 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
80461 if test x${glibcxx_cv_func__expf_use+set} != xset; then
80462 if test "${glibcxx_cv_func__expf_use+set}" = set; then
80463 echo $ECHO_N "(cached) $ECHO_C" >&6
80464 else
80468 ac_ext=cc
80469 ac_cpp='$CXXCPP $CPPFLAGS'
80470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80474 cat >conftest.$ac_ext <<_ACEOF
80475 /* confdefs.h. */
80476 _ACEOF
80477 cat confdefs.h >>conftest.$ac_ext
80478 cat >>conftest.$ac_ext <<_ACEOF
80479 /* end confdefs.h. */
80480 #include <math.h>
80481 #ifdef HAVE_IEEEFP_H
80482 #include <ieeefp.h>
80483 #endif
80486 main ()
80488 _expf(0);
80490 return 0;
80492 _ACEOF
80493 rm -f conftest.$ac_objext
80494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80495 (eval $ac_compile) 2>conftest.er1
80496 ac_status=$?
80497 grep -v '^ *+' conftest.er1 >conftest.err
80498 rm -f conftest.er1
80499 cat conftest.err >&5
80500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80501 (exit $ac_status); } &&
80502 { ac_try='test -z "$ac_cxx_werror_flag"
80503 || test ! -s conftest.err'
80504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80505 (eval $ac_try) 2>&5
80506 ac_status=$?
80507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80508 (exit $ac_status); }; } &&
80509 { ac_try='test -s conftest.$ac_objext'
80510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80511 (eval $ac_try) 2>&5
80512 ac_status=$?
80513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80514 (exit $ac_status); }; }; then
80515 glibcxx_cv_func__expf_use=yes
80516 else
80517 echo "$as_me: failed program was:" >&5
80518 sed 's/^/| /' conftest.$ac_ext >&5
80520 glibcxx_cv_func__expf_use=no
80522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80523 ac_ext=c
80524 ac_cpp='$CPP $CPPFLAGS'
80525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
80534 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
80536 if test x$glibcxx_cv_func__expf_use = x"yes"; then
80538 for ac_func in _expf
80540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80541 echo "$as_me:$LINENO: checking for $ac_func" >&5
80542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80543 if eval "test \"\${$as_ac_var+set}\" = set"; then
80544 echo $ECHO_N "(cached) $ECHO_C" >&6
80545 else
80546 if test x$gcc_no_link = xyes; then
80547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80549 { (exit 1); exit 1; }; }
80551 cat >conftest.$ac_ext <<_ACEOF
80552 /* confdefs.h. */
80553 _ACEOF
80554 cat confdefs.h >>conftest.$ac_ext
80555 cat >>conftest.$ac_ext <<_ACEOF
80556 /* end confdefs.h. */
80557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80559 #define $ac_func innocuous_$ac_func
80561 /* System header to define __stub macros and hopefully few prototypes,
80562 which can conflict with char $ac_func (); below.
80563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80564 <limits.h> exists even on freestanding compilers. */
80566 #ifdef __STDC__
80567 # include <limits.h>
80568 #else
80569 # include <assert.h>
80570 #endif
80572 #undef $ac_func
80574 /* Override any gcc2 internal prototype to avoid an error. */
80575 #ifdef __cplusplus
80576 extern "C"
80578 #endif
80579 /* We use char because int might match the return type of a gcc2
80580 builtin and then its argument prototype would still apply. */
80581 char $ac_func ();
80582 /* The GNU C library defines this for functions which it implements
80583 to always fail with ENOSYS. Some functions are actually named
80584 something starting with __ and the normal name is an alias. */
80585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80586 choke me
80587 #else
80588 char (*f) () = $ac_func;
80589 #endif
80590 #ifdef __cplusplus
80592 #endif
80595 main ()
80597 return f != $ac_func;
80599 return 0;
80601 _ACEOF
80602 rm -f conftest.$ac_objext conftest$ac_exeext
80603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80604 (eval $ac_link) 2>conftest.er1
80605 ac_status=$?
80606 grep -v '^ *+' conftest.er1 >conftest.err
80607 rm -f conftest.er1
80608 cat conftest.err >&5
80609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80610 (exit $ac_status); } &&
80611 { ac_try='test -z "$ac_c_werror_flag"
80612 || test ! -s conftest.err'
80613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80614 (eval $ac_try) 2>&5
80615 ac_status=$?
80616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80617 (exit $ac_status); }; } &&
80618 { ac_try='test -s conftest$ac_exeext'
80619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80620 (eval $ac_try) 2>&5
80621 ac_status=$?
80622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80623 (exit $ac_status); }; }; then
80624 eval "$as_ac_var=yes"
80625 else
80626 echo "$as_me: failed program was:" >&5
80627 sed 's/^/| /' conftest.$ac_ext >&5
80629 eval "$as_ac_var=no"
80631 rm -f conftest.err conftest.$ac_objext \
80632 conftest$ac_exeext conftest.$ac_ext
80634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80636 if test `eval echo '${'$as_ac_var'}'` = yes; then
80637 cat >>confdefs.h <<_ACEOF
80638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80639 _ACEOF
80642 done
80652 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
80653 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
80654 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
80655 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
80656 echo $ECHO_N "(cached) $ECHO_C" >&6
80657 else
80661 ac_ext=cc
80662 ac_cpp='$CXXCPP $CPPFLAGS'
80663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80667 cat >conftest.$ac_ext <<_ACEOF
80668 /* confdefs.h. */
80669 _ACEOF
80670 cat confdefs.h >>conftest.$ac_ext
80671 cat >>conftest.$ac_ext <<_ACEOF
80672 /* end confdefs.h. */
80673 #include <math.h>
80674 #ifdef HAVE_IEEEFP_H
80675 #include <ieeefp.h>
80676 #endif
80679 main ()
80681 isnanf(0);
80683 return 0;
80685 _ACEOF
80686 rm -f conftest.$ac_objext
80687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80688 (eval $ac_compile) 2>conftest.er1
80689 ac_status=$?
80690 grep -v '^ *+' conftest.er1 >conftest.err
80691 rm -f conftest.er1
80692 cat conftest.err >&5
80693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80694 (exit $ac_status); } &&
80695 { ac_try='test -z "$ac_cxx_werror_flag"
80696 || test ! -s conftest.err'
80697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80698 (eval $ac_try) 2>&5
80699 ac_status=$?
80700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80701 (exit $ac_status); }; } &&
80702 { ac_try='test -s conftest.$ac_objext'
80703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80704 (eval $ac_try) 2>&5
80705 ac_status=$?
80706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80707 (exit $ac_status); }; }; then
80708 glibcxx_cv_func_isnanf_use=yes
80709 else
80710 echo "$as_me: failed program was:" >&5
80711 sed 's/^/| /' conftest.$ac_ext >&5
80713 glibcxx_cv_func_isnanf_use=no
80715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80716 ac_ext=c
80717 ac_cpp='$CPP $CPPFLAGS'
80718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
80727 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
80729 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
80731 for ac_func in isnanf
80733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80734 echo "$as_me:$LINENO: checking for $ac_func" >&5
80735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80736 if eval "test \"\${$as_ac_var+set}\" = set"; then
80737 echo $ECHO_N "(cached) $ECHO_C" >&6
80738 else
80739 if test x$gcc_no_link = xyes; then
80740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80742 { (exit 1); exit 1; }; }
80744 cat >conftest.$ac_ext <<_ACEOF
80745 /* confdefs.h. */
80746 _ACEOF
80747 cat confdefs.h >>conftest.$ac_ext
80748 cat >>conftest.$ac_ext <<_ACEOF
80749 /* end confdefs.h. */
80750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80752 #define $ac_func innocuous_$ac_func
80754 /* System header to define __stub macros and hopefully few prototypes,
80755 which can conflict with char $ac_func (); below.
80756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80757 <limits.h> exists even on freestanding compilers. */
80759 #ifdef __STDC__
80760 # include <limits.h>
80761 #else
80762 # include <assert.h>
80763 #endif
80765 #undef $ac_func
80767 /* Override any gcc2 internal prototype to avoid an error. */
80768 #ifdef __cplusplus
80769 extern "C"
80771 #endif
80772 /* We use char because int might match the return type of a gcc2
80773 builtin and then its argument prototype would still apply. */
80774 char $ac_func ();
80775 /* The GNU C library defines this for functions which it implements
80776 to always fail with ENOSYS. Some functions are actually named
80777 something starting with __ and the normal name is an alias. */
80778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80779 choke me
80780 #else
80781 char (*f) () = $ac_func;
80782 #endif
80783 #ifdef __cplusplus
80785 #endif
80788 main ()
80790 return f != $ac_func;
80792 return 0;
80794 _ACEOF
80795 rm -f conftest.$ac_objext conftest$ac_exeext
80796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80797 (eval $ac_link) 2>conftest.er1
80798 ac_status=$?
80799 grep -v '^ *+' conftest.er1 >conftest.err
80800 rm -f conftest.er1
80801 cat conftest.err >&5
80802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80803 (exit $ac_status); } &&
80804 { ac_try='test -z "$ac_c_werror_flag"
80805 || test ! -s conftest.err'
80806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80807 (eval $ac_try) 2>&5
80808 ac_status=$?
80809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80810 (exit $ac_status); }; } &&
80811 { ac_try='test -s conftest$ac_exeext'
80812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80813 (eval $ac_try) 2>&5
80814 ac_status=$?
80815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80816 (exit $ac_status); }; }; then
80817 eval "$as_ac_var=yes"
80818 else
80819 echo "$as_me: failed program was:" >&5
80820 sed 's/^/| /' conftest.$ac_ext >&5
80822 eval "$as_ac_var=no"
80824 rm -f conftest.err conftest.$ac_objext \
80825 conftest$ac_exeext conftest.$ac_ext
80827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80829 if test `eval echo '${'$as_ac_var'}'` = yes; then
80830 cat >>confdefs.h <<_ACEOF
80831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80832 _ACEOF
80835 done
80837 else
80839 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
80840 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
80841 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
80842 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
80843 echo $ECHO_N "(cached) $ECHO_C" >&6
80844 else
80848 ac_ext=cc
80849 ac_cpp='$CXXCPP $CPPFLAGS'
80850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80854 cat >conftest.$ac_ext <<_ACEOF
80855 /* confdefs.h. */
80856 _ACEOF
80857 cat confdefs.h >>conftest.$ac_ext
80858 cat >>conftest.$ac_ext <<_ACEOF
80859 /* end confdefs.h. */
80860 #include <math.h>
80861 #ifdef HAVE_IEEEFP_H
80862 #include <ieeefp.h>
80863 #endif
80866 main ()
80868 _isnanf(0);
80870 return 0;
80872 _ACEOF
80873 rm -f conftest.$ac_objext
80874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80875 (eval $ac_compile) 2>conftest.er1
80876 ac_status=$?
80877 grep -v '^ *+' conftest.er1 >conftest.err
80878 rm -f conftest.er1
80879 cat conftest.err >&5
80880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80881 (exit $ac_status); } &&
80882 { ac_try='test -z "$ac_cxx_werror_flag"
80883 || test ! -s conftest.err'
80884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80885 (eval $ac_try) 2>&5
80886 ac_status=$?
80887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80888 (exit $ac_status); }; } &&
80889 { ac_try='test -s conftest.$ac_objext'
80890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80891 (eval $ac_try) 2>&5
80892 ac_status=$?
80893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80894 (exit $ac_status); }; }; then
80895 glibcxx_cv_func__isnanf_use=yes
80896 else
80897 echo "$as_me: failed program was:" >&5
80898 sed 's/^/| /' conftest.$ac_ext >&5
80900 glibcxx_cv_func__isnanf_use=no
80902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80903 ac_ext=c
80904 ac_cpp='$CPP $CPPFLAGS'
80905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
80914 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
80916 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
80918 for ac_func in _isnanf
80920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80921 echo "$as_me:$LINENO: checking for $ac_func" >&5
80922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80923 if eval "test \"\${$as_ac_var+set}\" = set"; then
80924 echo $ECHO_N "(cached) $ECHO_C" >&6
80925 else
80926 if test x$gcc_no_link = xyes; then
80927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80929 { (exit 1); exit 1; }; }
80931 cat >conftest.$ac_ext <<_ACEOF
80932 /* confdefs.h. */
80933 _ACEOF
80934 cat confdefs.h >>conftest.$ac_ext
80935 cat >>conftest.$ac_ext <<_ACEOF
80936 /* end confdefs.h. */
80937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80939 #define $ac_func innocuous_$ac_func
80941 /* System header to define __stub macros and hopefully few prototypes,
80942 which can conflict with char $ac_func (); below.
80943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80944 <limits.h> exists even on freestanding compilers. */
80946 #ifdef __STDC__
80947 # include <limits.h>
80948 #else
80949 # include <assert.h>
80950 #endif
80952 #undef $ac_func
80954 /* Override any gcc2 internal prototype to avoid an error. */
80955 #ifdef __cplusplus
80956 extern "C"
80958 #endif
80959 /* We use char because int might match the return type of a gcc2
80960 builtin and then its argument prototype would still apply. */
80961 char $ac_func ();
80962 /* The GNU C library defines this for functions which it implements
80963 to always fail with ENOSYS. Some functions are actually named
80964 something starting with __ and the normal name is an alias. */
80965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80966 choke me
80967 #else
80968 char (*f) () = $ac_func;
80969 #endif
80970 #ifdef __cplusplus
80972 #endif
80975 main ()
80977 return f != $ac_func;
80979 return 0;
80981 _ACEOF
80982 rm -f conftest.$ac_objext conftest$ac_exeext
80983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80984 (eval $ac_link) 2>conftest.er1
80985 ac_status=$?
80986 grep -v '^ *+' conftest.er1 >conftest.err
80987 rm -f conftest.er1
80988 cat conftest.err >&5
80989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80990 (exit $ac_status); } &&
80991 { ac_try='test -z "$ac_c_werror_flag"
80992 || test ! -s conftest.err'
80993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80994 (eval $ac_try) 2>&5
80995 ac_status=$?
80996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80997 (exit $ac_status); }; } &&
80998 { ac_try='test -s conftest$ac_exeext'
80999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81000 (eval $ac_try) 2>&5
81001 ac_status=$?
81002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81003 (exit $ac_status); }; }; then
81004 eval "$as_ac_var=yes"
81005 else
81006 echo "$as_me: failed program was:" >&5
81007 sed 's/^/| /' conftest.$ac_ext >&5
81009 eval "$as_ac_var=no"
81011 rm -f conftest.err conftest.$ac_objext \
81012 conftest$ac_exeext conftest.$ac_ext
81014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81016 if test `eval echo '${'$as_ac_var'}'` = yes; then
81017 cat >>confdefs.h <<_ACEOF
81018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81019 _ACEOF
81022 done
81032 echo "$as_me:$LINENO: checking for isinff declaration" >&5
81033 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
81034 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
81035 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
81036 echo $ECHO_N "(cached) $ECHO_C" >&6
81037 else
81041 ac_ext=cc
81042 ac_cpp='$CXXCPP $CPPFLAGS'
81043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81047 cat >conftest.$ac_ext <<_ACEOF
81048 /* confdefs.h. */
81049 _ACEOF
81050 cat confdefs.h >>conftest.$ac_ext
81051 cat >>conftest.$ac_ext <<_ACEOF
81052 /* end confdefs.h. */
81053 #include <math.h>
81054 #ifdef HAVE_IEEEFP_H
81055 #include <ieeefp.h>
81056 #endif
81059 main ()
81061 isinff(0);
81063 return 0;
81065 _ACEOF
81066 rm -f conftest.$ac_objext
81067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81068 (eval $ac_compile) 2>conftest.er1
81069 ac_status=$?
81070 grep -v '^ *+' conftest.er1 >conftest.err
81071 rm -f conftest.er1
81072 cat conftest.err >&5
81073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81074 (exit $ac_status); } &&
81075 { ac_try='test -z "$ac_cxx_werror_flag"
81076 || test ! -s conftest.err'
81077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81078 (eval $ac_try) 2>&5
81079 ac_status=$?
81080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081 (exit $ac_status); }; } &&
81082 { ac_try='test -s conftest.$ac_objext'
81083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81084 (eval $ac_try) 2>&5
81085 ac_status=$?
81086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81087 (exit $ac_status); }; }; then
81088 glibcxx_cv_func_isinff_use=yes
81089 else
81090 echo "$as_me: failed program was:" >&5
81091 sed 's/^/| /' conftest.$ac_ext >&5
81093 glibcxx_cv_func_isinff_use=no
81095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81096 ac_ext=c
81097 ac_cpp='$CPP $CPPFLAGS'
81098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81106 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
81107 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
81109 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
81111 for ac_func in isinff
81113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81114 echo "$as_me:$LINENO: checking for $ac_func" >&5
81115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81116 if eval "test \"\${$as_ac_var+set}\" = set"; then
81117 echo $ECHO_N "(cached) $ECHO_C" >&6
81118 else
81119 if test x$gcc_no_link = xyes; then
81120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81122 { (exit 1); exit 1; }; }
81124 cat >conftest.$ac_ext <<_ACEOF
81125 /* confdefs.h. */
81126 _ACEOF
81127 cat confdefs.h >>conftest.$ac_ext
81128 cat >>conftest.$ac_ext <<_ACEOF
81129 /* end confdefs.h. */
81130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81132 #define $ac_func innocuous_$ac_func
81134 /* System header to define __stub macros and hopefully few prototypes,
81135 which can conflict with char $ac_func (); below.
81136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81137 <limits.h> exists even on freestanding compilers. */
81139 #ifdef __STDC__
81140 # include <limits.h>
81141 #else
81142 # include <assert.h>
81143 #endif
81145 #undef $ac_func
81147 /* Override any gcc2 internal prototype to avoid an error. */
81148 #ifdef __cplusplus
81149 extern "C"
81151 #endif
81152 /* We use char because int might match the return type of a gcc2
81153 builtin and then its argument prototype would still apply. */
81154 char $ac_func ();
81155 /* The GNU C library defines this for functions which it implements
81156 to always fail with ENOSYS. Some functions are actually named
81157 something starting with __ and the normal name is an alias. */
81158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81159 choke me
81160 #else
81161 char (*f) () = $ac_func;
81162 #endif
81163 #ifdef __cplusplus
81165 #endif
81168 main ()
81170 return f != $ac_func;
81172 return 0;
81174 _ACEOF
81175 rm -f conftest.$ac_objext conftest$ac_exeext
81176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81177 (eval $ac_link) 2>conftest.er1
81178 ac_status=$?
81179 grep -v '^ *+' conftest.er1 >conftest.err
81180 rm -f conftest.er1
81181 cat conftest.err >&5
81182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81183 (exit $ac_status); } &&
81184 { ac_try='test -z "$ac_c_werror_flag"
81185 || test ! -s conftest.err'
81186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81187 (eval $ac_try) 2>&5
81188 ac_status=$?
81189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190 (exit $ac_status); }; } &&
81191 { ac_try='test -s conftest$ac_exeext'
81192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81193 (eval $ac_try) 2>&5
81194 ac_status=$?
81195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81196 (exit $ac_status); }; }; then
81197 eval "$as_ac_var=yes"
81198 else
81199 echo "$as_me: failed program was:" >&5
81200 sed 's/^/| /' conftest.$ac_ext >&5
81202 eval "$as_ac_var=no"
81204 rm -f conftest.err conftest.$ac_objext \
81205 conftest$ac_exeext conftest.$ac_ext
81207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81209 if test `eval echo '${'$as_ac_var'}'` = yes; then
81210 cat >>confdefs.h <<_ACEOF
81211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81212 _ACEOF
81215 done
81217 else
81219 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
81220 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
81221 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
81222 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
81223 echo $ECHO_N "(cached) $ECHO_C" >&6
81224 else
81228 ac_ext=cc
81229 ac_cpp='$CXXCPP $CPPFLAGS'
81230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81234 cat >conftest.$ac_ext <<_ACEOF
81235 /* confdefs.h. */
81236 _ACEOF
81237 cat confdefs.h >>conftest.$ac_ext
81238 cat >>conftest.$ac_ext <<_ACEOF
81239 /* end confdefs.h. */
81240 #include <math.h>
81241 #ifdef HAVE_IEEEFP_H
81242 #include <ieeefp.h>
81243 #endif
81246 main ()
81248 _isinff(0);
81250 return 0;
81252 _ACEOF
81253 rm -f conftest.$ac_objext
81254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81255 (eval $ac_compile) 2>conftest.er1
81256 ac_status=$?
81257 grep -v '^ *+' conftest.er1 >conftest.err
81258 rm -f conftest.er1
81259 cat conftest.err >&5
81260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81261 (exit $ac_status); } &&
81262 { ac_try='test -z "$ac_cxx_werror_flag"
81263 || test ! -s conftest.err'
81264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81265 (eval $ac_try) 2>&5
81266 ac_status=$?
81267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81268 (exit $ac_status); }; } &&
81269 { ac_try='test -s conftest.$ac_objext'
81270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81271 (eval $ac_try) 2>&5
81272 ac_status=$?
81273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81274 (exit $ac_status); }; }; then
81275 glibcxx_cv_func__isinff_use=yes
81276 else
81277 echo "$as_me: failed program was:" >&5
81278 sed 's/^/| /' conftest.$ac_ext >&5
81280 glibcxx_cv_func__isinff_use=no
81282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81283 ac_ext=c
81284 ac_cpp='$CPP $CPPFLAGS'
81285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
81294 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
81296 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
81298 for ac_func in _isinff
81300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81301 echo "$as_me:$LINENO: checking for $ac_func" >&5
81302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81303 if eval "test \"\${$as_ac_var+set}\" = set"; then
81304 echo $ECHO_N "(cached) $ECHO_C" >&6
81305 else
81306 if test x$gcc_no_link = xyes; then
81307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81309 { (exit 1); exit 1; }; }
81311 cat >conftest.$ac_ext <<_ACEOF
81312 /* confdefs.h. */
81313 _ACEOF
81314 cat confdefs.h >>conftest.$ac_ext
81315 cat >>conftest.$ac_ext <<_ACEOF
81316 /* end confdefs.h. */
81317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81319 #define $ac_func innocuous_$ac_func
81321 /* System header to define __stub macros and hopefully few prototypes,
81322 which can conflict with char $ac_func (); below.
81323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81324 <limits.h> exists even on freestanding compilers. */
81326 #ifdef __STDC__
81327 # include <limits.h>
81328 #else
81329 # include <assert.h>
81330 #endif
81332 #undef $ac_func
81334 /* Override any gcc2 internal prototype to avoid an error. */
81335 #ifdef __cplusplus
81336 extern "C"
81338 #endif
81339 /* We use char because int might match the return type of a gcc2
81340 builtin and then its argument prototype would still apply. */
81341 char $ac_func ();
81342 /* The GNU C library defines this for functions which it implements
81343 to always fail with ENOSYS. Some functions are actually named
81344 something starting with __ and the normal name is an alias. */
81345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81346 choke me
81347 #else
81348 char (*f) () = $ac_func;
81349 #endif
81350 #ifdef __cplusplus
81352 #endif
81355 main ()
81357 return f != $ac_func;
81359 return 0;
81361 _ACEOF
81362 rm -f conftest.$ac_objext conftest$ac_exeext
81363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81364 (eval $ac_link) 2>conftest.er1
81365 ac_status=$?
81366 grep -v '^ *+' conftest.er1 >conftest.err
81367 rm -f conftest.er1
81368 cat conftest.err >&5
81369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81370 (exit $ac_status); } &&
81371 { ac_try='test -z "$ac_c_werror_flag"
81372 || test ! -s conftest.err'
81373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81374 (eval $ac_try) 2>&5
81375 ac_status=$?
81376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81377 (exit $ac_status); }; } &&
81378 { ac_try='test -s conftest$ac_exeext'
81379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81380 (eval $ac_try) 2>&5
81381 ac_status=$?
81382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81383 (exit $ac_status); }; }; then
81384 eval "$as_ac_var=yes"
81385 else
81386 echo "$as_me: failed program was:" >&5
81387 sed 's/^/| /' conftest.$ac_ext >&5
81389 eval "$as_ac_var=no"
81391 rm -f conftest.err conftest.$ac_objext \
81392 conftest$ac_exeext conftest.$ac_ext
81394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81396 if test `eval echo '${'$as_ac_var'}'` = yes; then
81397 cat >>confdefs.h <<_ACEOF
81398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81399 _ACEOF
81402 done
81412 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
81413 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
81414 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
81415 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
81416 echo $ECHO_N "(cached) $ECHO_C" >&6
81417 else
81421 ac_ext=cc
81422 ac_cpp='$CXXCPP $CPPFLAGS'
81423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81427 cat >conftest.$ac_ext <<_ACEOF
81428 /* confdefs.h. */
81429 _ACEOF
81430 cat confdefs.h >>conftest.$ac_ext
81431 cat >>conftest.$ac_ext <<_ACEOF
81432 /* end confdefs.h. */
81433 #include <math.h>
81435 main ()
81437 atan2f(0, 0);
81439 return 0;
81441 _ACEOF
81442 rm -f conftest.$ac_objext
81443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81444 (eval $ac_compile) 2>conftest.er1
81445 ac_status=$?
81446 grep -v '^ *+' conftest.er1 >conftest.err
81447 rm -f conftest.er1
81448 cat conftest.err >&5
81449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81450 (exit $ac_status); } &&
81451 { ac_try='test -z "$ac_cxx_werror_flag"
81452 || test ! -s conftest.err'
81453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81454 (eval $ac_try) 2>&5
81455 ac_status=$?
81456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81457 (exit $ac_status); }; } &&
81458 { ac_try='test -s conftest.$ac_objext'
81459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81460 (eval $ac_try) 2>&5
81461 ac_status=$?
81462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81463 (exit $ac_status); }; }; then
81464 glibcxx_cv_func_atan2f_use=yes
81465 else
81466 echo "$as_me: failed program was:" >&5
81467 sed 's/^/| /' conftest.$ac_ext >&5
81469 glibcxx_cv_func_atan2f_use=no
81471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81472 ac_ext=c
81473 ac_cpp='$CPP $CPPFLAGS'
81474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
81483 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
81485 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
81487 for ac_func in atan2f
81489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81490 echo "$as_me:$LINENO: checking for $ac_func" >&5
81491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81492 if eval "test \"\${$as_ac_var+set}\" = set"; then
81493 echo $ECHO_N "(cached) $ECHO_C" >&6
81494 else
81495 if test x$gcc_no_link = xyes; then
81496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81498 { (exit 1); exit 1; }; }
81500 cat >conftest.$ac_ext <<_ACEOF
81501 /* confdefs.h. */
81502 _ACEOF
81503 cat confdefs.h >>conftest.$ac_ext
81504 cat >>conftest.$ac_ext <<_ACEOF
81505 /* end confdefs.h. */
81506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81508 #define $ac_func innocuous_$ac_func
81510 /* System header to define __stub macros and hopefully few prototypes,
81511 which can conflict with char $ac_func (); below.
81512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81513 <limits.h> exists even on freestanding compilers. */
81515 #ifdef __STDC__
81516 # include <limits.h>
81517 #else
81518 # include <assert.h>
81519 #endif
81521 #undef $ac_func
81523 /* Override any gcc2 internal prototype to avoid an error. */
81524 #ifdef __cplusplus
81525 extern "C"
81527 #endif
81528 /* We use char because int might match the return type of a gcc2
81529 builtin and then its argument prototype would still apply. */
81530 char $ac_func ();
81531 /* The GNU C library defines this for functions which it implements
81532 to always fail with ENOSYS. Some functions are actually named
81533 something starting with __ and the normal name is an alias. */
81534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81535 choke me
81536 #else
81537 char (*f) () = $ac_func;
81538 #endif
81539 #ifdef __cplusplus
81541 #endif
81544 main ()
81546 return f != $ac_func;
81548 return 0;
81550 _ACEOF
81551 rm -f conftest.$ac_objext conftest$ac_exeext
81552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81553 (eval $ac_link) 2>conftest.er1
81554 ac_status=$?
81555 grep -v '^ *+' conftest.er1 >conftest.err
81556 rm -f conftest.er1
81557 cat conftest.err >&5
81558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81559 (exit $ac_status); } &&
81560 { ac_try='test -z "$ac_c_werror_flag"
81561 || test ! -s conftest.err'
81562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81563 (eval $ac_try) 2>&5
81564 ac_status=$?
81565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81566 (exit $ac_status); }; } &&
81567 { ac_try='test -s conftest$ac_exeext'
81568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81569 (eval $ac_try) 2>&5
81570 ac_status=$?
81571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81572 (exit $ac_status); }; }; then
81573 eval "$as_ac_var=yes"
81574 else
81575 echo "$as_me: failed program was:" >&5
81576 sed 's/^/| /' conftest.$ac_ext >&5
81578 eval "$as_ac_var=no"
81580 rm -f conftest.err conftest.$ac_objext \
81581 conftest$ac_exeext conftest.$ac_ext
81583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81585 if test `eval echo '${'$as_ac_var'}'` = yes; then
81586 cat >>confdefs.h <<_ACEOF
81587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81588 _ACEOF
81591 done
81593 else
81595 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
81596 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
81597 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
81598 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
81599 echo $ECHO_N "(cached) $ECHO_C" >&6
81600 else
81604 ac_ext=cc
81605 ac_cpp='$CXXCPP $CPPFLAGS'
81606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81610 cat >conftest.$ac_ext <<_ACEOF
81611 /* confdefs.h. */
81612 _ACEOF
81613 cat confdefs.h >>conftest.$ac_ext
81614 cat >>conftest.$ac_ext <<_ACEOF
81615 /* end confdefs.h. */
81616 #include <math.h>
81618 main ()
81620 _atan2f(0, 0);
81622 return 0;
81624 _ACEOF
81625 rm -f conftest.$ac_objext
81626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81627 (eval $ac_compile) 2>conftest.er1
81628 ac_status=$?
81629 grep -v '^ *+' conftest.er1 >conftest.err
81630 rm -f conftest.er1
81631 cat conftest.err >&5
81632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81633 (exit $ac_status); } &&
81634 { ac_try='test -z "$ac_cxx_werror_flag"
81635 || test ! -s conftest.err'
81636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81637 (eval $ac_try) 2>&5
81638 ac_status=$?
81639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81640 (exit $ac_status); }; } &&
81641 { ac_try='test -s conftest.$ac_objext'
81642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81643 (eval $ac_try) 2>&5
81644 ac_status=$?
81645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81646 (exit $ac_status); }; }; then
81647 glibcxx_cv_func__atan2f_use=yes
81648 else
81649 echo "$as_me: failed program was:" >&5
81650 sed 's/^/| /' conftest.$ac_ext >&5
81652 glibcxx_cv_func__atan2f_use=no
81654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81655 ac_ext=c
81656 ac_cpp='$CPP $CPPFLAGS'
81657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81665 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
81666 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
81668 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
81670 for ac_func in _atan2f
81672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81673 echo "$as_me:$LINENO: checking for $ac_func" >&5
81674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81675 if eval "test \"\${$as_ac_var+set}\" = set"; then
81676 echo $ECHO_N "(cached) $ECHO_C" >&6
81677 else
81678 if test x$gcc_no_link = xyes; then
81679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81681 { (exit 1); exit 1; }; }
81683 cat >conftest.$ac_ext <<_ACEOF
81684 /* confdefs.h. */
81685 _ACEOF
81686 cat confdefs.h >>conftest.$ac_ext
81687 cat >>conftest.$ac_ext <<_ACEOF
81688 /* end confdefs.h. */
81689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81691 #define $ac_func innocuous_$ac_func
81693 /* System header to define __stub macros and hopefully few prototypes,
81694 which can conflict with char $ac_func (); below.
81695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81696 <limits.h> exists even on freestanding compilers. */
81698 #ifdef __STDC__
81699 # include <limits.h>
81700 #else
81701 # include <assert.h>
81702 #endif
81704 #undef $ac_func
81706 /* Override any gcc2 internal prototype to avoid an error. */
81707 #ifdef __cplusplus
81708 extern "C"
81710 #endif
81711 /* We use char because int might match the return type of a gcc2
81712 builtin and then its argument prototype would still apply. */
81713 char $ac_func ();
81714 /* The GNU C library defines this for functions which it implements
81715 to always fail with ENOSYS. Some functions are actually named
81716 something starting with __ and the normal name is an alias. */
81717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81718 choke me
81719 #else
81720 char (*f) () = $ac_func;
81721 #endif
81722 #ifdef __cplusplus
81724 #endif
81727 main ()
81729 return f != $ac_func;
81731 return 0;
81733 _ACEOF
81734 rm -f conftest.$ac_objext conftest$ac_exeext
81735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81736 (eval $ac_link) 2>conftest.er1
81737 ac_status=$?
81738 grep -v '^ *+' conftest.er1 >conftest.err
81739 rm -f conftest.er1
81740 cat conftest.err >&5
81741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81742 (exit $ac_status); } &&
81743 { ac_try='test -z "$ac_c_werror_flag"
81744 || test ! -s conftest.err'
81745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81746 (eval $ac_try) 2>&5
81747 ac_status=$?
81748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81749 (exit $ac_status); }; } &&
81750 { ac_try='test -s conftest$ac_exeext'
81751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81752 (eval $ac_try) 2>&5
81753 ac_status=$?
81754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81755 (exit $ac_status); }; }; then
81756 eval "$as_ac_var=yes"
81757 else
81758 echo "$as_me: failed program was:" >&5
81759 sed 's/^/| /' conftest.$ac_ext >&5
81761 eval "$as_ac_var=no"
81763 rm -f conftest.err conftest.$ac_objext \
81764 conftest$ac_exeext conftest.$ac_ext
81766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81768 if test `eval echo '${'$as_ac_var'}'` = yes; then
81769 cat >>confdefs.h <<_ACEOF
81770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81771 _ACEOF
81774 done
81784 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
81785 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
81786 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
81787 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
81788 echo $ECHO_N "(cached) $ECHO_C" >&6
81789 else
81793 ac_ext=cc
81794 ac_cpp='$CXXCPP $CPPFLAGS'
81795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81799 cat >conftest.$ac_ext <<_ACEOF
81800 /* confdefs.h. */
81801 _ACEOF
81802 cat confdefs.h >>conftest.$ac_ext
81803 cat >>conftest.$ac_ext <<_ACEOF
81804 /* end confdefs.h. */
81805 #include <math.h>
81806 #ifdef HAVE_IEEEFP_H
81807 #include <ieeefp.h>
81808 #endif
81811 main ()
81813 fabsf(0);
81815 return 0;
81817 _ACEOF
81818 rm -f conftest.$ac_objext
81819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81820 (eval $ac_compile) 2>conftest.er1
81821 ac_status=$?
81822 grep -v '^ *+' conftest.er1 >conftest.err
81823 rm -f conftest.er1
81824 cat conftest.err >&5
81825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81826 (exit $ac_status); } &&
81827 { ac_try='test -z "$ac_cxx_werror_flag"
81828 || test ! -s conftest.err'
81829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81830 (eval $ac_try) 2>&5
81831 ac_status=$?
81832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81833 (exit $ac_status); }; } &&
81834 { ac_try='test -s conftest.$ac_objext'
81835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81836 (eval $ac_try) 2>&5
81837 ac_status=$?
81838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81839 (exit $ac_status); }; }; then
81840 glibcxx_cv_func_fabsf_use=yes
81841 else
81842 echo "$as_me: failed program was:" >&5
81843 sed 's/^/| /' conftest.$ac_ext >&5
81845 glibcxx_cv_func_fabsf_use=no
81847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81848 ac_ext=c
81849 ac_cpp='$CPP $CPPFLAGS'
81850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
81859 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
81861 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
81863 for ac_func in fabsf
81865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81866 echo "$as_me:$LINENO: checking for $ac_func" >&5
81867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81868 if eval "test \"\${$as_ac_var+set}\" = set"; then
81869 echo $ECHO_N "(cached) $ECHO_C" >&6
81870 else
81871 if test x$gcc_no_link = xyes; then
81872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81874 { (exit 1); exit 1; }; }
81876 cat >conftest.$ac_ext <<_ACEOF
81877 /* confdefs.h. */
81878 _ACEOF
81879 cat confdefs.h >>conftest.$ac_ext
81880 cat >>conftest.$ac_ext <<_ACEOF
81881 /* end confdefs.h. */
81882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81884 #define $ac_func innocuous_$ac_func
81886 /* System header to define __stub macros and hopefully few prototypes,
81887 which can conflict with char $ac_func (); below.
81888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81889 <limits.h> exists even on freestanding compilers. */
81891 #ifdef __STDC__
81892 # include <limits.h>
81893 #else
81894 # include <assert.h>
81895 #endif
81897 #undef $ac_func
81899 /* Override any gcc2 internal prototype to avoid an error. */
81900 #ifdef __cplusplus
81901 extern "C"
81903 #endif
81904 /* We use char because int might match the return type of a gcc2
81905 builtin and then its argument prototype would still apply. */
81906 char $ac_func ();
81907 /* The GNU C library defines this for functions which it implements
81908 to always fail with ENOSYS. Some functions are actually named
81909 something starting with __ and the normal name is an alias. */
81910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81911 choke me
81912 #else
81913 char (*f) () = $ac_func;
81914 #endif
81915 #ifdef __cplusplus
81917 #endif
81920 main ()
81922 return f != $ac_func;
81924 return 0;
81926 _ACEOF
81927 rm -f conftest.$ac_objext conftest$ac_exeext
81928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81929 (eval $ac_link) 2>conftest.er1
81930 ac_status=$?
81931 grep -v '^ *+' conftest.er1 >conftest.err
81932 rm -f conftest.er1
81933 cat conftest.err >&5
81934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81935 (exit $ac_status); } &&
81936 { ac_try='test -z "$ac_c_werror_flag"
81937 || test ! -s conftest.err'
81938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81939 (eval $ac_try) 2>&5
81940 ac_status=$?
81941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81942 (exit $ac_status); }; } &&
81943 { ac_try='test -s conftest$ac_exeext'
81944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81945 (eval $ac_try) 2>&5
81946 ac_status=$?
81947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81948 (exit $ac_status); }; }; then
81949 eval "$as_ac_var=yes"
81950 else
81951 echo "$as_me: failed program was:" >&5
81952 sed 's/^/| /' conftest.$ac_ext >&5
81954 eval "$as_ac_var=no"
81956 rm -f conftest.err conftest.$ac_objext \
81957 conftest$ac_exeext conftest.$ac_ext
81959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81961 if test `eval echo '${'$as_ac_var'}'` = yes; then
81962 cat >>confdefs.h <<_ACEOF
81963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81964 _ACEOF
81967 done
81969 else
81971 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
81972 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
81973 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
81974 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
81975 echo $ECHO_N "(cached) $ECHO_C" >&6
81976 else
81980 ac_ext=cc
81981 ac_cpp='$CXXCPP $CPPFLAGS'
81982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81986 cat >conftest.$ac_ext <<_ACEOF
81987 /* confdefs.h. */
81988 _ACEOF
81989 cat confdefs.h >>conftest.$ac_ext
81990 cat >>conftest.$ac_ext <<_ACEOF
81991 /* end confdefs.h. */
81992 #include <math.h>
81993 #ifdef HAVE_IEEEFP_H
81994 #include <ieeefp.h>
81995 #endif
81998 main ()
82000 _fabsf(0);
82002 return 0;
82004 _ACEOF
82005 rm -f conftest.$ac_objext
82006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82007 (eval $ac_compile) 2>conftest.er1
82008 ac_status=$?
82009 grep -v '^ *+' conftest.er1 >conftest.err
82010 rm -f conftest.er1
82011 cat conftest.err >&5
82012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82013 (exit $ac_status); } &&
82014 { ac_try='test -z "$ac_cxx_werror_flag"
82015 || test ! -s conftest.err'
82016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82017 (eval $ac_try) 2>&5
82018 ac_status=$?
82019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82020 (exit $ac_status); }; } &&
82021 { ac_try='test -s conftest.$ac_objext'
82022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82023 (eval $ac_try) 2>&5
82024 ac_status=$?
82025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82026 (exit $ac_status); }; }; then
82027 glibcxx_cv_func__fabsf_use=yes
82028 else
82029 echo "$as_me: failed program was:" >&5
82030 sed 's/^/| /' conftest.$ac_ext >&5
82032 glibcxx_cv_func__fabsf_use=no
82034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82035 ac_ext=c
82036 ac_cpp='$CPP $CPPFLAGS'
82037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82045 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
82046 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
82048 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
82050 for ac_func in _fabsf
82052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82053 echo "$as_me:$LINENO: checking for $ac_func" >&5
82054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82055 if eval "test \"\${$as_ac_var+set}\" = set"; then
82056 echo $ECHO_N "(cached) $ECHO_C" >&6
82057 else
82058 if test x$gcc_no_link = xyes; then
82059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82061 { (exit 1); exit 1; }; }
82063 cat >conftest.$ac_ext <<_ACEOF
82064 /* confdefs.h. */
82065 _ACEOF
82066 cat confdefs.h >>conftest.$ac_ext
82067 cat >>conftest.$ac_ext <<_ACEOF
82068 /* end confdefs.h. */
82069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82071 #define $ac_func innocuous_$ac_func
82073 /* System header to define __stub macros and hopefully few prototypes,
82074 which can conflict with char $ac_func (); below.
82075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82076 <limits.h> exists even on freestanding compilers. */
82078 #ifdef __STDC__
82079 # include <limits.h>
82080 #else
82081 # include <assert.h>
82082 #endif
82084 #undef $ac_func
82086 /* Override any gcc2 internal prototype to avoid an error. */
82087 #ifdef __cplusplus
82088 extern "C"
82090 #endif
82091 /* We use char because int might match the return type of a gcc2
82092 builtin and then its argument prototype would still apply. */
82093 char $ac_func ();
82094 /* The GNU C library defines this for functions which it implements
82095 to always fail with ENOSYS. Some functions are actually named
82096 something starting with __ and the normal name is an alias. */
82097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82098 choke me
82099 #else
82100 char (*f) () = $ac_func;
82101 #endif
82102 #ifdef __cplusplus
82104 #endif
82107 main ()
82109 return f != $ac_func;
82111 return 0;
82113 _ACEOF
82114 rm -f conftest.$ac_objext conftest$ac_exeext
82115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82116 (eval $ac_link) 2>conftest.er1
82117 ac_status=$?
82118 grep -v '^ *+' conftest.er1 >conftest.err
82119 rm -f conftest.er1
82120 cat conftest.err >&5
82121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122 (exit $ac_status); } &&
82123 { ac_try='test -z "$ac_c_werror_flag"
82124 || test ! -s conftest.err'
82125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82126 (eval $ac_try) 2>&5
82127 ac_status=$?
82128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82129 (exit $ac_status); }; } &&
82130 { ac_try='test -s conftest$ac_exeext'
82131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82132 (eval $ac_try) 2>&5
82133 ac_status=$?
82134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82135 (exit $ac_status); }; }; then
82136 eval "$as_ac_var=yes"
82137 else
82138 echo "$as_me: failed program was:" >&5
82139 sed 's/^/| /' conftest.$ac_ext >&5
82141 eval "$as_ac_var=no"
82143 rm -f conftest.err conftest.$ac_objext \
82144 conftest$ac_exeext conftest.$ac_ext
82146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82148 if test `eval echo '${'$as_ac_var'}'` = yes; then
82149 cat >>confdefs.h <<_ACEOF
82150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82151 _ACEOF
82154 done
82164 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
82165 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
82166 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
82167 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
82168 echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82173 ac_ext=cc
82174 ac_cpp='$CXXCPP $CPPFLAGS'
82175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82179 cat >conftest.$ac_ext <<_ACEOF
82180 /* confdefs.h. */
82181 _ACEOF
82182 cat confdefs.h >>conftest.$ac_ext
82183 cat >>conftest.$ac_ext <<_ACEOF
82184 /* end confdefs.h. */
82185 #include <math.h>
82187 main ()
82189 fmodf(0, 0);
82191 return 0;
82193 _ACEOF
82194 rm -f conftest.$ac_objext
82195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82196 (eval $ac_compile) 2>conftest.er1
82197 ac_status=$?
82198 grep -v '^ *+' conftest.er1 >conftest.err
82199 rm -f conftest.er1
82200 cat conftest.err >&5
82201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82202 (exit $ac_status); } &&
82203 { ac_try='test -z "$ac_cxx_werror_flag"
82204 || test ! -s conftest.err'
82205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82206 (eval $ac_try) 2>&5
82207 ac_status=$?
82208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82209 (exit $ac_status); }; } &&
82210 { ac_try='test -s conftest.$ac_objext'
82211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82212 (eval $ac_try) 2>&5
82213 ac_status=$?
82214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82215 (exit $ac_status); }; }; then
82216 glibcxx_cv_func_fmodf_use=yes
82217 else
82218 echo "$as_me: failed program was:" >&5
82219 sed 's/^/| /' conftest.$ac_ext >&5
82221 glibcxx_cv_func_fmodf_use=no
82223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82224 ac_ext=c
82225 ac_cpp='$CPP $CPPFLAGS'
82226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
82235 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
82237 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
82239 for ac_func in fmodf
82241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82242 echo "$as_me:$LINENO: checking for $ac_func" >&5
82243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82244 if eval "test \"\${$as_ac_var+set}\" = set"; then
82245 echo $ECHO_N "(cached) $ECHO_C" >&6
82246 else
82247 if test x$gcc_no_link = xyes; then
82248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82250 { (exit 1); exit 1; }; }
82252 cat >conftest.$ac_ext <<_ACEOF
82253 /* confdefs.h. */
82254 _ACEOF
82255 cat confdefs.h >>conftest.$ac_ext
82256 cat >>conftest.$ac_ext <<_ACEOF
82257 /* end confdefs.h. */
82258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82260 #define $ac_func innocuous_$ac_func
82262 /* System header to define __stub macros and hopefully few prototypes,
82263 which can conflict with char $ac_func (); below.
82264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82265 <limits.h> exists even on freestanding compilers. */
82267 #ifdef __STDC__
82268 # include <limits.h>
82269 #else
82270 # include <assert.h>
82271 #endif
82273 #undef $ac_func
82275 /* Override any gcc2 internal prototype to avoid an error. */
82276 #ifdef __cplusplus
82277 extern "C"
82279 #endif
82280 /* We use char because int might match the return type of a gcc2
82281 builtin and then its argument prototype would still apply. */
82282 char $ac_func ();
82283 /* The GNU C library defines this for functions which it implements
82284 to always fail with ENOSYS. Some functions are actually named
82285 something starting with __ and the normal name is an alias. */
82286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82287 choke me
82288 #else
82289 char (*f) () = $ac_func;
82290 #endif
82291 #ifdef __cplusplus
82293 #endif
82296 main ()
82298 return f != $ac_func;
82300 return 0;
82302 _ACEOF
82303 rm -f conftest.$ac_objext conftest$ac_exeext
82304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82305 (eval $ac_link) 2>conftest.er1
82306 ac_status=$?
82307 grep -v '^ *+' conftest.er1 >conftest.err
82308 rm -f conftest.er1
82309 cat conftest.err >&5
82310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82311 (exit $ac_status); } &&
82312 { ac_try='test -z "$ac_c_werror_flag"
82313 || test ! -s conftest.err'
82314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82315 (eval $ac_try) 2>&5
82316 ac_status=$?
82317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82318 (exit $ac_status); }; } &&
82319 { ac_try='test -s conftest$ac_exeext'
82320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82321 (eval $ac_try) 2>&5
82322 ac_status=$?
82323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82324 (exit $ac_status); }; }; then
82325 eval "$as_ac_var=yes"
82326 else
82327 echo "$as_me: failed program was:" >&5
82328 sed 's/^/| /' conftest.$ac_ext >&5
82330 eval "$as_ac_var=no"
82332 rm -f conftest.err conftest.$ac_objext \
82333 conftest$ac_exeext conftest.$ac_ext
82335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82337 if test `eval echo '${'$as_ac_var'}'` = yes; then
82338 cat >>confdefs.h <<_ACEOF
82339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82340 _ACEOF
82343 done
82345 else
82347 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
82348 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
82349 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
82350 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
82351 echo $ECHO_N "(cached) $ECHO_C" >&6
82352 else
82356 ac_ext=cc
82357 ac_cpp='$CXXCPP $CPPFLAGS'
82358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82362 cat >conftest.$ac_ext <<_ACEOF
82363 /* confdefs.h. */
82364 _ACEOF
82365 cat confdefs.h >>conftest.$ac_ext
82366 cat >>conftest.$ac_ext <<_ACEOF
82367 /* end confdefs.h. */
82368 #include <math.h>
82370 main ()
82372 _fmodf(0, 0);
82374 return 0;
82376 _ACEOF
82377 rm -f conftest.$ac_objext
82378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82379 (eval $ac_compile) 2>conftest.er1
82380 ac_status=$?
82381 grep -v '^ *+' conftest.er1 >conftest.err
82382 rm -f conftest.er1
82383 cat conftest.err >&5
82384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82385 (exit $ac_status); } &&
82386 { ac_try='test -z "$ac_cxx_werror_flag"
82387 || test ! -s conftest.err'
82388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82389 (eval $ac_try) 2>&5
82390 ac_status=$?
82391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82392 (exit $ac_status); }; } &&
82393 { ac_try='test -s conftest.$ac_objext'
82394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82395 (eval $ac_try) 2>&5
82396 ac_status=$?
82397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82398 (exit $ac_status); }; }; then
82399 glibcxx_cv_func__fmodf_use=yes
82400 else
82401 echo "$as_me: failed program was:" >&5
82402 sed 's/^/| /' conftest.$ac_ext >&5
82404 glibcxx_cv_func__fmodf_use=no
82406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82407 ac_ext=c
82408 ac_cpp='$CPP $CPPFLAGS'
82409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
82418 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
82420 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
82422 for ac_func in _fmodf
82424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82425 echo "$as_me:$LINENO: checking for $ac_func" >&5
82426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82427 if eval "test \"\${$as_ac_var+set}\" = set"; then
82428 echo $ECHO_N "(cached) $ECHO_C" >&6
82429 else
82430 if test x$gcc_no_link = xyes; then
82431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82433 { (exit 1); exit 1; }; }
82435 cat >conftest.$ac_ext <<_ACEOF
82436 /* confdefs.h. */
82437 _ACEOF
82438 cat confdefs.h >>conftest.$ac_ext
82439 cat >>conftest.$ac_ext <<_ACEOF
82440 /* end confdefs.h. */
82441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82443 #define $ac_func innocuous_$ac_func
82445 /* System header to define __stub macros and hopefully few prototypes,
82446 which can conflict with char $ac_func (); below.
82447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82448 <limits.h> exists even on freestanding compilers. */
82450 #ifdef __STDC__
82451 # include <limits.h>
82452 #else
82453 # include <assert.h>
82454 #endif
82456 #undef $ac_func
82458 /* Override any gcc2 internal prototype to avoid an error. */
82459 #ifdef __cplusplus
82460 extern "C"
82462 #endif
82463 /* We use char because int might match the return type of a gcc2
82464 builtin and then its argument prototype would still apply. */
82465 char $ac_func ();
82466 /* The GNU C library defines this for functions which it implements
82467 to always fail with ENOSYS. Some functions are actually named
82468 something starting with __ and the normal name is an alias. */
82469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82470 choke me
82471 #else
82472 char (*f) () = $ac_func;
82473 #endif
82474 #ifdef __cplusplus
82476 #endif
82479 main ()
82481 return f != $ac_func;
82483 return 0;
82485 _ACEOF
82486 rm -f conftest.$ac_objext conftest$ac_exeext
82487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82488 (eval $ac_link) 2>conftest.er1
82489 ac_status=$?
82490 grep -v '^ *+' conftest.er1 >conftest.err
82491 rm -f conftest.er1
82492 cat conftest.err >&5
82493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82494 (exit $ac_status); } &&
82495 { ac_try='test -z "$ac_c_werror_flag"
82496 || test ! -s conftest.err'
82497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82498 (eval $ac_try) 2>&5
82499 ac_status=$?
82500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82501 (exit $ac_status); }; } &&
82502 { ac_try='test -s conftest$ac_exeext'
82503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82504 (eval $ac_try) 2>&5
82505 ac_status=$?
82506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82507 (exit $ac_status); }; }; then
82508 eval "$as_ac_var=yes"
82509 else
82510 echo "$as_me: failed program was:" >&5
82511 sed 's/^/| /' conftest.$ac_ext >&5
82513 eval "$as_ac_var=no"
82515 rm -f conftest.err conftest.$ac_objext \
82516 conftest$ac_exeext conftest.$ac_ext
82518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82520 if test `eval echo '${'$as_ac_var'}'` = yes; then
82521 cat >>confdefs.h <<_ACEOF
82522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82523 _ACEOF
82526 done
82536 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
82537 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
82538 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
82539 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
82540 echo $ECHO_N "(cached) $ECHO_C" >&6
82541 else
82545 ac_ext=cc
82546 ac_cpp='$CXXCPP $CPPFLAGS'
82547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82551 cat >conftest.$ac_ext <<_ACEOF
82552 /* confdefs.h. */
82553 _ACEOF
82554 cat confdefs.h >>conftest.$ac_ext
82555 cat >>conftest.$ac_ext <<_ACEOF
82556 /* end confdefs.h. */
82557 #include <math.h>
82559 main ()
82561 frexpf(0, 0);
82563 return 0;
82565 _ACEOF
82566 rm -f conftest.$ac_objext
82567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82568 (eval $ac_compile) 2>conftest.er1
82569 ac_status=$?
82570 grep -v '^ *+' conftest.er1 >conftest.err
82571 rm -f conftest.er1
82572 cat conftest.err >&5
82573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82574 (exit $ac_status); } &&
82575 { ac_try='test -z "$ac_cxx_werror_flag"
82576 || test ! -s conftest.err'
82577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82578 (eval $ac_try) 2>&5
82579 ac_status=$?
82580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82581 (exit $ac_status); }; } &&
82582 { ac_try='test -s conftest.$ac_objext'
82583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82584 (eval $ac_try) 2>&5
82585 ac_status=$?
82586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82587 (exit $ac_status); }; }; then
82588 glibcxx_cv_func_frexpf_use=yes
82589 else
82590 echo "$as_me: failed program was:" >&5
82591 sed 's/^/| /' conftest.$ac_ext >&5
82593 glibcxx_cv_func_frexpf_use=no
82595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82596 ac_ext=c
82597 ac_cpp='$CPP $CPPFLAGS'
82598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
82607 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
82609 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
82611 for ac_func in frexpf
82613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82614 echo "$as_me:$LINENO: checking for $ac_func" >&5
82615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82616 if eval "test \"\${$as_ac_var+set}\" = set"; then
82617 echo $ECHO_N "(cached) $ECHO_C" >&6
82618 else
82619 if test x$gcc_no_link = xyes; then
82620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82622 { (exit 1); exit 1; }; }
82624 cat >conftest.$ac_ext <<_ACEOF
82625 /* confdefs.h. */
82626 _ACEOF
82627 cat confdefs.h >>conftest.$ac_ext
82628 cat >>conftest.$ac_ext <<_ACEOF
82629 /* end confdefs.h. */
82630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82632 #define $ac_func innocuous_$ac_func
82634 /* System header to define __stub macros and hopefully few prototypes,
82635 which can conflict with char $ac_func (); below.
82636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82637 <limits.h> exists even on freestanding compilers. */
82639 #ifdef __STDC__
82640 # include <limits.h>
82641 #else
82642 # include <assert.h>
82643 #endif
82645 #undef $ac_func
82647 /* Override any gcc2 internal prototype to avoid an error. */
82648 #ifdef __cplusplus
82649 extern "C"
82651 #endif
82652 /* We use char because int might match the return type of a gcc2
82653 builtin and then its argument prototype would still apply. */
82654 char $ac_func ();
82655 /* The GNU C library defines this for functions which it implements
82656 to always fail with ENOSYS. Some functions are actually named
82657 something starting with __ and the normal name is an alias. */
82658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82659 choke me
82660 #else
82661 char (*f) () = $ac_func;
82662 #endif
82663 #ifdef __cplusplus
82665 #endif
82668 main ()
82670 return f != $ac_func;
82672 return 0;
82674 _ACEOF
82675 rm -f conftest.$ac_objext conftest$ac_exeext
82676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82677 (eval $ac_link) 2>conftest.er1
82678 ac_status=$?
82679 grep -v '^ *+' conftest.er1 >conftest.err
82680 rm -f conftest.er1
82681 cat conftest.err >&5
82682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82683 (exit $ac_status); } &&
82684 { ac_try='test -z "$ac_c_werror_flag"
82685 || test ! -s conftest.err'
82686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82687 (eval $ac_try) 2>&5
82688 ac_status=$?
82689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82690 (exit $ac_status); }; } &&
82691 { ac_try='test -s conftest$ac_exeext'
82692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82693 (eval $ac_try) 2>&5
82694 ac_status=$?
82695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82696 (exit $ac_status); }; }; then
82697 eval "$as_ac_var=yes"
82698 else
82699 echo "$as_me: failed program was:" >&5
82700 sed 's/^/| /' conftest.$ac_ext >&5
82702 eval "$as_ac_var=no"
82704 rm -f conftest.err conftest.$ac_objext \
82705 conftest$ac_exeext conftest.$ac_ext
82707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82709 if test `eval echo '${'$as_ac_var'}'` = yes; then
82710 cat >>confdefs.h <<_ACEOF
82711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82712 _ACEOF
82715 done
82717 else
82719 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
82720 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
82721 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
82722 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
82723 echo $ECHO_N "(cached) $ECHO_C" >&6
82724 else
82728 ac_ext=cc
82729 ac_cpp='$CXXCPP $CPPFLAGS'
82730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82734 cat >conftest.$ac_ext <<_ACEOF
82735 /* confdefs.h. */
82736 _ACEOF
82737 cat confdefs.h >>conftest.$ac_ext
82738 cat >>conftest.$ac_ext <<_ACEOF
82739 /* end confdefs.h. */
82740 #include <math.h>
82742 main ()
82744 _frexpf(0, 0);
82746 return 0;
82748 _ACEOF
82749 rm -f conftest.$ac_objext
82750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82751 (eval $ac_compile) 2>conftest.er1
82752 ac_status=$?
82753 grep -v '^ *+' conftest.er1 >conftest.err
82754 rm -f conftest.er1
82755 cat conftest.err >&5
82756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82757 (exit $ac_status); } &&
82758 { ac_try='test -z "$ac_cxx_werror_flag"
82759 || test ! -s conftest.err'
82760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82761 (eval $ac_try) 2>&5
82762 ac_status=$?
82763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82764 (exit $ac_status); }; } &&
82765 { ac_try='test -s conftest.$ac_objext'
82766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82767 (eval $ac_try) 2>&5
82768 ac_status=$?
82769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82770 (exit $ac_status); }; }; then
82771 glibcxx_cv_func__frexpf_use=yes
82772 else
82773 echo "$as_me: failed program was:" >&5
82774 sed 's/^/| /' conftest.$ac_ext >&5
82776 glibcxx_cv_func__frexpf_use=no
82778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82779 ac_ext=c
82780 ac_cpp='$CPP $CPPFLAGS'
82781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82789 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
82790 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
82792 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
82794 for ac_func in _frexpf
82796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82797 echo "$as_me:$LINENO: checking for $ac_func" >&5
82798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82799 if eval "test \"\${$as_ac_var+set}\" = set"; then
82800 echo $ECHO_N "(cached) $ECHO_C" >&6
82801 else
82802 if test x$gcc_no_link = xyes; then
82803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82805 { (exit 1); exit 1; }; }
82807 cat >conftest.$ac_ext <<_ACEOF
82808 /* confdefs.h. */
82809 _ACEOF
82810 cat confdefs.h >>conftest.$ac_ext
82811 cat >>conftest.$ac_ext <<_ACEOF
82812 /* end confdefs.h. */
82813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82815 #define $ac_func innocuous_$ac_func
82817 /* System header to define __stub macros and hopefully few prototypes,
82818 which can conflict with char $ac_func (); below.
82819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82820 <limits.h> exists even on freestanding compilers. */
82822 #ifdef __STDC__
82823 # include <limits.h>
82824 #else
82825 # include <assert.h>
82826 #endif
82828 #undef $ac_func
82830 /* Override any gcc2 internal prototype to avoid an error. */
82831 #ifdef __cplusplus
82832 extern "C"
82834 #endif
82835 /* We use char because int might match the return type of a gcc2
82836 builtin and then its argument prototype would still apply. */
82837 char $ac_func ();
82838 /* The GNU C library defines this for functions which it implements
82839 to always fail with ENOSYS. Some functions are actually named
82840 something starting with __ and the normal name is an alias. */
82841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82842 choke me
82843 #else
82844 char (*f) () = $ac_func;
82845 #endif
82846 #ifdef __cplusplus
82848 #endif
82851 main ()
82853 return f != $ac_func;
82855 return 0;
82857 _ACEOF
82858 rm -f conftest.$ac_objext conftest$ac_exeext
82859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82860 (eval $ac_link) 2>conftest.er1
82861 ac_status=$?
82862 grep -v '^ *+' conftest.er1 >conftest.err
82863 rm -f conftest.er1
82864 cat conftest.err >&5
82865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82866 (exit $ac_status); } &&
82867 { ac_try='test -z "$ac_c_werror_flag"
82868 || test ! -s conftest.err'
82869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82870 (eval $ac_try) 2>&5
82871 ac_status=$?
82872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82873 (exit $ac_status); }; } &&
82874 { ac_try='test -s conftest$ac_exeext'
82875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82876 (eval $ac_try) 2>&5
82877 ac_status=$?
82878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82879 (exit $ac_status); }; }; then
82880 eval "$as_ac_var=yes"
82881 else
82882 echo "$as_me: failed program was:" >&5
82883 sed 's/^/| /' conftest.$ac_ext >&5
82885 eval "$as_ac_var=no"
82887 rm -f conftest.err conftest.$ac_objext \
82888 conftest$ac_exeext conftest.$ac_ext
82890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82892 if test `eval echo '${'$as_ac_var'}'` = yes; then
82893 cat >>confdefs.h <<_ACEOF
82894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82895 _ACEOF
82898 done
82908 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
82909 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
82910 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
82911 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
82912 echo $ECHO_N "(cached) $ECHO_C" >&6
82913 else
82917 ac_ext=cc
82918 ac_cpp='$CXXCPP $CPPFLAGS'
82919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82923 cat >conftest.$ac_ext <<_ACEOF
82924 /* confdefs.h. */
82925 _ACEOF
82926 cat confdefs.h >>conftest.$ac_ext
82927 cat >>conftest.$ac_ext <<_ACEOF
82928 /* end confdefs.h. */
82929 #include <math.h>
82931 main ()
82933 hypotf(0, 0);
82935 return 0;
82937 _ACEOF
82938 rm -f conftest.$ac_objext
82939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82940 (eval $ac_compile) 2>conftest.er1
82941 ac_status=$?
82942 grep -v '^ *+' conftest.er1 >conftest.err
82943 rm -f conftest.er1
82944 cat conftest.err >&5
82945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82946 (exit $ac_status); } &&
82947 { ac_try='test -z "$ac_cxx_werror_flag"
82948 || test ! -s conftest.err'
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); }; } &&
82954 { ac_try='test -s conftest.$ac_objext'
82955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82956 (eval $ac_try) 2>&5
82957 ac_status=$?
82958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82959 (exit $ac_status); }; }; then
82960 glibcxx_cv_func_hypotf_use=yes
82961 else
82962 echo "$as_me: failed program was:" >&5
82963 sed 's/^/| /' conftest.$ac_ext >&5
82965 glibcxx_cv_func_hypotf_use=no
82967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82968 ac_ext=c
82969 ac_cpp='$CPP $CPPFLAGS'
82970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
82979 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
82981 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
82983 for ac_func in hypotf
82985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82986 echo "$as_me:$LINENO: checking for $ac_func" >&5
82987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82988 if eval "test \"\${$as_ac_var+set}\" = set"; then
82989 echo $ECHO_N "(cached) $ECHO_C" >&6
82990 else
82991 if test x$gcc_no_link = xyes; then
82992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82994 { (exit 1); exit 1; }; }
82996 cat >conftest.$ac_ext <<_ACEOF
82997 /* confdefs.h. */
82998 _ACEOF
82999 cat confdefs.h >>conftest.$ac_ext
83000 cat >>conftest.$ac_ext <<_ACEOF
83001 /* end confdefs.h. */
83002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83004 #define $ac_func innocuous_$ac_func
83006 /* System header to define __stub macros and hopefully few prototypes,
83007 which can conflict with char $ac_func (); below.
83008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83009 <limits.h> exists even on freestanding compilers. */
83011 #ifdef __STDC__
83012 # include <limits.h>
83013 #else
83014 # include <assert.h>
83015 #endif
83017 #undef $ac_func
83019 /* Override any gcc2 internal prototype to avoid an error. */
83020 #ifdef __cplusplus
83021 extern "C"
83023 #endif
83024 /* We use char because int might match the return type of a gcc2
83025 builtin and then its argument prototype would still apply. */
83026 char $ac_func ();
83027 /* The GNU C library defines this for functions which it implements
83028 to always fail with ENOSYS. Some functions are actually named
83029 something starting with __ and the normal name is an alias. */
83030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83031 choke me
83032 #else
83033 char (*f) () = $ac_func;
83034 #endif
83035 #ifdef __cplusplus
83037 #endif
83040 main ()
83042 return f != $ac_func;
83044 return 0;
83046 _ACEOF
83047 rm -f conftest.$ac_objext conftest$ac_exeext
83048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83049 (eval $ac_link) 2>conftest.er1
83050 ac_status=$?
83051 grep -v '^ *+' conftest.er1 >conftest.err
83052 rm -f conftest.er1
83053 cat conftest.err >&5
83054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83055 (exit $ac_status); } &&
83056 { ac_try='test -z "$ac_c_werror_flag"
83057 || test ! -s conftest.err'
83058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83059 (eval $ac_try) 2>&5
83060 ac_status=$?
83061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83062 (exit $ac_status); }; } &&
83063 { ac_try='test -s conftest$ac_exeext'
83064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83065 (eval $ac_try) 2>&5
83066 ac_status=$?
83067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83068 (exit $ac_status); }; }; then
83069 eval "$as_ac_var=yes"
83070 else
83071 echo "$as_me: failed program was:" >&5
83072 sed 's/^/| /' conftest.$ac_ext >&5
83074 eval "$as_ac_var=no"
83076 rm -f conftest.err conftest.$ac_objext \
83077 conftest$ac_exeext conftest.$ac_ext
83079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83081 if test `eval echo '${'$as_ac_var'}'` = yes; then
83082 cat >>confdefs.h <<_ACEOF
83083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83084 _ACEOF
83087 done
83089 else
83091 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
83092 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
83093 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
83094 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
83095 echo $ECHO_N "(cached) $ECHO_C" >&6
83096 else
83100 ac_ext=cc
83101 ac_cpp='$CXXCPP $CPPFLAGS'
83102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83106 cat >conftest.$ac_ext <<_ACEOF
83107 /* confdefs.h. */
83108 _ACEOF
83109 cat confdefs.h >>conftest.$ac_ext
83110 cat >>conftest.$ac_ext <<_ACEOF
83111 /* end confdefs.h. */
83112 #include <math.h>
83114 main ()
83116 _hypotf(0, 0);
83118 return 0;
83120 _ACEOF
83121 rm -f conftest.$ac_objext
83122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83123 (eval $ac_compile) 2>conftest.er1
83124 ac_status=$?
83125 grep -v '^ *+' conftest.er1 >conftest.err
83126 rm -f conftest.er1
83127 cat conftest.err >&5
83128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83129 (exit $ac_status); } &&
83130 { ac_try='test -z "$ac_cxx_werror_flag"
83131 || test ! -s conftest.err'
83132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83133 (eval $ac_try) 2>&5
83134 ac_status=$?
83135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83136 (exit $ac_status); }; } &&
83137 { ac_try='test -s conftest.$ac_objext'
83138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83139 (eval $ac_try) 2>&5
83140 ac_status=$?
83141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83142 (exit $ac_status); }; }; then
83143 glibcxx_cv_func__hypotf_use=yes
83144 else
83145 echo "$as_me: failed program was:" >&5
83146 sed 's/^/| /' conftest.$ac_ext >&5
83148 glibcxx_cv_func__hypotf_use=no
83150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83151 ac_ext=c
83152 ac_cpp='$CPP $CPPFLAGS'
83153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
83162 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
83164 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
83166 for ac_func in _hypotf
83168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83169 echo "$as_me:$LINENO: checking for $ac_func" >&5
83170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83171 if eval "test \"\${$as_ac_var+set}\" = set"; then
83172 echo $ECHO_N "(cached) $ECHO_C" >&6
83173 else
83174 if test x$gcc_no_link = xyes; then
83175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83177 { (exit 1); exit 1; }; }
83179 cat >conftest.$ac_ext <<_ACEOF
83180 /* confdefs.h. */
83181 _ACEOF
83182 cat confdefs.h >>conftest.$ac_ext
83183 cat >>conftest.$ac_ext <<_ACEOF
83184 /* end confdefs.h. */
83185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83187 #define $ac_func innocuous_$ac_func
83189 /* System header to define __stub macros and hopefully few prototypes,
83190 which can conflict with char $ac_func (); below.
83191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83192 <limits.h> exists even on freestanding compilers. */
83194 #ifdef __STDC__
83195 # include <limits.h>
83196 #else
83197 # include <assert.h>
83198 #endif
83200 #undef $ac_func
83202 /* Override any gcc2 internal prototype to avoid an error. */
83203 #ifdef __cplusplus
83204 extern "C"
83206 #endif
83207 /* We use char because int might match the return type of a gcc2
83208 builtin and then its argument prototype would still apply. */
83209 char $ac_func ();
83210 /* The GNU C library defines this for functions which it implements
83211 to always fail with ENOSYS. Some functions are actually named
83212 something starting with __ and the normal name is an alias. */
83213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83214 choke me
83215 #else
83216 char (*f) () = $ac_func;
83217 #endif
83218 #ifdef __cplusplus
83220 #endif
83223 main ()
83225 return f != $ac_func;
83227 return 0;
83229 _ACEOF
83230 rm -f conftest.$ac_objext conftest$ac_exeext
83231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83232 (eval $ac_link) 2>conftest.er1
83233 ac_status=$?
83234 grep -v '^ *+' conftest.er1 >conftest.err
83235 rm -f conftest.er1
83236 cat conftest.err >&5
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); } &&
83239 { ac_try='test -z "$ac_c_werror_flag"
83240 || test ! -s conftest.err'
83241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83242 (eval $ac_try) 2>&5
83243 ac_status=$?
83244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83245 (exit $ac_status); }; } &&
83246 { ac_try='test -s conftest$ac_exeext'
83247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83248 (eval $ac_try) 2>&5
83249 ac_status=$?
83250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83251 (exit $ac_status); }; }; then
83252 eval "$as_ac_var=yes"
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83257 eval "$as_ac_var=no"
83259 rm -f conftest.err conftest.$ac_objext \
83260 conftest$ac_exeext conftest.$ac_ext
83262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83264 if test `eval echo '${'$as_ac_var'}'` = yes; then
83265 cat >>confdefs.h <<_ACEOF
83266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83267 _ACEOF
83270 done
83280 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
83281 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
83282 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
83283 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
83284 echo $ECHO_N "(cached) $ECHO_C" >&6
83285 else
83289 ac_ext=cc
83290 ac_cpp='$CXXCPP $CPPFLAGS'
83291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83295 cat >conftest.$ac_ext <<_ACEOF
83296 /* confdefs.h. */
83297 _ACEOF
83298 cat confdefs.h >>conftest.$ac_ext
83299 cat >>conftest.$ac_ext <<_ACEOF
83300 /* end confdefs.h. */
83301 #include <math.h>
83303 main ()
83305 ldexpf(0, 0);
83307 return 0;
83309 _ACEOF
83310 rm -f conftest.$ac_objext
83311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83312 (eval $ac_compile) 2>conftest.er1
83313 ac_status=$?
83314 grep -v '^ *+' conftest.er1 >conftest.err
83315 rm -f conftest.er1
83316 cat conftest.err >&5
83317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83318 (exit $ac_status); } &&
83319 { ac_try='test -z "$ac_cxx_werror_flag"
83320 || test ! -s conftest.err'
83321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83322 (eval $ac_try) 2>&5
83323 ac_status=$?
83324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83325 (exit $ac_status); }; } &&
83326 { ac_try='test -s conftest.$ac_objext'
83327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83328 (eval $ac_try) 2>&5
83329 ac_status=$?
83330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331 (exit $ac_status); }; }; then
83332 glibcxx_cv_func_ldexpf_use=yes
83333 else
83334 echo "$as_me: failed program was:" >&5
83335 sed 's/^/| /' conftest.$ac_ext >&5
83337 glibcxx_cv_func_ldexpf_use=no
83339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83340 ac_ext=c
83341 ac_cpp='$CPP $CPPFLAGS'
83342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
83351 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
83353 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
83355 for ac_func in ldexpf
83357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83358 echo "$as_me:$LINENO: checking for $ac_func" >&5
83359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83360 if eval "test \"\${$as_ac_var+set}\" = set"; then
83361 echo $ECHO_N "(cached) $ECHO_C" >&6
83362 else
83363 if test x$gcc_no_link = xyes; then
83364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83366 { (exit 1); exit 1; }; }
83368 cat >conftest.$ac_ext <<_ACEOF
83369 /* confdefs.h. */
83370 _ACEOF
83371 cat confdefs.h >>conftest.$ac_ext
83372 cat >>conftest.$ac_ext <<_ACEOF
83373 /* end confdefs.h. */
83374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83376 #define $ac_func innocuous_$ac_func
83378 /* System header to define __stub macros and hopefully few prototypes,
83379 which can conflict with char $ac_func (); below.
83380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83381 <limits.h> exists even on freestanding compilers. */
83383 #ifdef __STDC__
83384 # include <limits.h>
83385 #else
83386 # include <assert.h>
83387 #endif
83389 #undef $ac_func
83391 /* Override any gcc2 internal prototype to avoid an error. */
83392 #ifdef __cplusplus
83393 extern "C"
83395 #endif
83396 /* We use char because int might match the return type of a gcc2
83397 builtin and then its argument prototype would still apply. */
83398 char $ac_func ();
83399 /* The GNU C library defines this for functions which it implements
83400 to always fail with ENOSYS. Some functions are actually named
83401 something starting with __ and the normal name is an alias. */
83402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83403 choke me
83404 #else
83405 char (*f) () = $ac_func;
83406 #endif
83407 #ifdef __cplusplus
83409 #endif
83412 main ()
83414 return f != $ac_func;
83416 return 0;
83418 _ACEOF
83419 rm -f conftest.$ac_objext conftest$ac_exeext
83420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83421 (eval $ac_link) 2>conftest.er1
83422 ac_status=$?
83423 grep -v '^ *+' conftest.er1 >conftest.err
83424 rm -f conftest.er1
83425 cat conftest.err >&5
83426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83427 (exit $ac_status); } &&
83428 { ac_try='test -z "$ac_c_werror_flag"
83429 || test ! -s conftest.err'
83430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83431 (eval $ac_try) 2>&5
83432 ac_status=$?
83433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83434 (exit $ac_status); }; } &&
83435 { ac_try='test -s conftest$ac_exeext'
83436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83437 (eval $ac_try) 2>&5
83438 ac_status=$?
83439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83440 (exit $ac_status); }; }; then
83441 eval "$as_ac_var=yes"
83442 else
83443 echo "$as_me: failed program was:" >&5
83444 sed 's/^/| /' conftest.$ac_ext >&5
83446 eval "$as_ac_var=no"
83448 rm -f conftest.err conftest.$ac_objext \
83449 conftest$ac_exeext conftest.$ac_ext
83451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83453 if test `eval echo '${'$as_ac_var'}'` = yes; then
83454 cat >>confdefs.h <<_ACEOF
83455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83456 _ACEOF
83459 done
83461 else
83463 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
83464 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
83465 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
83466 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
83467 echo $ECHO_N "(cached) $ECHO_C" >&6
83468 else
83472 ac_ext=cc
83473 ac_cpp='$CXXCPP $CPPFLAGS'
83474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83478 cat >conftest.$ac_ext <<_ACEOF
83479 /* confdefs.h. */
83480 _ACEOF
83481 cat confdefs.h >>conftest.$ac_ext
83482 cat >>conftest.$ac_ext <<_ACEOF
83483 /* end confdefs.h. */
83484 #include <math.h>
83486 main ()
83488 _ldexpf(0, 0);
83490 return 0;
83492 _ACEOF
83493 rm -f conftest.$ac_objext
83494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83495 (eval $ac_compile) 2>conftest.er1
83496 ac_status=$?
83497 grep -v '^ *+' conftest.er1 >conftest.err
83498 rm -f conftest.er1
83499 cat conftest.err >&5
83500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83501 (exit $ac_status); } &&
83502 { ac_try='test -z "$ac_cxx_werror_flag"
83503 || test ! -s conftest.err'
83504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83505 (eval $ac_try) 2>&5
83506 ac_status=$?
83507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83508 (exit $ac_status); }; } &&
83509 { ac_try='test -s conftest.$ac_objext'
83510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83511 (eval $ac_try) 2>&5
83512 ac_status=$?
83513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514 (exit $ac_status); }; }; then
83515 glibcxx_cv_func__ldexpf_use=yes
83516 else
83517 echo "$as_me: failed program was:" >&5
83518 sed 's/^/| /' conftest.$ac_ext >&5
83520 glibcxx_cv_func__ldexpf_use=no
83522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83523 ac_ext=c
83524 ac_cpp='$CPP $CPPFLAGS'
83525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
83534 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
83536 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
83538 for ac_func in _ldexpf
83540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83541 echo "$as_me:$LINENO: checking for $ac_func" >&5
83542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83543 if eval "test \"\${$as_ac_var+set}\" = set"; then
83544 echo $ECHO_N "(cached) $ECHO_C" >&6
83545 else
83546 if test x$gcc_no_link = xyes; then
83547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83549 { (exit 1); exit 1; }; }
83551 cat >conftest.$ac_ext <<_ACEOF
83552 /* confdefs.h. */
83553 _ACEOF
83554 cat confdefs.h >>conftest.$ac_ext
83555 cat >>conftest.$ac_ext <<_ACEOF
83556 /* end confdefs.h. */
83557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83559 #define $ac_func innocuous_$ac_func
83561 /* System header to define __stub macros and hopefully few prototypes,
83562 which can conflict with char $ac_func (); below.
83563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83564 <limits.h> exists even on freestanding compilers. */
83566 #ifdef __STDC__
83567 # include <limits.h>
83568 #else
83569 # include <assert.h>
83570 #endif
83572 #undef $ac_func
83574 /* Override any gcc2 internal prototype to avoid an error. */
83575 #ifdef __cplusplus
83576 extern "C"
83578 #endif
83579 /* We use char because int might match the return type of a gcc2
83580 builtin and then its argument prototype would still apply. */
83581 char $ac_func ();
83582 /* The GNU C library defines this for functions which it implements
83583 to always fail with ENOSYS. Some functions are actually named
83584 something starting with __ and the normal name is an alias. */
83585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83586 choke me
83587 #else
83588 char (*f) () = $ac_func;
83589 #endif
83590 #ifdef __cplusplus
83592 #endif
83595 main ()
83597 return f != $ac_func;
83599 return 0;
83601 _ACEOF
83602 rm -f conftest.$ac_objext conftest$ac_exeext
83603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83604 (eval $ac_link) 2>conftest.er1
83605 ac_status=$?
83606 grep -v '^ *+' conftest.er1 >conftest.err
83607 rm -f conftest.er1
83608 cat conftest.err >&5
83609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83610 (exit $ac_status); } &&
83611 { ac_try='test -z "$ac_c_werror_flag"
83612 || test ! -s conftest.err'
83613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83614 (eval $ac_try) 2>&5
83615 ac_status=$?
83616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83617 (exit $ac_status); }; } &&
83618 { ac_try='test -s conftest$ac_exeext'
83619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83620 (eval $ac_try) 2>&5
83621 ac_status=$?
83622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83623 (exit $ac_status); }; }; then
83624 eval "$as_ac_var=yes"
83625 else
83626 echo "$as_me: failed program was:" >&5
83627 sed 's/^/| /' conftest.$ac_ext >&5
83629 eval "$as_ac_var=no"
83631 rm -f conftest.err conftest.$ac_objext \
83632 conftest$ac_exeext conftest.$ac_ext
83634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83636 if test `eval echo '${'$as_ac_var'}'` = yes; then
83637 cat >>confdefs.h <<_ACEOF
83638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83639 _ACEOF
83642 done
83652 echo "$as_me:$LINENO: checking for logf declaration" >&5
83653 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
83654 if test x${glibcxx_cv_func_logf_use+set} != xset; then
83655 if test "${glibcxx_cv_func_logf_use+set}" = set; then
83656 echo $ECHO_N "(cached) $ECHO_C" >&6
83657 else
83661 ac_ext=cc
83662 ac_cpp='$CXXCPP $CPPFLAGS'
83663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83667 cat >conftest.$ac_ext <<_ACEOF
83668 /* confdefs.h. */
83669 _ACEOF
83670 cat confdefs.h >>conftest.$ac_ext
83671 cat >>conftest.$ac_ext <<_ACEOF
83672 /* end confdefs.h. */
83673 #include <math.h>
83674 #ifdef HAVE_IEEEFP_H
83675 #include <ieeefp.h>
83676 #endif
83679 main ()
83681 logf(0);
83683 return 0;
83685 _ACEOF
83686 rm -f conftest.$ac_objext
83687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83688 (eval $ac_compile) 2>conftest.er1
83689 ac_status=$?
83690 grep -v '^ *+' conftest.er1 >conftest.err
83691 rm -f conftest.er1
83692 cat conftest.err >&5
83693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83694 (exit $ac_status); } &&
83695 { ac_try='test -z "$ac_cxx_werror_flag"
83696 || test ! -s conftest.err'
83697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83698 (eval $ac_try) 2>&5
83699 ac_status=$?
83700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83701 (exit $ac_status); }; } &&
83702 { ac_try='test -s conftest.$ac_objext'
83703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83704 (eval $ac_try) 2>&5
83705 ac_status=$?
83706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83707 (exit $ac_status); }; }; then
83708 glibcxx_cv_func_logf_use=yes
83709 else
83710 echo "$as_me: failed program was:" >&5
83711 sed 's/^/| /' conftest.$ac_ext >&5
83713 glibcxx_cv_func_logf_use=no
83715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83716 ac_ext=c
83717 ac_cpp='$CPP $CPPFLAGS'
83718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
83727 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
83729 if test x$glibcxx_cv_func_logf_use = x"yes"; then
83731 for ac_func in logf
83733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83734 echo "$as_me:$LINENO: checking for $ac_func" >&5
83735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83736 if eval "test \"\${$as_ac_var+set}\" = set"; then
83737 echo $ECHO_N "(cached) $ECHO_C" >&6
83738 else
83739 if test x$gcc_no_link = xyes; then
83740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83742 { (exit 1); exit 1; }; }
83744 cat >conftest.$ac_ext <<_ACEOF
83745 /* confdefs.h. */
83746 _ACEOF
83747 cat confdefs.h >>conftest.$ac_ext
83748 cat >>conftest.$ac_ext <<_ACEOF
83749 /* end confdefs.h. */
83750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83752 #define $ac_func innocuous_$ac_func
83754 /* System header to define __stub macros and hopefully few prototypes,
83755 which can conflict with char $ac_func (); below.
83756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83757 <limits.h> exists even on freestanding compilers. */
83759 #ifdef __STDC__
83760 # include <limits.h>
83761 #else
83762 # include <assert.h>
83763 #endif
83765 #undef $ac_func
83767 /* Override any gcc2 internal prototype to avoid an error. */
83768 #ifdef __cplusplus
83769 extern "C"
83771 #endif
83772 /* We use char because int might match the return type of a gcc2
83773 builtin and then its argument prototype would still apply. */
83774 char $ac_func ();
83775 /* The GNU C library defines this for functions which it implements
83776 to always fail with ENOSYS. Some functions are actually named
83777 something starting with __ and the normal name is an alias. */
83778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83779 choke me
83780 #else
83781 char (*f) () = $ac_func;
83782 #endif
83783 #ifdef __cplusplus
83785 #endif
83788 main ()
83790 return f != $ac_func;
83792 return 0;
83794 _ACEOF
83795 rm -f conftest.$ac_objext conftest$ac_exeext
83796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83797 (eval $ac_link) 2>conftest.er1
83798 ac_status=$?
83799 grep -v '^ *+' conftest.er1 >conftest.err
83800 rm -f conftest.er1
83801 cat conftest.err >&5
83802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83803 (exit $ac_status); } &&
83804 { ac_try='test -z "$ac_c_werror_flag"
83805 || test ! -s conftest.err'
83806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83807 (eval $ac_try) 2>&5
83808 ac_status=$?
83809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83810 (exit $ac_status); }; } &&
83811 { ac_try='test -s conftest$ac_exeext'
83812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83813 (eval $ac_try) 2>&5
83814 ac_status=$?
83815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83816 (exit $ac_status); }; }; then
83817 eval "$as_ac_var=yes"
83818 else
83819 echo "$as_me: failed program was:" >&5
83820 sed 's/^/| /' conftest.$ac_ext >&5
83822 eval "$as_ac_var=no"
83824 rm -f conftest.err conftest.$ac_objext \
83825 conftest$ac_exeext conftest.$ac_ext
83827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83829 if test `eval echo '${'$as_ac_var'}'` = yes; then
83830 cat >>confdefs.h <<_ACEOF
83831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83832 _ACEOF
83835 done
83837 else
83839 echo "$as_me:$LINENO: checking for _logf declaration" >&5
83840 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
83841 if test x${glibcxx_cv_func__logf_use+set} != xset; then
83842 if test "${glibcxx_cv_func__logf_use+set}" = set; then
83843 echo $ECHO_N "(cached) $ECHO_C" >&6
83844 else
83848 ac_ext=cc
83849 ac_cpp='$CXXCPP $CPPFLAGS'
83850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83854 cat >conftest.$ac_ext <<_ACEOF
83855 /* confdefs.h. */
83856 _ACEOF
83857 cat confdefs.h >>conftest.$ac_ext
83858 cat >>conftest.$ac_ext <<_ACEOF
83859 /* end confdefs.h. */
83860 #include <math.h>
83861 #ifdef HAVE_IEEEFP_H
83862 #include <ieeefp.h>
83863 #endif
83866 main ()
83868 _logf(0);
83870 return 0;
83872 _ACEOF
83873 rm -f conftest.$ac_objext
83874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83875 (eval $ac_compile) 2>conftest.er1
83876 ac_status=$?
83877 grep -v '^ *+' conftest.er1 >conftest.err
83878 rm -f conftest.er1
83879 cat conftest.err >&5
83880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83881 (exit $ac_status); } &&
83882 { ac_try='test -z "$ac_cxx_werror_flag"
83883 || test ! -s conftest.err'
83884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83885 (eval $ac_try) 2>&5
83886 ac_status=$?
83887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83888 (exit $ac_status); }; } &&
83889 { ac_try='test -s conftest.$ac_objext'
83890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83891 (eval $ac_try) 2>&5
83892 ac_status=$?
83893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83894 (exit $ac_status); }; }; then
83895 glibcxx_cv_func__logf_use=yes
83896 else
83897 echo "$as_me: failed program was:" >&5
83898 sed 's/^/| /' conftest.$ac_ext >&5
83900 glibcxx_cv_func__logf_use=no
83902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83903 ac_ext=c
83904 ac_cpp='$CPP $CPPFLAGS'
83905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
83914 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
83916 if test x$glibcxx_cv_func__logf_use = x"yes"; then
83918 for ac_func in _logf
83920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83921 echo "$as_me:$LINENO: checking for $ac_func" >&5
83922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83923 if eval "test \"\${$as_ac_var+set}\" = set"; then
83924 echo $ECHO_N "(cached) $ECHO_C" >&6
83925 else
83926 if test x$gcc_no_link = xyes; then
83927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83929 { (exit 1); exit 1; }; }
83931 cat >conftest.$ac_ext <<_ACEOF
83932 /* confdefs.h. */
83933 _ACEOF
83934 cat confdefs.h >>conftest.$ac_ext
83935 cat >>conftest.$ac_ext <<_ACEOF
83936 /* end confdefs.h. */
83937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83939 #define $ac_func innocuous_$ac_func
83941 /* System header to define __stub macros and hopefully few prototypes,
83942 which can conflict with char $ac_func (); below.
83943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83944 <limits.h> exists even on freestanding compilers. */
83946 #ifdef __STDC__
83947 # include <limits.h>
83948 #else
83949 # include <assert.h>
83950 #endif
83952 #undef $ac_func
83954 /* Override any gcc2 internal prototype to avoid an error. */
83955 #ifdef __cplusplus
83956 extern "C"
83958 #endif
83959 /* We use char because int might match the return type of a gcc2
83960 builtin and then its argument prototype would still apply. */
83961 char $ac_func ();
83962 /* The GNU C library defines this for functions which it implements
83963 to always fail with ENOSYS. Some functions are actually named
83964 something starting with __ and the normal name is an alias. */
83965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83966 choke me
83967 #else
83968 char (*f) () = $ac_func;
83969 #endif
83970 #ifdef __cplusplus
83972 #endif
83975 main ()
83977 return f != $ac_func;
83979 return 0;
83981 _ACEOF
83982 rm -f conftest.$ac_objext conftest$ac_exeext
83983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83984 (eval $ac_link) 2>conftest.er1
83985 ac_status=$?
83986 grep -v '^ *+' conftest.er1 >conftest.err
83987 rm -f conftest.er1
83988 cat conftest.err >&5
83989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83990 (exit $ac_status); } &&
83991 { ac_try='test -z "$ac_c_werror_flag"
83992 || test ! -s conftest.err'
83993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83994 (eval $ac_try) 2>&5
83995 ac_status=$?
83996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83997 (exit $ac_status); }; } &&
83998 { ac_try='test -s conftest$ac_exeext'
83999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84000 (eval $ac_try) 2>&5
84001 ac_status=$?
84002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84003 (exit $ac_status); }; }; then
84004 eval "$as_ac_var=yes"
84005 else
84006 echo "$as_me: failed program was:" >&5
84007 sed 's/^/| /' conftest.$ac_ext >&5
84009 eval "$as_ac_var=no"
84011 rm -f conftest.err conftest.$ac_objext \
84012 conftest$ac_exeext conftest.$ac_ext
84014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84016 if test `eval echo '${'$as_ac_var'}'` = yes; then
84017 cat >>confdefs.h <<_ACEOF
84018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84019 _ACEOF
84022 done
84032 echo "$as_me:$LINENO: checking for log10f declaration" >&5
84033 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
84034 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
84035 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
84036 echo $ECHO_N "(cached) $ECHO_C" >&6
84037 else
84041 ac_ext=cc
84042 ac_cpp='$CXXCPP $CPPFLAGS'
84043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84047 cat >conftest.$ac_ext <<_ACEOF
84048 /* confdefs.h. */
84049 _ACEOF
84050 cat confdefs.h >>conftest.$ac_ext
84051 cat >>conftest.$ac_ext <<_ACEOF
84052 /* end confdefs.h. */
84053 #include <math.h>
84054 #ifdef HAVE_IEEEFP_H
84055 #include <ieeefp.h>
84056 #endif
84059 main ()
84061 log10f(0);
84063 return 0;
84065 _ACEOF
84066 rm -f conftest.$ac_objext
84067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84068 (eval $ac_compile) 2>conftest.er1
84069 ac_status=$?
84070 grep -v '^ *+' conftest.er1 >conftest.err
84071 rm -f conftest.er1
84072 cat conftest.err >&5
84073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84074 (exit $ac_status); } &&
84075 { ac_try='test -z "$ac_cxx_werror_flag"
84076 || test ! -s conftest.err'
84077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84078 (eval $ac_try) 2>&5
84079 ac_status=$?
84080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84081 (exit $ac_status); }; } &&
84082 { ac_try='test -s conftest.$ac_objext'
84083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84084 (eval $ac_try) 2>&5
84085 ac_status=$?
84086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84087 (exit $ac_status); }; }; then
84088 glibcxx_cv_func_log10f_use=yes
84089 else
84090 echo "$as_me: failed program was:" >&5
84091 sed 's/^/| /' conftest.$ac_ext >&5
84093 glibcxx_cv_func_log10f_use=no
84095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84096 ac_ext=c
84097 ac_cpp='$CPP $CPPFLAGS'
84098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84106 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
84107 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
84109 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
84111 for ac_func in log10f
84113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84114 echo "$as_me:$LINENO: checking for $ac_func" >&5
84115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84116 if eval "test \"\${$as_ac_var+set}\" = set"; then
84117 echo $ECHO_N "(cached) $ECHO_C" >&6
84118 else
84119 if test x$gcc_no_link = xyes; then
84120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84122 { (exit 1); exit 1; }; }
84124 cat >conftest.$ac_ext <<_ACEOF
84125 /* confdefs.h. */
84126 _ACEOF
84127 cat confdefs.h >>conftest.$ac_ext
84128 cat >>conftest.$ac_ext <<_ACEOF
84129 /* end confdefs.h. */
84130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84132 #define $ac_func innocuous_$ac_func
84134 /* System header to define __stub macros and hopefully few prototypes,
84135 which can conflict with char $ac_func (); below.
84136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84137 <limits.h> exists even on freestanding compilers. */
84139 #ifdef __STDC__
84140 # include <limits.h>
84141 #else
84142 # include <assert.h>
84143 #endif
84145 #undef $ac_func
84147 /* Override any gcc2 internal prototype to avoid an error. */
84148 #ifdef __cplusplus
84149 extern "C"
84151 #endif
84152 /* We use char because int might match the return type of a gcc2
84153 builtin and then its argument prototype would still apply. */
84154 char $ac_func ();
84155 /* The GNU C library defines this for functions which it implements
84156 to always fail with ENOSYS. Some functions are actually named
84157 something starting with __ and the normal name is an alias. */
84158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84159 choke me
84160 #else
84161 char (*f) () = $ac_func;
84162 #endif
84163 #ifdef __cplusplus
84165 #endif
84168 main ()
84170 return f != $ac_func;
84172 return 0;
84174 _ACEOF
84175 rm -f conftest.$ac_objext conftest$ac_exeext
84176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84177 (eval $ac_link) 2>conftest.er1
84178 ac_status=$?
84179 grep -v '^ *+' conftest.er1 >conftest.err
84180 rm -f conftest.er1
84181 cat conftest.err >&5
84182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84183 (exit $ac_status); } &&
84184 { ac_try='test -z "$ac_c_werror_flag"
84185 || test ! -s conftest.err'
84186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84187 (eval $ac_try) 2>&5
84188 ac_status=$?
84189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84190 (exit $ac_status); }; } &&
84191 { ac_try='test -s conftest$ac_exeext'
84192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84193 (eval $ac_try) 2>&5
84194 ac_status=$?
84195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84196 (exit $ac_status); }; }; then
84197 eval "$as_ac_var=yes"
84198 else
84199 echo "$as_me: failed program was:" >&5
84200 sed 's/^/| /' conftest.$ac_ext >&5
84202 eval "$as_ac_var=no"
84204 rm -f conftest.err conftest.$ac_objext \
84205 conftest$ac_exeext conftest.$ac_ext
84207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84209 if test `eval echo '${'$as_ac_var'}'` = yes; then
84210 cat >>confdefs.h <<_ACEOF
84211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84212 _ACEOF
84215 done
84217 else
84219 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
84220 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
84221 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
84222 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
84223 echo $ECHO_N "(cached) $ECHO_C" >&6
84224 else
84228 ac_ext=cc
84229 ac_cpp='$CXXCPP $CPPFLAGS'
84230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84234 cat >conftest.$ac_ext <<_ACEOF
84235 /* confdefs.h. */
84236 _ACEOF
84237 cat confdefs.h >>conftest.$ac_ext
84238 cat >>conftest.$ac_ext <<_ACEOF
84239 /* end confdefs.h. */
84240 #include <math.h>
84241 #ifdef HAVE_IEEEFP_H
84242 #include <ieeefp.h>
84243 #endif
84246 main ()
84248 _log10f(0);
84250 return 0;
84252 _ACEOF
84253 rm -f conftest.$ac_objext
84254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84255 (eval $ac_compile) 2>conftest.er1
84256 ac_status=$?
84257 grep -v '^ *+' conftest.er1 >conftest.err
84258 rm -f conftest.er1
84259 cat conftest.err >&5
84260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84261 (exit $ac_status); } &&
84262 { ac_try='test -z "$ac_cxx_werror_flag"
84263 || test ! -s conftest.err'
84264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84265 (eval $ac_try) 2>&5
84266 ac_status=$?
84267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84268 (exit $ac_status); }; } &&
84269 { ac_try='test -s conftest.$ac_objext'
84270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84271 (eval $ac_try) 2>&5
84272 ac_status=$?
84273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84274 (exit $ac_status); }; }; then
84275 glibcxx_cv_func__log10f_use=yes
84276 else
84277 echo "$as_me: failed program was:" >&5
84278 sed 's/^/| /' conftest.$ac_ext >&5
84280 glibcxx_cv_func__log10f_use=no
84282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84283 ac_ext=c
84284 ac_cpp='$CPP $CPPFLAGS'
84285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
84294 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
84296 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
84298 for ac_func in _log10f
84300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84301 echo "$as_me:$LINENO: checking for $ac_func" >&5
84302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84303 if eval "test \"\${$as_ac_var+set}\" = set"; then
84304 echo $ECHO_N "(cached) $ECHO_C" >&6
84305 else
84306 if test x$gcc_no_link = xyes; then
84307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84309 { (exit 1); exit 1; }; }
84311 cat >conftest.$ac_ext <<_ACEOF
84312 /* confdefs.h. */
84313 _ACEOF
84314 cat confdefs.h >>conftest.$ac_ext
84315 cat >>conftest.$ac_ext <<_ACEOF
84316 /* end confdefs.h. */
84317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84319 #define $ac_func innocuous_$ac_func
84321 /* System header to define __stub macros and hopefully few prototypes,
84322 which can conflict with char $ac_func (); below.
84323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84324 <limits.h> exists even on freestanding compilers. */
84326 #ifdef __STDC__
84327 # include <limits.h>
84328 #else
84329 # include <assert.h>
84330 #endif
84332 #undef $ac_func
84334 /* Override any gcc2 internal prototype to avoid an error. */
84335 #ifdef __cplusplus
84336 extern "C"
84338 #endif
84339 /* We use char because int might match the return type of a gcc2
84340 builtin and then its argument prototype would still apply. */
84341 char $ac_func ();
84342 /* The GNU C library defines this for functions which it implements
84343 to always fail with ENOSYS. Some functions are actually named
84344 something starting with __ and the normal name is an alias. */
84345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84346 choke me
84347 #else
84348 char (*f) () = $ac_func;
84349 #endif
84350 #ifdef __cplusplus
84352 #endif
84355 main ()
84357 return f != $ac_func;
84359 return 0;
84361 _ACEOF
84362 rm -f conftest.$ac_objext conftest$ac_exeext
84363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84364 (eval $ac_link) 2>conftest.er1
84365 ac_status=$?
84366 grep -v '^ *+' conftest.er1 >conftest.err
84367 rm -f conftest.er1
84368 cat conftest.err >&5
84369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84370 (exit $ac_status); } &&
84371 { ac_try='test -z "$ac_c_werror_flag"
84372 || test ! -s conftest.err'
84373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84374 (eval $ac_try) 2>&5
84375 ac_status=$?
84376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84377 (exit $ac_status); }; } &&
84378 { ac_try='test -s conftest$ac_exeext'
84379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84380 (eval $ac_try) 2>&5
84381 ac_status=$?
84382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84383 (exit $ac_status); }; }; then
84384 eval "$as_ac_var=yes"
84385 else
84386 echo "$as_me: failed program was:" >&5
84387 sed 's/^/| /' conftest.$ac_ext >&5
84389 eval "$as_ac_var=no"
84391 rm -f conftest.err conftest.$ac_objext \
84392 conftest$ac_exeext conftest.$ac_ext
84394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84396 if test `eval echo '${'$as_ac_var'}'` = yes; then
84397 cat >>confdefs.h <<_ACEOF
84398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84399 _ACEOF
84402 done
84412 echo "$as_me:$LINENO: checking for modff declaration" >&5
84413 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
84414 if test x${glibcxx_cv_func_modff_use+set} != xset; then
84415 if test "${glibcxx_cv_func_modff_use+set}" = set; then
84416 echo $ECHO_N "(cached) $ECHO_C" >&6
84417 else
84421 ac_ext=cc
84422 ac_cpp='$CXXCPP $CPPFLAGS'
84423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84427 cat >conftest.$ac_ext <<_ACEOF
84428 /* confdefs.h. */
84429 _ACEOF
84430 cat confdefs.h >>conftest.$ac_ext
84431 cat >>conftest.$ac_ext <<_ACEOF
84432 /* end confdefs.h. */
84433 #include <math.h>
84435 main ()
84437 modff(0, 0);
84439 return 0;
84441 _ACEOF
84442 rm -f conftest.$ac_objext
84443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84444 (eval $ac_compile) 2>conftest.er1
84445 ac_status=$?
84446 grep -v '^ *+' conftest.er1 >conftest.err
84447 rm -f conftest.er1
84448 cat conftest.err >&5
84449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84450 (exit $ac_status); } &&
84451 { ac_try='test -z "$ac_cxx_werror_flag"
84452 || test ! -s conftest.err'
84453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84454 (eval $ac_try) 2>&5
84455 ac_status=$?
84456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84457 (exit $ac_status); }; } &&
84458 { ac_try='test -s conftest.$ac_objext'
84459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84460 (eval $ac_try) 2>&5
84461 ac_status=$?
84462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84463 (exit $ac_status); }; }; then
84464 glibcxx_cv_func_modff_use=yes
84465 else
84466 echo "$as_me: failed program was:" >&5
84467 sed 's/^/| /' conftest.$ac_ext >&5
84469 glibcxx_cv_func_modff_use=no
84471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84472 ac_ext=c
84473 ac_cpp='$CPP $CPPFLAGS'
84474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
84483 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
84485 if test x$glibcxx_cv_func_modff_use = x"yes"; then
84487 for ac_func in modff
84489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84490 echo "$as_me:$LINENO: checking for $ac_func" >&5
84491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84492 if eval "test \"\${$as_ac_var+set}\" = set"; then
84493 echo $ECHO_N "(cached) $ECHO_C" >&6
84494 else
84495 if test x$gcc_no_link = xyes; then
84496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84498 { (exit 1); exit 1; }; }
84500 cat >conftest.$ac_ext <<_ACEOF
84501 /* confdefs.h. */
84502 _ACEOF
84503 cat confdefs.h >>conftest.$ac_ext
84504 cat >>conftest.$ac_ext <<_ACEOF
84505 /* end confdefs.h. */
84506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84508 #define $ac_func innocuous_$ac_func
84510 /* System header to define __stub macros and hopefully few prototypes,
84511 which can conflict with char $ac_func (); below.
84512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84513 <limits.h> exists even on freestanding compilers. */
84515 #ifdef __STDC__
84516 # include <limits.h>
84517 #else
84518 # include <assert.h>
84519 #endif
84521 #undef $ac_func
84523 /* Override any gcc2 internal prototype to avoid an error. */
84524 #ifdef __cplusplus
84525 extern "C"
84527 #endif
84528 /* We use char because int might match the return type of a gcc2
84529 builtin and then its argument prototype would still apply. */
84530 char $ac_func ();
84531 /* The GNU C library defines this for functions which it implements
84532 to always fail with ENOSYS. Some functions are actually named
84533 something starting with __ and the normal name is an alias. */
84534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84535 choke me
84536 #else
84537 char (*f) () = $ac_func;
84538 #endif
84539 #ifdef __cplusplus
84541 #endif
84544 main ()
84546 return f != $ac_func;
84548 return 0;
84550 _ACEOF
84551 rm -f conftest.$ac_objext conftest$ac_exeext
84552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84553 (eval $ac_link) 2>conftest.er1
84554 ac_status=$?
84555 grep -v '^ *+' conftest.er1 >conftest.err
84556 rm -f conftest.er1
84557 cat conftest.err >&5
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); } &&
84560 { ac_try='test -z "$ac_c_werror_flag"
84561 || test ! -s conftest.err'
84562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84563 (eval $ac_try) 2>&5
84564 ac_status=$?
84565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84566 (exit $ac_status); }; } &&
84567 { ac_try='test -s conftest$ac_exeext'
84568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84569 (eval $ac_try) 2>&5
84570 ac_status=$?
84571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84572 (exit $ac_status); }; }; then
84573 eval "$as_ac_var=yes"
84574 else
84575 echo "$as_me: failed program was:" >&5
84576 sed 's/^/| /' conftest.$ac_ext >&5
84578 eval "$as_ac_var=no"
84580 rm -f conftest.err conftest.$ac_objext \
84581 conftest$ac_exeext conftest.$ac_ext
84583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84585 if test `eval echo '${'$as_ac_var'}'` = yes; then
84586 cat >>confdefs.h <<_ACEOF
84587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84588 _ACEOF
84591 done
84593 else
84595 echo "$as_me:$LINENO: checking for _modff declaration" >&5
84596 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
84597 if test x${glibcxx_cv_func__modff_use+set} != xset; then
84598 if test "${glibcxx_cv_func__modff_use+set}" = set; then
84599 echo $ECHO_N "(cached) $ECHO_C" >&6
84600 else
84604 ac_ext=cc
84605 ac_cpp='$CXXCPP $CPPFLAGS'
84606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84610 cat >conftest.$ac_ext <<_ACEOF
84611 /* confdefs.h. */
84612 _ACEOF
84613 cat confdefs.h >>conftest.$ac_ext
84614 cat >>conftest.$ac_ext <<_ACEOF
84615 /* end confdefs.h. */
84616 #include <math.h>
84618 main ()
84620 _modff(0, 0);
84622 return 0;
84624 _ACEOF
84625 rm -f conftest.$ac_objext
84626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84627 (eval $ac_compile) 2>conftest.er1
84628 ac_status=$?
84629 grep -v '^ *+' conftest.er1 >conftest.err
84630 rm -f conftest.er1
84631 cat conftest.err >&5
84632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84633 (exit $ac_status); } &&
84634 { ac_try='test -z "$ac_cxx_werror_flag"
84635 || test ! -s conftest.err'
84636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84637 (eval $ac_try) 2>&5
84638 ac_status=$?
84639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84640 (exit $ac_status); }; } &&
84641 { ac_try='test -s conftest.$ac_objext'
84642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84643 (eval $ac_try) 2>&5
84644 ac_status=$?
84645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84646 (exit $ac_status); }; }; then
84647 glibcxx_cv_func__modff_use=yes
84648 else
84649 echo "$as_me: failed program was:" >&5
84650 sed 's/^/| /' conftest.$ac_ext >&5
84652 glibcxx_cv_func__modff_use=no
84654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84655 ac_ext=c
84656 ac_cpp='$CPP $CPPFLAGS'
84657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84665 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
84666 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
84668 if test x$glibcxx_cv_func__modff_use = x"yes"; then
84670 for ac_func in _modff
84672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84673 echo "$as_me:$LINENO: checking for $ac_func" >&5
84674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84675 if eval "test \"\${$as_ac_var+set}\" = set"; then
84676 echo $ECHO_N "(cached) $ECHO_C" >&6
84677 else
84678 if test x$gcc_no_link = xyes; then
84679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84681 { (exit 1); exit 1; }; }
84683 cat >conftest.$ac_ext <<_ACEOF
84684 /* confdefs.h. */
84685 _ACEOF
84686 cat confdefs.h >>conftest.$ac_ext
84687 cat >>conftest.$ac_ext <<_ACEOF
84688 /* end confdefs.h. */
84689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84691 #define $ac_func innocuous_$ac_func
84693 /* System header to define __stub macros and hopefully few prototypes,
84694 which can conflict with char $ac_func (); below.
84695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84696 <limits.h> exists even on freestanding compilers. */
84698 #ifdef __STDC__
84699 # include <limits.h>
84700 #else
84701 # include <assert.h>
84702 #endif
84704 #undef $ac_func
84706 /* Override any gcc2 internal prototype to avoid an error. */
84707 #ifdef __cplusplus
84708 extern "C"
84710 #endif
84711 /* We use char because int might match the return type of a gcc2
84712 builtin and then its argument prototype would still apply. */
84713 char $ac_func ();
84714 /* The GNU C library defines this for functions which it implements
84715 to always fail with ENOSYS. Some functions are actually named
84716 something starting with __ and the normal name is an alias. */
84717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84718 choke me
84719 #else
84720 char (*f) () = $ac_func;
84721 #endif
84722 #ifdef __cplusplus
84724 #endif
84727 main ()
84729 return f != $ac_func;
84731 return 0;
84733 _ACEOF
84734 rm -f conftest.$ac_objext conftest$ac_exeext
84735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84736 (eval $ac_link) 2>conftest.er1
84737 ac_status=$?
84738 grep -v '^ *+' conftest.er1 >conftest.err
84739 rm -f conftest.er1
84740 cat conftest.err >&5
84741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84742 (exit $ac_status); } &&
84743 { ac_try='test -z "$ac_c_werror_flag"
84744 || test ! -s conftest.err'
84745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84746 (eval $ac_try) 2>&5
84747 ac_status=$?
84748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84749 (exit $ac_status); }; } &&
84750 { ac_try='test -s conftest$ac_exeext'
84751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84752 (eval $ac_try) 2>&5
84753 ac_status=$?
84754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84755 (exit $ac_status); }; }; then
84756 eval "$as_ac_var=yes"
84757 else
84758 echo "$as_me: failed program was:" >&5
84759 sed 's/^/| /' conftest.$ac_ext >&5
84761 eval "$as_ac_var=no"
84763 rm -f conftest.err conftest.$ac_objext \
84764 conftest$ac_exeext conftest.$ac_ext
84766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84768 if test `eval echo '${'$as_ac_var'}'` = yes; then
84769 cat >>confdefs.h <<_ACEOF
84770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84771 _ACEOF
84774 done
84784 echo "$as_me:$LINENO: checking for modf declaration" >&5
84785 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
84786 if test x${glibcxx_cv_func_modf_use+set} != xset; then
84787 if test "${glibcxx_cv_func_modf_use+set}" = set; then
84788 echo $ECHO_N "(cached) $ECHO_C" >&6
84789 else
84793 ac_ext=cc
84794 ac_cpp='$CXXCPP $CPPFLAGS'
84795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84799 cat >conftest.$ac_ext <<_ACEOF
84800 /* confdefs.h. */
84801 _ACEOF
84802 cat confdefs.h >>conftest.$ac_ext
84803 cat >>conftest.$ac_ext <<_ACEOF
84804 /* end confdefs.h. */
84805 #include <math.h>
84807 main ()
84809 modf(0, 0);
84811 return 0;
84813 _ACEOF
84814 rm -f conftest.$ac_objext
84815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84816 (eval $ac_compile) 2>conftest.er1
84817 ac_status=$?
84818 grep -v '^ *+' conftest.er1 >conftest.err
84819 rm -f conftest.er1
84820 cat conftest.err >&5
84821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84822 (exit $ac_status); } &&
84823 { ac_try='test -z "$ac_cxx_werror_flag"
84824 || test ! -s conftest.err'
84825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84826 (eval $ac_try) 2>&5
84827 ac_status=$?
84828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84829 (exit $ac_status); }; } &&
84830 { ac_try='test -s conftest.$ac_objext'
84831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84832 (eval $ac_try) 2>&5
84833 ac_status=$?
84834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84835 (exit $ac_status); }; }; then
84836 glibcxx_cv_func_modf_use=yes
84837 else
84838 echo "$as_me: failed program was:" >&5
84839 sed 's/^/| /' conftest.$ac_ext >&5
84841 glibcxx_cv_func_modf_use=no
84843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84844 ac_ext=c
84845 ac_cpp='$CPP $CPPFLAGS'
84846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
84855 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
84857 if test x$glibcxx_cv_func_modf_use = x"yes"; then
84859 for ac_func in modf
84861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84862 echo "$as_me:$LINENO: checking for $ac_func" >&5
84863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84864 if eval "test \"\${$as_ac_var+set}\" = set"; then
84865 echo $ECHO_N "(cached) $ECHO_C" >&6
84866 else
84867 if test x$gcc_no_link = xyes; then
84868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84870 { (exit 1); exit 1; }; }
84872 cat >conftest.$ac_ext <<_ACEOF
84873 /* confdefs.h. */
84874 _ACEOF
84875 cat confdefs.h >>conftest.$ac_ext
84876 cat >>conftest.$ac_ext <<_ACEOF
84877 /* end confdefs.h. */
84878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84880 #define $ac_func innocuous_$ac_func
84882 /* System header to define __stub macros and hopefully few prototypes,
84883 which can conflict with char $ac_func (); below.
84884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84885 <limits.h> exists even on freestanding compilers. */
84887 #ifdef __STDC__
84888 # include <limits.h>
84889 #else
84890 # include <assert.h>
84891 #endif
84893 #undef $ac_func
84895 /* Override any gcc2 internal prototype to avoid an error. */
84896 #ifdef __cplusplus
84897 extern "C"
84899 #endif
84900 /* We use char because int might match the return type of a gcc2
84901 builtin and then its argument prototype would still apply. */
84902 char $ac_func ();
84903 /* The GNU C library defines this for functions which it implements
84904 to always fail with ENOSYS. Some functions are actually named
84905 something starting with __ and the normal name is an alias. */
84906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84907 choke me
84908 #else
84909 char (*f) () = $ac_func;
84910 #endif
84911 #ifdef __cplusplus
84913 #endif
84916 main ()
84918 return f != $ac_func;
84920 return 0;
84922 _ACEOF
84923 rm -f conftest.$ac_objext conftest$ac_exeext
84924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84925 (eval $ac_link) 2>conftest.er1
84926 ac_status=$?
84927 grep -v '^ *+' conftest.er1 >conftest.err
84928 rm -f conftest.er1
84929 cat conftest.err >&5
84930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84931 (exit $ac_status); } &&
84932 { ac_try='test -z "$ac_c_werror_flag"
84933 || test ! -s conftest.err'
84934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84935 (eval $ac_try) 2>&5
84936 ac_status=$?
84937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84938 (exit $ac_status); }; } &&
84939 { ac_try='test -s conftest$ac_exeext'
84940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84941 (eval $ac_try) 2>&5
84942 ac_status=$?
84943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84944 (exit $ac_status); }; }; then
84945 eval "$as_ac_var=yes"
84946 else
84947 echo "$as_me: failed program was:" >&5
84948 sed 's/^/| /' conftest.$ac_ext >&5
84950 eval "$as_ac_var=no"
84952 rm -f conftest.err conftest.$ac_objext \
84953 conftest$ac_exeext conftest.$ac_ext
84955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84957 if test `eval echo '${'$as_ac_var'}'` = yes; then
84958 cat >>confdefs.h <<_ACEOF
84959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84960 _ACEOF
84963 done
84965 else
84967 echo "$as_me:$LINENO: checking for _modf declaration" >&5
84968 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
84969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
84970 if test "${glibcxx_cv_func__modf_use+set}" = set; then
84971 echo $ECHO_N "(cached) $ECHO_C" >&6
84972 else
84976 ac_ext=cc
84977 ac_cpp='$CXXCPP $CPPFLAGS'
84978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84982 cat >conftest.$ac_ext <<_ACEOF
84983 /* confdefs.h. */
84984 _ACEOF
84985 cat confdefs.h >>conftest.$ac_ext
84986 cat >>conftest.$ac_ext <<_ACEOF
84987 /* end confdefs.h. */
84988 #include <math.h>
84990 main ()
84992 _modf(0, 0);
84994 return 0;
84996 _ACEOF
84997 rm -f conftest.$ac_objext
84998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84999 (eval $ac_compile) 2>conftest.er1
85000 ac_status=$?
85001 grep -v '^ *+' conftest.er1 >conftest.err
85002 rm -f conftest.er1
85003 cat conftest.err >&5
85004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85005 (exit $ac_status); } &&
85006 { ac_try='test -z "$ac_cxx_werror_flag"
85007 || test ! -s conftest.err'
85008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85009 (eval $ac_try) 2>&5
85010 ac_status=$?
85011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85012 (exit $ac_status); }; } &&
85013 { ac_try='test -s conftest.$ac_objext'
85014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85015 (eval $ac_try) 2>&5
85016 ac_status=$?
85017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85018 (exit $ac_status); }; }; then
85019 glibcxx_cv_func__modf_use=yes
85020 else
85021 echo "$as_me: failed program was:" >&5
85022 sed 's/^/| /' conftest.$ac_ext >&5
85024 glibcxx_cv_func__modf_use=no
85026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85027 ac_ext=c
85028 ac_cpp='$CPP $CPPFLAGS'
85029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
85038 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
85040 if test x$glibcxx_cv_func__modf_use = x"yes"; then
85042 for ac_func in _modf
85044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85045 echo "$as_me:$LINENO: checking for $ac_func" >&5
85046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85047 if eval "test \"\${$as_ac_var+set}\" = set"; then
85048 echo $ECHO_N "(cached) $ECHO_C" >&6
85049 else
85050 if test x$gcc_no_link = xyes; then
85051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85053 { (exit 1); exit 1; }; }
85055 cat >conftest.$ac_ext <<_ACEOF
85056 /* confdefs.h. */
85057 _ACEOF
85058 cat confdefs.h >>conftest.$ac_ext
85059 cat >>conftest.$ac_ext <<_ACEOF
85060 /* end confdefs.h. */
85061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85063 #define $ac_func innocuous_$ac_func
85065 /* System header to define __stub macros and hopefully few prototypes,
85066 which can conflict with char $ac_func (); below.
85067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85068 <limits.h> exists even on freestanding compilers. */
85070 #ifdef __STDC__
85071 # include <limits.h>
85072 #else
85073 # include <assert.h>
85074 #endif
85076 #undef $ac_func
85078 /* Override any gcc2 internal prototype to avoid an error. */
85079 #ifdef __cplusplus
85080 extern "C"
85082 #endif
85083 /* We use char because int might match the return type of a gcc2
85084 builtin and then its argument prototype would still apply. */
85085 char $ac_func ();
85086 /* The GNU C library defines this for functions which it implements
85087 to always fail with ENOSYS. Some functions are actually named
85088 something starting with __ and the normal name is an alias. */
85089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85090 choke me
85091 #else
85092 char (*f) () = $ac_func;
85093 #endif
85094 #ifdef __cplusplus
85096 #endif
85099 main ()
85101 return f != $ac_func;
85103 return 0;
85105 _ACEOF
85106 rm -f conftest.$ac_objext conftest$ac_exeext
85107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85108 (eval $ac_link) 2>conftest.er1
85109 ac_status=$?
85110 grep -v '^ *+' conftest.er1 >conftest.err
85111 rm -f conftest.er1
85112 cat conftest.err >&5
85113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85114 (exit $ac_status); } &&
85115 { ac_try='test -z "$ac_c_werror_flag"
85116 || test ! -s conftest.err'
85117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85118 (eval $ac_try) 2>&5
85119 ac_status=$?
85120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85121 (exit $ac_status); }; } &&
85122 { ac_try='test -s conftest$ac_exeext'
85123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85124 (eval $ac_try) 2>&5
85125 ac_status=$?
85126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85127 (exit $ac_status); }; }; then
85128 eval "$as_ac_var=yes"
85129 else
85130 echo "$as_me: failed program was:" >&5
85131 sed 's/^/| /' conftest.$ac_ext >&5
85133 eval "$as_ac_var=no"
85135 rm -f conftest.err conftest.$ac_objext \
85136 conftest$ac_exeext conftest.$ac_ext
85138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85140 if test `eval echo '${'$as_ac_var'}'` = yes; then
85141 cat >>confdefs.h <<_ACEOF
85142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85143 _ACEOF
85146 done
85156 echo "$as_me:$LINENO: checking for powf declaration" >&5
85157 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
85158 if test x${glibcxx_cv_func_powf_use+set} != xset; then
85159 if test "${glibcxx_cv_func_powf_use+set}" = set; then
85160 echo $ECHO_N "(cached) $ECHO_C" >&6
85161 else
85165 ac_ext=cc
85166 ac_cpp='$CXXCPP $CPPFLAGS'
85167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85171 cat >conftest.$ac_ext <<_ACEOF
85172 /* confdefs.h. */
85173 _ACEOF
85174 cat confdefs.h >>conftest.$ac_ext
85175 cat >>conftest.$ac_ext <<_ACEOF
85176 /* end confdefs.h. */
85177 #include <math.h>
85179 main ()
85181 powf(0, 0);
85183 return 0;
85185 _ACEOF
85186 rm -f conftest.$ac_objext
85187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85188 (eval $ac_compile) 2>conftest.er1
85189 ac_status=$?
85190 grep -v '^ *+' conftest.er1 >conftest.err
85191 rm -f conftest.er1
85192 cat conftest.err >&5
85193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85194 (exit $ac_status); } &&
85195 { ac_try='test -z "$ac_cxx_werror_flag"
85196 || test ! -s conftest.err'
85197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85198 (eval $ac_try) 2>&5
85199 ac_status=$?
85200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85201 (exit $ac_status); }; } &&
85202 { ac_try='test -s conftest.$ac_objext'
85203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85204 (eval $ac_try) 2>&5
85205 ac_status=$?
85206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85207 (exit $ac_status); }; }; then
85208 glibcxx_cv_func_powf_use=yes
85209 else
85210 echo "$as_me: failed program was:" >&5
85211 sed 's/^/| /' conftest.$ac_ext >&5
85213 glibcxx_cv_func_powf_use=no
85215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85216 ac_ext=c
85217 ac_cpp='$CPP $CPPFLAGS'
85218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85226 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
85227 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
85229 if test x$glibcxx_cv_func_powf_use = x"yes"; then
85231 for ac_func in powf
85233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85234 echo "$as_me:$LINENO: checking for $ac_func" >&5
85235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85236 if eval "test \"\${$as_ac_var+set}\" = set"; then
85237 echo $ECHO_N "(cached) $ECHO_C" >&6
85238 else
85239 if test x$gcc_no_link = xyes; then
85240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85242 { (exit 1); exit 1; }; }
85244 cat >conftest.$ac_ext <<_ACEOF
85245 /* confdefs.h. */
85246 _ACEOF
85247 cat confdefs.h >>conftest.$ac_ext
85248 cat >>conftest.$ac_ext <<_ACEOF
85249 /* end confdefs.h. */
85250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85252 #define $ac_func innocuous_$ac_func
85254 /* System header to define __stub macros and hopefully few prototypes,
85255 which can conflict with char $ac_func (); below.
85256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85257 <limits.h> exists even on freestanding compilers. */
85259 #ifdef __STDC__
85260 # include <limits.h>
85261 #else
85262 # include <assert.h>
85263 #endif
85265 #undef $ac_func
85267 /* Override any gcc2 internal prototype to avoid an error. */
85268 #ifdef __cplusplus
85269 extern "C"
85271 #endif
85272 /* We use char because int might match the return type of a gcc2
85273 builtin and then its argument prototype would still apply. */
85274 char $ac_func ();
85275 /* The GNU C library defines this for functions which it implements
85276 to always fail with ENOSYS. Some functions are actually named
85277 something starting with __ and the normal name is an alias. */
85278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85279 choke me
85280 #else
85281 char (*f) () = $ac_func;
85282 #endif
85283 #ifdef __cplusplus
85285 #endif
85288 main ()
85290 return f != $ac_func;
85292 return 0;
85294 _ACEOF
85295 rm -f conftest.$ac_objext conftest$ac_exeext
85296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85297 (eval $ac_link) 2>conftest.er1
85298 ac_status=$?
85299 grep -v '^ *+' conftest.er1 >conftest.err
85300 rm -f conftest.er1
85301 cat conftest.err >&5
85302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85303 (exit $ac_status); } &&
85304 { ac_try='test -z "$ac_c_werror_flag"
85305 || test ! -s conftest.err'
85306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85307 (eval $ac_try) 2>&5
85308 ac_status=$?
85309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85310 (exit $ac_status); }; } &&
85311 { ac_try='test -s conftest$ac_exeext'
85312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85313 (eval $ac_try) 2>&5
85314 ac_status=$?
85315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85316 (exit $ac_status); }; }; then
85317 eval "$as_ac_var=yes"
85318 else
85319 echo "$as_me: failed program was:" >&5
85320 sed 's/^/| /' conftest.$ac_ext >&5
85322 eval "$as_ac_var=no"
85324 rm -f conftest.err conftest.$ac_objext \
85325 conftest$ac_exeext conftest.$ac_ext
85327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85329 if test `eval echo '${'$as_ac_var'}'` = yes; then
85330 cat >>confdefs.h <<_ACEOF
85331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85332 _ACEOF
85335 done
85337 else
85339 echo "$as_me:$LINENO: checking for _powf declaration" >&5
85340 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
85341 if test x${glibcxx_cv_func__powf_use+set} != xset; then
85342 if test "${glibcxx_cv_func__powf_use+set}" = set; then
85343 echo $ECHO_N "(cached) $ECHO_C" >&6
85344 else
85348 ac_ext=cc
85349 ac_cpp='$CXXCPP $CPPFLAGS'
85350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85354 cat >conftest.$ac_ext <<_ACEOF
85355 /* confdefs.h. */
85356 _ACEOF
85357 cat confdefs.h >>conftest.$ac_ext
85358 cat >>conftest.$ac_ext <<_ACEOF
85359 /* end confdefs.h. */
85360 #include <math.h>
85362 main ()
85364 _powf(0, 0);
85366 return 0;
85368 _ACEOF
85369 rm -f conftest.$ac_objext
85370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85371 (eval $ac_compile) 2>conftest.er1
85372 ac_status=$?
85373 grep -v '^ *+' conftest.er1 >conftest.err
85374 rm -f conftest.er1
85375 cat conftest.err >&5
85376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85377 (exit $ac_status); } &&
85378 { ac_try='test -z "$ac_cxx_werror_flag"
85379 || test ! -s conftest.err'
85380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85381 (eval $ac_try) 2>&5
85382 ac_status=$?
85383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85384 (exit $ac_status); }; } &&
85385 { ac_try='test -s conftest.$ac_objext'
85386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85387 (eval $ac_try) 2>&5
85388 ac_status=$?
85389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85390 (exit $ac_status); }; }; then
85391 glibcxx_cv_func__powf_use=yes
85392 else
85393 echo "$as_me: failed program was:" >&5
85394 sed 's/^/| /' conftest.$ac_ext >&5
85396 glibcxx_cv_func__powf_use=no
85398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85399 ac_ext=c
85400 ac_cpp='$CPP $CPPFLAGS'
85401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
85410 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
85412 if test x$glibcxx_cv_func__powf_use = x"yes"; then
85414 for ac_func in _powf
85416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85417 echo "$as_me:$LINENO: checking for $ac_func" >&5
85418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85419 if eval "test \"\${$as_ac_var+set}\" = set"; then
85420 echo $ECHO_N "(cached) $ECHO_C" >&6
85421 else
85422 if test x$gcc_no_link = xyes; then
85423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85425 { (exit 1); exit 1; }; }
85427 cat >conftest.$ac_ext <<_ACEOF
85428 /* confdefs.h. */
85429 _ACEOF
85430 cat confdefs.h >>conftest.$ac_ext
85431 cat >>conftest.$ac_ext <<_ACEOF
85432 /* end confdefs.h. */
85433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85435 #define $ac_func innocuous_$ac_func
85437 /* System header to define __stub macros and hopefully few prototypes,
85438 which can conflict with char $ac_func (); below.
85439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85440 <limits.h> exists even on freestanding compilers. */
85442 #ifdef __STDC__
85443 # include <limits.h>
85444 #else
85445 # include <assert.h>
85446 #endif
85448 #undef $ac_func
85450 /* Override any gcc2 internal prototype to avoid an error. */
85451 #ifdef __cplusplus
85452 extern "C"
85454 #endif
85455 /* We use char because int might match the return type of a gcc2
85456 builtin and then its argument prototype would still apply. */
85457 char $ac_func ();
85458 /* The GNU C library defines this for functions which it implements
85459 to always fail with ENOSYS. Some functions are actually named
85460 something starting with __ and the normal name is an alias. */
85461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85462 choke me
85463 #else
85464 char (*f) () = $ac_func;
85465 #endif
85466 #ifdef __cplusplus
85468 #endif
85471 main ()
85473 return f != $ac_func;
85475 return 0;
85477 _ACEOF
85478 rm -f conftest.$ac_objext conftest$ac_exeext
85479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85480 (eval $ac_link) 2>conftest.er1
85481 ac_status=$?
85482 grep -v '^ *+' conftest.er1 >conftest.err
85483 rm -f conftest.er1
85484 cat conftest.err >&5
85485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85486 (exit $ac_status); } &&
85487 { ac_try='test -z "$ac_c_werror_flag"
85488 || test ! -s conftest.err'
85489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85490 (eval $ac_try) 2>&5
85491 ac_status=$?
85492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85493 (exit $ac_status); }; } &&
85494 { ac_try='test -s conftest$ac_exeext'
85495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85496 (eval $ac_try) 2>&5
85497 ac_status=$?
85498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85499 (exit $ac_status); }; }; then
85500 eval "$as_ac_var=yes"
85501 else
85502 echo "$as_me: failed program was:" >&5
85503 sed 's/^/| /' conftest.$ac_ext >&5
85505 eval "$as_ac_var=no"
85507 rm -f conftest.err conftest.$ac_objext \
85508 conftest$ac_exeext conftest.$ac_ext
85510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85512 if test `eval echo '${'$as_ac_var'}'` = yes; then
85513 cat >>confdefs.h <<_ACEOF
85514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85515 _ACEOF
85518 done
85528 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
85529 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
85530 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
85531 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
85532 echo $ECHO_N "(cached) $ECHO_C" >&6
85533 else
85537 ac_ext=cc
85538 ac_cpp='$CXXCPP $CPPFLAGS'
85539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85543 cat >conftest.$ac_ext <<_ACEOF
85544 /* confdefs.h. */
85545 _ACEOF
85546 cat confdefs.h >>conftest.$ac_ext
85547 cat >>conftest.$ac_ext <<_ACEOF
85548 /* end confdefs.h. */
85549 #include <math.h>
85550 #ifdef HAVE_IEEEFP_H
85551 #include <ieeefp.h>
85552 #endif
85555 main ()
85557 sqrtf(0);
85559 return 0;
85561 _ACEOF
85562 rm -f conftest.$ac_objext
85563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85564 (eval $ac_compile) 2>conftest.er1
85565 ac_status=$?
85566 grep -v '^ *+' conftest.er1 >conftest.err
85567 rm -f conftest.er1
85568 cat conftest.err >&5
85569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85570 (exit $ac_status); } &&
85571 { ac_try='test -z "$ac_cxx_werror_flag"
85572 || test ! -s conftest.err'
85573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85574 (eval $ac_try) 2>&5
85575 ac_status=$?
85576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85577 (exit $ac_status); }; } &&
85578 { ac_try='test -s conftest.$ac_objext'
85579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85580 (eval $ac_try) 2>&5
85581 ac_status=$?
85582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85583 (exit $ac_status); }; }; then
85584 glibcxx_cv_func_sqrtf_use=yes
85585 else
85586 echo "$as_me: failed program was:" >&5
85587 sed 's/^/| /' conftest.$ac_ext >&5
85589 glibcxx_cv_func_sqrtf_use=no
85591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85592 ac_ext=c
85593 ac_cpp='$CPP $CPPFLAGS'
85594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85602 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
85603 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
85605 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
85607 for ac_func in sqrtf
85609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85610 echo "$as_me:$LINENO: checking for $ac_func" >&5
85611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85612 if eval "test \"\${$as_ac_var+set}\" = set"; then
85613 echo $ECHO_N "(cached) $ECHO_C" >&6
85614 else
85615 if test x$gcc_no_link = xyes; then
85616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85618 { (exit 1); exit 1; }; }
85620 cat >conftest.$ac_ext <<_ACEOF
85621 /* confdefs.h. */
85622 _ACEOF
85623 cat confdefs.h >>conftest.$ac_ext
85624 cat >>conftest.$ac_ext <<_ACEOF
85625 /* end confdefs.h. */
85626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85628 #define $ac_func innocuous_$ac_func
85630 /* System header to define __stub macros and hopefully few prototypes,
85631 which can conflict with char $ac_func (); below.
85632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85633 <limits.h> exists even on freestanding compilers. */
85635 #ifdef __STDC__
85636 # include <limits.h>
85637 #else
85638 # include <assert.h>
85639 #endif
85641 #undef $ac_func
85643 /* Override any gcc2 internal prototype to avoid an error. */
85644 #ifdef __cplusplus
85645 extern "C"
85647 #endif
85648 /* We use char because int might match the return type of a gcc2
85649 builtin and then its argument prototype would still apply. */
85650 char $ac_func ();
85651 /* The GNU C library defines this for functions which it implements
85652 to always fail with ENOSYS. Some functions are actually named
85653 something starting with __ and the normal name is an alias. */
85654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85655 choke me
85656 #else
85657 char (*f) () = $ac_func;
85658 #endif
85659 #ifdef __cplusplus
85661 #endif
85664 main ()
85666 return f != $ac_func;
85668 return 0;
85670 _ACEOF
85671 rm -f conftest.$ac_objext conftest$ac_exeext
85672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85673 (eval $ac_link) 2>conftest.er1
85674 ac_status=$?
85675 grep -v '^ *+' conftest.er1 >conftest.err
85676 rm -f conftest.er1
85677 cat conftest.err >&5
85678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85679 (exit $ac_status); } &&
85680 { ac_try='test -z "$ac_c_werror_flag"
85681 || test ! -s conftest.err'
85682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85683 (eval $ac_try) 2>&5
85684 ac_status=$?
85685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85686 (exit $ac_status); }; } &&
85687 { ac_try='test -s conftest$ac_exeext'
85688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85689 (eval $ac_try) 2>&5
85690 ac_status=$?
85691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85692 (exit $ac_status); }; }; then
85693 eval "$as_ac_var=yes"
85694 else
85695 echo "$as_me: failed program was:" >&5
85696 sed 's/^/| /' conftest.$ac_ext >&5
85698 eval "$as_ac_var=no"
85700 rm -f conftest.err conftest.$ac_objext \
85701 conftest$ac_exeext conftest.$ac_ext
85703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85705 if test `eval echo '${'$as_ac_var'}'` = yes; then
85706 cat >>confdefs.h <<_ACEOF
85707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85708 _ACEOF
85711 done
85713 else
85715 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
85716 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
85717 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
85718 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
85719 echo $ECHO_N "(cached) $ECHO_C" >&6
85720 else
85724 ac_ext=cc
85725 ac_cpp='$CXXCPP $CPPFLAGS'
85726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85730 cat >conftest.$ac_ext <<_ACEOF
85731 /* confdefs.h. */
85732 _ACEOF
85733 cat confdefs.h >>conftest.$ac_ext
85734 cat >>conftest.$ac_ext <<_ACEOF
85735 /* end confdefs.h. */
85736 #include <math.h>
85737 #ifdef HAVE_IEEEFP_H
85738 #include <ieeefp.h>
85739 #endif
85742 main ()
85744 _sqrtf(0);
85746 return 0;
85748 _ACEOF
85749 rm -f conftest.$ac_objext
85750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85751 (eval $ac_compile) 2>conftest.er1
85752 ac_status=$?
85753 grep -v '^ *+' conftest.er1 >conftest.err
85754 rm -f conftest.er1
85755 cat conftest.err >&5
85756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85757 (exit $ac_status); } &&
85758 { ac_try='test -z "$ac_cxx_werror_flag"
85759 || test ! -s conftest.err'
85760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85761 (eval $ac_try) 2>&5
85762 ac_status=$?
85763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85764 (exit $ac_status); }; } &&
85765 { ac_try='test -s conftest.$ac_objext'
85766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85767 (eval $ac_try) 2>&5
85768 ac_status=$?
85769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85770 (exit $ac_status); }; }; then
85771 glibcxx_cv_func__sqrtf_use=yes
85772 else
85773 echo "$as_me: failed program was:" >&5
85774 sed 's/^/| /' conftest.$ac_ext >&5
85776 glibcxx_cv_func__sqrtf_use=no
85778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85779 ac_ext=c
85780 ac_cpp='$CPP $CPPFLAGS'
85781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85789 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
85790 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
85792 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
85794 for ac_func in _sqrtf
85796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85797 echo "$as_me:$LINENO: checking for $ac_func" >&5
85798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85799 if eval "test \"\${$as_ac_var+set}\" = set"; then
85800 echo $ECHO_N "(cached) $ECHO_C" >&6
85801 else
85802 if test x$gcc_no_link = xyes; then
85803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85805 { (exit 1); exit 1; }; }
85807 cat >conftest.$ac_ext <<_ACEOF
85808 /* confdefs.h. */
85809 _ACEOF
85810 cat confdefs.h >>conftest.$ac_ext
85811 cat >>conftest.$ac_ext <<_ACEOF
85812 /* end confdefs.h. */
85813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85815 #define $ac_func innocuous_$ac_func
85817 /* System header to define __stub macros and hopefully few prototypes,
85818 which can conflict with char $ac_func (); below.
85819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85820 <limits.h> exists even on freestanding compilers. */
85822 #ifdef __STDC__
85823 # include <limits.h>
85824 #else
85825 # include <assert.h>
85826 #endif
85828 #undef $ac_func
85830 /* Override any gcc2 internal prototype to avoid an error. */
85831 #ifdef __cplusplus
85832 extern "C"
85834 #endif
85835 /* We use char because int might match the return type of a gcc2
85836 builtin and then its argument prototype would still apply. */
85837 char $ac_func ();
85838 /* The GNU C library defines this for functions which it implements
85839 to always fail with ENOSYS. Some functions are actually named
85840 something starting with __ and the normal name is an alias. */
85841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85842 choke me
85843 #else
85844 char (*f) () = $ac_func;
85845 #endif
85846 #ifdef __cplusplus
85848 #endif
85851 main ()
85853 return f != $ac_func;
85855 return 0;
85857 _ACEOF
85858 rm -f conftest.$ac_objext conftest$ac_exeext
85859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85860 (eval $ac_link) 2>conftest.er1
85861 ac_status=$?
85862 grep -v '^ *+' conftest.er1 >conftest.err
85863 rm -f conftest.er1
85864 cat conftest.err >&5
85865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85866 (exit $ac_status); } &&
85867 { ac_try='test -z "$ac_c_werror_flag"
85868 || test ! -s conftest.err'
85869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85870 (eval $ac_try) 2>&5
85871 ac_status=$?
85872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85873 (exit $ac_status); }; } &&
85874 { ac_try='test -s conftest$ac_exeext'
85875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85876 (eval $ac_try) 2>&5
85877 ac_status=$?
85878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85879 (exit $ac_status); }; }; then
85880 eval "$as_ac_var=yes"
85881 else
85882 echo "$as_me: failed program was:" >&5
85883 sed 's/^/| /' conftest.$ac_ext >&5
85885 eval "$as_ac_var=no"
85887 rm -f conftest.err conftest.$ac_objext \
85888 conftest$ac_exeext conftest.$ac_ext
85890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85892 if test `eval echo '${'$as_ac_var'}'` = yes; then
85893 cat >>confdefs.h <<_ACEOF
85894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85895 _ACEOF
85898 done
85908 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
85909 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
85910 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
85911 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
85912 echo $ECHO_N "(cached) $ECHO_C" >&6
85913 else
85917 ac_ext=cc
85918 ac_cpp='$CXXCPP $CPPFLAGS'
85919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85923 cat >conftest.$ac_ext <<_ACEOF
85924 /* confdefs.h. */
85925 _ACEOF
85926 cat confdefs.h >>conftest.$ac_ext
85927 cat >>conftest.$ac_ext <<_ACEOF
85928 /* end confdefs.h. */
85929 #include <math.h>
85931 main ()
85933 sincosf(0, 0, 0);
85935 return 0;
85937 _ACEOF
85938 rm -f conftest.$ac_objext
85939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85940 (eval $ac_compile) 2>conftest.er1
85941 ac_status=$?
85942 grep -v '^ *+' conftest.er1 >conftest.err
85943 rm -f conftest.er1
85944 cat conftest.err >&5
85945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85946 (exit $ac_status); } &&
85947 { ac_try='test -z "$ac_cxx_werror_flag"
85948 || test ! -s conftest.err'
85949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85950 (eval $ac_try) 2>&5
85951 ac_status=$?
85952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85953 (exit $ac_status); }; } &&
85954 { ac_try='test -s conftest.$ac_objext'
85955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85956 (eval $ac_try) 2>&5
85957 ac_status=$?
85958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85959 (exit $ac_status); }; }; then
85960 glibcxx_cv_func_sincosf_use=yes
85961 else
85962 echo "$as_me: failed program was:" >&5
85963 sed 's/^/| /' conftest.$ac_ext >&5
85965 glibcxx_cv_func_sincosf_use=no
85967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85968 ac_ext=c
85969 ac_cpp='$CPP $CPPFLAGS'
85970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
85979 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
85981 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
85983 for ac_func in sincosf
85985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85986 echo "$as_me:$LINENO: checking for $ac_func" >&5
85987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85988 if eval "test \"\${$as_ac_var+set}\" = set"; then
85989 echo $ECHO_N "(cached) $ECHO_C" >&6
85990 else
85991 if test x$gcc_no_link = xyes; then
85992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85994 { (exit 1); exit 1; }; }
85996 cat >conftest.$ac_ext <<_ACEOF
85997 /* confdefs.h. */
85998 _ACEOF
85999 cat confdefs.h >>conftest.$ac_ext
86000 cat >>conftest.$ac_ext <<_ACEOF
86001 /* end confdefs.h. */
86002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86004 #define $ac_func innocuous_$ac_func
86006 /* System header to define __stub macros and hopefully few prototypes,
86007 which can conflict with char $ac_func (); below.
86008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86009 <limits.h> exists even on freestanding compilers. */
86011 #ifdef __STDC__
86012 # include <limits.h>
86013 #else
86014 # include <assert.h>
86015 #endif
86017 #undef $ac_func
86019 /* Override any gcc2 internal prototype to avoid an error. */
86020 #ifdef __cplusplus
86021 extern "C"
86023 #endif
86024 /* We use char because int might match the return type of a gcc2
86025 builtin and then its argument prototype would still apply. */
86026 char $ac_func ();
86027 /* The GNU C library defines this for functions which it implements
86028 to always fail with ENOSYS. Some functions are actually named
86029 something starting with __ and the normal name is an alias. */
86030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86031 choke me
86032 #else
86033 char (*f) () = $ac_func;
86034 #endif
86035 #ifdef __cplusplus
86037 #endif
86040 main ()
86042 return f != $ac_func;
86044 return 0;
86046 _ACEOF
86047 rm -f conftest.$ac_objext conftest$ac_exeext
86048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86049 (eval $ac_link) 2>conftest.er1
86050 ac_status=$?
86051 grep -v '^ *+' conftest.er1 >conftest.err
86052 rm -f conftest.er1
86053 cat conftest.err >&5
86054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86055 (exit $ac_status); } &&
86056 { ac_try='test -z "$ac_c_werror_flag"
86057 || test ! -s conftest.err'
86058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86059 (eval $ac_try) 2>&5
86060 ac_status=$?
86061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86062 (exit $ac_status); }; } &&
86063 { ac_try='test -s conftest$ac_exeext'
86064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86065 (eval $ac_try) 2>&5
86066 ac_status=$?
86067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86068 (exit $ac_status); }; }; then
86069 eval "$as_ac_var=yes"
86070 else
86071 echo "$as_me: failed program was:" >&5
86072 sed 's/^/| /' conftest.$ac_ext >&5
86074 eval "$as_ac_var=no"
86076 rm -f conftest.err conftest.$ac_objext \
86077 conftest$ac_exeext conftest.$ac_ext
86079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86081 if test `eval echo '${'$as_ac_var'}'` = yes; then
86082 cat >>confdefs.h <<_ACEOF
86083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86084 _ACEOF
86087 done
86089 else
86091 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
86092 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
86093 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
86094 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
86095 echo $ECHO_N "(cached) $ECHO_C" >&6
86096 else
86100 ac_ext=cc
86101 ac_cpp='$CXXCPP $CPPFLAGS'
86102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86106 cat >conftest.$ac_ext <<_ACEOF
86107 /* confdefs.h. */
86108 _ACEOF
86109 cat confdefs.h >>conftest.$ac_ext
86110 cat >>conftest.$ac_ext <<_ACEOF
86111 /* end confdefs.h. */
86112 #include <math.h>
86114 main ()
86116 _sincosf(0, 0, 0);
86118 return 0;
86120 _ACEOF
86121 rm -f conftest.$ac_objext
86122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86123 (eval $ac_compile) 2>conftest.er1
86124 ac_status=$?
86125 grep -v '^ *+' conftest.er1 >conftest.err
86126 rm -f conftest.er1
86127 cat conftest.err >&5
86128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86129 (exit $ac_status); } &&
86130 { ac_try='test -z "$ac_cxx_werror_flag"
86131 || test ! -s conftest.err'
86132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86133 (eval $ac_try) 2>&5
86134 ac_status=$?
86135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86136 (exit $ac_status); }; } &&
86137 { ac_try='test -s conftest.$ac_objext'
86138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86139 (eval $ac_try) 2>&5
86140 ac_status=$?
86141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86142 (exit $ac_status); }; }; then
86143 glibcxx_cv_func__sincosf_use=yes
86144 else
86145 echo "$as_me: failed program was:" >&5
86146 sed 's/^/| /' conftest.$ac_ext >&5
86148 glibcxx_cv_func__sincosf_use=no
86150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86151 ac_ext=c
86152 ac_cpp='$CPP $CPPFLAGS'
86153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
86162 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
86164 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
86166 for ac_func in _sincosf
86168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86169 echo "$as_me:$LINENO: checking for $ac_func" >&5
86170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86171 if eval "test \"\${$as_ac_var+set}\" = set"; then
86172 echo $ECHO_N "(cached) $ECHO_C" >&6
86173 else
86174 if test x$gcc_no_link = xyes; then
86175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86177 { (exit 1); exit 1; }; }
86179 cat >conftest.$ac_ext <<_ACEOF
86180 /* confdefs.h. */
86181 _ACEOF
86182 cat confdefs.h >>conftest.$ac_ext
86183 cat >>conftest.$ac_ext <<_ACEOF
86184 /* end confdefs.h. */
86185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86187 #define $ac_func innocuous_$ac_func
86189 /* System header to define __stub macros and hopefully few prototypes,
86190 which can conflict with char $ac_func (); below.
86191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86192 <limits.h> exists even on freestanding compilers. */
86194 #ifdef __STDC__
86195 # include <limits.h>
86196 #else
86197 # include <assert.h>
86198 #endif
86200 #undef $ac_func
86202 /* Override any gcc2 internal prototype to avoid an error. */
86203 #ifdef __cplusplus
86204 extern "C"
86206 #endif
86207 /* We use char because int might match the return type of a gcc2
86208 builtin and then its argument prototype would still apply. */
86209 char $ac_func ();
86210 /* The GNU C library defines this for functions which it implements
86211 to always fail with ENOSYS. Some functions are actually named
86212 something starting with __ and the normal name is an alias. */
86213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86214 choke me
86215 #else
86216 char (*f) () = $ac_func;
86217 #endif
86218 #ifdef __cplusplus
86220 #endif
86223 main ()
86225 return f != $ac_func;
86227 return 0;
86229 _ACEOF
86230 rm -f conftest.$ac_objext conftest$ac_exeext
86231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86232 (eval $ac_link) 2>conftest.er1
86233 ac_status=$?
86234 grep -v '^ *+' conftest.er1 >conftest.err
86235 rm -f conftest.er1
86236 cat conftest.err >&5
86237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86238 (exit $ac_status); } &&
86239 { ac_try='test -z "$ac_c_werror_flag"
86240 || test ! -s conftest.err'
86241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86242 (eval $ac_try) 2>&5
86243 ac_status=$?
86244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86245 (exit $ac_status); }; } &&
86246 { ac_try='test -s conftest$ac_exeext'
86247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86248 (eval $ac_try) 2>&5
86249 ac_status=$?
86250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86251 (exit $ac_status); }; }; then
86252 eval "$as_ac_var=yes"
86253 else
86254 echo "$as_me: failed program was:" >&5
86255 sed 's/^/| /' conftest.$ac_ext >&5
86257 eval "$as_ac_var=no"
86259 rm -f conftest.err conftest.$ac_objext \
86260 conftest$ac_exeext conftest.$ac_ext
86262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86264 if test `eval echo '${'$as_ac_var'}'` = yes; then
86265 cat >>confdefs.h <<_ACEOF
86266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86267 _ACEOF
86270 done
86280 echo "$as_me:$LINENO: checking for finitef declaration" >&5
86281 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
86282 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
86283 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
86284 echo $ECHO_N "(cached) $ECHO_C" >&6
86285 else
86289 ac_ext=cc
86290 ac_cpp='$CXXCPP $CPPFLAGS'
86291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86295 cat >conftest.$ac_ext <<_ACEOF
86296 /* confdefs.h. */
86297 _ACEOF
86298 cat confdefs.h >>conftest.$ac_ext
86299 cat >>conftest.$ac_ext <<_ACEOF
86300 /* end confdefs.h. */
86301 #include <math.h>
86302 #ifdef HAVE_IEEEFP_H
86303 #include <ieeefp.h>
86304 #endif
86307 main ()
86309 finitef(0);
86311 return 0;
86313 _ACEOF
86314 rm -f conftest.$ac_objext
86315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86316 (eval $ac_compile) 2>conftest.er1
86317 ac_status=$?
86318 grep -v '^ *+' conftest.er1 >conftest.err
86319 rm -f conftest.er1
86320 cat conftest.err >&5
86321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86322 (exit $ac_status); } &&
86323 { ac_try='test -z "$ac_cxx_werror_flag"
86324 || test ! -s conftest.err'
86325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86326 (eval $ac_try) 2>&5
86327 ac_status=$?
86328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86329 (exit $ac_status); }; } &&
86330 { ac_try='test -s conftest.$ac_objext'
86331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86332 (eval $ac_try) 2>&5
86333 ac_status=$?
86334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86335 (exit $ac_status); }; }; then
86336 glibcxx_cv_func_finitef_use=yes
86337 else
86338 echo "$as_me: failed program was:" >&5
86339 sed 's/^/| /' conftest.$ac_ext >&5
86341 glibcxx_cv_func_finitef_use=no
86343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86344 ac_ext=c
86345 ac_cpp='$CPP $CPPFLAGS'
86346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86354 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
86355 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
86357 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
86359 for ac_func in finitef
86361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86362 echo "$as_me:$LINENO: checking for $ac_func" >&5
86363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86364 if eval "test \"\${$as_ac_var+set}\" = set"; then
86365 echo $ECHO_N "(cached) $ECHO_C" >&6
86366 else
86367 if test x$gcc_no_link = xyes; then
86368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86370 { (exit 1); exit 1; }; }
86372 cat >conftest.$ac_ext <<_ACEOF
86373 /* confdefs.h. */
86374 _ACEOF
86375 cat confdefs.h >>conftest.$ac_ext
86376 cat >>conftest.$ac_ext <<_ACEOF
86377 /* end confdefs.h. */
86378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86380 #define $ac_func innocuous_$ac_func
86382 /* System header to define __stub macros and hopefully few prototypes,
86383 which can conflict with char $ac_func (); below.
86384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86385 <limits.h> exists even on freestanding compilers. */
86387 #ifdef __STDC__
86388 # include <limits.h>
86389 #else
86390 # include <assert.h>
86391 #endif
86393 #undef $ac_func
86395 /* Override any gcc2 internal prototype to avoid an error. */
86396 #ifdef __cplusplus
86397 extern "C"
86399 #endif
86400 /* We use char because int might match the return type of a gcc2
86401 builtin and then its argument prototype would still apply. */
86402 char $ac_func ();
86403 /* The GNU C library defines this for functions which it implements
86404 to always fail with ENOSYS. Some functions are actually named
86405 something starting with __ and the normal name is an alias. */
86406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86407 choke me
86408 #else
86409 char (*f) () = $ac_func;
86410 #endif
86411 #ifdef __cplusplus
86413 #endif
86416 main ()
86418 return f != $ac_func;
86420 return 0;
86422 _ACEOF
86423 rm -f conftest.$ac_objext conftest$ac_exeext
86424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86425 (eval $ac_link) 2>conftest.er1
86426 ac_status=$?
86427 grep -v '^ *+' conftest.er1 >conftest.err
86428 rm -f conftest.er1
86429 cat conftest.err >&5
86430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86431 (exit $ac_status); } &&
86432 { ac_try='test -z "$ac_c_werror_flag"
86433 || test ! -s conftest.err'
86434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86435 (eval $ac_try) 2>&5
86436 ac_status=$?
86437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86438 (exit $ac_status); }; } &&
86439 { ac_try='test -s conftest$ac_exeext'
86440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86441 (eval $ac_try) 2>&5
86442 ac_status=$?
86443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86444 (exit $ac_status); }; }; then
86445 eval "$as_ac_var=yes"
86446 else
86447 echo "$as_me: failed program was:" >&5
86448 sed 's/^/| /' conftest.$ac_ext >&5
86450 eval "$as_ac_var=no"
86452 rm -f conftest.err conftest.$ac_objext \
86453 conftest$ac_exeext conftest.$ac_ext
86455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86457 if test `eval echo '${'$as_ac_var'}'` = yes; then
86458 cat >>confdefs.h <<_ACEOF
86459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86460 _ACEOF
86463 done
86465 else
86467 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
86468 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
86469 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
86470 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
86471 echo $ECHO_N "(cached) $ECHO_C" >&6
86472 else
86476 ac_ext=cc
86477 ac_cpp='$CXXCPP $CPPFLAGS'
86478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86482 cat >conftest.$ac_ext <<_ACEOF
86483 /* confdefs.h. */
86484 _ACEOF
86485 cat confdefs.h >>conftest.$ac_ext
86486 cat >>conftest.$ac_ext <<_ACEOF
86487 /* end confdefs.h. */
86488 #include <math.h>
86489 #ifdef HAVE_IEEEFP_H
86490 #include <ieeefp.h>
86491 #endif
86494 main ()
86496 _finitef(0);
86498 return 0;
86500 _ACEOF
86501 rm -f conftest.$ac_objext
86502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86503 (eval $ac_compile) 2>conftest.er1
86504 ac_status=$?
86505 grep -v '^ *+' conftest.er1 >conftest.err
86506 rm -f conftest.er1
86507 cat conftest.err >&5
86508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86509 (exit $ac_status); } &&
86510 { ac_try='test -z "$ac_cxx_werror_flag"
86511 || test ! -s conftest.err'
86512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86513 (eval $ac_try) 2>&5
86514 ac_status=$?
86515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86516 (exit $ac_status); }; } &&
86517 { ac_try='test -s conftest.$ac_objext'
86518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86519 (eval $ac_try) 2>&5
86520 ac_status=$?
86521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86522 (exit $ac_status); }; }; then
86523 glibcxx_cv_func__finitef_use=yes
86524 else
86525 echo "$as_me: failed program was:" >&5
86526 sed 's/^/| /' conftest.$ac_ext >&5
86528 glibcxx_cv_func__finitef_use=no
86530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86531 ac_ext=c
86532 ac_cpp='$CPP $CPPFLAGS'
86533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
86542 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
86544 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
86546 for ac_func in _finitef
86548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86549 echo "$as_me:$LINENO: checking for $ac_func" >&5
86550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86551 if eval "test \"\${$as_ac_var+set}\" = set"; then
86552 echo $ECHO_N "(cached) $ECHO_C" >&6
86553 else
86554 if test x$gcc_no_link = xyes; then
86555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86557 { (exit 1); exit 1; }; }
86559 cat >conftest.$ac_ext <<_ACEOF
86560 /* confdefs.h. */
86561 _ACEOF
86562 cat confdefs.h >>conftest.$ac_ext
86563 cat >>conftest.$ac_ext <<_ACEOF
86564 /* end confdefs.h. */
86565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86567 #define $ac_func innocuous_$ac_func
86569 /* System header to define __stub macros and hopefully few prototypes,
86570 which can conflict with char $ac_func (); below.
86571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86572 <limits.h> exists even on freestanding compilers. */
86574 #ifdef __STDC__
86575 # include <limits.h>
86576 #else
86577 # include <assert.h>
86578 #endif
86580 #undef $ac_func
86582 /* Override any gcc2 internal prototype to avoid an error. */
86583 #ifdef __cplusplus
86584 extern "C"
86586 #endif
86587 /* We use char because int might match the return type of a gcc2
86588 builtin and then its argument prototype would still apply. */
86589 char $ac_func ();
86590 /* The GNU C library defines this for functions which it implements
86591 to always fail with ENOSYS. Some functions are actually named
86592 something starting with __ and the normal name is an alias. */
86593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86594 choke me
86595 #else
86596 char (*f) () = $ac_func;
86597 #endif
86598 #ifdef __cplusplus
86600 #endif
86603 main ()
86605 return f != $ac_func;
86607 return 0;
86609 _ACEOF
86610 rm -f conftest.$ac_objext conftest$ac_exeext
86611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86612 (eval $ac_link) 2>conftest.er1
86613 ac_status=$?
86614 grep -v '^ *+' conftest.er1 >conftest.err
86615 rm -f conftest.er1
86616 cat conftest.err >&5
86617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86618 (exit $ac_status); } &&
86619 { ac_try='test -z "$ac_c_werror_flag"
86620 || test ! -s conftest.err'
86621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86622 (eval $ac_try) 2>&5
86623 ac_status=$?
86624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86625 (exit $ac_status); }; } &&
86626 { ac_try='test -s conftest$ac_exeext'
86627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86628 (eval $ac_try) 2>&5
86629 ac_status=$?
86630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86631 (exit $ac_status); }; }; then
86632 eval "$as_ac_var=yes"
86633 else
86634 echo "$as_me: failed program was:" >&5
86635 sed 's/^/| /' conftest.$ac_ext >&5
86637 eval "$as_ac_var=no"
86639 rm -f conftest.err conftest.$ac_objext \
86640 conftest$ac_exeext conftest.$ac_ext
86642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86644 if test `eval echo '${'$as_ac_var'}'` = yes; then
86645 cat >>confdefs.h <<_ACEOF
86646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86647 _ACEOF
86650 done
86660 echo "$as_me:$LINENO: checking for long double trig functions" >&5
86661 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
86662 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
86663 echo $ECHO_N "(cached) $ECHO_C" >&6
86664 else
86668 ac_ext=cc
86669 ac_cpp='$CXXCPP $CPPFLAGS'
86670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86674 cat >conftest.$ac_ext <<_ACEOF
86675 /* confdefs.h. */
86676 _ACEOF
86677 cat confdefs.h >>conftest.$ac_ext
86678 cat >>conftest.$ac_ext <<_ACEOF
86679 /* end confdefs.h. */
86680 #include <math.h>
86682 main ()
86684 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
86686 return 0;
86688 _ACEOF
86689 rm -f conftest.$ac_objext
86690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86691 (eval $ac_compile) 2>conftest.er1
86692 ac_status=$?
86693 grep -v '^ *+' conftest.er1 >conftest.err
86694 rm -f conftest.er1
86695 cat conftest.err >&5
86696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86697 (exit $ac_status); } &&
86698 { ac_try='test -z "$ac_cxx_werror_flag"
86699 || test ! -s conftest.err'
86700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86701 (eval $ac_try) 2>&5
86702 ac_status=$?
86703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86704 (exit $ac_status); }; } &&
86705 { ac_try='test -s conftest.$ac_objext'
86706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86707 (eval $ac_try) 2>&5
86708 ac_status=$?
86709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86710 (exit $ac_status); }; }; then
86711 glibcxx_cv_func_long_double_trig_use=yes
86712 else
86713 echo "$as_me: failed program was:" >&5
86714 sed 's/^/| /' conftest.$ac_ext >&5
86716 glibcxx_cv_func_long_double_trig_use=no
86718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86719 ac_ext=c
86720 ac_cpp='$CPP $CPPFLAGS'
86721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
86728 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
86729 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
86739 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
86741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86742 echo "$as_me:$LINENO: checking for $ac_func" >&5
86743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86744 if eval "test \"\${$as_ac_var+set}\" = set"; then
86745 echo $ECHO_N "(cached) $ECHO_C" >&6
86746 else
86747 if test x$gcc_no_link = xyes; then
86748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86750 { (exit 1); exit 1; }; }
86752 cat >conftest.$ac_ext <<_ACEOF
86753 /* confdefs.h. */
86754 _ACEOF
86755 cat confdefs.h >>conftest.$ac_ext
86756 cat >>conftest.$ac_ext <<_ACEOF
86757 /* end confdefs.h. */
86758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86760 #define $ac_func innocuous_$ac_func
86762 /* System header to define __stub macros and hopefully few prototypes,
86763 which can conflict with char $ac_func (); below.
86764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86765 <limits.h> exists even on freestanding compilers. */
86767 #ifdef __STDC__
86768 # include <limits.h>
86769 #else
86770 # include <assert.h>
86771 #endif
86773 #undef $ac_func
86775 /* Override any gcc2 internal prototype to avoid an error. */
86776 #ifdef __cplusplus
86777 extern "C"
86779 #endif
86780 /* We use char because int might match the return type of a gcc2
86781 builtin and then its argument prototype would still apply. */
86782 char $ac_func ();
86783 /* The GNU C library defines this for functions which it implements
86784 to always fail with ENOSYS. Some functions are actually named
86785 something starting with __ and the normal name is an alias. */
86786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86787 choke me
86788 #else
86789 char (*f) () = $ac_func;
86790 #endif
86791 #ifdef __cplusplus
86793 #endif
86796 main ()
86798 return f != $ac_func;
86800 return 0;
86802 _ACEOF
86803 rm -f conftest.$ac_objext conftest$ac_exeext
86804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86805 (eval $ac_link) 2>conftest.er1
86806 ac_status=$?
86807 grep -v '^ *+' conftest.er1 >conftest.err
86808 rm -f conftest.er1
86809 cat conftest.err >&5
86810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86811 (exit $ac_status); } &&
86812 { ac_try='test -z "$ac_c_werror_flag"
86813 || test ! -s conftest.err'
86814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86815 (eval $ac_try) 2>&5
86816 ac_status=$?
86817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86818 (exit $ac_status); }; } &&
86819 { ac_try='test -s conftest$ac_exeext'
86820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86821 (eval $ac_try) 2>&5
86822 ac_status=$?
86823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86824 (exit $ac_status); }; }; then
86825 eval "$as_ac_var=yes"
86826 else
86827 echo "$as_me: failed program was:" >&5
86828 sed 's/^/| /' conftest.$ac_ext >&5
86830 eval "$as_ac_var=no"
86832 rm -f conftest.err conftest.$ac_objext \
86833 conftest$ac_exeext conftest.$ac_ext
86835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86837 if test `eval echo '${'$as_ac_var'}'` = yes; then
86838 cat >>confdefs.h <<_ACEOF
86839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86840 _ACEOF
86843 done
86845 else
86846 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
86847 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
86848 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
86849 echo $ECHO_N "(cached) $ECHO_C" >&6
86850 else
86854 ac_ext=cc
86855 ac_cpp='$CXXCPP $CPPFLAGS'
86856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86860 cat >conftest.$ac_ext <<_ACEOF
86861 /* confdefs.h. */
86862 _ACEOF
86863 cat confdefs.h >>conftest.$ac_ext
86864 cat >>conftest.$ac_ext <<_ACEOF
86865 /* end confdefs.h. */
86866 #include <math.h>
86868 main ()
86870 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
86872 return 0;
86874 _ACEOF
86875 rm -f conftest.$ac_objext
86876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86877 (eval $ac_compile) 2>conftest.er1
86878 ac_status=$?
86879 grep -v '^ *+' conftest.er1 >conftest.err
86880 rm -f conftest.er1
86881 cat conftest.err >&5
86882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86883 (exit $ac_status); } &&
86884 { ac_try='test -z "$ac_cxx_werror_flag"
86885 || test ! -s conftest.err'
86886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86887 (eval $ac_try) 2>&5
86888 ac_status=$?
86889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86890 (exit $ac_status); }; } &&
86891 { ac_try='test -s conftest.$ac_objext'
86892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86893 (eval $ac_try) 2>&5
86894 ac_status=$?
86895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86896 (exit $ac_status); }; }; then
86897 glibcxx_cv_func__long_double_trig_use=yes
86898 else
86899 echo "$as_me: failed program was:" >&5
86900 sed 's/^/| /' conftest.$ac_ext >&5
86902 glibcxx_cv_func__long_double_trig_use=no
86904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86905 ac_ext=c
86906 ac_cpp='$CPP $CPPFLAGS'
86907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
86914 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
86915 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
86925 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
86927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86928 echo "$as_me:$LINENO: checking for $ac_func" >&5
86929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86930 if eval "test \"\${$as_ac_var+set}\" = set"; then
86931 echo $ECHO_N "(cached) $ECHO_C" >&6
86932 else
86933 if test x$gcc_no_link = xyes; then
86934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86936 { (exit 1); exit 1; }; }
86938 cat >conftest.$ac_ext <<_ACEOF
86939 /* confdefs.h. */
86940 _ACEOF
86941 cat confdefs.h >>conftest.$ac_ext
86942 cat >>conftest.$ac_ext <<_ACEOF
86943 /* end confdefs.h. */
86944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86946 #define $ac_func innocuous_$ac_func
86948 /* System header to define __stub macros and hopefully few prototypes,
86949 which can conflict with char $ac_func (); below.
86950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86951 <limits.h> exists even on freestanding compilers. */
86953 #ifdef __STDC__
86954 # include <limits.h>
86955 #else
86956 # include <assert.h>
86957 #endif
86959 #undef $ac_func
86961 /* Override any gcc2 internal prototype to avoid an error. */
86962 #ifdef __cplusplus
86963 extern "C"
86965 #endif
86966 /* We use char because int might match the return type of a gcc2
86967 builtin and then its argument prototype would still apply. */
86968 char $ac_func ();
86969 /* The GNU C library defines this for functions which it implements
86970 to always fail with ENOSYS. Some functions are actually named
86971 something starting with __ and the normal name is an alias. */
86972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86973 choke me
86974 #else
86975 char (*f) () = $ac_func;
86976 #endif
86977 #ifdef __cplusplus
86979 #endif
86982 main ()
86984 return f != $ac_func;
86986 return 0;
86988 _ACEOF
86989 rm -f conftest.$ac_objext conftest$ac_exeext
86990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86991 (eval $ac_link) 2>conftest.er1
86992 ac_status=$?
86993 grep -v '^ *+' conftest.er1 >conftest.err
86994 rm -f conftest.er1
86995 cat conftest.err >&5
86996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86997 (exit $ac_status); } &&
86998 { ac_try='test -z "$ac_c_werror_flag"
86999 || test ! -s conftest.err'
87000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87001 (eval $ac_try) 2>&5
87002 ac_status=$?
87003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87004 (exit $ac_status); }; } &&
87005 { ac_try='test -s conftest$ac_exeext'
87006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87007 (eval $ac_try) 2>&5
87008 ac_status=$?
87009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87010 (exit $ac_status); }; }; then
87011 eval "$as_ac_var=yes"
87012 else
87013 echo "$as_me: failed program was:" >&5
87014 sed 's/^/| /' conftest.$ac_ext >&5
87016 eval "$as_ac_var=no"
87018 rm -f conftest.err conftest.$ac_objext \
87019 conftest$ac_exeext conftest.$ac_ext
87021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87023 if test `eval echo '${'$as_ac_var'}'` = yes; then
87024 cat >>confdefs.h <<_ACEOF
87025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87026 _ACEOF
87029 done
87047 echo "$as_me:$LINENO: checking for long double round functions" >&5
87048 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
87049 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
87050 echo $ECHO_N "(cached) $ECHO_C" >&6
87051 else
87055 ac_ext=cc
87056 ac_cpp='$CXXCPP $CPPFLAGS'
87057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87061 cat >conftest.$ac_ext <<_ACEOF
87062 /* confdefs.h. */
87063 _ACEOF
87064 cat confdefs.h >>conftest.$ac_ext
87065 cat >>conftest.$ac_ext <<_ACEOF
87066 /* end confdefs.h. */
87067 #include <math.h>
87069 main ()
87071 ceill (0); floorl (0);
87073 return 0;
87075 _ACEOF
87076 rm -f conftest.$ac_objext
87077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87078 (eval $ac_compile) 2>conftest.er1
87079 ac_status=$?
87080 grep -v '^ *+' conftest.er1 >conftest.err
87081 rm -f conftest.er1
87082 cat conftest.err >&5
87083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87084 (exit $ac_status); } &&
87085 { ac_try='test -z "$ac_cxx_werror_flag"
87086 || test ! -s conftest.err'
87087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87088 (eval $ac_try) 2>&5
87089 ac_status=$?
87090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87091 (exit $ac_status); }; } &&
87092 { ac_try='test -s conftest.$ac_objext'
87093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87094 (eval $ac_try) 2>&5
87095 ac_status=$?
87096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87097 (exit $ac_status); }; }; then
87098 glibcxx_cv_func_long_double_round_use=yes
87099 else
87100 echo "$as_me: failed program was:" >&5
87101 sed 's/^/| /' conftest.$ac_ext >&5
87103 glibcxx_cv_func_long_double_round_use=no
87105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87106 ac_ext=c
87107 ac_cpp='$CPP $CPPFLAGS'
87108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
87115 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
87116 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
87119 for ac_func in ceill floorl
87121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87122 echo "$as_me:$LINENO: checking for $ac_func" >&5
87123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87124 if eval "test \"\${$as_ac_var+set}\" = set"; then
87125 echo $ECHO_N "(cached) $ECHO_C" >&6
87126 else
87127 if test x$gcc_no_link = xyes; then
87128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87130 { (exit 1); exit 1; }; }
87132 cat >conftest.$ac_ext <<_ACEOF
87133 /* confdefs.h. */
87134 _ACEOF
87135 cat confdefs.h >>conftest.$ac_ext
87136 cat >>conftest.$ac_ext <<_ACEOF
87137 /* end confdefs.h. */
87138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87140 #define $ac_func innocuous_$ac_func
87142 /* System header to define __stub macros and hopefully few prototypes,
87143 which can conflict with char $ac_func (); below.
87144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87145 <limits.h> exists even on freestanding compilers. */
87147 #ifdef __STDC__
87148 # include <limits.h>
87149 #else
87150 # include <assert.h>
87151 #endif
87153 #undef $ac_func
87155 /* Override any gcc2 internal prototype to avoid an error. */
87156 #ifdef __cplusplus
87157 extern "C"
87159 #endif
87160 /* We use char because int might match the return type of a gcc2
87161 builtin and then its argument prototype would still apply. */
87162 char $ac_func ();
87163 /* The GNU C library defines this for functions which it implements
87164 to always fail with ENOSYS. Some functions are actually named
87165 something starting with __ and the normal name is an alias. */
87166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87167 choke me
87168 #else
87169 char (*f) () = $ac_func;
87170 #endif
87171 #ifdef __cplusplus
87173 #endif
87176 main ()
87178 return f != $ac_func;
87180 return 0;
87182 _ACEOF
87183 rm -f conftest.$ac_objext conftest$ac_exeext
87184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87185 (eval $ac_link) 2>conftest.er1
87186 ac_status=$?
87187 grep -v '^ *+' conftest.er1 >conftest.err
87188 rm -f conftest.er1
87189 cat conftest.err >&5
87190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87191 (exit $ac_status); } &&
87192 { ac_try='test -z "$ac_c_werror_flag"
87193 || test ! -s conftest.err'
87194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87195 (eval $ac_try) 2>&5
87196 ac_status=$?
87197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87198 (exit $ac_status); }; } &&
87199 { ac_try='test -s conftest$ac_exeext'
87200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87201 (eval $ac_try) 2>&5
87202 ac_status=$?
87203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87204 (exit $ac_status); }; }; then
87205 eval "$as_ac_var=yes"
87206 else
87207 echo "$as_me: failed program was:" >&5
87208 sed 's/^/| /' conftest.$ac_ext >&5
87210 eval "$as_ac_var=no"
87212 rm -f conftest.err conftest.$ac_objext \
87213 conftest$ac_exeext conftest.$ac_ext
87215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87217 if test `eval echo '${'$as_ac_var'}'` = yes; then
87218 cat >>confdefs.h <<_ACEOF
87219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87220 _ACEOF
87223 done
87225 else
87226 echo "$as_me:$LINENO: checking for _long double round functions" >&5
87227 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
87228 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
87229 echo $ECHO_N "(cached) $ECHO_C" >&6
87230 else
87234 ac_ext=cc
87235 ac_cpp='$CXXCPP $CPPFLAGS'
87236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87240 cat >conftest.$ac_ext <<_ACEOF
87241 /* confdefs.h. */
87242 _ACEOF
87243 cat confdefs.h >>conftest.$ac_ext
87244 cat >>conftest.$ac_ext <<_ACEOF
87245 /* end confdefs.h. */
87246 #include <math.h>
87248 main ()
87250 _ceill (0); _floorl (0);
87252 return 0;
87254 _ACEOF
87255 rm -f conftest.$ac_objext
87256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87257 (eval $ac_compile) 2>conftest.er1
87258 ac_status=$?
87259 grep -v '^ *+' conftest.er1 >conftest.err
87260 rm -f conftest.er1
87261 cat conftest.err >&5
87262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87263 (exit $ac_status); } &&
87264 { ac_try='test -z "$ac_cxx_werror_flag"
87265 || test ! -s conftest.err'
87266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87267 (eval $ac_try) 2>&5
87268 ac_status=$?
87269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87270 (exit $ac_status); }; } &&
87271 { ac_try='test -s conftest.$ac_objext'
87272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87273 (eval $ac_try) 2>&5
87274 ac_status=$?
87275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87276 (exit $ac_status); }; }; then
87277 glibcxx_cv_func__long_double_round_use=yes
87278 else
87279 echo "$as_me: failed program was:" >&5
87280 sed 's/^/| /' conftest.$ac_ext >&5
87282 glibcxx_cv_func__long_double_round_use=no
87284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87285 ac_ext=c
87286 ac_cpp='$CPP $CPPFLAGS'
87287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87293 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
87294 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
87295 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
87298 for ac_func in _ceill _floorl
87300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87301 echo "$as_me:$LINENO: checking for $ac_func" >&5
87302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87303 if eval "test \"\${$as_ac_var+set}\" = set"; then
87304 echo $ECHO_N "(cached) $ECHO_C" >&6
87305 else
87306 if test x$gcc_no_link = xyes; then
87307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87309 { (exit 1); exit 1; }; }
87311 cat >conftest.$ac_ext <<_ACEOF
87312 /* confdefs.h. */
87313 _ACEOF
87314 cat confdefs.h >>conftest.$ac_ext
87315 cat >>conftest.$ac_ext <<_ACEOF
87316 /* end confdefs.h. */
87317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87319 #define $ac_func innocuous_$ac_func
87321 /* System header to define __stub macros and hopefully few prototypes,
87322 which can conflict with char $ac_func (); below.
87323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87324 <limits.h> exists even on freestanding compilers. */
87326 #ifdef __STDC__
87327 # include <limits.h>
87328 #else
87329 # include <assert.h>
87330 #endif
87332 #undef $ac_func
87334 /* Override any gcc2 internal prototype to avoid an error. */
87335 #ifdef __cplusplus
87336 extern "C"
87338 #endif
87339 /* We use char because int might match the return type of a gcc2
87340 builtin and then its argument prototype would still apply. */
87341 char $ac_func ();
87342 /* The GNU C library defines this for functions which it implements
87343 to always fail with ENOSYS. Some functions are actually named
87344 something starting with __ and the normal name is an alias. */
87345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87346 choke me
87347 #else
87348 char (*f) () = $ac_func;
87349 #endif
87350 #ifdef __cplusplus
87352 #endif
87355 main ()
87357 return f != $ac_func;
87359 return 0;
87361 _ACEOF
87362 rm -f conftest.$ac_objext conftest$ac_exeext
87363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87364 (eval $ac_link) 2>conftest.er1
87365 ac_status=$?
87366 grep -v '^ *+' conftest.er1 >conftest.err
87367 rm -f conftest.er1
87368 cat conftest.err >&5
87369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87370 (exit $ac_status); } &&
87371 { ac_try='test -z "$ac_c_werror_flag"
87372 || test ! -s conftest.err'
87373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87374 (eval $ac_try) 2>&5
87375 ac_status=$?
87376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87377 (exit $ac_status); }; } &&
87378 { ac_try='test -s conftest$ac_exeext'
87379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87380 (eval $ac_try) 2>&5
87381 ac_status=$?
87382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87383 (exit $ac_status); }; }; then
87384 eval "$as_ac_var=yes"
87385 else
87386 echo "$as_me: failed program was:" >&5
87387 sed 's/^/| /' conftest.$ac_ext >&5
87389 eval "$as_ac_var=no"
87391 rm -f conftest.err conftest.$ac_objext \
87392 conftest$ac_exeext conftest.$ac_ext
87394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87396 if test `eval echo '${'$as_ac_var'}'` = yes; then
87397 cat >>confdefs.h <<_ACEOF
87398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87399 _ACEOF
87402 done
87414 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
87415 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
87416 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
87417 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
87418 echo $ECHO_N "(cached) $ECHO_C" >&6
87419 else
87423 ac_ext=cc
87424 ac_cpp='$CXXCPP $CPPFLAGS'
87425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87429 cat >conftest.$ac_ext <<_ACEOF
87430 /* confdefs.h. */
87431 _ACEOF
87432 cat confdefs.h >>conftest.$ac_ext
87433 cat >>conftest.$ac_ext <<_ACEOF
87434 /* end confdefs.h. */
87435 #include <math.h>
87436 #ifdef HAVE_IEEEFP_H
87437 #include <ieeefp.h>
87438 #endif
87441 main ()
87443 isnanl(0);
87445 return 0;
87447 _ACEOF
87448 rm -f conftest.$ac_objext
87449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87450 (eval $ac_compile) 2>conftest.er1
87451 ac_status=$?
87452 grep -v '^ *+' conftest.er1 >conftest.err
87453 rm -f conftest.er1
87454 cat conftest.err >&5
87455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87456 (exit $ac_status); } &&
87457 { ac_try='test -z "$ac_cxx_werror_flag"
87458 || test ! -s conftest.err'
87459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87460 (eval $ac_try) 2>&5
87461 ac_status=$?
87462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87463 (exit $ac_status); }; } &&
87464 { ac_try='test -s conftest.$ac_objext'
87465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87466 (eval $ac_try) 2>&5
87467 ac_status=$?
87468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87469 (exit $ac_status); }; }; then
87470 glibcxx_cv_func_isnanl_use=yes
87471 else
87472 echo "$as_me: failed program was:" >&5
87473 sed 's/^/| /' conftest.$ac_ext >&5
87475 glibcxx_cv_func_isnanl_use=no
87477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87478 ac_ext=c
87479 ac_cpp='$CPP $CPPFLAGS'
87480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
87489 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
87491 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
87493 for ac_func in isnanl
87495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87496 echo "$as_me:$LINENO: checking for $ac_func" >&5
87497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87498 if eval "test \"\${$as_ac_var+set}\" = set"; then
87499 echo $ECHO_N "(cached) $ECHO_C" >&6
87500 else
87501 if test x$gcc_no_link = xyes; then
87502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87504 { (exit 1); exit 1; }; }
87506 cat >conftest.$ac_ext <<_ACEOF
87507 /* confdefs.h. */
87508 _ACEOF
87509 cat confdefs.h >>conftest.$ac_ext
87510 cat >>conftest.$ac_ext <<_ACEOF
87511 /* end confdefs.h. */
87512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87514 #define $ac_func innocuous_$ac_func
87516 /* System header to define __stub macros and hopefully few prototypes,
87517 which can conflict with char $ac_func (); below.
87518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87519 <limits.h> exists even on freestanding compilers. */
87521 #ifdef __STDC__
87522 # include <limits.h>
87523 #else
87524 # include <assert.h>
87525 #endif
87527 #undef $ac_func
87529 /* Override any gcc2 internal prototype to avoid an error. */
87530 #ifdef __cplusplus
87531 extern "C"
87533 #endif
87534 /* We use char because int might match the return type of a gcc2
87535 builtin and then its argument prototype would still apply. */
87536 char $ac_func ();
87537 /* The GNU C library defines this for functions which it implements
87538 to always fail with ENOSYS. Some functions are actually named
87539 something starting with __ and the normal name is an alias. */
87540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87541 choke me
87542 #else
87543 char (*f) () = $ac_func;
87544 #endif
87545 #ifdef __cplusplus
87547 #endif
87550 main ()
87552 return f != $ac_func;
87554 return 0;
87556 _ACEOF
87557 rm -f conftest.$ac_objext conftest$ac_exeext
87558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87559 (eval $ac_link) 2>conftest.er1
87560 ac_status=$?
87561 grep -v '^ *+' conftest.er1 >conftest.err
87562 rm -f conftest.er1
87563 cat conftest.err >&5
87564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87565 (exit $ac_status); } &&
87566 { ac_try='test -z "$ac_c_werror_flag"
87567 || test ! -s conftest.err'
87568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87569 (eval $ac_try) 2>&5
87570 ac_status=$?
87571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87572 (exit $ac_status); }; } &&
87573 { ac_try='test -s conftest$ac_exeext'
87574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87575 (eval $ac_try) 2>&5
87576 ac_status=$?
87577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87578 (exit $ac_status); }; }; then
87579 eval "$as_ac_var=yes"
87580 else
87581 echo "$as_me: failed program was:" >&5
87582 sed 's/^/| /' conftest.$ac_ext >&5
87584 eval "$as_ac_var=no"
87586 rm -f conftest.err conftest.$ac_objext \
87587 conftest$ac_exeext conftest.$ac_ext
87589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87591 if test `eval echo '${'$as_ac_var'}'` = yes; then
87592 cat >>confdefs.h <<_ACEOF
87593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87594 _ACEOF
87597 done
87599 else
87601 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
87602 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
87603 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
87604 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
87605 echo $ECHO_N "(cached) $ECHO_C" >&6
87606 else
87610 ac_ext=cc
87611 ac_cpp='$CXXCPP $CPPFLAGS'
87612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87616 cat >conftest.$ac_ext <<_ACEOF
87617 /* confdefs.h. */
87618 _ACEOF
87619 cat confdefs.h >>conftest.$ac_ext
87620 cat >>conftest.$ac_ext <<_ACEOF
87621 /* end confdefs.h. */
87622 #include <math.h>
87623 #ifdef HAVE_IEEEFP_H
87624 #include <ieeefp.h>
87625 #endif
87628 main ()
87630 _isnanl(0);
87632 return 0;
87634 _ACEOF
87635 rm -f conftest.$ac_objext
87636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87637 (eval $ac_compile) 2>conftest.er1
87638 ac_status=$?
87639 grep -v '^ *+' conftest.er1 >conftest.err
87640 rm -f conftest.er1
87641 cat conftest.err >&5
87642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87643 (exit $ac_status); } &&
87644 { ac_try='test -z "$ac_cxx_werror_flag"
87645 || test ! -s conftest.err'
87646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87647 (eval $ac_try) 2>&5
87648 ac_status=$?
87649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87650 (exit $ac_status); }; } &&
87651 { ac_try='test -s conftest.$ac_objext'
87652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87653 (eval $ac_try) 2>&5
87654 ac_status=$?
87655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87656 (exit $ac_status); }; }; then
87657 glibcxx_cv_func__isnanl_use=yes
87658 else
87659 echo "$as_me: failed program was:" >&5
87660 sed 's/^/| /' conftest.$ac_ext >&5
87662 glibcxx_cv_func__isnanl_use=no
87664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87665 ac_ext=c
87666 ac_cpp='$CPP $CPPFLAGS'
87667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
87676 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
87678 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
87680 for ac_func in _isnanl
87682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87683 echo "$as_me:$LINENO: checking for $ac_func" >&5
87684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87685 if eval "test \"\${$as_ac_var+set}\" = set"; then
87686 echo $ECHO_N "(cached) $ECHO_C" >&6
87687 else
87688 if test x$gcc_no_link = xyes; then
87689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87691 { (exit 1); exit 1; }; }
87693 cat >conftest.$ac_ext <<_ACEOF
87694 /* confdefs.h. */
87695 _ACEOF
87696 cat confdefs.h >>conftest.$ac_ext
87697 cat >>conftest.$ac_ext <<_ACEOF
87698 /* end confdefs.h. */
87699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87701 #define $ac_func innocuous_$ac_func
87703 /* System header to define __stub macros and hopefully few prototypes,
87704 which can conflict with char $ac_func (); below.
87705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87706 <limits.h> exists even on freestanding compilers. */
87708 #ifdef __STDC__
87709 # include <limits.h>
87710 #else
87711 # include <assert.h>
87712 #endif
87714 #undef $ac_func
87716 /* Override any gcc2 internal prototype to avoid an error. */
87717 #ifdef __cplusplus
87718 extern "C"
87720 #endif
87721 /* We use char because int might match the return type of a gcc2
87722 builtin and then its argument prototype would still apply. */
87723 char $ac_func ();
87724 /* The GNU C library defines this for functions which it implements
87725 to always fail with ENOSYS. Some functions are actually named
87726 something starting with __ and the normal name is an alias. */
87727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87728 choke me
87729 #else
87730 char (*f) () = $ac_func;
87731 #endif
87732 #ifdef __cplusplus
87734 #endif
87737 main ()
87739 return f != $ac_func;
87741 return 0;
87743 _ACEOF
87744 rm -f conftest.$ac_objext conftest$ac_exeext
87745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87746 (eval $ac_link) 2>conftest.er1
87747 ac_status=$?
87748 grep -v '^ *+' conftest.er1 >conftest.err
87749 rm -f conftest.er1
87750 cat conftest.err >&5
87751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87752 (exit $ac_status); } &&
87753 { ac_try='test -z "$ac_c_werror_flag"
87754 || test ! -s conftest.err'
87755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87756 (eval $ac_try) 2>&5
87757 ac_status=$?
87758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87759 (exit $ac_status); }; } &&
87760 { ac_try='test -s conftest$ac_exeext'
87761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87762 (eval $ac_try) 2>&5
87763 ac_status=$?
87764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87765 (exit $ac_status); }; }; then
87766 eval "$as_ac_var=yes"
87767 else
87768 echo "$as_me: failed program was:" >&5
87769 sed 's/^/| /' conftest.$ac_ext >&5
87771 eval "$as_ac_var=no"
87773 rm -f conftest.err conftest.$ac_objext \
87774 conftest$ac_exeext conftest.$ac_ext
87776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87778 if test `eval echo '${'$as_ac_var'}'` = yes; then
87779 cat >>confdefs.h <<_ACEOF
87780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87781 _ACEOF
87784 done
87794 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
87795 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
87796 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
87797 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
87798 echo $ECHO_N "(cached) $ECHO_C" >&6
87799 else
87803 ac_ext=cc
87804 ac_cpp='$CXXCPP $CPPFLAGS'
87805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87809 cat >conftest.$ac_ext <<_ACEOF
87810 /* confdefs.h. */
87811 _ACEOF
87812 cat confdefs.h >>conftest.$ac_ext
87813 cat >>conftest.$ac_ext <<_ACEOF
87814 /* end confdefs.h. */
87815 #include <math.h>
87816 #ifdef HAVE_IEEEFP_H
87817 #include <ieeefp.h>
87818 #endif
87821 main ()
87823 isinfl(0);
87825 return 0;
87827 _ACEOF
87828 rm -f conftest.$ac_objext
87829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87830 (eval $ac_compile) 2>conftest.er1
87831 ac_status=$?
87832 grep -v '^ *+' conftest.er1 >conftest.err
87833 rm -f conftest.er1
87834 cat conftest.err >&5
87835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87836 (exit $ac_status); } &&
87837 { ac_try='test -z "$ac_cxx_werror_flag"
87838 || test ! -s conftest.err'
87839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87840 (eval $ac_try) 2>&5
87841 ac_status=$?
87842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87843 (exit $ac_status); }; } &&
87844 { ac_try='test -s conftest.$ac_objext'
87845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87846 (eval $ac_try) 2>&5
87847 ac_status=$?
87848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87849 (exit $ac_status); }; }; then
87850 glibcxx_cv_func_isinfl_use=yes
87851 else
87852 echo "$as_me: failed program was:" >&5
87853 sed 's/^/| /' conftest.$ac_ext >&5
87855 glibcxx_cv_func_isinfl_use=no
87857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87858 ac_ext=c
87859 ac_cpp='$CPP $CPPFLAGS'
87860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87868 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
87869 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
87871 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
87873 for ac_func in isinfl
87875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87876 echo "$as_me:$LINENO: checking for $ac_func" >&5
87877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87878 if eval "test \"\${$as_ac_var+set}\" = set"; then
87879 echo $ECHO_N "(cached) $ECHO_C" >&6
87880 else
87881 if test x$gcc_no_link = xyes; then
87882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87884 { (exit 1); exit 1; }; }
87886 cat >conftest.$ac_ext <<_ACEOF
87887 /* confdefs.h. */
87888 _ACEOF
87889 cat confdefs.h >>conftest.$ac_ext
87890 cat >>conftest.$ac_ext <<_ACEOF
87891 /* end confdefs.h. */
87892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87894 #define $ac_func innocuous_$ac_func
87896 /* System header to define __stub macros and hopefully few prototypes,
87897 which can conflict with char $ac_func (); below.
87898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87899 <limits.h> exists even on freestanding compilers. */
87901 #ifdef __STDC__
87902 # include <limits.h>
87903 #else
87904 # include <assert.h>
87905 #endif
87907 #undef $ac_func
87909 /* Override any gcc2 internal prototype to avoid an error. */
87910 #ifdef __cplusplus
87911 extern "C"
87913 #endif
87914 /* We use char because int might match the return type of a gcc2
87915 builtin and then its argument prototype would still apply. */
87916 char $ac_func ();
87917 /* The GNU C library defines this for functions which it implements
87918 to always fail with ENOSYS. Some functions are actually named
87919 something starting with __ and the normal name is an alias. */
87920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87921 choke me
87922 #else
87923 char (*f) () = $ac_func;
87924 #endif
87925 #ifdef __cplusplus
87927 #endif
87930 main ()
87932 return f != $ac_func;
87934 return 0;
87936 _ACEOF
87937 rm -f conftest.$ac_objext conftest$ac_exeext
87938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87939 (eval $ac_link) 2>conftest.er1
87940 ac_status=$?
87941 grep -v '^ *+' conftest.er1 >conftest.err
87942 rm -f conftest.er1
87943 cat conftest.err >&5
87944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87945 (exit $ac_status); } &&
87946 { ac_try='test -z "$ac_c_werror_flag"
87947 || test ! -s conftest.err'
87948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87949 (eval $ac_try) 2>&5
87950 ac_status=$?
87951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87952 (exit $ac_status); }; } &&
87953 { ac_try='test -s conftest$ac_exeext'
87954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87955 (eval $ac_try) 2>&5
87956 ac_status=$?
87957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87958 (exit $ac_status); }; }; then
87959 eval "$as_ac_var=yes"
87960 else
87961 echo "$as_me: failed program was:" >&5
87962 sed 's/^/| /' conftest.$ac_ext >&5
87964 eval "$as_ac_var=no"
87966 rm -f conftest.err conftest.$ac_objext \
87967 conftest$ac_exeext conftest.$ac_ext
87969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87971 if test `eval echo '${'$as_ac_var'}'` = yes; then
87972 cat >>confdefs.h <<_ACEOF
87973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87974 _ACEOF
87977 done
87979 else
87981 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
87982 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
87983 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
87984 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
87985 echo $ECHO_N "(cached) $ECHO_C" >&6
87986 else
87990 ac_ext=cc
87991 ac_cpp='$CXXCPP $CPPFLAGS'
87992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87996 cat >conftest.$ac_ext <<_ACEOF
87997 /* confdefs.h. */
87998 _ACEOF
87999 cat confdefs.h >>conftest.$ac_ext
88000 cat >>conftest.$ac_ext <<_ACEOF
88001 /* end confdefs.h. */
88002 #include <math.h>
88003 #ifdef HAVE_IEEEFP_H
88004 #include <ieeefp.h>
88005 #endif
88008 main ()
88010 _isinfl(0);
88012 return 0;
88014 _ACEOF
88015 rm -f conftest.$ac_objext
88016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88017 (eval $ac_compile) 2>conftest.er1
88018 ac_status=$?
88019 grep -v '^ *+' conftest.er1 >conftest.err
88020 rm -f conftest.er1
88021 cat conftest.err >&5
88022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88023 (exit $ac_status); } &&
88024 { ac_try='test -z "$ac_cxx_werror_flag"
88025 || test ! -s conftest.err'
88026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88027 (eval $ac_try) 2>&5
88028 ac_status=$?
88029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88030 (exit $ac_status); }; } &&
88031 { ac_try='test -s conftest.$ac_objext'
88032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88033 (eval $ac_try) 2>&5
88034 ac_status=$?
88035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88036 (exit $ac_status); }; }; then
88037 glibcxx_cv_func__isinfl_use=yes
88038 else
88039 echo "$as_me: failed program was:" >&5
88040 sed 's/^/| /' conftest.$ac_ext >&5
88042 glibcxx_cv_func__isinfl_use=no
88044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88045 ac_ext=c
88046 ac_cpp='$CPP $CPPFLAGS'
88047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
88056 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
88058 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
88060 for ac_func in _isinfl
88062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88063 echo "$as_me:$LINENO: checking for $ac_func" >&5
88064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88065 if eval "test \"\${$as_ac_var+set}\" = set"; then
88066 echo $ECHO_N "(cached) $ECHO_C" >&6
88067 else
88068 if test x$gcc_no_link = xyes; then
88069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88071 { (exit 1); exit 1; }; }
88073 cat >conftest.$ac_ext <<_ACEOF
88074 /* confdefs.h. */
88075 _ACEOF
88076 cat confdefs.h >>conftest.$ac_ext
88077 cat >>conftest.$ac_ext <<_ACEOF
88078 /* end confdefs.h. */
88079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88081 #define $ac_func innocuous_$ac_func
88083 /* System header to define __stub macros and hopefully few prototypes,
88084 which can conflict with char $ac_func (); below.
88085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88086 <limits.h> exists even on freestanding compilers. */
88088 #ifdef __STDC__
88089 # include <limits.h>
88090 #else
88091 # include <assert.h>
88092 #endif
88094 #undef $ac_func
88096 /* Override any gcc2 internal prototype to avoid an error. */
88097 #ifdef __cplusplus
88098 extern "C"
88100 #endif
88101 /* We use char because int might match the return type of a gcc2
88102 builtin and then its argument prototype would still apply. */
88103 char $ac_func ();
88104 /* The GNU C library defines this for functions which it implements
88105 to always fail with ENOSYS. Some functions are actually named
88106 something starting with __ and the normal name is an alias. */
88107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88108 choke me
88109 #else
88110 char (*f) () = $ac_func;
88111 #endif
88112 #ifdef __cplusplus
88114 #endif
88117 main ()
88119 return f != $ac_func;
88121 return 0;
88123 _ACEOF
88124 rm -f conftest.$ac_objext conftest$ac_exeext
88125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88126 (eval $ac_link) 2>conftest.er1
88127 ac_status=$?
88128 grep -v '^ *+' conftest.er1 >conftest.err
88129 rm -f conftest.er1
88130 cat conftest.err >&5
88131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88132 (exit $ac_status); } &&
88133 { ac_try='test -z "$ac_c_werror_flag"
88134 || test ! -s conftest.err'
88135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88136 (eval $ac_try) 2>&5
88137 ac_status=$?
88138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88139 (exit $ac_status); }; } &&
88140 { ac_try='test -s conftest$ac_exeext'
88141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88142 (eval $ac_try) 2>&5
88143 ac_status=$?
88144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88145 (exit $ac_status); }; }; then
88146 eval "$as_ac_var=yes"
88147 else
88148 echo "$as_me: failed program was:" >&5
88149 sed 's/^/| /' conftest.$ac_ext >&5
88151 eval "$as_ac_var=no"
88153 rm -f conftest.err conftest.$ac_objext \
88154 conftest$ac_exeext conftest.$ac_ext
88156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88158 if test `eval echo '${'$as_ac_var'}'` = yes; then
88159 cat >>confdefs.h <<_ACEOF
88160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88161 _ACEOF
88164 done
88174 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
88175 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
88176 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
88177 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
88178 echo $ECHO_N "(cached) $ECHO_C" >&6
88179 else
88183 ac_ext=cc
88184 ac_cpp='$CXXCPP $CPPFLAGS'
88185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88189 cat >conftest.$ac_ext <<_ACEOF
88190 /* confdefs.h. */
88191 _ACEOF
88192 cat confdefs.h >>conftest.$ac_ext
88193 cat >>conftest.$ac_ext <<_ACEOF
88194 /* end confdefs.h. */
88195 #include <math.h>
88197 main ()
88199 atan2l(0, 0);
88201 return 0;
88203 _ACEOF
88204 rm -f conftest.$ac_objext
88205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88206 (eval $ac_compile) 2>conftest.er1
88207 ac_status=$?
88208 grep -v '^ *+' conftest.er1 >conftest.err
88209 rm -f conftest.er1
88210 cat conftest.err >&5
88211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212 (exit $ac_status); } &&
88213 { ac_try='test -z "$ac_cxx_werror_flag"
88214 || test ! -s conftest.err'
88215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88216 (eval $ac_try) 2>&5
88217 ac_status=$?
88218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88219 (exit $ac_status); }; } &&
88220 { ac_try='test -s conftest.$ac_objext'
88221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88222 (eval $ac_try) 2>&5
88223 ac_status=$?
88224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88225 (exit $ac_status); }; }; then
88226 glibcxx_cv_func_atan2l_use=yes
88227 else
88228 echo "$as_me: failed program was:" >&5
88229 sed 's/^/| /' conftest.$ac_ext >&5
88231 glibcxx_cv_func_atan2l_use=no
88233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88234 ac_ext=c
88235 ac_cpp='$CPP $CPPFLAGS'
88236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
88245 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
88247 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
88249 for ac_func in atan2l
88251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88252 echo "$as_me:$LINENO: checking for $ac_func" >&5
88253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88254 if eval "test \"\${$as_ac_var+set}\" = set"; then
88255 echo $ECHO_N "(cached) $ECHO_C" >&6
88256 else
88257 if test x$gcc_no_link = xyes; then
88258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88260 { (exit 1); exit 1; }; }
88262 cat >conftest.$ac_ext <<_ACEOF
88263 /* confdefs.h. */
88264 _ACEOF
88265 cat confdefs.h >>conftest.$ac_ext
88266 cat >>conftest.$ac_ext <<_ACEOF
88267 /* end confdefs.h. */
88268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88270 #define $ac_func innocuous_$ac_func
88272 /* System header to define __stub macros and hopefully few prototypes,
88273 which can conflict with char $ac_func (); below.
88274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88275 <limits.h> exists even on freestanding compilers. */
88277 #ifdef __STDC__
88278 # include <limits.h>
88279 #else
88280 # include <assert.h>
88281 #endif
88283 #undef $ac_func
88285 /* Override any gcc2 internal prototype to avoid an error. */
88286 #ifdef __cplusplus
88287 extern "C"
88289 #endif
88290 /* We use char because int might match the return type of a gcc2
88291 builtin and then its argument prototype would still apply. */
88292 char $ac_func ();
88293 /* The GNU C library defines this for functions which it implements
88294 to always fail with ENOSYS. Some functions are actually named
88295 something starting with __ and the normal name is an alias. */
88296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88297 choke me
88298 #else
88299 char (*f) () = $ac_func;
88300 #endif
88301 #ifdef __cplusplus
88303 #endif
88306 main ()
88308 return f != $ac_func;
88310 return 0;
88312 _ACEOF
88313 rm -f conftest.$ac_objext conftest$ac_exeext
88314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88315 (eval $ac_link) 2>conftest.er1
88316 ac_status=$?
88317 grep -v '^ *+' conftest.er1 >conftest.err
88318 rm -f conftest.er1
88319 cat conftest.err >&5
88320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88321 (exit $ac_status); } &&
88322 { ac_try='test -z "$ac_c_werror_flag"
88323 || test ! -s conftest.err'
88324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88325 (eval $ac_try) 2>&5
88326 ac_status=$?
88327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88328 (exit $ac_status); }; } &&
88329 { ac_try='test -s conftest$ac_exeext'
88330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88331 (eval $ac_try) 2>&5
88332 ac_status=$?
88333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88334 (exit $ac_status); }; }; then
88335 eval "$as_ac_var=yes"
88336 else
88337 echo "$as_me: failed program was:" >&5
88338 sed 's/^/| /' conftest.$ac_ext >&5
88340 eval "$as_ac_var=no"
88342 rm -f conftest.err conftest.$ac_objext \
88343 conftest$ac_exeext conftest.$ac_ext
88345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88347 if test `eval echo '${'$as_ac_var'}'` = yes; then
88348 cat >>confdefs.h <<_ACEOF
88349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88350 _ACEOF
88353 done
88355 else
88357 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
88358 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
88359 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
88360 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
88361 echo $ECHO_N "(cached) $ECHO_C" >&6
88362 else
88366 ac_ext=cc
88367 ac_cpp='$CXXCPP $CPPFLAGS'
88368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88372 cat >conftest.$ac_ext <<_ACEOF
88373 /* confdefs.h. */
88374 _ACEOF
88375 cat confdefs.h >>conftest.$ac_ext
88376 cat >>conftest.$ac_ext <<_ACEOF
88377 /* end confdefs.h. */
88378 #include <math.h>
88380 main ()
88382 _atan2l(0, 0);
88384 return 0;
88386 _ACEOF
88387 rm -f conftest.$ac_objext
88388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88389 (eval $ac_compile) 2>conftest.er1
88390 ac_status=$?
88391 grep -v '^ *+' conftest.er1 >conftest.err
88392 rm -f conftest.er1
88393 cat conftest.err >&5
88394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88395 (exit $ac_status); } &&
88396 { ac_try='test -z "$ac_cxx_werror_flag"
88397 || test ! -s conftest.err'
88398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88399 (eval $ac_try) 2>&5
88400 ac_status=$?
88401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88402 (exit $ac_status); }; } &&
88403 { ac_try='test -s conftest.$ac_objext'
88404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88405 (eval $ac_try) 2>&5
88406 ac_status=$?
88407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88408 (exit $ac_status); }; }; then
88409 glibcxx_cv_func__atan2l_use=yes
88410 else
88411 echo "$as_me: failed program was:" >&5
88412 sed 's/^/| /' conftest.$ac_ext >&5
88414 glibcxx_cv_func__atan2l_use=no
88416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88417 ac_ext=c
88418 ac_cpp='$CPP $CPPFLAGS'
88419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
88428 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
88430 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
88432 for ac_func in _atan2l
88434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88435 echo "$as_me:$LINENO: checking for $ac_func" >&5
88436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88437 if eval "test \"\${$as_ac_var+set}\" = set"; then
88438 echo $ECHO_N "(cached) $ECHO_C" >&6
88439 else
88440 if test x$gcc_no_link = xyes; then
88441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88443 { (exit 1); exit 1; }; }
88445 cat >conftest.$ac_ext <<_ACEOF
88446 /* confdefs.h. */
88447 _ACEOF
88448 cat confdefs.h >>conftest.$ac_ext
88449 cat >>conftest.$ac_ext <<_ACEOF
88450 /* end confdefs.h. */
88451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88453 #define $ac_func innocuous_$ac_func
88455 /* System header to define __stub macros and hopefully few prototypes,
88456 which can conflict with char $ac_func (); below.
88457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88458 <limits.h> exists even on freestanding compilers. */
88460 #ifdef __STDC__
88461 # include <limits.h>
88462 #else
88463 # include <assert.h>
88464 #endif
88466 #undef $ac_func
88468 /* Override any gcc2 internal prototype to avoid an error. */
88469 #ifdef __cplusplus
88470 extern "C"
88472 #endif
88473 /* We use char because int might match the return type of a gcc2
88474 builtin and then its argument prototype would still apply. */
88475 char $ac_func ();
88476 /* The GNU C library defines this for functions which it implements
88477 to always fail with ENOSYS. Some functions are actually named
88478 something starting with __ and the normal name is an alias. */
88479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88480 choke me
88481 #else
88482 char (*f) () = $ac_func;
88483 #endif
88484 #ifdef __cplusplus
88486 #endif
88489 main ()
88491 return f != $ac_func;
88493 return 0;
88495 _ACEOF
88496 rm -f conftest.$ac_objext conftest$ac_exeext
88497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88498 (eval $ac_link) 2>conftest.er1
88499 ac_status=$?
88500 grep -v '^ *+' conftest.er1 >conftest.err
88501 rm -f conftest.er1
88502 cat conftest.err >&5
88503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88504 (exit $ac_status); } &&
88505 { ac_try='test -z "$ac_c_werror_flag"
88506 || test ! -s conftest.err'
88507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88508 (eval $ac_try) 2>&5
88509 ac_status=$?
88510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88511 (exit $ac_status); }; } &&
88512 { ac_try='test -s conftest$ac_exeext'
88513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88514 (eval $ac_try) 2>&5
88515 ac_status=$?
88516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88517 (exit $ac_status); }; }; then
88518 eval "$as_ac_var=yes"
88519 else
88520 echo "$as_me: failed program was:" >&5
88521 sed 's/^/| /' conftest.$ac_ext >&5
88523 eval "$as_ac_var=no"
88525 rm -f conftest.err conftest.$ac_objext \
88526 conftest$ac_exeext conftest.$ac_ext
88528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88530 if test `eval echo '${'$as_ac_var'}'` = yes; then
88531 cat >>confdefs.h <<_ACEOF
88532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88533 _ACEOF
88536 done
88546 echo "$as_me:$LINENO: checking for expl declaration" >&5
88547 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
88548 if test x${glibcxx_cv_func_expl_use+set} != xset; then
88549 if test "${glibcxx_cv_func_expl_use+set}" = set; then
88550 echo $ECHO_N "(cached) $ECHO_C" >&6
88551 else
88555 ac_ext=cc
88556 ac_cpp='$CXXCPP $CPPFLAGS'
88557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88561 cat >conftest.$ac_ext <<_ACEOF
88562 /* confdefs.h. */
88563 _ACEOF
88564 cat confdefs.h >>conftest.$ac_ext
88565 cat >>conftest.$ac_ext <<_ACEOF
88566 /* end confdefs.h. */
88567 #include <math.h>
88568 #ifdef HAVE_IEEEFP_H
88569 #include <ieeefp.h>
88570 #endif
88573 main ()
88575 expl(0);
88577 return 0;
88579 _ACEOF
88580 rm -f conftest.$ac_objext
88581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88582 (eval $ac_compile) 2>conftest.er1
88583 ac_status=$?
88584 grep -v '^ *+' conftest.er1 >conftest.err
88585 rm -f conftest.er1
88586 cat conftest.err >&5
88587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88588 (exit $ac_status); } &&
88589 { ac_try='test -z "$ac_cxx_werror_flag"
88590 || test ! -s conftest.err'
88591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88592 (eval $ac_try) 2>&5
88593 ac_status=$?
88594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88595 (exit $ac_status); }; } &&
88596 { ac_try='test -s conftest.$ac_objext'
88597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88598 (eval $ac_try) 2>&5
88599 ac_status=$?
88600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88601 (exit $ac_status); }; }; then
88602 glibcxx_cv_func_expl_use=yes
88603 else
88604 echo "$as_me: failed program was:" >&5
88605 sed 's/^/| /' conftest.$ac_ext >&5
88607 glibcxx_cv_func_expl_use=no
88609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88610 ac_ext=c
88611 ac_cpp='$CPP $CPPFLAGS'
88612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
88621 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
88623 if test x$glibcxx_cv_func_expl_use = x"yes"; then
88625 for ac_func in expl
88627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88628 echo "$as_me:$LINENO: checking for $ac_func" >&5
88629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88630 if eval "test \"\${$as_ac_var+set}\" = set"; then
88631 echo $ECHO_N "(cached) $ECHO_C" >&6
88632 else
88633 if test x$gcc_no_link = xyes; then
88634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88636 { (exit 1); exit 1; }; }
88638 cat >conftest.$ac_ext <<_ACEOF
88639 /* confdefs.h. */
88640 _ACEOF
88641 cat confdefs.h >>conftest.$ac_ext
88642 cat >>conftest.$ac_ext <<_ACEOF
88643 /* end confdefs.h. */
88644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88646 #define $ac_func innocuous_$ac_func
88648 /* System header to define __stub macros and hopefully few prototypes,
88649 which can conflict with char $ac_func (); below.
88650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88651 <limits.h> exists even on freestanding compilers. */
88653 #ifdef __STDC__
88654 # include <limits.h>
88655 #else
88656 # include <assert.h>
88657 #endif
88659 #undef $ac_func
88661 /* Override any gcc2 internal prototype to avoid an error. */
88662 #ifdef __cplusplus
88663 extern "C"
88665 #endif
88666 /* We use char because int might match the return type of a gcc2
88667 builtin and then its argument prototype would still apply. */
88668 char $ac_func ();
88669 /* The GNU C library defines this for functions which it implements
88670 to always fail with ENOSYS. Some functions are actually named
88671 something starting with __ and the normal name is an alias. */
88672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88673 choke me
88674 #else
88675 char (*f) () = $ac_func;
88676 #endif
88677 #ifdef __cplusplus
88679 #endif
88682 main ()
88684 return f != $ac_func;
88686 return 0;
88688 _ACEOF
88689 rm -f conftest.$ac_objext conftest$ac_exeext
88690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88691 (eval $ac_link) 2>conftest.er1
88692 ac_status=$?
88693 grep -v '^ *+' conftest.er1 >conftest.err
88694 rm -f conftest.er1
88695 cat conftest.err >&5
88696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88697 (exit $ac_status); } &&
88698 { ac_try='test -z "$ac_c_werror_flag"
88699 || test ! -s conftest.err'
88700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88701 (eval $ac_try) 2>&5
88702 ac_status=$?
88703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88704 (exit $ac_status); }; } &&
88705 { ac_try='test -s conftest$ac_exeext'
88706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88707 (eval $ac_try) 2>&5
88708 ac_status=$?
88709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88710 (exit $ac_status); }; }; then
88711 eval "$as_ac_var=yes"
88712 else
88713 echo "$as_me: failed program was:" >&5
88714 sed 's/^/| /' conftest.$ac_ext >&5
88716 eval "$as_ac_var=no"
88718 rm -f conftest.err conftest.$ac_objext \
88719 conftest$ac_exeext conftest.$ac_ext
88721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88723 if test `eval echo '${'$as_ac_var'}'` = yes; then
88724 cat >>confdefs.h <<_ACEOF
88725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88726 _ACEOF
88729 done
88731 else
88733 echo "$as_me:$LINENO: checking for _expl declaration" >&5
88734 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
88735 if test x${glibcxx_cv_func__expl_use+set} != xset; then
88736 if test "${glibcxx_cv_func__expl_use+set}" = set; then
88737 echo $ECHO_N "(cached) $ECHO_C" >&6
88738 else
88742 ac_ext=cc
88743 ac_cpp='$CXXCPP $CPPFLAGS'
88744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88748 cat >conftest.$ac_ext <<_ACEOF
88749 /* confdefs.h. */
88750 _ACEOF
88751 cat confdefs.h >>conftest.$ac_ext
88752 cat >>conftest.$ac_ext <<_ACEOF
88753 /* end confdefs.h. */
88754 #include <math.h>
88755 #ifdef HAVE_IEEEFP_H
88756 #include <ieeefp.h>
88757 #endif
88760 main ()
88762 _expl(0);
88764 return 0;
88766 _ACEOF
88767 rm -f conftest.$ac_objext
88768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88769 (eval $ac_compile) 2>conftest.er1
88770 ac_status=$?
88771 grep -v '^ *+' conftest.er1 >conftest.err
88772 rm -f conftest.er1
88773 cat conftest.err >&5
88774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88775 (exit $ac_status); } &&
88776 { ac_try='test -z "$ac_cxx_werror_flag"
88777 || test ! -s conftest.err'
88778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88779 (eval $ac_try) 2>&5
88780 ac_status=$?
88781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88782 (exit $ac_status); }; } &&
88783 { ac_try='test -s conftest.$ac_objext'
88784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88785 (eval $ac_try) 2>&5
88786 ac_status=$?
88787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88788 (exit $ac_status); }; }; then
88789 glibcxx_cv_func__expl_use=yes
88790 else
88791 echo "$as_me: failed program was:" >&5
88792 sed 's/^/| /' conftest.$ac_ext >&5
88794 glibcxx_cv_func__expl_use=no
88796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88797 ac_ext=c
88798 ac_cpp='$CPP $CPPFLAGS'
88799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
88808 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
88810 if test x$glibcxx_cv_func__expl_use = x"yes"; then
88812 for ac_func in _expl
88814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88815 echo "$as_me:$LINENO: checking for $ac_func" >&5
88816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88817 if eval "test \"\${$as_ac_var+set}\" = set"; then
88818 echo $ECHO_N "(cached) $ECHO_C" >&6
88819 else
88820 if test x$gcc_no_link = xyes; then
88821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88823 { (exit 1); exit 1; }; }
88825 cat >conftest.$ac_ext <<_ACEOF
88826 /* confdefs.h. */
88827 _ACEOF
88828 cat confdefs.h >>conftest.$ac_ext
88829 cat >>conftest.$ac_ext <<_ACEOF
88830 /* end confdefs.h. */
88831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88833 #define $ac_func innocuous_$ac_func
88835 /* System header to define __stub macros and hopefully few prototypes,
88836 which can conflict with char $ac_func (); below.
88837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88838 <limits.h> exists even on freestanding compilers. */
88840 #ifdef __STDC__
88841 # include <limits.h>
88842 #else
88843 # include <assert.h>
88844 #endif
88846 #undef $ac_func
88848 /* Override any gcc2 internal prototype to avoid an error. */
88849 #ifdef __cplusplus
88850 extern "C"
88852 #endif
88853 /* We use char because int might match the return type of a gcc2
88854 builtin and then its argument prototype would still apply. */
88855 char $ac_func ();
88856 /* The GNU C library defines this for functions which it implements
88857 to always fail with ENOSYS. Some functions are actually named
88858 something starting with __ and the normal name is an alias. */
88859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88860 choke me
88861 #else
88862 char (*f) () = $ac_func;
88863 #endif
88864 #ifdef __cplusplus
88866 #endif
88869 main ()
88871 return f != $ac_func;
88873 return 0;
88875 _ACEOF
88876 rm -f conftest.$ac_objext conftest$ac_exeext
88877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88878 (eval $ac_link) 2>conftest.er1
88879 ac_status=$?
88880 grep -v '^ *+' conftest.er1 >conftest.err
88881 rm -f conftest.er1
88882 cat conftest.err >&5
88883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88884 (exit $ac_status); } &&
88885 { ac_try='test -z "$ac_c_werror_flag"
88886 || test ! -s conftest.err'
88887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88888 (eval $ac_try) 2>&5
88889 ac_status=$?
88890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88891 (exit $ac_status); }; } &&
88892 { ac_try='test -s conftest$ac_exeext'
88893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88894 (eval $ac_try) 2>&5
88895 ac_status=$?
88896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88897 (exit $ac_status); }; }; then
88898 eval "$as_ac_var=yes"
88899 else
88900 echo "$as_me: failed program was:" >&5
88901 sed 's/^/| /' conftest.$ac_ext >&5
88903 eval "$as_ac_var=no"
88905 rm -f conftest.err conftest.$ac_objext \
88906 conftest$ac_exeext conftest.$ac_ext
88908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88910 if test `eval echo '${'$as_ac_var'}'` = yes; then
88911 cat >>confdefs.h <<_ACEOF
88912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88913 _ACEOF
88916 done
88926 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
88927 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
88928 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
88929 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
88930 echo $ECHO_N "(cached) $ECHO_C" >&6
88931 else
88935 ac_ext=cc
88936 ac_cpp='$CXXCPP $CPPFLAGS'
88937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88941 cat >conftest.$ac_ext <<_ACEOF
88942 /* confdefs.h. */
88943 _ACEOF
88944 cat confdefs.h >>conftest.$ac_ext
88945 cat >>conftest.$ac_ext <<_ACEOF
88946 /* end confdefs.h. */
88947 #include <math.h>
88948 #ifdef HAVE_IEEEFP_H
88949 #include <ieeefp.h>
88950 #endif
88953 main ()
88955 fabsl(0);
88957 return 0;
88959 _ACEOF
88960 rm -f conftest.$ac_objext
88961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88962 (eval $ac_compile) 2>conftest.er1
88963 ac_status=$?
88964 grep -v '^ *+' conftest.er1 >conftest.err
88965 rm -f conftest.er1
88966 cat conftest.err >&5
88967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88968 (exit $ac_status); } &&
88969 { ac_try='test -z "$ac_cxx_werror_flag"
88970 || test ! -s conftest.err'
88971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88972 (eval $ac_try) 2>&5
88973 ac_status=$?
88974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88975 (exit $ac_status); }; } &&
88976 { ac_try='test -s conftest.$ac_objext'
88977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88978 (eval $ac_try) 2>&5
88979 ac_status=$?
88980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88981 (exit $ac_status); }; }; then
88982 glibcxx_cv_func_fabsl_use=yes
88983 else
88984 echo "$as_me: failed program was:" >&5
88985 sed 's/^/| /' conftest.$ac_ext >&5
88987 glibcxx_cv_func_fabsl_use=no
88989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88990 ac_ext=c
88991 ac_cpp='$CPP $CPPFLAGS'
88992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
89001 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
89003 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
89005 for ac_func in fabsl
89007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89008 echo "$as_me:$LINENO: checking for $ac_func" >&5
89009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89010 if eval "test \"\${$as_ac_var+set}\" = set"; then
89011 echo $ECHO_N "(cached) $ECHO_C" >&6
89012 else
89013 if test x$gcc_no_link = xyes; then
89014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89016 { (exit 1); exit 1; }; }
89018 cat >conftest.$ac_ext <<_ACEOF
89019 /* confdefs.h. */
89020 _ACEOF
89021 cat confdefs.h >>conftest.$ac_ext
89022 cat >>conftest.$ac_ext <<_ACEOF
89023 /* end confdefs.h. */
89024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89026 #define $ac_func innocuous_$ac_func
89028 /* System header to define __stub macros and hopefully few prototypes,
89029 which can conflict with char $ac_func (); below.
89030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89031 <limits.h> exists even on freestanding compilers. */
89033 #ifdef __STDC__
89034 # include <limits.h>
89035 #else
89036 # include <assert.h>
89037 #endif
89039 #undef $ac_func
89041 /* Override any gcc2 internal prototype to avoid an error. */
89042 #ifdef __cplusplus
89043 extern "C"
89045 #endif
89046 /* We use char because int might match the return type of a gcc2
89047 builtin and then its argument prototype would still apply. */
89048 char $ac_func ();
89049 /* The GNU C library defines this for functions which it implements
89050 to always fail with ENOSYS. Some functions are actually named
89051 something starting with __ and the normal name is an alias. */
89052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89053 choke me
89054 #else
89055 char (*f) () = $ac_func;
89056 #endif
89057 #ifdef __cplusplus
89059 #endif
89062 main ()
89064 return f != $ac_func;
89066 return 0;
89068 _ACEOF
89069 rm -f conftest.$ac_objext conftest$ac_exeext
89070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89071 (eval $ac_link) 2>conftest.er1
89072 ac_status=$?
89073 grep -v '^ *+' conftest.er1 >conftest.err
89074 rm -f conftest.er1
89075 cat conftest.err >&5
89076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89077 (exit $ac_status); } &&
89078 { ac_try='test -z "$ac_c_werror_flag"
89079 || test ! -s conftest.err'
89080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89081 (eval $ac_try) 2>&5
89082 ac_status=$?
89083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89084 (exit $ac_status); }; } &&
89085 { ac_try='test -s conftest$ac_exeext'
89086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89087 (eval $ac_try) 2>&5
89088 ac_status=$?
89089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89090 (exit $ac_status); }; }; then
89091 eval "$as_ac_var=yes"
89092 else
89093 echo "$as_me: failed program was:" >&5
89094 sed 's/^/| /' conftest.$ac_ext >&5
89096 eval "$as_ac_var=no"
89098 rm -f conftest.err conftest.$ac_objext \
89099 conftest$ac_exeext conftest.$ac_ext
89101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89103 if test `eval echo '${'$as_ac_var'}'` = yes; then
89104 cat >>confdefs.h <<_ACEOF
89105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89106 _ACEOF
89109 done
89111 else
89113 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
89114 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
89115 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
89116 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
89117 echo $ECHO_N "(cached) $ECHO_C" >&6
89118 else
89122 ac_ext=cc
89123 ac_cpp='$CXXCPP $CPPFLAGS'
89124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89128 cat >conftest.$ac_ext <<_ACEOF
89129 /* confdefs.h. */
89130 _ACEOF
89131 cat confdefs.h >>conftest.$ac_ext
89132 cat >>conftest.$ac_ext <<_ACEOF
89133 /* end confdefs.h. */
89134 #include <math.h>
89135 #ifdef HAVE_IEEEFP_H
89136 #include <ieeefp.h>
89137 #endif
89140 main ()
89142 _fabsl(0);
89144 return 0;
89146 _ACEOF
89147 rm -f conftest.$ac_objext
89148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89149 (eval $ac_compile) 2>conftest.er1
89150 ac_status=$?
89151 grep -v '^ *+' conftest.er1 >conftest.err
89152 rm -f conftest.er1
89153 cat conftest.err >&5
89154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89155 (exit $ac_status); } &&
89156 { ac_try='test -z "$ac_cxx_werror_flag"
89157 || test ! -s conftest.err'
89158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89159 (eval $ac_try) 2>&5
89160 ac_status=$?
89161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89162 (exit $ac_status); }; } &&
89163 { ac_try='test -s conftest.$ac_objext'
89164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89165 (eval $ac_try) 2>&5
89166 ac_status=$?
89167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89168 (exit $ac_status); }; }; then
89169 glibcxx_cv_func__fabsl_use=yes
89170 else
89171 echo "$as_me: failed program was:" >&5
89172 sed 's/^/| /' conftest.$ac_ext >&5
89174 glibcxx_cv_func__fabsl_use=no
89176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89177 ac_ext=c
89178 ac_cpp='$CPP $CPPFLAGS'
89179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
89188 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
89190 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
89192 for ac_func in _fabsl
89194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89195 echo "$as_me:$LINENO: checking for $ac_func" >&5
89196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89197 if eval "test \"\${$as_ac_var+set}\" = set"; then
89198 echo $ECHO_N "(cached) $ECHO_C" >&6
89199 else
89200 if test x$gcc_no_link = xyes; then
89201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89203 { (exit 1); exit 1; }; }
89205 cat >conftest.$ac_ext <<_ACEOF
89206 /* confdefs.h. */
89207 _ACEOF
89208 cat confdefs.h >>conftest.$ac_ext
89209 cat >>conftest.$ac_ext <<_ACEOF
89210 /* end confdefs.h. */
89211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89213 #define $ac_func innocuous_$ac_func
89215 /* System header to define __stub macros and hopefully few prototypes,
89216 which can conflict with char $ac_func (); below.
89217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89218 <limits.h> exists even on freestanding compilers. */
89220 #ifdef __STDC__
89221 # include <limits.h>
89222 #else
89223 # include <assert.h>
89224 #endif
89226 #undef $ac_func
89228 /* Override any gcc2 internal prototype to avoid an error. */
89229 #ifdef __cplusplus
89230 extern "C"
89232 #endif
89233 /* We use char because int might match the return type of a gcc2
89234 builtin and then its argument prototype would still apply. */
89235 char $ac_func ();
89236 /* The GNU C library defines this for functions which it implements
89237 to always fail with ENOSYS. Some functions are actually named
89238 something starting with __ and the normal name is an alias. */
89239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89240 choke me
89241 #else
89242 char (*f) () = $ac_func;
89243 #endif
89244 #ifdef __cplusplus
89246 #endif
89249 main ()
89251 return f != $ac_func;
89253 return 0;
89255 _ACEOF
89256 rm -f conftest.$ac_objext conftest$ac_exeext
89257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89258 (eval $ac_link) 2>conftest.er1
89259 ac_status=$?
89260 grep -v '^ *+' conftest.er1 >conftest.err
89261 rm -f conftest.er1
89262 cat conftest.err >&5
89263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89264 (exit $ac_status); } &&
89265 { ac_try='test -z "$ac_c_werror_flag"
89266 || test ! -s conftest.err'
89267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89268 (eval $ac_try) 2>&5
89269 ac_status=$?
89270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89271 (exit $ac_status); }; } &&
89272 { ac_try='test -s conftest$ac_exeext'
89273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89274 (eval $ac_try) 2>&5
89275 ac_status=$?
89276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89277 (exit $ac_status); }; }; then
89278 eval "$as_ac_var=yes"
89279 else
89280 echo "$as_me: failed program was:" >&5
89281 sed 's/^/| /' conftest.$ac_ext >&5
89283 eval "$as_ac_var=no"
89285 rm -f conftest.err conftest.$ac_objext \
89286 conftest$ac_exeext conftest.$ac_ext
89288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89290 if test `eval echo '${'$as_ac_var'}'` = yes; then
89291 cat >>confdefs.h <<_ACEOF
89292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89293 _ACEOF
89296 done
89306 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
89307 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
89308 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
89309 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
89310 echo $ECHO_N "(cached) $ECHO_C" >&6
89311 else
89315 ac_ext=cc
89316 ac_cpp='$CXXCPP $CPPFLAGS'
89317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89321 cat >conftest.$ac_ext <<_ACEOF
89322 /* confdefs.h. */
89323 _ACEOF
89324 cat confdefs.h >>conftest.$ac_ext
89325 cat >>conftest.$ac_ext <<_ACEOF
89326 /* end confdefs.h. */
89327 #include <math.h>
89329 main ()
89331 fmodl(0, 0);
89333 return 0;
89335 _ACEOF
89336 rm -f conftest.$ac_objext
89337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89338 (eval $ac_compile) 2>conftest.er1
89339 ac_status=$?
89340 grep -v '^ *+' conftest.er1 >conftest.err
89341 rm -f conftest.er1
89342 cat conftest.err >&5
89343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89344 (exit $ac_status); } &&
89345 { ac_try='test -z "$ac_cxx_werror_flag"
89346 || test ! -s conftest.err'
89347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89348 (eval $ac_try) 2>&5
89349 ac_status=$?
89350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89351 (exit $ac_status); }; } &&
89352 { ac_try='test -s conftest.$ac_objext'
89353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89354 (eval $ac_try) 2>&5
89355 ac_status=$?
89356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89357 (exit $ac_status); }; }; then
89358 glibcxx_cv_func_fmodl_use=yes
89359 else
89360 echo "$as_me: failed program was:" >&5
89361 sed 's/^/| /' conftest.$ac_ext >&5
89363 glibcxx_cv_func_fmodl_use=no
89365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89366 ac_ext=c
89367 ac_cpp='$CPP $CPPFLAGS'
89368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
89377 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
89379 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
89381 for ac_func in fmodl
89383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89384 echo "$as_me:$LINENO: checking for $ac_func" >&5
89385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89386 if eval "test \"\${$as_ac_var+set}\" = set"; then
89387 echo $ECHO_N "(cached) $ECHO_C" >&6
89388 else
89389 if test x$gcc_no_link = xyes; then
89390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89392 { (exit 1); exit 1; }; }
89394 cat >conftest.$ac_ext <<_ACEOF
89395 /* confdefs.h. */
89396 _ACEOF
89397 cat confdefs.h >>conftest.$ac_ext
89398 cat >>conftest.$ac_ext <<_ACEOF
89399 /* end confdefs.h. */
89400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89402 #define $ac_func innocuous_$ac_func
89404 /* System header to define __stub macros and hopefully few prototypes,
89405 which can conflict with char $ac_func (); below.
89406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89407 <limits.h> exists even on freestanding compilers. */
89409 #ifdef __STDC__
89410 # include <limits.h>
89411 #else
89412 # include <assert.h>
89413 #endif
89415 #undef $ac_func
89417 /* Override any gcc2 internal prototype to avoid an error. */
89418 #ifdef __cplusplus
89419 extern "C"
89421 #endif
89422 /* We use char because int might match the return type of a gcc2
89423 builtin and then its argument prototype would still apply. */
89424 char $ac_func ();
89425 /* The GNU C library defines this for functions which it implements
89426 to always fail with ENOSYS. Some functions are actually named
89427 something starting with __ and the normal name is an alias. */
89428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89429 choke me
89430 #else
89431 char (*f) () = $ac_func;
89432 #endif
89433 #ifdef __cplusplus
89435 #endif
89438 main ()
89440 return f != $ac_func;
89442 return 0;
89444 _ACEOF
89445 rm -f conftest.$ac_objext conftest$ac_exeext
89446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89447 (eval $ac_link) 2>conftest.er1
89448 ac_status=$?
89449 grep -v '^ *+' conftest.er1 >conftest.err
89450 rm -f conftest.er1
89451 cat conftest.err >&5
89452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89453 (exit $ac_status); } &&
89454 { ac_try='test -z "$ac_c_werror_flag"
89455 || test ! -s conftest.err'
89456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89457 (eval $ac_try) 2>&5
89458 ac_status=$?
89459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89460 (exit $ac_status); }; } &&
89461 { ac_try='test -s conftest$ac_exeext'
89462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89463 (eval $ac_try) 2>&5
89464 ac_status=$?
89465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89466 (exit $ac_status); }; }; then
89467 eval "$as_ac_var=yes"
89468 else
89469 echo "$as_me: failed program was:" >&5
89470 sed 's/^/| /' conftest.$ac_ext >&5
89472 eval "$as_ac_var=no"
89474 rm -f conftest.err conftest.$ac_objext \
89475 conftest$ac_exeext conftest.$ac_ext
89477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89479 if test `eval echo '${'$as_ac_var'}'` = yes; then
89480 cat >>confdefs.h <<_ACEOF
89481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89482 _ACEOF
89485 done
89487 else
89489 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
89490 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
89491 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
89492 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
89493 echo $ECHO_N "(cached) $ECHO_C" >&6
89494 else
89498 ac_ext=cc
89499 ac_cpp='$CXXCPP $CPPFLAGS'
89500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89504 cat >conftest.$ac_ext <<_ACEOF
89505 /* confdefs.h. */
89506 _ACEOF
89507 cat confdefs.h >>conftest.$ac_ext
89508 cat >>conftest.$ac_ext <<_ACEOF
89509 /* end confdefs.h. */
89510 #include <math.h>
89512 main ()
89514 _fmodl(0, 0);
89516 return 0;
89518 _ACEOF
89519 rm -f conftest.$ac_objext
89520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89521 (eval $ac_compile) 2>conftest.er1
89522 ac_status=$?
89523 grep -v '^ *+' conftest.er1 >conftest.err
89524 rm -f conftest.er1
89525 cat conftest.err >&5
89526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89527 (exit $ac_status); } &&
89528 { ac_try='test -z "$ac_cxx_werror_flag"
89529 || test ! -s conftest.err'
89530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89531 (eval $ac_try) 2>&5
89532 ac_status=$?
89533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89534 (exit $ac_status); }; } &&
89535 { ac_try='test -s conftest.$ac_objext'
89536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89537 (eval $ac_try) 2>&5
89538 ac_status=$?
89539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89540 (exit $ac_status); }; }; then
89541 glibcxx_cv_func__fmodl_use=yes
89542 else
89543 echo "$as_me: failed program was:" >&5
89544 sed 's/^/| /' conftest.$ac_ext >&5
89546 glibcxx_cv_func__fmodl_use=no
89548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89549 ac_ext=c
89550 ac_cpp='$CPP $CPPFLAGS'
89551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
89560 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
89562 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
89564 for ac_func in _fmodl
89566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89567 echo "$as_me:$LINENO: checking for $ac_func" >&5
89568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89569 if eval "test \"\${$as_ac_var+set}\" = set"; then
89570 echo $ECHO_N "(cached) $ECHO_C" >&6
89571 else
89572 if test x$gcc_no_link = xyes; then
89573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89575 { (exit 1); exit 1; }; }
89577 cat >conftest.$ac_ext <<_ACEOF
89578 /* confdefs.h. */
89579 _ACEOF
89580 cat confdefs.h >>conftest.$ac_ext
89581 cat >>conftest.$ac_ext <<_ACEOF
89582 /* end confdefs.h. */
89583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89585 #define $ac_func innocuous_$ac_func
89587 /* System header to define __stub macros and hopefully few prototypes,
89588 which can conflict with char $ac_func (); below.
89589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89590 <limits.h> exists even on freestanding compilers. */
89592 #ifdef __STDC__
89593 # include <limits.h>
89594 #else
89595 # include <assert.h>
89596 #endif
89598 #undef $ac_func
89600 /* Override any gcc2 internal prototype to avoid an error. */
89601 #ifdef __cplusplus
89602 extern "C"
89604 #endif
89605 /* We use char because int might match the return type of a gcc2
89606 builtin and then its argument prototype would still apply. */
89607 char $ac_func ();
89608 /* The GNU C library defines this for functions which it implements
89609 to always fail with ENOSYS. Some functions are actually named
89610 something starting with __ and the normal name is an alias. */
89611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89612 choke me
89613 #else
89614 char (*f) () = $ac_func;
89615 #endif
89616 #ifdef __cplusplus
89618 #endif
89621 main ()
89623 return f != $ac_func;
89625 return 0;
89627 _ACEOF
89628 rm -f conftest.$ac_objext conftest$ac_exeext
89629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89630 (eval $ac_link) 2>conftest.er1
89631 ac_status=$?
89632 grep -v '^ *+' conftest.er1 >conftest.err
89633 rm -f conftest.er1
89634 cat conftest.err >&5
89635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89636 (exit $ac_status); } &&
89637 { ac_try='test -z "$ac_c_werror_flag"
89638 || test ! -s conftest.err'
89639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89640 (eval $ac_try) 2>&5
89641 ac_status=$?
89642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89643 (exit $ac_status); }; } &&
89644 { ac_try='test -s conftest$ac_exeext'
89645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89646 (eval $ac_try) 2>&5
89647 ac_status=$?
89648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89649 (exit $ac_status); }; }; then
89650 eval "$as_ac_var=yes"
89651 else
89652 echo "$as_me: failed program was:" >&5
89653 sed 's/^/| /' conftest.$ac_ext >&5
89655 eval "$as_ac_var=no"
89657 rm -f conftest.err conftest.$ac_objext \
89658 conftest$ac_exeext conftest.$ac_ext
89660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89662 if test `eval echo '${'$as_ac_var'}'` = yes; then
89663 cat >>confdefs.h <<_ACEOF
89664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89665 _ACEOF
89668 done
89678 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
89679 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
89680 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
89681 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
89682 echo $ECHO_N "(cached) $ECHO_C" >&6
89683 else
89687 ac_ext=cc
89688 ac_cpp='$CXXCPP $CPPFLAGS'
89689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89693 cat >conftest.$ac_ext <<_ACEOF
89694 /* confdefs.h. */
89695 _ACEOF
89696 cat confdefs.h >>conftest.$ac_ext
89697 cat >>conftest.$ac_ext <<_ACEOF
89698 /* end confdefs.h. */
89699 #include <math.h>
89701 main ()
89703 frexpl(0, 0);
89705 return 0;
89707 _ACEOF
89708 rm -f conftest.$ac_objext
89709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89710 (eval $ac_compile) 2>conftest.er1
89711 ac_status=$?
89712 grep -v '^ *+' conftest.er1 >conftest.err
89713 rm -f conftest.er1
89714 cat conftest.err >&5
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); } &&
89717 { ac_try='test -z "$ac_cxx_werror_flag"
89718 || test ! -s conftest.err'
89719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89720 (eval $ac_try) 2>&5
89721 ac_status=$?
89722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89723 (exit $ac_status); }; } &&
89724 { ac_try='test -s conftest.$ac_objext'
89725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89726 (eval $ac_try) 2>&5
89727 ac_status=$?
89728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89729 (exit $ac_status); }; }; then
89730 glibcxx_cv_func_frexpl_use=yes
89731 else
89732 echo "$as_me: failed program was:" >&5
89733 sed 's/^/| /' conftest.$ac_ext >&5
89735 glibcxx_cv_func_frexpl_use=no
89737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89738 ac_ext=c
89739 ac_cpp='$CPP $CPPFLAGS'
89740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
89749 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
89751 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
89753 for ac_func in frexpl
89755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89756 echo "$as_me:$LINENO: checking for $ac_func" >&5
89757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89758 if eval "test \"\${$as_ac_var+set}\" = set"; then
89759 echo $ECHO_N "(cached) $ECHO_C" >&6
89760 else
89761 if test x$gcc_no_link = xyes; then
89762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89764 { (exit 1); exit 1; }; }
89766 cat >conftest.$ac_ext <<_ACEOF
89767 /* confdefs.h. */
89768 _ACEOF
89769 cat confdefs.h >>conftest.$ac_ext
89770 cat >>conftest.$ac_ext <<_ACEOF
89771 /* end confdefs.h. */
89772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89774 #define $ac_func innocuous_$ac_func
89776 /* System header to define __stub macros and hopefully few prototypes,
89777 which can conflict with char $ac_func (); below.
89778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89779 <limits.h> exists even on freestanding compilers. */
89781 #ifdef __STDC__
89782 # include <limits.h>
89783 #else
89784 # include <assert.h>
89785 #endif
89787 #undef $ac_func
89789 /* Override any gcc2 internal prototype to avoid an error. */
89790 #ifdef __cplusplus
89791 extern "C"
89793 #endif
89794 /* We use char because int might match the return type of a gcc2
89795 builtin and then its argument prototype would still apply. */
89796 char $ac_func ();
89797 /* The GNU C library defines this for functions which it implements
89798 to always fail with ENOSYS. Some functions are actually named
89799 something starting with __ and the normal name is an alias. */
89800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89801 choke me
89802 #else
89803 char (*f) () = $ac_func;
89804 #endif
89805 #ifdef __cplusplus
89807 #endif
89810 main ()
89812 return f != $ac_func;
89814 return 0;
89816 _ACEOF
89817 rm -f conftest.$ac_objext conftest$ac_exeext
89818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89819 (eval $ac_link) 2>conftest.er1
89820 ac_status=$?
89821 grep -v '^ *+' conftest.er1 >conftest.err
89822 rm -f conftest.er1
89823 cat conftest.err >&5
89824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89825 (exit $ac_status); } &&
89826 { ac_try='test -z "$ac_c_werror_flag"
89827 || test ! -s conftest.err'
89828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89829 (eval $ac_try) 2>&5
89830 ac_status=$?
89831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89832 (exit $ac_status); }; } &&
89833 { ac_try='test -s conftest$ac_exeext'
89834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89835 (eval $ac_try) 2>&5
89836 ac_status=$?
89837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89838 (exit $ac_status); }; }; then
89839 eval "$as_ac_var=yes"
89840 else
89841 echo "$as_me: failed program was:" >&5
89842 sed 's/^/| /' conftest.$ac_ext >&5
89844 eval "$as_ac_var=no"
89846 rm -f conftest.err conftest.$ac_objext \
89847 conftest$ac_exeext conftest.$ac_ext
89849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89851 if test `eval echo '${'$as_ac_var'}'` = yes; then
89852 cat >>confdefs.h <<_ACEOF
89853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89854 _ACEOF
89857 done
89859 else
89861 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
89862 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
89863 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
89864 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
89865 echo $ECHO_N "(cached) $ECHO_C" >&6
89866 else
89870 ac_ext=cc
89871 ac_cpp='$CXXCPP $CPPFLAGS'
89872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89876 cat >conftest.$ac_ext <<_ACEOF
89877 /* confdefs.h. */
89878 _ACEOF
89879 cat confdefs.h >>conftest.$ac_ext
89880 cat >>conftest.$ac_ext <<_ACEOF
89881 /* end confdefs.h. */
89882 #include <math.h>
89884 main ()
89886 _frexpl(0, 0);
89888 return 0;
89890 _ACEOF
89891 rm -f conftest.$ac_objext
89892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89893 (eval $ac_compile) 2>conftest.er1
89894 ac_status=$?
89895 grep -v '^ *+' conftest.er1 >conftest.err
89896 rm -f conftest.er1
89897 cat conftest.err >&5
89898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89899 (exit $ac_status); } &&
89900 { ac_try='test -z "$ac_cxx_werror_flag"
89901 || test ! -s conftest.err'
89902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89903 (eval $ac_try) 2>&5
89904 ac_status=$?
89905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89906 (exit $ac_status); }; } &&
89907 { ac_try='test -s conftest.$ac_objext'
89908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89909 (eval $ac_try) 2>&5
89910 ac_status=$?
89911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89912 (exit $ac_status); }; }; then
89913 glibcxx_cv_func__frexpl_use=yes
89914 else
89915 echo "$as_me: failed program was:" >&5
89916 sed 's/^/| /' conftest.$ac_ext >&5
89918 glibcxx_cv_func__frexpl_use=no
89920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89921 ac_ext=c
89922 ac_cpp='$CPP $CPPFLAGS'
89923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
89932 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
89934 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
89936 for ac_func in _frexpl
89938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89939 echo "$as_me:$LINENO: checking for $ac_func" >&5
89940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89941 if eval "test \"\${$as_ac_var+set}\" = set"; then
89942 echo $ECHO_N "(cached) $ECHO_C" >&6
89943 else
89944 if test x$gcc_no_link = xyes; then
89945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89947 { (exit 1); exit 1; }; }
89949 cat >conftest.$ac_ext <<_ACEOF
89950 /* confdefs.h. */
89951 _ACEOF
89952 cat confdefs.h >>conftest.$ac_ext
89953 cat >>conftest.$ac_ext <<_ACEOF
89954 /* end confdefs.h. */
89955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89957 #define $ac_func innocuous_$ac_func
89959 /* System header to define __stub macros and hopefully few prototypes,
89960 which can conflict with char $ac_func (); below.
89961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89962 <limits.h> exists even on freestanding compilers. */
89964 #ifdef __STDC__
89965 # include <limits.h>
89966 #else
89967 # include <assert.h>
89968 #endif
89970 #undef $ac_func
89972 /* Override any gcc2 internal prototype to avoid an error. */
89973 #ifdef __cplusplus
89974 extern "C"
89976 #endif
89977 /* We use char because int might match the return type of a gcc2
89978 builtin and then its argument prototype would still apply. */
89979 char $ac_func ();
89980 /* The GNU C library defines this for functions which it implements
89981 to always fail with ENOSYS. Some functions are actually named
89982 something starting with __ and the normal name is an alias. */
89983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89984 choke me
89985 #else
89986 char (*f) () = $ac_func;
89987 #endif
89988 #ifdef __cplusplus
89990 #endif
89993 main ()
89995 return f != $ac_func;
89997 return 0;
89999 _ACEOF
90000 rm -f conftest.$ac_objext conftest$ac_exeext
90001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90002 (eval $ac_link) 2>conftest.er1
90003 ac_status=$?
90004 grep -v '^ *+' conftest.er1 >conftest.err
90005 rm -f conftest.er1
90006 cat conftest.err >&5
90007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90008 (exit $ac_status); } &&
90009 { ac_try='test -z "$ac_c_werror_flag"
90010 || test ! -s conftest.err'
90011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90012 (eval $ac_try) 2>&5
90013 ac_status=$?
90014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90015 (exit $ac_status); }; } &&
90016 { ac_try='test -s conftest$ac_exeext'
90017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90018 (eval $ac_try) 2>&5
90019 ac_status=$?
90020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90021 (exit $ac_status); }; }; then
90022 eval "$as_ac_var=yes"
90023 else
90024 echo "$as_me: failed program was:" >&5
90025 sed 's/^/| /' conftest.$ac_ext >&5
90027 eval "$as_ac_var=no"
90029 rm -f conftest.err conftest.$ac_objext \
90030 conftest$ac_exeext conftest.$ac_ext
90032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90034 if test `eval echo '${'$as_ac_var'}'` = yes; then
90035 cat >>confdefs.h <<_ACEOF
90036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90037 _ACEOF
90040 done
90050 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
90051 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
90052 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
90053 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
90054 echo $ECHO_N "(cached) $ECHO_C" >&6
90055 else
90059 ac_ext=cc
90060 ac_cpp='$CXXCPP $CPPFLAGS'
90061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90065 cat >conftest.$ac_ext <<_ACEOF
90066 /* confdefs.h. */
90067 _ACEOF
90068 cat confdefs.h >>conftest.$ac_ext
90069 cat >>conftest.$ac_ext <<_ACEOF
90070 /* end confdefs.h. */
90071 #include <math.h>
90073 main ()
90075 hypotl(0, 0);
90077 return 0;
90079 _ACEOF
90080 rm -f conftest.$ac_objext
90081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90082 (eval $ac_compile) 2>conftest.er1
90083 ac_status=$?
90084 grep -v '^ *+' conftest.er1 >conftest.err
90085 rm -f conftest.er1
90086 cat conftest.err >&5
90087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90088 (exit $ac_status); } &&
90089 { ac_try='test -z "$ac_cxx_werror_flag"
90090 || test ! -s conftest.err'
90091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90092 (eval $ac_try) 2>&5
90093 ac_status=$?
90094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90095 (exit $ac_status); }; } &&
90096 { ac_try='test -s conftest.$ac_objext'
90097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90098 (eval $ac_try) 2>&5
90099 ac_status=$?
90100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90101 (exit $ac_status); }; }; then
90102 glibcxx_cv_func_hypotl_use=yes
90103 else
90104 echo "$as_me: failed program was:" >&5
90105 sed 's/^/| /' conftest.$ac_ext >&5
90107 glibcxx_cv_func_hypotl_use=no
90109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90110 ac_ext=c
90111 ac_cpp='$CPP $CPPFLAGS'
90112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
90121 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
90123 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
90125 for ac_func in hypotl
90127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90128 echo "$as_me:$LINENO: checking for $ac_func" >&5
90129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90130 if eval "test \"\${$as_ac_var+set}\" = set"; then
90131 echo $ECHO_N "(cached) $ECHO_C" >&6
90132 else
90133 if test x$gcc_no_link = xyes; then
90134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90136 { (exit 1); exit 1; }; }
90138 cat >conftest.$ac_ext <<_ACEOF
90139 /* confdefs.h. */
90140 _ACEOF
90141 cat confdefs.h >>conftest.$ac_ext
90142 cat >>conftest.$ac_ext <<_ACEOF
90143 /* end confdefs.h. */
90144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90146 #define $ac_func innocuous_$ac_func
90148 /* System header to define __stub macros and hopefully few prototypes,
90149 which can conflict with char $ac_func (); below.
90150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90151 <limits.h> exists even on freestanding compilers. */
90153 #ifdef __STDC__
90154 # include <limits.h>
90155 #else
90156 # include <assert.h>
90157 #endif
90159 #undef $ac_func
90161 /* Override any gcc2 internal prototype to avoid an error. */
90162 #ifdef __cplusplus
90163 extern "C"
90165 #endif
90166 /* We use char because int might match the return type of a gcc2
90167 builtin and then its argument prototype would still apply. */
90168 char $ac_func ();
90169 /* The GNU C library defines this for functions which it implements
90170 to always fail with ENOSYS. Some functions are actually named
90171 something starting with __ and the normal name is an alias. */
90172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90173 choke me
90174 #else
90175 char (*f) () = $ac_func;
90176 #endif
90177 #ifdef __cplusplus
90179 #endif
90182 main ()
90184 return f != $ac_func;
90186 return 0;
90188 _ACEOF
90189 rm -f conftest.$ac_objext conftest$ac_exeext
90190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90191 (eval $ac_link) 2>conftest.er1
90192 ac_status=$?
90193 grep -v '^ *+' conftest.er1 >conftest.err
90194 rm -f conftest.er1
90195 cat conftest.err >&5
90196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90197 (exit $ac_status); } &&
90198 { ac_try='test -z "$ac_c_werror_flag"
90199 || test ! -s conftest.err'
90200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90201 (eval $ac_try) 2>&5
90202 ac_status=$?
90203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90204 (exit $ac_status); }; } &&
90205 { ac_try='test -s conftest$ac_exeext'
90206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90207 (eval $ac_try) 2>&5
90208 ac_status=$?
90209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90210 (exit $ac_status); }; }; then
90211 eval "$as_ac_var=yes"
90212 else
90213 echo "$as_me: failed program was:" >&5
90214 sed 's/^/| /' conftest.$ac_ext >&5
90216 eval "$as_ac_var=no"
90218 rm -f conftest.err conftest.$ac_objext \
90219 conftest$ac_exeext conftest.$ac_ext
90221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90223 if test `eval echo '${'$as_ac_var'}'` = yes; then
90224 cat >>confdefs.h <<_ACEOF
90225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90226 _ACEOF
90229 done
90231 else
90233 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
90234 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
90235 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
90236 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
90237 echo $ECHO_N "(cached) $ECHO_C" >&6
90238 else
90242 ac_ext=cc
90243 ac_cpp='$CXXCPP $CPPFLAGS'
90244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90248 cat >conftest.$ac_ext <<_ACEOF
90249 /* confdefs.h. */
90250 _ACEOF
90251 cat confdefs.h >>conftest.$ac_ext
90252 cat >>conftest.$ac_ext <<_ACEOF
90253 /* end confdefs.h. */
90254 #include <math.h>
90256 main ()
90258 _hypotl(0, 0);
90260 return 0;
90262 _ACEOF
90263 rm -f conftest.$ac_objext
90264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90265 (eval $ac_compile) 2>conftest.er1
90266 ac_status=$?
90267 grep -v '^ *+' conftest.er1 >conftest.err
90268 rm -f conftest.er1
90269 cat conftest.err >&5
90270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90271 (exit $ac_status); } &&
90272 { ac_try='test -z "$ac_cxx_werror_flag"
90273 || test ! -s conftest.err'
90274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90275 (eval $ac_try) 2>&5
90276 ac_status=$?
90277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90278 (exit $ac_status); }; } &&
90279 { ac_try='test -s conftest.$ac_objext'
90280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90281 (eval $ac_try) 2>&5
90282 ac_status=$?
90283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90284 (exit $ac_status); }; }; then
90285 glibcxx_cv_func__hypotl_use=yes
90286 else
90287 echo "$as_me: failed program was:" >&5
90288 sed 's/^/| /' conftest.$ac_ext >&5
90290 glibcxx_cv_func__hypotl_use=no
90292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90293 ac_ext=c
90294 ac_cpp='$CPP $CPPFLAGS'
90295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
90304 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
90306 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
90308 for ac_func in _hypotl
90310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90311 echo "$as_me:$LINENO: checking for $ac_func" >&5
90312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90313 if eval "test \"\${$as_ac_var+set}\" = set"; then
90314 echo $ECHO_N "(cached) $ECHO_C" >&6
90315 else
90316 if test x$gcc_no_link = xyes; then
90317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90319 { (exit 1); exit 1; }; }
90321 cat >conftest.$ac_ext <<_ACEOF
90322 /* confdefs.h. */
90323 _ACEOF
90324 cat confdefs.h >>conftest.$ac_ext
90325 cat >>conftest.$ac_ext <<_ACEOF
90326 /* end confdefs.h. */
90327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90329 #define $ac_func innocuous_$ac_func
90331 /* System header to define __stub macros and hopefully few prototypes,
90332 which can conflict with char $ac_func (); below.
90333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90334 <limits.h> exists even on freestanding compilers. */
90336 #ifdef __STDC__
90337 # include <limits.h>
90338 #else
90339 # include <assert.h>
90340 #endif
90342 #undef $ac_func
90344 /* Override any gcc2 internal prototype to avoid an error. */
90345 #ifdef __cplusplus
90346 extern "C"
90348 #endif
90349 /* We use char because int might match the return type of a gcc2
90350 builtin and then its argument prototype would still apply. */
90351 char $ac_func ();
90352 /* The GNU C library defines this for functions which it implements
90353 to always fail with ENOSYS. Some functions are actually named
90354 something starting with __ and the normal name is an alias. */
90355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90356 choke me
90357 #else
90358 char (*f) () = $ac_func;
90359 #endif
90360 #ifdef __cplusplus
90362 #endif
90365 main ()
90367 return f != $ac_func;
90369 return 0;
90371 _ACEOF
90372 rm -f conftest.$ac_objext conftest$ac_exeext
90373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90374 (eval $ac_link) 2>conftest.er1
90375 ac_status=$?
90376 grep -v '^ *+' conftest.er1 >conftest.err
90377 rm -f conftest.er1
90378 cat conftest.err >&5
90379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90380 (exit $ac_status); } &&
90381 { ac_try='test -z "$ac_c_werror_flag"
90382 || test ! -s conftest.err'
90383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90384 (eval $ac_try) 2>&5
90385 ac_status=$?
90386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90387 (exit $ac_status); }; } &&
90388 { ac_try='test -s conftest$ac_exeext'
90389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90390 (eval $ac_try) 2>&5
90391 ac_status=$?
90392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90393 (exit $ac_status); }; }; then
90394 eval "$as_ac_var=yes"
90395 else
90396 echo "$as_me: failed program was:" >&5
90397 sed 's/^/| /' conftest.$ac_ext >&5
90399 eval "$as_ac_var=no"
90401 rm -f conftest.err conftest.$ac_objext \
90402 conftest$ac_exeext conftest.$ac_ext
90404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90406 if test `eval echo '${'$as_ac_var'}'` = yes; then
90407 cat >>confdefs.h <<_ACEOF
90408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90409 _ACEOF
90412 done
90422 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
90423 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
90424 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
90425 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
90426 echo $ECHO_N "(cached) $ECHO_C" >&6
90427 else
90431 ac_ext=cc
90432 ac_cpp='$CXXCPP $CPPFLAGS'
90433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90437 cat >conftest.$ac_ext <<_ACEOF
90438 /* confdefs.h. */
90439 _ACEOF
90440 cat confdefs.h >>conftest.$ac_ext
90441 cat >>conftest.$ac_ext <<_ACEOF
90442 /* end confdefs.h. */
90443 #include <math.h>
90445 main ()
90447 ldexpl(0, 0);
90449 return 0;
90451 _ACEOF
90452 rm -f conftest.$ac_objext
90453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90454 (eval $ac_compile) 2>conftest.er1
90455 ac_status=$?
90456 grep -v '^ *+' conftest.er1 >conftest.err
90457 rm -f conftest.er1
90458 cat conftest.err >&5
90459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90460 (exit $ac_status); } &&
90461 { ac_try='test -z "$ac_cxx_werror_flag"
90462 || test ! -s conftest.err'
90463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90464 (eval $ac_try) 2>&5
90465 ac_status=$?
90466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90467 (exit $ac_status); }; } &&
90468 { ac_try='test -s conftest.$ac_objext'
90469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90470 (eval $ac_try) 2>&5
90471 ac_status=$?
90472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90473 (exit $ac_status); }; }; then
90474 glibcxx_cv_func_ldexpl_use=yes
90475 else
90476 echo "$as_me: failed program was:" >&5
90477 sed 's/^/| /' conftest.$ac_ext >&5
90479 glibcxx_cv_func_ldexpl_use=no
90481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90482 ac_ext=c
90483 ac_cpp='$CPP $CPPFLAGS'
90484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
90493 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
90495 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
90497 for ac_func in ldexpl
90499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90500 echo "$as_me:$LINENO: checking for $ac_func" >&5
90501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90502 if eval "test \"\${$as_ac_var+set}\" = set"; then
90503 echo $ECHO_N "(cached) $ECHO_C" >&6
90504 else
90505 if test x$gcc_no_link = xyes; then
90506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90508 { (exit 1); exit 1; }; }
90510 cat >conftest.$ac_ext <<_ACEOF
90511 /* confdefs.h. */
90512 _ACEOF
90513 cat confdefs.h >>conftest.$ac_ext
90514 cat >>conftest.$ac_ext <<_ACEOF
90515 /* end confdefs.h. */
90516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90518 #define $ac_func innocuous_$ac_func
90520 /* System header to define __stub macros and hopefully few prototypes,
90521 which can conflict with char $ac_func (); below.
90522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90523 <limits.h> exists even on freestanding compilers. */
90525 #ifdef __STDC__
90526 # include <limits.h>
90527 #else
90528 # include <assert.h>
90529 #endif
90531 #undef $ac_func
90533 /* Override any gcc2 internal prototype to avoid an error. */
90534 #ifdef __cplusplus
90535 extern "C"
90537 #endif
90538 /* We use char because int might match the return type of a gcc2
90539 builtin and then its argument prototype would still apply. */
90540 char $ac_func ();
90541 /* The GNU C library defines this for functions which it implements
90542 to always fail with ENOSYS. Some functions are actually named
90543 something starting with __ and the normal name is an alias. */
90544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90545 choke me
90546 #else
90547 char (*f) () = $ac_func;
90548 #endif
90549 #ifdef __cplusplus
90551 #endif
90554 main ()
90556 return f != $ac_func;
90558 return 0;
90560 _ACEOF
90561 rm -f conftest.$ac_objext conftest$ac_exeext
90562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90563 (eval $ac_link) 2>conftest.er1
90564 ac_status=$?
90565 grep -v '^ *+' conftest.er1 >conftest.err
90566 rm -f conftest.er1
90567 cat conftest.err >&5
90568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90569 (exit $ac_status); } &&
90570 { ac_try='test -z "$ac_c_werror_flag"
90571 || test ! -s conftest.err'
90572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90573 (eval $ac_try) 2>&5
90574 ac_status=$?
90575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90576 (exit $ac_status); }; } &&
90577 { ac_try='test -s conftest$ac_exeext'
90578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90579 (eval $ac_try) 2>&5
90580 ac_status=$?
90581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90582 (exit $ac_status); }; }; then
90583 eval "$as_ac_var=yes"
90584 else
90585 echo "$as_me: failed program was:" >&5
90586 sed 's/^/| /' conftest.$ac_ext >&5
90588 eval "$as_ac_var=no"
90590 rm -f conftest.err conftest.$ac_objext \
90591 conftest$ac_exeext conftest.$ac_ext
90593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90595 if test `eval echo '${'$as_ac_var'}'` = yes; then
90596 cat >>confdefs.h <<_ACEOF
90597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90598 _ACEOF
90601 done
90603 else
90605 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
90606 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
90607 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
90608 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
90609 echo $ECHO_N "(cached) $ECHO_C" >&6
90610 else
90614 ac_ext=cc
90615 ac_cpp='$CXXCPP $CPPFLAGS'
90616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90620 cat >conftest.$ac_ext <<_ACEOF
90621 /* confdefs.h. */
90622 _ACEOF
90623 cat confdefs.h >>conftest.$ac_ext
90624 cat >>conftest.$ac_ext <<_ACEOF
90625 /* end confdefs.h. */
90626 #include <math.h>
90628 main ()
90630 _ldexpl(0, 0);
90632 return 0;
90634 _ACEOF
90635 rm -f conftest.$ac_objext
90636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90637 (eval $ac_compile) 2>conftest.er1
90638 ac_status=$?
90639 grep -v '^ *+' conftest.er1 >conftest.err
90640 rm -f conftest.er1
90641 cat conftest.err >&5
90642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90643 (exit $ac_status); } &&
90644 { ac_try='test -z "$ac_cxx_werror_flag"
90645 || test ! -s conftest.err'
90646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90647 (eval $ac_try) 2>&5
90648 ac_status=$?
90649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90650 (exit $ac_status); }; } &&
90651 { ac_try='test -s conftest.$ac_objext'
90652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90653 (eval $ac_try) 2>&5
90654 ac_status=$?
90655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90656 (exit $ac_status); }; }; then
90657 glibcxx_cv_func__ldexpl_use=yes
90658 else
90659 echo "$as_me: failed program was:" >&5
90660 sed 's/^/| /' conftest.$ac_ext >&5
90662 glibcxx_cv_func__ldexpl_use=no
90664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90665 ac_ext=c
90666 ac_cpp='$CPP $CPPFLAGS'
90667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
90676 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
90678 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
90680 for ac_func in _ldexpl
90682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90683 echo "$as_me:$LINENO: checking for $ac_func" >&5
90684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90685 if eval "test \"\${$as_ac_var+set}\" = set"; then
90686 echo $ECHO_N "(cached) $ECHO_C" >&6
90687 else
90688 if test x$gcc_no_link = xyes; then
90689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90691 { (exit 1); exit 1; }; }
90693 cat >conftest.$ac_ext <<_ACEOF
90694 /* confdefs.h. */
90695 _ACEOF
90696 cat confdefs.h >>conftest.$ac_ext
90697 cat >>conftest.$ac_ext <<_ACEOF
90698 /* end confdefs.h. */
90699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90701 #define $ac_func innocuous_$ac_func
90703 /* System header to define __stub macros and hopefully few prototypes,
90704 which can conflict with char $ac_func (); below.
90705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90706 <limits.h> exists even on freestanding compilers. */
90708 #ifdef __STDC__
90709 # include <limits.h>
90710 #else
90711 # include <assert.h>
90712 #endif
90714 #undef $ac_func
90716 /* Override any gcc2 internal prototype to avoid an error. */
90717 #ifdef __cplusplus
90718 extern "C"
90720 #endif
90721 /* We use char because int might match the return type of a gcc2
90722 builtin and then its argument prototype would still apply. */
90723 char $ac_func ();
90724 /* The GNU C library defines this for functions which it implements
90725 to always fail with ENOSYS. Some functions are actually named
90726 something starting with __ and the normal name is an alias. */
90727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90728 choke me
90729 #else
90730 char (*f) () = $ac_func;
90731 #endif
90732 #ifdef __cplusplus
90734 #endif
90737 main ()
90739 return f != $ac_func;
90741 return 0;
90743 _ACEOF
90744 rm -f conftest.$ac_objext conftest$ac_exeext
90745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90746 (eval $ac_link) 2>conftest.er1
90747 ac_status=$?
90748 grep -v '^ *+' conftest.er1 >conftest.err
90749 rm -f conftest.er1
90750 cat conftest.err >&5
90751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90752 (exit $ac_status); } &&
90753 { ac_try='test -z "$ac_c_werror_flag"
90754 || test ! -s conftest.err'
90755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90756 (eval $ac_try) 2>&5
90757 ac_status=$?
90758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90759 (exit $ac_status); }; } &&
90760 { ac_try='test -s conftest$ac_exeext'
90761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90762 (eval $ac_try) 2>&5
90763 ac_status=$?
90764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90765 (exit $ac_status); }; }; then
90766 eval "$as_ac_var=yes"
90767 else
90768 echo "$as_me: failed program was:" >&5
90769 sed 's/^/| /' conftest.$ac_ext >&5
90771 eval "$as_ac_var=no"
90773 rm -f conftest.err conftest.$ac_objext \
90774 conftest$ac_exeext conftest.$ac_ext
90776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90778 if test `eval echo '${'$as_ac_var'}'` = yes; then
90779 cat >>confdefs.h <<_ACEOF
90780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90781 _ACEOF
90784 done
90794 echo "$as_me:$LINENO: checking for logl declaration" >&5
90795 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
90796 if test x${glibcxx_cv_func_logl_use+set} != xset; then
90797 if test "${glibcxx_cv_func_logl_use+set}" = set; then
90798 echo $ECHO_N "(cached) $ECHO_C" >&6
90799 else
90803 ac_ext=cc
90804 ac_cpp='$CXXCPP $CPPFLAGS'
90805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90809 cat >conftest.$ac_ext <<_ACEOF
90810 /* confdefs.h. */
90811 _ACEOF
90812 cat confdefs.h >>conftest.$ac_ext
90813 cat >>conftest.$ac_ext <<_ACEOF
90814 /* end confdefs.h. */
90815 #include <math.h>
90816 #ifdef HAVE_IEEEFP_H
90817 #include <ieeefp.h>
90818 #endif
90821 main ()
90823 logl(0);
90825 return 0;
90827 _ACEOF
90828 rm -f conftest.$ac_objext
90829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90830 (eval $ac_compile) 2>conftest.er1
90831 ac_status=$?
90832 grep -v '^ *+' conftest.er1 >conftest.err
90833 rm -f conftest.er1
90834 cat conftest.err >&5
90835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90836 (exit $ac_status); } &&
90837 { ac_try='test -z "$ac_cxx_werror_flag"
90838 || test ! -s conftest.err'
90839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90840 (eval $ac_try) 2>&5
90841 ac_status=$?
90842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90843 (exit $ac_status); }; } &&
90844 { ac_try='test -s conftest.$ac_objext'
90845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90846 (eval $ac_try) 2>&5
90847 ac_status=$?
90848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90849 (exit $ac_status); }; }; then
90850 glibcxx_cv_func_logl_use=yes
90851 else
90852 echo "$as_me: failed program was:" >&5
90853 sed 's/^/| /' conftest.$ac_ext >&5
90855 glibcxx_cv_func_logl_use=no
90857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90858 ac_ext=c
90859 ac_cpp='$CPP $CPPFLAGS'
90860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90868 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
90869 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
90871 if test x$glibcxx_cv_func_logl_use = x"yes"; then
90873 for ac_func in logl
90875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90876 echo "$as_me:$LINENO: checking for $ac_func" >&5
90877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90878 if eval "test \"\${$as_ac_var+set}\" = set"; then
90879 echo $ECHO_N "(cached) $ECHO_C" >&6
90880 else
90881 if test x$gcc_no_link = xyes; then
90882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90884 { (exit 1); exit 1; }; }
90886 cat >conftest.$ac_ext <<_ACEOF
90887 /* confdefs.h. */
90888 _ACEOF
90889 cat confdefs.h >>conftest.$ac_ext
90890 cat >>conftest.$ac_ext <<_ACEOF
90891 /* end confdefs.h. */
90892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90894 #define $ac_func innocuous_$ac_func
90896 /* System header to define __stub macros and hopefully few prototypes,
90897 which can conflict with char $ac_func (); below.
90898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90899 <limits.h> exists even on freestanding compilers. */
90901 #ifdef __STDC__
90902 # include <limits.h>
90903 #else
90904 # include <assert.h>
90905 #endif
90907 #undef $ac_func
90909 /* Override any gcc2 internal prototype to avoid an error. */
90910 #ifdef __cplusplus
90911 extern "C"
90913 #endif
90914 /* We use char because int might match the return type of a gcc2
90915 builtin and then its argument prototype would still apply. */
90916 char $ac_func ();
90917 /* The GNU C library defines this for functions which it implements
90918 to always fail with ENOSYS. Some functions are actually named
90919 something starting with __ and the normal name is an alias. */
90920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90921 choke me
90922 #else
90923 char (*f) () = $ac_func;
90924 #endif
90925 #ifdef __cplusplus
90927 #endif
90930 main ()
90932 return f != $ac_func;
90934 return 0;
90936 _ACEOF
90937 rm -f conftest.$ac_objext conftest$ac_exeext
90938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90939 (eval $ac_link) 2>conftest.er1
90940 ac_status=$?
90941 grep -v '^ *+' conftest.er1 >conftest.err
90942 rm -f conftest.er1
90943 cat conftest.err >&5
90944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90945 (exit $ac_status); } &&
90946 { ac_try='test -z "$ac_c_werror_flag"
90947 || test ! -s conftest.err'
90948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90949 (eval $ac_try) 2>&5
90950 ac_status=$?
90951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90952 (exit $ac_status); }; } &&
90953 { ac_try='test -s conftest$ac_exeext'
90954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90955 (eval $ac_try) 2>&5
90956 ac_status=$?
90957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90958 (exit $ac_status); }; }; then
90959 eval "$as_ac_var=yes"
90960 else
90961 echo "$as_me: failed program was:" >&5
90962 sed 's/^/| /' conftest.$ac_ext >&5
90964 eval "$as_ac_var=no"
90966 rm -f conftest.err conftest.$ac_objext \
90967 conftest$ac_exeext conftest.$ac_ext
90969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90971 if test `eval echo '${'$as_ac_var'}'` = yes; then
90972 cat >>confdefs.h <<_ACEOF
90973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90974 _ACEOF
90977 done
90979 else
90981 echo "$as_me:$LINENO: checking for _logl declaration" >&5
90982 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
90983 if test x${glibcxx_cv_func__logl_use+set} != xset; then
90984 if test "${glibcxx_cv_func__logl_use+set}" = set; then
90985 echo $ECHO_N "(cached) $ECHO_C" >&6
90986 else
90990 ac_ext=cc
90991 ac_cpp='$CXXCPP $CPPFLAGS'
90992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90996 cat >conftest.$ac_ext <<_ACEOF
90997 /* confdefs.h. */
90998 _ACEOF
90999 cat confdefs.h >>conftest.$ac_ext
91000 cat >>conftest.$ac_ext <<_ACEOF
91001 /* end confdefs.h. */
91002 #include <math.h>
91003 #ifdef HAVE_IEEEFP_H
91004 #include <ieeefp.h>
91005 #endif
91008 main ()
91010 _logl(0);
91012 return 0;
91014 _ACEOF
91015 rm -f conftest.$ac_objext
91016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91017 (eval $ac_compile) 2>conftest.er1
91018 ac_status=$?
91019 grep -v '^ *+' conftest.er1 >conftest.err
91020 rm -f conftest.er1
91021 cat conftest.err >&5
91022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91023 (exit $ac_status); } &&
91024 { ac_try='test -z "$ac_cxx_werror_flag"
91025 || test ! -s conftest.err'
91026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91027 (eval $ac_try) 2>&5
91028 ac_status=$?
91029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91030 (exit $ac_status); }; } &&
91031 { ac_try='test -s conftest.$ac_objext'
91032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91033 (eval $ac_try) 2>&5
91034 ac_status=$?
91035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91036 (exit $ac_status); }; }; then
91037 glibcxx_cv_func__logl_use=yes
91038 else
91039 echo "$as_me: failed program was:" >&5
91040 sed 's/^/| /' conftest.$ac_ext >&5
91042 glibcxx_cv_func__logl_use=no
91044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91045 ac_ext=c
91046 ac_cpp='$CPP $CPPFLAGS'
91047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
91056 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
91058 if test x$glibcxx_cv_func__logl_use = x"yes"; then
91060 for ac_func in _logl
91062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91063 echo "$as_me:$LINENO: checking for $ac_func" >&5
91064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91065 if eval "test \"\${$as_ac_var+set}\" = set"; then
91066 echo $ECHO_N "(cached) $ECHO_C" >&6
91067 else
91068 if test x$gcc_no_link = xyes; then
91069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91071 { (exit 1); exit 1; }; }
91073 cat >conftest.$ac_ext <<_ACEOF
91074 /* confdefs.h. */
91075 _ACEOF
91076 cat confdefs.h >>conftest.$ac_ext
91077 cat >>conftest.$ac_ext <<_ACEOF
91078 /* end confdefs.h. */
91079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91081 #define $ac_func innocuous_$ac_func
91083 /* System header to define __stub macros and hopefully few prototypes,
91084 which can conflict with char $ac_func (); below.
91085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91086 <limits.h> exists even on freestanding compilers. */
91088 #ifdef __STDC__
91089 # include <limits.h>
91090 #else
91091 # include <assert.h>
91092 #endif
91094 #undef $ac_func
91096 /* Override any gcc2 internal prototype to avoid an error. */
91097 #ifdef __cplusplus
91098 extern "C"
91100 #endif
91101 /* We use char because int might match the return type of a gcc2
91102 builtin and then its argument prototype would still apply. */
91103 char $ac_func ();
91104 /* The GNU C library defines this for functions which it implements
91105 to always fail with ENOSYS. Some functions are actually named
91106 something starting with __ and the normal name is an alias. */
91107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91108 choke me
91109 #else
91110 char (*f) () = $ac_func;
91111 #endif
91112 #ifdef __cplusplus
91114 #endif
91117 main ()
91119 return f != $ac_func;
91121 return 0;
91123 _ACEOF
91124 rm -f conftest.$ac_objext conftest$ac_exeext
91125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91126 (eval $ac_link) 2>conftest.er1
91127 ac_status=$?
91128 grep -v '^ *+' conftest.er1 >conftest.err
91129 rm -f conftest.er1
91130 cat conftest.err >&5
91131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91132 (exit $ac_status); } &&
91133 { ac_try='test -z "$ac_c_werror_flag"
91134 || test ! -s conftest.err'
91135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91136 (eval $ac_try) 2>&5
91137 ac_status=$?
91138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91139 (exit $ac_status); }; } &&
91140 { ac_try='test -s conftest$ac_exeext'
91141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91142 (eval $ac_try) 2>&5
91143 ac_status=$?
91144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91145 (exit $ac_status); }; }; then
91146 eval "$as_ac_var=yes"
91147 else
91148 echo "$as_me: failed program was:" >&5
91149 sed 's/^/| /' conftest.$ac_ext >&5
91151 eval "$as_ac_var=no"
91153 rm -f conftest.err conftest.$ac_objext \
91154 conftest$ac_exeext conftest.$ac_ext
91156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91158 if test `eval echo '${'$as_ac_var'}'` = yes; then
91159 cat >>confdefs.h <<_ACEOF
91160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91161 _ACEOF
91164 done
91174 echo "$as_me:$LINENO: checking for log10l declaration" >&5
91175 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
91176 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
91177 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
91178 echo $ECHO_N "(cached) $ECHO_C" >&6
91179 else
91183 ac_ext=cc
91184 ac_cpp='$CXXCPP $CPPFLAGS'
91185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91189 cat >conftest.$ac_ext <<_ACEOF
91190 /* confdefs.h. */
91191 _ACEOF
91192 cat confdefs.h >>conftest.$ac_ext
91193 cat >>conftest.$ac_ext <<_ACEOF
91194 /* end confdefs.h. */
91195 #include <math.h>
91196 #ifdef HAVE_IEEEFP_H
91197 #include <ieeefp.h>
91198 #endif
91201 main ()
91203 log10l(0);
91205 return 0;
91207 _ACEOF
91208 rm -f conftest.$ac_objext
91209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91210 (eval $ac_compile) 2>conftest.er1
91211 ac_status=$?
91212 grep -v '^ *+' conftest.er1 >conftest.err
91213 rm -f conftest.er1
91214 cat conftest.err >&5
91215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91216 (exit $ac_status); } &&
91217 { ac_try='test -z "$ac_cxx_werror_flag"
91218 || test ! -s conftest.err'
91219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91220 (eval $ac_try) 2>&5
91221 ac_status=$?
91222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91223 (exit $ac_status); }; } &&
91224 { ac_try='test -s conftest.$ac_objext'
91225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91226 (eval $ac_try) 2>&5
91227 ac_status=$?
91228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91229 (exit $ac_status); }; }; then
91230 glibcxx_cv_func_log10l_use=yes
91231 else
91232 echo "$as_me: failed program was:" >&5
91233 sed 's/^/| /' conftest.$ac_ext >&5
91235 glibcxx_cv_func_log10l_use=no
91237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91238 ac_ext=c
91239 ac_cpp='$CPP $CPPFLAGS'
91240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
91249 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
91251 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
91253 for ac_func in log10l
91255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91256 echo "$as_me:$LINENO: checking for $ac_func" >&5
91257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91258 if eval "test \"\${$as_ac_var+set}\" = set"; then
91259 echo $ECHO_N "(cached) $ECHO_C" >&6
91260 else
91261 if test x$gcc_no_link = xyes; then
91262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91264 { (exit 1); exit 1; }; }
91266 cat >conftest.$ac_ext <<_ACEOF
91267 /* confdefs.h. */
91268 _ACEOF
91269 cat confdefs.h >>conftest.$ac_ext
91270 cat >>conftest.$ac_ext <<_ACEOF
91271 /* end confdefs.h. */
91272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91274 #define $ac_func innocuous_$ac_func
91276 /* System header to define __stub macros and hopefully few prototypes,
91277 which can conflict with char $ac_func (); below.
91278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91279 <limits.h> exists even on freestanding compilers. */
91281 #ifdef __STDC__
91282 # include <limits.h>
91283 #else
91284 # include <assert.h>
91285 #endif
91287 #undef $ac_func
91289 /* Override any gcc2 internal prototype to avoid an error. */
91290 #ifdef __cplusplus
91291 extern "C"
91293 #endif
91294 /* We use char because int might match the return type of a gcc2
91295 builtin and then its argument prototype would still apply. */
91296 char $ac_func ();
91297 /* The GNU C library defines this for functions which it implements
91298 to always fail with ENOSYS. Some functions are actually named
91299 something starting with __ and the normal name is an alias. */
91300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91301 choke me
91302 #else
91303 char (*f) () = $ac_func;
91304 #endif
91305 #ifdef __cplusplus
91307 #endif
91310 main ()
91312 return f != $ac_func;
91314 return 0;
91316 _ACEOF
91317 rm -f conftest.$ac_objext conftest$ac_exeext
91318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91319 (eval $ac_link) 2>conftest.er1
91320 ac_status=$?
91321 grep -v '^ *+' conftest.er1 >conftest.err
91322 rm -f conftest.er1
91323 cat conftest.err >&5
91324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91325 (exit $ac_status); } &&
91326 { ac_try='test -z "$ac_c_werror_flag"
91327 || test ! -s conftest.err'
91328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91329 (eval $ac_try) 2>&5
91330 ac_status=$?
91331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91332 (exit $ac_status); }; } &&
91333 { ac_try='test -s conftest$ac_exeext'
91334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91335 (eval $ac_try) 2>&5
91336 ac_status=$?
91337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91338 (exit $ac_status); }; }; then
91339 eval "$as_ac_var=yes"
91340 else
91341 echo "$as_me: failed program was:" >&5
91342 sed 's/^/| /' conftest.$ac_ext >&5
91344 eval "$as_ac_var=no"
91346 rm -f conftest.err conftest.$ac_objext \
91347 conftest$ac_exeext conftest.$ac_ext
91349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91351 if test `eval echo '${'$as_ac_var'}'` = yes; then
91352 cat >>confdefs.h <<_ACEOF
91353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91354 _ACEOF
91357 done
91359 else
91361 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
91362 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
91363 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
91364 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
91365 echo $ECHO_N "(cached) $ECHO_C" >&6
91366 else
91370 ac_ext=cc
91371 ac_cpp='$CXXCPP $CPPFLAGS'
91372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91376 cat >conftest.$ac_ext <<_ACEOF
91377 /* confdefs.h. */
91378 _ACEOF
91379 cat confdefs.h >>conftest.$ac_ext
91380 cat >>conftest.$ac_ext <<_ACEOF
91381 /* end confdefs.h. */
91382 #include <math.h>
91383 #ifdef HAVE_IEEEFP_H
91384 #include <ieeefp.h>
91385 #endif
91388 main ()
91390 _log10l(0);
91392 return 0;
91394 _ACEOF
91395 rm -f conftest.$ac_objext
91396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91397 (eval $ac_compile) 2>conftest.er1
91398 ac_status=$?
91399 grep -v '^ *+' conftest.er1 >conftest.err
91400 rm -f conftest.er1
91401 cat conftest.err >&5
91402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91403 (exit $ac_status); } &&
91404 { ac_try='test -z "$ac_cxx_werror_flag"
91405 || test ! -s conftest.err'
91406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91407 (eval $ac_try) 2>&5
91408 ac_status=$?
91409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91410 (exit $ac_status); }; } &&
91411 { ac_try='test -s conftest.$ac_objext'
91412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91413 (eval $ac_try) 2>&5
91414 ac_status=$?
91415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91416 (exit $ac_status); }; }; then
91417 glibcxx_cv_func__log10l_use=yes
91418 else
91419 echo "$as_me: failed program was:" >&5
91420 sed 's/^/| /' conftest.$ac_ext >&5
91422 glibcxx_cv_func__log10l_use=no
91424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91425 ac_ext=c
91426 ac_cpp='$CPP $CPPFLAGS'
91427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
91436 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
91438 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
91440 for ac_func in _log10l
91442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91443 echo "$as_me:$LINENO: checking for $ac_func" >&5
91444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91445 if eval "test \"\${$as_ac_var+set}\" = set"; then
91446 echo $ECHO_N "(cached) $ECHO_C" >&6
91447 else
91448 if test x$gcc_no_link = xyes; then
91449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91451 { (exit 1); exit 1; }; }
91453 cat >conftest.$ac_ext <<_ACEOF
91454 /* confdefs.h. */
91455 _ACEOF
91456 cat confdefs.h >>conftest.$ac_ext
91457 cat >>conftest.$ac_ext <<_ACEOF
91458 /* end confdefs.h. */
91459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91461 #define $ac_func innocuous_$ac_func
91463 /* System header to define __stub macros and hopefully few prototypes,
91464 which can conflict with char $ac_func (); below.
91465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91466 <limits.h> exists even on freestanding compilers. */
91468 #ifdef __STDC__
91469 # include <limits.h>
91470 #else
91471 # include <assert.h>
91472 #endif
91474 #undef $ac_func
91476 /* Override any gcc2 internal prototype to avoid an error. */
91477 #ifdef __cplusplus
91478 extern "C"
91480 #endif
91481 /* We use char because int might match the return type of a gcc2
91482 builtin and then its argument prototype would still apply. */
91483 char $ac_func ();
91484 /* The GNU C library defines this for functions which it implements
91485 to always fail with ENOSYS. Some functions are actually named
91486 something starting with __ and the normal name is an alias. */
91487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91488 choke me
91489 #else
91490 char (*f) () = $ac_func;
91491 #endif
91492 #ifdef __cplusplus
91494 #endif
91497 main ()
91499 return f != $ac_func;
91501 return 0;
91503 _ACEOF
91504 rm -f conftest.$ac_objext conftest$ac_exeext
91505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91506 (eval $ac_link) 2>conftest.er1
91507 ac_status=$?
91508 grep -v '^ *+' conftest.er1 >conftest.err
91509 rm -f conftest.er1
91510 cat conftest.err >&5
91511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91512 (exit $ac_status); } &&
91513 { ac_try='test -z "$ac_c_werror_flag"
91514 || test ! -s conftest.err'
91515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91516 (eval $ac_try) 2>&5
91517 ac_status=$?
91518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91519 (exit $ac_status); }; } &&
91520 { ac_try='test -s conftest$ac_exeext'
91521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91522 (eval $ac_try) 2>&5
91523 ac_status=$?
91524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91525 (exit $ac_status); }; }; then
91526 eval "$as_ac_var=yes"
91527 else
91528 echo "$as_me: failed program was:" >&5
91529 sed 's/^/| /' conftest.$ac_ext >&5
91531 eval "$as_ac_var=no"
91533 rm -f conftest.err conftest.$ac_objext \
91534 conftest$ac_exeext conftest.$ac_ext
91536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91538 if test `eval echo '${'$as_ac_var'}'` = yes; then
91539 cat >>confdefs.h <<_ACEOF
91540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91541 _ACEOF
91544 done
91554 echo "$as_me:$LINENO: checking for modfl declaration" >&5
91555 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
91556 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
91557 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
91558 echo $ECHO_N "(cached) $ECHO_C" >&6
91559 else
91563 ac_ext=cc
91564 ac_cpp='$CXXCPP $CPPFLAGS'
91565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91569 cat >conftest.$ac_ext <<_ACEOF
91570 /* confdefs.h. */
91571 _ACEOF
91572 cat confdefs.h >>conftest.$ac_ext
91573 cat >>conftest.$ac_ext <<_ACEOF
91574 /* end confdefs.h. */
91575 #include <math.h>
91577 main ()
91579 modfl(0, 0);
91581 return 0;
91583 _ACEOF
91584 rm -f conftest.$ac_objext
91585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91586 (eval $ac_compile) 2>conftest.er1
91587 ac_status=$?
91588 grep -v '^ *+' conftest.er1 >conftest.err
91589 rm -f conftest.er1
91590 cat conftest.err >&5
91591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91592 (exit $ac_status); } &&
91593 { ac_try='test -z "$ac_cxx_werror_flag"
91594 || test ! -s conftest.err'
91595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91596 (eval $ac_try) 2>&5
91597 ac_status=$?
91598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91599 (exit $ac_status); }; } &&
91600 { ac_try='test -s conftest.$ac_objext'
91601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91602 (eval $ac_try) 2>&5
91603 ac_status=$?
91604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91605 (exit $ac_status); }; }; then
91606 glibcxx_cv_func_modfl_use=yes
91607 else
91608 echo "$as_me: failed program was:" >&5
91609 sed 's/^/| /' conftest.$ac_ext >&5
91611 glibcxx_cv_func_modfl_use=no
91613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91614 ac_ext=c
91615 ac_cpp='$CPP $CPPFLAGS'
91616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
91625 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
91627 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
91629 for ac_func in modfl
91631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91632 echo "$as_me:$LINENO: checking for $ac_func" >&5
91633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91634 if eval "test \"\${$as_ac_var+set}\" = set"; then
91635 echo $ECHO_N "(cached) $ECHO_C" >&6
91636 else
91637 if test x$gcc_no_link = xyes; then
91638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91640 { (exit 1); exit 1; }; }
91642 cat >conftest.$ac_ext <<_ACEOF
91643 /* confdefs.h. */
91644 _ACEOF
91645 cat confdefs.h >>conftest.$ac_ext
91646 cat >>conftest.$ac_ext <<_ACEOF
91647 /* end confdefs.h. */
91648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91650 #define $ac_func innocuous_$ac_func
91652 /* System header to define __stub macros and hopefully few prototypes,
91653 which can conflict with char $ac_func (); below.
91654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91655 <limits.h> exists even on freestanding compilers. */
91657 #ifdef __STDC__
91658 # include <limits.h>
91659 #else
91660 # include <assert.h>
91661 #endif
91663 #undef $ac_func
91665 /* Override any gcc2 internal prototype to avoid an error. */
91666 #ifdef __cplusplus
91667 extern "C"
91669 #endif
91670 /* We use char because int might match the return type of a gcc2
91671 builtin and then its argument prototype would still apply. */
91672 char $ac_func ();
91673 /* The GNU C library defines this for functions which it implements
91674 to always fail with ENOSYS. Some functions are actually named
91675 something starting with __ and the normal name is an alias. */
91676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91677 choke me
91678 #else
91679 char (*f) () = $ac_func;
91680 #endif
91681 #ifdef __cplusplus
91683 #endif
91686 main ()
91688 return f != $ac_func;
91690 return 0;
91692 _ACEOF
91693 rm -f conftest.$ac_objext conftest$ac_exeext
91694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91695 (eval $ac_link) 2>conftest.er1
91696 ac_status=$?
91697 grep -v '^ *+' conftest.er1 >conftest.err
91698 rm -f conftest.er1
91699 cat conftest.err >&5
91700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91701 (exit $ac_status); } &&
91702 { ac_try='test -z "$ac_c_werror_flag"
91703 || test ! -s conftest.err'
91704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91705 (eval $ac_try) 2>&5
91706 ac_status=$?
91707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91708 (exit $ac_status); }; } &&
91709 { ac_try='test -s conftest$ac_exeext'
91710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91711 (eval $ac_try) 2>&5
91712 ac_status=$?
91713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91714 (exit $ac_status); }; }; then
91715 eval "$as_ac_var=yes"
91716 else
91717 echo "$as_me: failed program was:" >&5
91718 sed 's/^/| /' conftest.$ac_ext >&5
91720 eval "$as_ac_var=no"
91722 rm -f conftest.err conftest.$ac_objext \
91723 conftest$ac_exeext conftest.$ac_ext
91725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91727 if test `eval echo '${'$as_ac_var'}'` = yes; then
91728 cat >>confdefs.h <<_ACEOF
91729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91730 _ACEOF
91733 done
91735 else
91737 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
91738 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
91739 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
91740 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
91741 echo $ECHO_N "(cached) $ECHO_C" >&6
91742 else
91746 ac_ext=cc
91747 ac_cpp='$CXXCPP $CPPFLAGS'
91748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91752 cat >conftest.$ac_ext <<_ACEOF
91753 /* confdefs.h. */
91754 _ACEOF
91755 cat confdefs.h >>conftest.$ac_ext
91756 cat >>conftest.$ac_ext <<_ACEOF
91757 /* end confdefs.h. */
91758 #include <math.h>
91760 main ()
91762 _modfl(0, 0);
91764 return 0;
91766 _ACEOF
91767 rm -f conftest.$ac_objext
91768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91769 (eval $ac_compile) 2>conftest.er1
91770 ac_status=$?
91771 grep -v '^ *+' conftest.er1 >conftest.err
91772 rm -f conftest.er1
91773 cat conftest.err >&5
91774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91775 (exit $ac_status); } &&
91776 { ac_try='test -z "$ac_cxx_werror_flag"
91777 || test ! -s conftest.err'
91778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91779 (eval $ac_try) 2>&5
91780 ac_status=$?
91781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91782 (exit $ac_status); }; } &&
91783 { ac_try='test -s conftest.$ac_objext'
91784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91785 (eval $ac_try) 2>&5
91786 ac_status=$?
91787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91788 (exit $ac_status); }; }; then
91789 glibcxx_cv_func__modfl_use=yes
91790 else
91791 echo "$as_me: failed program was:" >&5
91792 sed 's/^/| /' conftest.$ac_ext >&5
91794 glibcxx_cv_func__modfl_use=no
91796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91797 ac_ext=c
91798 ac_cpp='$CPP $CPPFLAGS'
91799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91807 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
91808 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
91810 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
91812 for ac_func in _modfl
91814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91815 echo "$as_me:$LINENO: checking for $ac_func" >&5
91816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91817 if eval "test \"\${$as_ac_var+set}\" = set"; then
91818 echo $ECHO_N "(cached) $ECHO_C" >&6
91819 else
91820 if test x$gcc_no_link = xyes; then
91821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91823 { (exit 1); exit 1; }; }
91825 cat >conftest.$ac_ext <<_ACEOF
91826 /* confdefs.h. */
91827 _ACEOF
91828 cat confdefs.h >>conftest.$ac_ext
91829 cat >>conftest.$ac_ext <<_ACEOF
91830 /* end confdefs.h. */
91831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91833 #define $ac_func innocuous_$ac_func
91835 /* System header to define __stub macros and hopefully few prototypes,
91836 which can conflict with char $ac_func (); below.
91837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91838 <limits.h> exists even on freestanding compilers. */
91840 #ifdef __STDC__
91841 # include <limits.h>
91842 #else
91843 # include <assert.h>
91844 #endif
91846 #undef $ac_func
91848 /* Override any gcc2 internal prototype to avoid an error. */
91849 #ifdef __cplusplus
91850 extern "C"
91852 #endif
91853 /* We use char because int might match the return type of a gcc2
91854 builtin and then its argument prototype would still apply. */
91855 char $ac_func ();
91856 /* The GNU C library defines this for functions which it implements
91857 to always fail with ENOSYS. Some functions are actually named
91858 something starting with __ and the normal name is an alias. */
91859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91860 choke me
91861 #else
91862 char (*f) () = $ac_func;
91863 #endif
91864 #ifdef __cplusplus
91866 #endif
91869 main ()
91871 return f != $ac_func;
91873 return 0;
91875 _ACEOF
91876 rm -f conftest.$ac_objext conftest$ac_exeext
91877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91878 (eval $ac_link) 2>conftest.er1
91879 ac_status=$?
91880 grep -v '^ *+' conftest.er1 >conftest.err
91881 rm -f conftest.er1
91882 cat conftest.err >&5
91883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91884 (exit $ac_status); } &&
91885 { ac_try='test -z "$ac_c_werror_flag"
91886 || test ! -s conftest.err'
91887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91888 (eval $ac_try) 2>&5
91889 ac_status=$?
91890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91891 (exit $ac_status); }; } &&
91892 { ac_try='test -s conftest$ac_exeext'
91893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91894 (eval $ac_try) 2>&5
91895 ac_status=$?
91896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91897 (exit $ac_status); }; }; then
91898 eval "$as_ac_var=yes"
91899 else
91900 echo "$as_me: failed program was:" >&5
91901 sed 's/^/| /' conftest.$ac_ext >&5
91903 eval "$as_ac_var=no"
91905 rm -f conftest.err conftest.$ac_objext \
91906 conftest$ac_exeext conftest.$ac_ext
91908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91910 if test `eval echo '${'$as_ac_var'}'` = yes; then
91911 cat >>confdefs.h <<_ACEOF
91912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91913 _ACEOF
91916 done
91926 echo "$as_me:$LINENO: checking for powl declaration" >&5
91927 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
91928 if test x${glibcxx_cv_func_powl_use+set} != xset; then
91929 if test "${glibcxx_cv_func_powl_use+set}" = set; then
91930 echo $ECHO_N "(cached) $ECHO_C" >&6
91931 else
91935 ac_ext=cc
91936 ac_cpp='$CXXCPP $CPPFLAGS'
91937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91941 cat >conftest.$ac_ext <<_ACEOF
91942 /* confdefs.h. */
91943 _ACEOF
91944 cat confdefs.h >>conftest.$ac_ext
91945 cat >>conftest.$ac_ext <<_ACEOF
91946 /* end confdefs.h. */
91947 #include <math.h>
91949 main ()
91951 powl(0, 0);
91953 return 0;
91955 _ACEOF
91956 rm -f conftest.$ac_objext
91957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91958 (eval $ac_compile) 2>conftest.er1
91959 ac_status=$?
91960 grep -v '^ *+' conftest.er1 >conftest.err
91961 rm -f conftest.er1
91962 cat conftest.err >&5
91963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91964 (exit $ac_status); } &&
91965 { ac_try='test -z "$ac_cxx_werror_flag"
91966 || test ! -s conftest.err'
91967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91968 (eval $ac_try) 2>&5
91969 ac_status=$?
91970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91971 (exit $ac_status); }; } &&
91972 { ac_try='test -s conftest.$ac_objext'
91973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91974 (eval $ac_try) 2>&5
91975 ac_status=$?
91976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91977 (exit $ac_status); }; }; then
91978 glibcxx_cv_func_powl_use=yes
91979 else
91980 echo "$as_me: failed program was:" >&5
91981 sed 's/^/| /' conftest.$ac_ext >&5
91983 glibcxx_cv_func_powl_use=no
91985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91986 ac_ext=c
91987 ac_cpp='$CPP $CPPFLAGS'
91988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
91997 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
91999 if test x$glibcxx_cv_func_powl_use = x"yes"; then
92001 for ac_func in powl
92003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92004 echo "$as_me:$LINENO: checking for $ac_func" >&5
92005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92006 if eval "test \"\${$as_ac_var+set}\" = set"; then
92007 echo $ECHO_N "(cached) $ECHO_C" >&6
92008 else
92009 if test x$gcc_no_link = xyes; then
92010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92012 { (exit 1); exit 1; }; }
92014 cat >conftest.$ac_ext <<_ACEOF
92015 /* confdefs.h. */
92016 _ACEOF
92017 cat confdefs.h >>conftest.$ac_ext
92018 cat >>conftest.$ac_ext <<_ACEOF
92019 /* end confdefs.h. */
92020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92022 #define $ac_func innocuous_$ac_func
92024 /* System header to define __stub macros and hopefully few prototypes,
92025 which can conflict with char $ac_func (); below.
92026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92027 <limits.h> exists even on freestanding compilers. */
92029 #ifdef __STDC__
92030 # include <limits.h>
92031 #else
92032 # include <assert.h>
92033 #endif
92035 #undef $ac_func
92037 /* Override any gcc2 internal prototype to avoid an error. */
92038 #ifdef __cplusplus
92039 extern "C"
92041 #endif
92042 /* We use char because int might match the return type of a gcc2
92043 builtin and then its argument prototype would still apply. */
92044 char $ac_func ();
92045 /* The GNU C library defines this for functions which it implements
92046 to always fail with ENOSYS. Some functions are actually named
92047 something starting with __ and the normal name is an alias. */
92048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92049 choke me
92050 #else
92051 char (*f) () = $ac_func;
92052 #endif
92053 #ifdef __cplusplus
92055 #endif
92058 main ()
92060 return f != $ac_func;
92062 return 0;
92064 _ACEOF
92065 rm -f conftest.$ac_objext conftest$ac_exeext
92066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92067 (eval $ac_link) 2>conftest.er1
92068 ac_status=$?
92069 grep -v '^ *+' conftest.er1 >conftest.err
92070 rm -f conftest.er1
92071 cat conftest.err >&5
92072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92073 (exit $ac_status); } &&
92074 { ac_try='test -z "$ac_c_werror_flag"
92075 || test ! -s conftest.err'
92076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92077 (eval $ac_try) 2>&5
92078 ac_status=$?
92079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92080 (exit $ac_status); }; } &&
92081 { ac_try='test -s conftest$ac_exeext'
92082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92083 (eval $ac_try) 2>&5
92084 ac_status=$?
92085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92086 (exit $ac_status); }; }; then
92087 eval "$as_ac_var=yes"
92088 else
92089 echo "$as_me: failed program was:" >&5
92090 sed 's/^/| /' conftest.$ac_ext >&5
92092 eval "$as_ac_var=no"
92094 rm -f conftest.err conftest.$ac_objext \
92095 conftest$ac_exeext conftest.$ac_ext
92097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92099 if test `eval echo '${'$as_ac_var'}'` = yes; then
92100 cat >>confdefs.h <<_ACEOF
92101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92102 _ACEOF
92105 done
92107 else
92109 echo "$as_me:$LINENO: checking for _powl declaration" >&5
92110 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
92111 if test x${glibcxx_cv_func__powl_use+set} != xset; then
92112 if test "${glibcxx_cv_func__powl_use+set}" = set; then
92113 echo $ECHO_N "(cached) $ECHO_C" >&6
92114 else
92118 ac_ext=cc
92119 ac_cpp='$CXXCPP $CPPFLAGS'
92120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92124 cat >conftest.$ac_ext <<_ACEOF
92125 /* confdefs.h. */
92126 _ACEOF
92127 cat confdefs.h >>conftest.$ac_ext
92128 cat >>conftest.$ac_ext <<_ACEOF
92129 /* end confdefs.h. */
92130 #include <math.h>
92132 main ()
92134 _powl(0, 0);
92136 return 0;
92138 _ACEOF
92139 rm -f conftest.$ac_objext
92140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92141 (eval $ac_compile) 2>conftest.er1
92142 ac_status=$?
92143 grep -v '^ *+' conftest.er1 >conftest.err
92144 rm -f conftest.er1
92145 cat conftest.err >&5
92146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92147 (exit $ac_status); } &&
92148 { ac_try='test -z "$ac_cxx_werror_flag"
92149 || test ! -s conftest.err'
92150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92151 (eval $ac_try) 2>&5
92152 ac_status=$?
92153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92154 (exit $ac_status); }; } &&
92155 { ac_try='test -s conftest.$ac_objext'
92156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92157 (eval $ac_try) 2>&5
92158 ac_status=$?
92159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92160 (exit $ac_status); }; }; then
92161 glibcxx_cv_func__powl_use=yes
92162 else
92163 echo "$as_me: failed program was:" >&5
92164 sed 's/^/| /' conftest.$ac_ext >&5
92166 glibcxx_cv_func__powl_use=no
92168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92169 ac_ext=c
92170 ac_cpp='$CPP $CPPFLAGS'
92171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
92180 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
92182 if test x$glibcxx_cv_func__powl_use = x"yes"; then
92184 for ac_func in _powl
92186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92187 echo "$as_me:$LINENO: checking for $ac_func" >&5
92188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92189 if eval "test \"\${$as_ac_var+set}\" = set"; then
92190 echo $ECHO_N "(cached) $ECHO_C" >&6
92191 else
92192 if test x$gcc_no_link = xyes; then
92193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92195 { (exit 1); exit 1; }; }
92197 cat >conftest.$ac_ext <<_ACEOF
92198 /* confdefs.h. */
92199 _ACEOF
92200 cat confdefs.h >>conftest.$ac_ext
92201 cat >>conftest.$ac_ext <<_ACEOF
92202 /* end confdefs.h. */
92203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92205 #define $ac_func innocuous_$ac_func
92207 /* System header to define __stub macros and hopefully few prototypes,
92208 which can conflict with char $ac_func (); below.
92209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92210 <limits.h> exists even on freestanding compilers. */
92212 #ifdef __STDC__
92213 # include <limits.h>
92214 #else
92215 # include <assert.h>
92216 #endif
92218 #undef $ac_func
92220 /* Override any gcc2 internal prototype to avoid an error. */
92221 #ifdef __cplusplus
92222 extern "C"
92224 #endif
92225 /* We use char because int might match the return type of a gcc2
92226 builtin and then its argument prototype would still apply. */
92227 char $ac_func ();
92228 /* The GNU C library defines this for functions which it implements
92229 to always fail with ENOSYS. Some functions are actually named
92230 something starting with __ and the normal name is an alias. */
92231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92232 choke me
92233 #else
92234 char (*f) () = $ac_func;
92235 #endif
92236 #ifdef __cplusplus
92238 #endif
92241 main ()
92243 return f != $ac_func;
92245 return 0;
92247 _ACEOF
92248 rm -f conftest.$ac_objext conftest$ac_exeext
92249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92250 (eval $ac_link) 2>conftest.er1
92251 ac_status=$?
92252 grep -v '^ *+' conftest.er1 >conftest.err
92253 rm -f conftest.er1
92254 cat conftest.err >&5
92255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92256 (exit $ac_status); } &&
92257 { ac_try='test -z "$ac_c_werror_flag"
92258 || test ! -s conftest.err'
92259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92260 (eval $ac_try) 2>&5
92261 ac_status=$?
92262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92263 (exit $ac_status); }; } &&
92264 { ac_try='test -s conftest$ac_exeext'
92265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92266 (eval $ac_try) 2>&5
92267 ac_status=$?
92268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92269 (exit $ac_status); }; }; then
92270 eval "$as_ac_var=yes"
92271 else
92272 echo "$as_me: failed program was:" >&5
92273 sed 's/^/| /' conftest.$ac_ext >&5
92275 eval "$as_ac_var=no"
92277 rm -f conftest.err conftest.$ac_objext \
92278 conftest$ac_exeext conftest.$ac_ext
92280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92282 if test `eval echo '${'$as_ac_var'}'` = yes; then
92283 cat >>confdefs.h <<_ACEOF
92284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92285 _ACEOF
92288 done
92298 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
92299 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
92300 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
92301 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
92302 echo $ECHO_N "(cached) $ECHO_C" >&6
92303 else
92307 ac_ext=cc
92308 ac_cpp='$CXXCPP $CPPFLAGS'
92309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92313 cat >conftest.$ac_ext <<_ACEOF
92314 /* confdefs.h. */
92315 _ACEOF
92316 cat confdefs.h >>conftest.$ac_ext
92317 cat >>conftest.$ac_ext <<_ACEOF
92318 /* end confdefs.h. */
92319 #include <math.h>
92320 #ifdef HAVE_IEEEFP_H
92321 #include <ieeefp.h>
92322 #endif
92325 main ()
92327 sqrtl(0);
92329 return 0;
92331 _ACEOF
92332 rm -f conftest.$ac_objext
92333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92334 (eval $ac_compile) 2>conftest.er1
92335 ac_status=$?
92336 grep -v '^ *+' conftest.er1 >conftest.err
92337 rm -f conftest.er1
92338 cat conftest.err >&5
92339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92340 (exit $ac_status); } &&
92341 { ac_try='test -z "$ac_cxx_werror_flag"
92342 || test ! -s conftest.err'
92343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92344 (eval $ac_try) 2>&5
92345 ac_status=$?
92346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92347 (exit $ac_status); }; } &&
92348 { ac_try='test -s conftest.$ac_objext'
92349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92350 (eval $ac_try) 2>&5
92351 ac_status=$?
92352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92353 (exit $ac_status); }; }; then
92354 glibcxx_cv_func_sqrtl_use=yes
92355 else
92356 echo "$as_me: failed program was:" >&5
92357 sed 's/^/| /' conftest.$ac_ext >&5
92359 glibcxx_cv_func_sqrtl_use=no
92361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92362 ac_ext=c
92363 ac_cpp='$CPP $CPPFLAGS'
92364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
92373 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
92375 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
92377 for ac_func in sqrtl
92379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92380 echo "$as_me:$LINENO: checking for $ac_func" >&5
92381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92382 if eval "test \"\${$as_ac_var+set}\" = set"; then
92383 echo $ECHO_N "(cached) $ECHO_C" >&6
92384 else
92385 if test x$gcc_no_link = xyes; then
92386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92388 { (exit 1); exit 1; }; }
92390 cat >conftest.$ac_ext <<_ACEOF
92391 /* confdefs.h. */
92392 _ACEOF
92393 cat confdefs.h >>conftest.$ac_ext
92394 cat >>conftest.$ac_ext <<_ACEOF
92395 /* end confdefs.h. */
92396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92398 #define $ac_func innocuous_$ac_func
92400 /* System header to define __stub macros and hopefully few prototypes,
92401 which can conflict with char $ac_func (); below.
92402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92403 <limits.h> exists even on freestanding compilers. */
92405 #ifdef __STDC__
92406 # include <limits.h>
92407 #else
92408 # include <assert.h>
92409 #endif
92411 #undef $ac_func
92413 /* Override any gcc2 internal prototype to avoid an error. */
92414 #ifdef __cplusplus
92415 extern "C"
92417 #endif
92418 /* We use char because int might match the return type of a gcc2
92419 builtin and then its argument prototype would still apply. */
92420 char $ac_func ();
92421 /* The GNU C library defines this for functions which it implements
92422 to always fail with ENOSYS. Some functions are actually named
92423 something starting with __ and the normal name is an alias. */
92424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92425 choke me
92426 #else
92427 char (*f) () = $ac_func;
92428 #endif
92429 #ifdef __cplusplus
92431 #endif
92434 main ()
92436 return f != $ac_func;
92438 return 0;
92440 _ACEOF
92441 rm -f conftest.$ac_objext conftest$ac_exeext
92442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92443 (eval $ac_link) 2>conftest.er1
92444 ac_status=$?
92445 grep -v '^ *+' conftest.er1 >conftest.err
92446 rm -f conftest.er1
92447 cat conftest.err >&5
92448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92449 (exit $ac_status); } &&
92450 { ac_try='test -z "$ac_c_werror_flag"
92451 || test ! -s conftest.err'
92452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92453 (eval $ac_try) 2>&5
92454 ac_status=$?
92455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92456 (exit $ac_status); }; } &&
92457 { ac_try='test -s conftest$ac_exeext'
92458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92459 (eval $ac_try) 2>&5
92460 ac_status=$?
92461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92462 (exit $ac_status); }; }; then
92463 eval "$as_ac_var=yes"
92464 else
92465 echo "$as_me: failed program was:" >&5
92466 sed 's/^/| /' conftest.$ac_ext >&5
92468 eval "$as_ac_var=no"
92470 rm -f conftest.err conftest.$ac_objext \
92471 conftest$ac_exeext conftest.$ac_ext
92473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92475 if test `eval echo '${'$as_ac_var'}'` = yes; then
92476 cat >>confdefs.h <<_ACEOF
92477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92478 _ACEOF
92481 done
92483 else
92485 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
92486 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
92487 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
92488 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
92489 echo $ECHO_N "(cached) $ECHO_C" >&6
92490 else
92494 ac_ext=cc
92495 ac_cpp='$CXXCPP $CPPFLAGS'
92496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92500 cat >conftest.$ac_ext <<_ACEOF
92501 /* confdefs.h. */
92502 _ACEOF
92503 cat confdefs.h >>conftest.$ac_ext
92504 cat >>conftest.$ac_ext <<_ACEOF
92505 /* end confdefs.h. */
92506 #include <math.h>
92507 #ifdef HAVE_IEEEFP_H
92508 #include <ieeefp.h>
92509 #endif
92512 main ()
92514 _sqrtl(0);
92516 return 0;
92518 _ACEOF
92519 rm -f conftest.$ac_objext
92520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92521 (eval $ac_compile) 2>conftest.er1
92522 ac_status=$?
92523 grep -v '^ *+' conftest.er1 >conftest.err
92524 rm -f conftest.er1
92525 cat conftest.err >&5
92526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92527 (exit $ac_status); } &&
92528 { ac_try='test -z "$ac_cxx_werror_flag"
92529 || test ! -s conftest.err'
92530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92531 (eval $ac_try) 2>&5
92532 ac_status=$?
92533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92534 (exit $ac_status); }; } &&
92535 { ac_try='test -s conftest.$ac_objext'
92536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92537 (eval $ac_try) 2>&5
92538 ac_status=$?
92539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92540 (exit $ac_status); }; }; then
92541 glibcxx_cv_func__sqrtl_use=yes
92542 else
92543 echo "$as_me: failed program was:" >&5
92544 sed 's/^/| /' conftest.$ac_ext >&5
92546 glibcxx_cv_func__sqrtl_use=no
92548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92549 ac_ext=c
92550 ac_cpp='$CPP $CPPFLAGS'
92551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
92560 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
92562 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
92564 for ac_func in _sqrtl
92566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92567 echo "$as_me:$LINENO: checking for $ac_func" >&5
92568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92569 if eval "test \"\${$as_ac_var+set}\" = set"; then
92570 echo $ECHO_N "(cached) $ECHO_C" >&6
92571 else
92572 if test x$gcc_no_link = xyes; then
92573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92575 { (exit 1); exit 1; }; }
92577 cat >conftest.$ac_ext <<_ACEOF
92578 /* confdefs.h. */
92579 _ACEOF
92580 cat confdefs.h >>conftest.$ac_ext
92581 cat >>conftest.$ac_ext <<_ACEOF
92582 /* end confdefs.h. */
92583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92585 #define $ac_func innocuous_$ac_func
92587 /* System header to define __stub macros and hopefully few prototypes,
92588 which can conflict with char $ac_func (); below.
92589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92590 <limits.h> exists even on freestanding compilers. */
92592 #ifdef __STDC__
92593 # include <limits.h>
92594 #else
92595 # include <assert.h>
92596 #endif
92598 #undef $ac_func
92600 /* Override any gcc2 internal prototype to avoid an error. */
92601 #ifdef __cplusplus
92602 extern "C"
92604 #endif
92605 /* We use char because int might match the return type of a gcc2
92606 builtin and then its argument prototype would still apply. */
92607 char $ac_func ();
92608 /* The GNU C library defines this for functions which it implements
92609 to always fail with ENOSYS. Some functions are actually named
92610 something starting with __ and the normal name is an alias. */
92611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92612 choke me
92613 #else
92614 char (*f) () = $ac_func;
92615 #endif
92616 #ifdef __cplusplus
92618 #endif
92621 main ()
92623 return f != $ac_func;
92625 return 0;
92627 _ACEOF
92628 rm -f conftest.$ac_objext conftest$ac_exeext
92629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92630 (eval $ac_link) 2>conftest.er1
92631 ac_status=$?
92632 grep -v '^ *+' conftest.er1 >conftest.err
92633 rm -f conftest.er1
92634 cat conftest.err >&5
92635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92636 (exit $ac_status); } &&
92637 { ac_try='test -z "$ac_c_werror_flag"
92638 || test ! -s conftest.err'
92639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92640 (eval $ac_try) 2>&5
92641 ac_status=$?
92642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92643 (exit $ac_status); }; } &&
92644 { ac_try='test -s conftest$ac_exeext'
92645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92646 (eval $ac_try) 2>&5
92647 ac_status=$?
92648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92649 (exit $ac_status); }; }; then
92650 eval "$as_ac_var=yes"
92651 else
92652 echo "$as_me: failed program was:" >&5
92653 sed 's/^/| /' conftest.$ac_ext >&5
92655 eval "$as_ac_var=no"
92657 rm -f conftest.err conftest.$ac_objext \
92658 conftest$ac_exeext conftest.$ac_ext
92660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92662 if test `eval echo '${'$as_ac_var'}'` = yes; then
92663 cat >>confdefs.h <<_ACEOF
92664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92665 _ACEOF
92668 done
92678 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
92679 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
92680 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
92681 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
92682 echo $ECHO_N "(cached) $ECHO_C" >&6
92683 else
92687 ac_ext=cc
92688 ac_cpp='$CXXCPP $CPPFLAGS'
92689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92693 cat >conftest.$ac_ext <<_ACEOF
92694 /* confdefs.h. */
92695 _ACEOF
92696 cat confdefs.h >>conftest.$ac_ext
92697 cat >>conftest.$ac_ext <<_ACEOF
92698 /* end confdefs.h. */
92699 #include <math.h>
92701 main ()
92703 sincosl(0, 0, 0);
92705 return 0;
92707 _ACEOF
92708 rm -f conftest.$ac_objext
92709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92710 (eval $ac_compile) 2>conftest.er1
92711 ac_status=$?
92712 grep -v '^ *+' conftest.er1 >conftest.err
92713 rm -f conftest.er1
92714 cat conftest.err >&5
92715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92716 (exit $ac_status); } &&
92717 { ac_try='test -z "$ac_cxx_werror_flag"
92718 || test ! -s conftest.err'
92719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92720 (eval $ac_try) 2>&5
92721 ac_status=$?
92722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92723 (exit $ac_status); }; } &&
92724 { ac_try='test -s conftest.$ac_objext'
92725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92726 (eval $ac_try) 2>&5
92727 ac_status=$?
92728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92729 (exit $ac_status); }; }; then
92730 glibcxx_cv_func_sincosl_use=yes
92731 else
92732 echo "$as_me: failed program was:" >&5
92733 sed 's/^/| /' conftest.$ac_ext >&5
92735 glibcxx_cv_func_sincosl_use=no
92737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92738 ac_ext=c
92739 ac_cpp='$CPP $CPPFLAGS'
92740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
92749 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
92751 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
92753 for ac_func in sincosl
92755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92756 echo "$as_me:$LINENO: checking for $ac_func" >&5
92757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92758 if eval "test \"\${$as_ac_var+set}\" = set"; then
92759 echo $ECHO_N "(cached) $ECHO_C" >&6
92760 else
92761 if test x$gcc_no_link = xyes; then
92762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92764 { (exit 1); exit 1; }; }
92766 cat >conftest.$ac_ext <<_ACEOF
92767 /* confdefs.h. */
92768 _ACEOF
92769 cat confdefs.h >>conftest.$ac_ext
92770 cat >>conftest.$ac_ext <<_ACEOF
92771 /* end confdefs.h. */
92772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92774 #define $ac_func innocuous_$ac_func
92776 /* System header to define __stub macros and hopefully few prototypes,
92777 which can conflict with char $ac_func (); below.
92778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92779 <limits.h> exists even on freestanding compilers. */
92781 #ifdef __STDC__
92782 # include <limits.h>
92783 #else
92784 # include <assert.h>
92785 #endif
92787 #undef $ac_func
92789 /* Override any gcc2 internal prototype to avoid an error. */
92790 #ifdef __cplusplus
92791 extern "C"
92793 #endif
92794 /* We use char because int might match the return type of a gcc2
92795 builtin and then its argument prototype would still apply. */
92796 char $ac_func ();
92797 /* The GNU C library defines this for functions which it implements
92798 to always fail with ENOSYS. Some functions are actually named
92799 something starting with __ and the normal name is an alias. */
92800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92801 choke me
92802 #else
92803 char (*f) () = $ac_func;
92804 #endif
92805 #ifdef __cplusplus
92807 #endif
92810 main ()
92812 return f != $ac_func;
92814 return 0;
92816 _ACEOF
92817 rm -f conftest.$ac_objext conftest$ac_exeext
92818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92819 (eval $ac_link) 2>conftest.er1
92820 ac_status=$?
92821 grep -v '^ *+' conftest.er1 >conftest.err
92822 rm -f conftest.er1
92823 cat conftest.err >&5
92824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92825 (exit $ac_status); } &&
92826 { ac_try='test -z "$ac_c_werror_flag"
92827 || test ! -s conftest.err'
92828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92829 (eval $ac_try) 2>&5
92830 ac_status=$?
92831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92832 (exit $ac_status); }; } &&
92833 { ac_try='test -s conftest$ac_exeext'
92834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92835 (eval $ac_try) 2>&5
92836 ac_status=$?
92837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92838 (exit $ac_status); }; }; then
92839 eval "$as_ac_var=yes"
92840 else
92841 echo "$as_me: failed program was:" >&5
92842 sed 's/^/| /' conftest.$ac_ext >&5
92844 eval "$as_ac_var=no"
92846 rm -f conftest.err conftest.$ac_objext \
92847 conftest$ac_exeext conftest.$ac_ext
92849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92851 if test `eval echo '${'$as_ac_var'}'` = yes; then
92852 cat >>confdefs.h <<_ACEOF
92853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92854 _ACEOF
92857 done
92859 else
92861 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
92862 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
92863 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
92864 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
92865 echo $ECHO_N "(cached) $ECHO_C" >&6
92866 else
92870 ac_ext=cc
92871 ac_cpp='$CXXCPP $CPPFLAGS'
92872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92876 cat >conftest.$ac_ext <<_ACEOF
92877 /* confdefs.h. */
92878 _ACEOF
92879 cat confdefs.h >>conftest.$ac_ext
92880 cat >>conftest.$ac_ext <<_ACEOF
92881 /* end confdefs.h. */
92882 #include <math.h>
92884 main ()
92886 _sincosl(0, 0, 0);
92888 return 0;
92890 _ACEOF
92891 rm -f conftest.$ac_objext
92892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92893 (eval $ac_compile) 2>conftest.er1
92894 ac_status=$?
92895 grep -v '^ *+' conftest.er1 >conftest.err
92896 rm -f conftest.er1
92897 cat conftest.err >&5
92898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92899 (exit $ac_status); } &&
92900 { ac_try='test -z "$ac_cxx_werror_flag"
92901 || test ! -s conftest.err'
92902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92903 (eval $ac_try) 2>&5
92904 ac_status=$?
92905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92906 (exit $ac_status); }; } &&
92907 { ac_try='test -s conftest.$ac_objext'
92908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92909 (eval $ac_try) 2>&5
92910 ac_status=$?
92911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92912 (exit $ac_status); }; }; then
92913 glibcxx_cv_func__sincosl_use=yes
92914 else
92915 echo "$as_me: failed program was:" >&5
92916 sed 's/^/| /' conftest.$ac_ext >&5
92918 glibcxx_cv_func__sincosl_use=no
92920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92921 ac_ext=c
92922 ac_cpp='$CPP $CPPFLAGS'
92923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
92932 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
92934 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
92936 for ac_func in _sincosl
92938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92939 echo "$as_me:$LINENO: checking for $ac_func" >&5
92940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92941 if eval "test \"\${$as_ac_var+set}\" = set"; then
92942 echo $ECHO_N "(cached) $ECHO_C" >&6
92943 else
92944 if test x$gcc_no_link = xyes; then
92945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92947 { (exit 1); exit 1; }; }
92949 cat >conftest.$ac_ext <<_ACEOF
92950 /* confdefs.h. */
92951 _ACEOF
92952 cat confdefs.h >>conftest.$ac_ext
92953 cat >>conftest.$ac_ext <<_ACEOF
92954 /* end confdefs.h. */
92955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92957 #define $ac_func innocuous_$ac_func
92959 /* System header to define __stub macros and hopefully few prototypes,
92960 which can conflict with char $ac_func (); below.
92961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92962 <limits.h> exists even on freestanding compilers. */
92964 #ifdef __STDC__
92965 # include <limits.h>
92966 #else
92967 # include <assert.h>
92968 #endif
92970 #undef $ac_func
92972 /* Override any gcc2 internal prototype to avoid an error. */
92973 #ifdef __cplusplus
92974 extern "C"
92976 #endif
92977 /* We use char because int might match the return type of a gcc2
92978 builtin and then its argument prototype would still apply. */
92979 char $ac_func ();
92980 /* The GNU C library defines this for functions which it implements
92981 to always fail with ENOSYS. Some functions are actually named
92982 something starting with __ and the normal name is an alias. */
92983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92984 choke me
92985 #else
92986 char (*f) () = $ac_func;
92987 #endif
92988 #ifdef __cplusplus
92990 #endif
92993 main ()
92995 return f != $ac_func;
92997 return 0;
92999 _ACEOF
93000 rm -f conftest.$ac_objext conftest$ac_exeext
93001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93002 (eval $ac_link) 2>conftest.er1
93003 ac_status=$?
93004 grep -v '^ *+' conftest.er1 >conftest.err
93005 rm -f conftest.er1
93006 cat conftest.err >&5
93007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93008 (exit $ac_status); } &&
93009 { ac_try='test -z "$ac_c_werror_flag"
93010 || test ! -s conftest.err'
93011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93012 (eval $ac_try) 2>&5
93013 ac_status=$?
93014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93015 (exit $ac_status); }; } &&
93016 { ac_try='test -s conftest$ac_exeext'
93017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93018 (eval $ac_try) 2>&5
93019 ac_status=$?
93020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93021 (exit $ac_status); }; }; then
93022 eval "$as_ac_var=yes"
93023 else
93024 echo "$as_me: failed program was:" >&5
93025 sed 's/^/| /' conftest.$ac_ext >&5
93027 eval "$as_ac_var=no"
93029 rm -f conftest.err conftest.$ac_objext \
93030 conftest$ac_exeext conftest.$ac_ext
93032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93034 if test `eval echo '${'$as_ac_var'}'` = yes; then
93035 cat >>confdefs.h <<_ACEOF
93036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93037 _ACEOF
93040 done
93050 echo "$as_me:$LINENO: checking for finitel declaration" >&5
93051 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
93052 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
93053 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
93054 echo $ECHO_N "(cached) $ECHO_C" >&6
93055 else
93059 ac_ext=cc
93060 ac_cpp='$CXXCPP $CPPFLAGS'
93061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93065 cat >conftest.$ac_ext <<_ACEOF
93066 /* confdefs.h. */
93067 _ACEOF
93068 cat confdefs.h >>conftest.$ac_ext
93069 cat >>conftest.$ac_ext <<_ACEOF
93070 /* end confdefs.h. */
93071 #include <math.h>
93072 #ifdef HAVE_IEEEFP_H
93073 #include <ieeefp.h>
93074 #endif
93077 main ()
93079 finitel(0);
93081 return 0;
93083 _ACEOF
93084 rm -f conftest.$ac_objext
93085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93086 (eval $ac_compile) 2>conftest.er1
93087 ac_status=$?
93088 grep -v '^ *+' conftest.er1 >conftest.err
93089 rm -f conftest.er1
93090 cat conftest.err >&5
93091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93092 (exit $ac_status); } &&
93093 { ac_try='test -z "$ac_cxx_werror_flag"
93094 || test ! -s conftest.err'
93095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93096 (eval $ac_try) 2>&5
93097 ac_status=$?
93098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93099 (exit $ac_status); }; } &&
93100 { ac_try='test -s conftest.$ac_objext'
93101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93102 (eval $ac_try) 2>&5
93103 ac_status=$?
93104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93105 (exit $ac_status); }; }; then
93106 glibcxx_cv_func_finitel_use=yes
93107 else
93108 echo "$as_me: failed program was:" >&5
93109 sed 's/^/| /' conftest.$ac_ext >&5
93111 glibcxx_cv_func_finitel_use=no
93113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93114 ac_ext=c
93115 ac_cpp='$CPP $CPPFLAGS'
93116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93124 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
93125 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
93127 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
93129 for ac_func in finitel
93131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93132 echo "$as_me:$LINENO: checking for $ac_func" >&5
93133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93134 if eval "test \"\${$as_ac_var+set}\" = set"; then
93135 echo $ECHO_N "(cached) $ECHO_C" >&6
93136 else
93137 if test x$gcc_no_link = xyes; then
93138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93140 { (exit 1); exit 1; }; }
93142 cat >conftest.$ac_ext <<_ACEOF
93143 /* confdefs.h. */
93144 _ACEOF
93145 cat confdefs.h >>conftest.$ac_ext
93146 cat >>conftest.$ac_ext <<_ACEOF
93147 /* end confdefs.h. */
93148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93150 #define $ac_func innocuous_$ac_func
93152 /* System header to define __stub macros and hopefully few prototypes,
93153 which can conflict with char $ac_func (); below.
93154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93155 <limits.h> exists even on freestanding compilers. */
93157 #ifdef __STDC__
93158 # include <limits.h>
93159 #else
93160 # include <assert.h>
93161 #endif
93163 #undef $ac_func
93165 /* Override any gcc2 internal prototype to avoid an error. */
93166 #ifdef __cplusplus
93167 extern "C"
93169 #endif
93170 /* We use char because int might match the return type of a gcc2
93171 builtin and then its argument prototype would still apply. */
93172 char $ac_func ();
93173 /* The GNU C library defines this for functions which it implements
93174 to always fail with ENOSYS. Some functions are actually named
93175 something starting with __ and the normal name is an alias. */
93176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93177 choke me
93178 #else
93179 char (*f) () = $ac_func;
93180 #endif
93181 #ifdef __cplusplus
93183 #endif
93186 main ()
93188 return f != $ac_func;
93190 return 0;
93192 _ACEOF
93193 rm -f conftest.$ac_objext conftest$ac_exeext
93194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93195 (eval $ac_link) 2>conftest.er1
93196 ac_status=$?
93197 grep -v '^ *+' conftest.er1 >conftest.err
93198 rm -f conftest.er1
93199 cat conftest.err >&5
93200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93201 (exit $ac_status); } &&
93202 { ac_try='test -z "$ac_c_werror_flag"
93203 || test ! -s conftest.err'
93204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93205 (eval $ac_try) 2>&5
93206 ac_status=$?
93207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93208 (exit $ac_status); }; } &&
93209 { ac_try='test -s conftest$ac_exeext'
93210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93211 (eval $ac_try) 2>&5
93212 ac_status=$?
93213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93214 (exit $ac_status); }; }; then
93215 eval "$as_ac_var=yes"
93216 else
93217 echo "$as_me: failed program was:" >&5
93218 sed 's/^/| /' conftest.$ac_ext >&5
93220 eval "$as_ac_var=no"
93222 rm -f conftest.err conftest.$ac_objext \
93223 conftest$ac_exeext conftest.$ac_ext
93225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93227 if test `eval echo '${'$as_ac_var'}'` = yes; then
93228 cat >>confdefs.h <<_ACEOF
93229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93230 _ACEOF
93233 done
93235 else
93237 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
93238 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
93239 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
93240 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
93241 echo $ECHO_N "(cached) $ECHO_C" >&6
93242 else
93246 ac_ext=cc
93247 ac_cpp='$CXXCPP $CPPFLAGS'
93248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93252 cat >conftest.$ac_ext <<_ACEOF
93253 /* confdefs.h. */
93254 _ACEOF
93255 cat confdefs.h >>conftest.$ac_ext
93256 cat >>conftest.$ac_ext <<_ACEOF
93257 /* end confdefs.h. */
93258 #include <math.h>
93259 #ifdef HAVE_IEEEFP_H
93260 #include <ieeefp.h>
93261 #endif
93264 main ()
93266 _finitel(0);
93268 return 0;
93270 _ACEOF
93271 rm -f conftest.$ac_objext
93272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93273 (eval $ac_compile) 2>conftest.er1
93274 ac_status=$?
93275 grep -v '^ *+' conftest.er1 >conftest.err
93276 rm -f conftest.er1
93277 cat conftest.err >&5
93278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93279 (exit $ac_status); } &&
93280 { ac_try='test -z "$ac_cxx_werror_flag"
93281 || test ! -s conftest.err'
93282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93283 (eval $ac_try) 2>&5
93284 ac_status=$?
93285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93286 (exit $ac_status); }; } &&
93287 { ac_try='test -s conftest.$ac_objext'
93288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93289 (eval $ac_try) 2>&5
93290 ac_status=$?
93291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93292 (exit $ac_status); }; }; then
93293 glibcxx_cv_func__finitel_use=yes
93294 else
93295 echo "$as_me: failed program was:" >&5
93296 sed 's/^/| /' conftest.$ac_ext >&5
93298 glibcxx_cv_func__finitel_use=no
93300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93301 ac_ext=c
93302 ac_cpp='$CPP $CPPFLAGS'
93303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93311 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
93312 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
93314 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
93316 for ac_func in _finitel
93318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93319 echo "$as_me:$LINENO: checking for $ac_func" >&5
93320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93321 if eval "test \"\${$as_ac_var+set}\" = set"; then
93322 echo $ECHO_N "(cached) $ECHO_C" >&6
93323 else
93324 if test x$gcc_no_link = xyes; then
93325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93327 { (exit 1); exit 1; }; }
93329 cat >conftest.$ac_ext <<_ACEOF
93330 /* confdefs.h. */
93331 _ACEOF
93332 cat confdefs.h >>conftest.$ac_ext
93333 cat >>conftest.$ac_ext <<_ACEOF
93334 /* end confdefs.h. */
93335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93337 #define $ac_func innocuous_$ac_func
93339 /* System header to define __stub macros and hopefully few prototypes,
93340 which can conflict with char $ac_func (); below.
93341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93342 <limits.h> exists even on freestanding compilers. */
93344 #ifdef __STDC__
93345 # include <limits.h>
93346 #else
93347 # include <assert.h>
93348 #endif
93350 #undef $ac_func
93352 /* Override any gcc2 internal prototype to avoid an error. */
93353 #ifdef __cplusplus
93354 extern "C"
93356 #endif
93357 /* We use char because int might match the return type of a gcc2
93358 builtin and then its argument prototype would still apply. */
93359 char $ac_func ();
93360 /* The GNU C library defines this for functions which it implements
93361 to always fail with ENOSYS. Some functions are actually named
93362 something starting with __ and the normal name is an alias. */
93363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93364 choke me
93365 #else
93366 char (*f) () = $ac_func;
93367 #endif
93368 #ifdef __cplusplus
93370 #endif
93373 main ()
93375 return f != $ac_func;
93377 return 0;
93379 _ACEOF
93380 rm -f conftest.$ac_objext conftest$ac_exeext
93381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93382 (eval $ac_link) 2>conftest.er1
93383 ac_status=$?
93384 grep -v '^ *+' conftest.er1 >conftest.err
93385 rm -f conftest.er1
93386 cat conftest.err >&5
93387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93388 (exit $ac_status); } &&
93389 { ac_try='test -z "$ac_c_werror_flag"
93390 || test ! -s conftest.err'
93391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93392 (eval $ac_try) 2>&5
93393 ac_status=$?
93394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93395 (exit $ac_status); }; } &&
93396 { ac_try='test -s conftest$ac_exeext'
93397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93398 (eval $ac_try) 2>&5
93399 ac_status=$?
93400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93401 (exit $ac_status); }; }; then
93402 eval "$as_ac_var=yes"
93403 else
93404 echo "$as_me: failed program was:" >&5
93405 sed 's/^/| /' conftest.$ac_ext >&5
93407 eval "$as_ac_var=no"
93409 rm -f conftest.err conftest.$ac_objext \
93410 conftest$ac_exeext conftest.$ac_ext
93412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93414 if test `eval echo '${'$as_ac_var'}'` = yes; then
93415 cat >>confdefs.h <<_ACEOF
93416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93417 _ACEOF
93420 done
93429 LIBS="$ac_save_LIBS"
93430 CXXFLAGS="$ac_save_CXXFLAGS"
93433 ac_test_CXXFLAGS="${CXXFLAGS+set}"
93434 ac_save_CXXFLAGS="$CXXFLAGS"
93435 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
93438 echo "$as_me:$LINENO: checking for strtold declaration" >&5
93439 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
93440 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
93441 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
93442 echo $ECHO_N "(cached) $ECHO_C" >&6
93443 else
93447 ac_ext=cc
93448 ac_cpp='$CXXCPP $CPPFLAGS'
93449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93453 cat >conftest.$ac_ext <<_ACEOF
93454 /* confdefs.h. */
93455 _ACEOF
93456 cat confdefs.h >>conftest.$ac_ext
93457 cat >>conftest.$ac_ext <<_ACEOF
93458 /* end confdefs.h. */
93459 #include <stdlib.h>
93461 main ()
93463 strtold(0, 0);
93465 return 0;
93467 _ACEOF
93468 rm -f conftest.$ac_objext
93469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93470 (eval $ac_compile) 2>conftest.er1
93471 ac_status=$?
93472 grep -v '^ *+' conftest.er1 >conftest.err
93473 rm -f conftest.er1
93474 cat conftest.err >&5
93475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93476 (exit $ac_status); } &&
93477 { ac_try='test -z "$ac_cxx_werror_flag"
93478 || test ! -s conftest.err'
93479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93480 (eval $ac_try) 2>&5
93481 ac_status=$?
93482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93483 (exit $ac_status); }; } &&
93484 { ac_try='test -s conftest.$ac_objext'
93485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93486 (eval $ac_try) 2>&5
93487 ac_status=$?
93488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93489 (exit $ac_status); }; }; then
93490 glibcxx_cv_func_strtold_use=yes
93491 else
93492 echo "$as_me: failed program was:" >&5
93493 sed 's/^/| /' conftest.$ac_ext >&5
93495 glibcxx_cv_func_strtold_use=no
93497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93498 ac_ext=c
93499 ac_cpp='$CPP $CPPFLAGS'
93500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
93509 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
93510 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
93512 for ac_func in strtold
93514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93515 echo "$as_me:$LINENO: checking for $ac_func" >&5
93516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93517 if eval "test \"\${$as_ac_var+set}\" = set"; then
93518 echo $ECHO_N "(cached) $ECHO_C" >&6
93519 else
93520 if test x$gcc_no_link = xyes; then
93521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93523 { (exit 1); exit 1; }; }
93525 cat >conftest.$ac_ext <<_ACEOF
93526 /* confdefs.h. */
93527 _ACEOF
93528 cat confdefs.h >>conftest.$ac_ext
93529 cat >>conftest.$ac_ext <<_ACEOF
93530 /* end confdefs.h. */
93531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93533 #define $ac_func innocuous_$ac_func
93535 /* System header to define __stub macros and hopefully few prototypes,
93536 which can conflict with char $ac_func (); below.
93537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93538 <limits.h> exists even on freestanding compilers. */
93540 #ifdef __STDC__
93541 # include <limits.h>
93542 #else
93543 # include <assert.h>
93544 #endif
93546 #undef $ac_func
93548 /* Override any gcc2 internal prototype to avoid an error. */
93549 #ifdef __cplusplus
93550 extern "C"
93552 #endif
93553 /* We use char because int might match the return type of a gcc2
93554 builtin and then its argument prototype would still apply. */
93555 char $ac_func ();
93556 /* The GNU C library defines this for functions which it implements
93557 to always fail with ENOSYS. Some functions are actually named
93558 something starting with __ and the normal name is an alias. */
93559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93560 choke me
93561 #else
93562 char (*f) () = $ac_func;
93563 #endif
93564 #ifdef __cplusplus
93566 #endif
93569 main ()
93571 return f != $ac_func;
93573 return 0;
93575 _ACEOF
93576 rm -f conftest.$ac_objext conftest$ac_exeext
93577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93578 (eval $ac_link) 2>conftest.er1
93579 ac_status=$?
93580 grep -v '^ *+' conftest.er1 >conftest.err
93581 rm -f conftest.er1
93582 cat conftest.err >&5
93583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93584 (exit $ac_status); } &&
93585 { ac_try='test -z "$ac_c_werror_flag"
93586 || test ! -s conftest.err'
93587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93588 (eval $ac_try) 2>&5
93589 ac_status=$?
93590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93591 (exit $ac_status); }; } &&
93592 { ac_try='test -s conftest$ac_exeext'
93593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93594 (eval $ac_try) 2>&5
93595 ac_status=$?
93596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93597 (exit $ac_status); }; }; then
93598 eval "$as_ac_var=yes"
93599 else
93600 echo "$as_me: failed program was:" >&5
93601 sed 's/^/| /' conftest.$ac_ext >&5
93603 eval "$as_ac_var=no"
93605 rm -f conftest.err conftest.$ac_objext \
93606 conftest$ac_exeext conftest.$ac_ext
93608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93610 if test `eval echo '${'$as_ac_var'}'` = yes; then
93611 cat >>confdefs.h <<_ACEOF
93612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93613 _ACEOF
93616 done
93624 echo "$as_me:$LINENO: checking for strtof declaration" >&5
93625 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
93626 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
93627 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
93628 echo $ECHO_N "(cached) $ECHO_C" >&6
93629 else
93633 ac_ext=cc
93634 ac_cpp='$CXXCPP $CPPFLAGS'
93635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93639 cat >conftest.$ac_ext <<_ACEOF
93640 /* confdefs.h. */
93641 _ACEOF
93642 cat confdefs.h >>conftest.$ac_ext
93643 cat >>conftest.$ac_ext <<_ACEOF
93644 /* end confdefs.h. */
93645 #include <stdlib.h>
93647 main ()
93649 strtof(0, 0);
93651 return 0;
93653 _ACEOF
93654 rm -f conftest.$ac_objext
93655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93656 (eval $ac_compile) 2>conftest.er1
93657 ac_status=$?
93658 grep -v '^ *+' conftest.er1 >conftest.err
93659 rm -f conftest.er1
93660 cat conftest.err >&5
93661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93662 (exit $ac_status); } &&
93663 { ac_try='test -z "$ac_cxx_werror_flag"
93664 || test ! -s conftest.err'
93665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93666 (eval $ac_try) 2>&5
93667 ac_status=$?
93668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93669 (exit $ac_status); }; } &&
93670 { ac_try='test -s conftest.$ac_objext'
93671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93672 (eval $ac_try) 2>&5
93673 ac_status=$?
93674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93675 (exit $ac_status); }; }; then
93676 glibcxx_cv_func_strtof_use=yes
93677 else
93678 echo "$as_me: failed program was:" >&5
93679 sed 's/^/| /' conftest.$ac_ext >&5
93681 glibcxx_cv_func_strtof_use=no
93683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93684 ac_ext=c
93685 ac_cpp='$CPP $CPPFLAGS'
93686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
93695 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
93696 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
93698 for ac_func in strtof
93700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93701 echo "$as_me:$LINENO: checking for $ac_func" >&5
93702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93703 if eval "test \"\${$as_ac_var+set}\" = set"; then
93704 echo $ECHO_N "(cached) $ECHO_C" >&6
93705 else
93706 if test x$gcc_no_link = xyes; then
93707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93709 { (exit 1); exit 1; }; }
93711 cat >conftest.$ac_ext <<_ACEOF
93712 /* confdefs.h. */
93713 _ACEOF
93714 cat confdefs.h >>conftest.$ac_ext
93715 cat >>conftest.$ac_ext <<_ACEOF
93716 /* end confdefs.h. */
93717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93719 #define $ac_func innocuous_$ac_func
93721 /* System header to define __stub macros and hopefully few prototypes,
93722 which can conflict with char $ac_func (); below.
93723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93724 <limits.h> exists even on freestanding compilers. */
93726 #ifdef __STDC__
93727 # include <limits.h>
93728 #else
93729 # include <assert.h>
93730 #endif
93732 #undef $ac_func
93734 /* Override any gcc2 internal prototype to avoid an error. */
93735 #ifdef __cplusplus
93736 extern "C"
93738 #endif
93739 /* We use char because int might match the return type of a gcc2
93740 builtin and then its argument prototype would still apply. */
93741 char $ac_func ();
93742 /* The GNU C library defines this for functions which it implements
93743 to always fail with ENOSYS. Some functions are actually named
93744 something starting with __ and the normal name is an alias. */
93745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93746 choke me
93747 #else
93748 char (*f) () = $ac_func;
93749 #endif
93750 #ifdef __cplusplus
93752 #endif
93755 main ()
93757 return f != $ac_func;
93759 return 0;
93761 _ACEOF
93762 rm -f conftest.$ac_objext conftest$ac_exeext
93763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93764 (eval $ac_link) 2>conftest.er1
93765 ac_status=$?
93766 grep -v '^ *+' conftest.er1 >conftest.err
93767 rm -f conftest.er1
93768 cat conftest.err >&5
93769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93770 (exit $ac_status); } &&
93771 { ac_try='test -z "$ac_c_werror_flag"
93772 || test ! -s conftest.err'
93773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93774 (eval $ac_try) 2>&5
93775 ac_status=$?
93776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93777 (exit $ac_status); }; } &&
93778 { ac_try='test -s conftest$ac_exeext'
93779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93780 (eval $ac_try) 2>&5
93781 ac_status=$?
93782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93783 (exit $ac_status); }; }; then
93784 eval "$as_ac_var=yes"
93785 else
93786 echo "$as_me: failed program was:" >&5
93787 sed 's/^/| /' conftest.$ac_ext >&5
93789 eval "$as_ac_var=no"
93791 rm -f conftest.err conftest.$ac_objext \
93792 conftest$ac_exeext conftest.$ac_ext
93794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93796 if test `eval echo '${'$as_ac_var'}'` = yes; then
93797 cat >>confdefs.h <<_ACEOF
93798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93799 _ACEOF
93802 done
93810 CXXFLAGS="$ac_save_CXXFLAGS"
93814 *djgpp)
93815 # GLIBCXX_CHECK_MATH_SUPPORT
93816 cat >>confdefs.h <<\_ACEOF
93817 #define HAVE_ISINF 1
93818 _ACEOF
93820 cat >>confdefs.h <<\_ACEOF
93821 #define HAVE_ISNAN 1
93822 _ACEOF
93824 cat >>confdefs.h <<\_ACEOF
93825 #define HAVE_FINITE 1
93826 _ACEOF
93828 cat >>confdefs.h <<\_ACEOF
93829 #define HAVE_SINCOS 1
93830 _ACEOF
93832 cat >>confdefs.h <<\_ACEOF
93833 #define HAVE_HYPOT 1
93834 _ACEOF
93838 *-freebsd*)
93839 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93842 # If we're not using GNU ld, then there's no point in even trying these
93843 # tests. Check for that first. We should have already tested for gld
93844 # by now (in libtool), but require it now just to be safe...
93845 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93846 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93850 # The name set by libtool depends on the version of libtool. Shame on us
93851 # for depending on an impl detail, but c'est la vie. Older versions used
93852 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93853 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93854 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93855 # set (hence we're using an older libtool), then set it.
93856 if test x${with_gnu_ld+set} != xset; then
93857 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93858 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93859 with_gnu_ld=no
93860 else
93861 with_gnu_ld=$ac_cv_prog_gnu_ld
93865 # Start by getting the version number. I think the libtool test already
93866 # does some of this, but throws away the result.
93867 glibcxx_ld_is_gold=no
93868 if test x"$with_gnu_ld" = x"yes"; then
93869 echo "$as_me:$LINENO: checking for ld version" >&5
93870 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
93872 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
93873 glibcxx_ld_is_gold=yes
93875 ldver=`$LD --version 2>/dev/null | head -1 | \
93876 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
93878 glibcxx_gnu_ld_version=`echo $ldver | \
93879 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93880 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
93881 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
93884 # Set --gc-sections.
93885 glibcxx_have_gc_sections=no
93886 if test "$glibcxx_ld_is_gold" = "yes"; then
93887 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
93888 glibcxx_have_gc_sections=yes
93890 else
93891 glibcxx_gcsections_min_ld=21602
93892 if test x"$with_gnu_ld" = x"yes" &&
93893 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
93894 glibcxx_have_gc_sections=yes
93897 if test "$glibcxx_have_gc_sections" = "yes"; then
93898 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
93899 # NB: This flag only works reliably after 2.16.1. Configure tests
93900 # for this are difficult, so hard wire a value that should work.
93902 ac_test_CFLAGS="${CFLAGS+set}"
93903 ac_save_CFLAGS="$CFLAGS"
93904 CFLAGS='-Wl,--gc-sections'
93906 # Check for -Wl,--gc-sections
93907 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
93908 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
93909 if test x$gcc_no_link = xyes; then
93910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93912 { (exit 1); exit 1; }; }
93914 cat >conftest.$ac_ext <<_ACEOF
93915 /* confdefs.h. */
93916 _ACEOF
93917 cat confdefs.h >>conftest.$ac_ext
93918 cat >>conftest.$ac_ext <<_ACEOF
93919 /* end confdefs.h. */
93920 int one(void) { return 1; }
93921 int two(void) { return 2; }
93924 main ()
93926 two();
93928 return 0;
93930 _ACEOF
93931 rm -f conftest.$ac_objext conftest$ac_exeext
93932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93933 (eval $ac_link) 2>conftest.er1
93934 ac_status=$?
93935 grep -v '^ *+' conftest.er1 >conftest.err
93936 rm -f conftest.er1
93937 cat conftest.err >&5
93938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93939 (exit $ac_status); } &&
93940 { ac_try='test -z "$ac_c_werror_flag"
93941 || test ! -s conftest.err'
93942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93943 (eval $ac_try) 2>&5
93944 ac_status=$?
93945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93946 (exit $ac_status); }; } &&
93947 { ac_try='test -s conftest$ac_exeext'
93948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93949 (eval $ac_try) 2>&5
93950 ac_status=$?
93951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93952 (exit $ac_status); }; }; then
93953 ac_gcsections=yes
93954 else
93955 echo "$as_me: failed program was:" >&5
93956 sed 's/^/| /' conftest.$ac_ext >&5
93958 ac_gcsections=no
93960 rm -f conftest.err conftest.$ac_objext \
93961 conftest$ac_exeext conftest.$ac_ext
93962 if test "$ac_gcsections" = "yes"; then
93963 rm -f conftest.c
93964 touch conftest.c
93965 if $CC -c conftest.c; then
93966 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
93967 grep "Warning: gc-sections option ignored" > /dev/null; then
93968 ac_gcsections=no
93971 rm -f conftest.c conftest.o conftest
93973 if test "$ac_gcsections" = "yes"; then
93974 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
93976 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
93977 echo "${ECHO_T}$ac_gcsections" >&6
93979 if test "$ac_test_CFLAGS" = set; then
93980 CFLAGS="$ac_save_CFLAGS"
93981 else
93982 # this is the suspicious part
93983 CFLAGS=''
93987 # Set -z,relro.
93988 # Note this is only for shared objects.
93989 ac_ld_relro=no
93990 if test x"$with_gnu_ld" = x"yes"; then
93991 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
93992 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
93993 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
93994 if test -n "$cxx_z_relo"; then
93995 OPT_LDFLAGS="-Wl,-z,relro"
93996 ac_ld_relro=yes
93998 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
93999 echo "${ECHO_T}$ac_ld_relro" >&6
94002 # Set linker optimization flags.
94003 if test x"$with_gnu_ld" = x"yes"; then
94004 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94010 cat >>confdefs.h <<\_ACEOF
94011 #define HAVE_SETENV 1
94012 _ACEOF
94014 cat >>confdefs.h <<\_ACEOF
94015 #define HAVE_FINITEF 1
94016 _ACEOF
94018 cat >>confdefs.h <<\_ACEOF
94019 #define HAVE_FINITE 1
94020 _ACEOF
94022 cat >>confdefs.h <<\_ACEOF
94023 #define HAVE_FREXPF 1
94024 _ACEOF
94026 cat >>confdefs.h <<\_ACEOF
94027 #define HAVE_HYPOT 1
94028 _ACEOF
94030 cat >>confdefs.h <<\_ACEOF
94031 #define HAVE_HYPOTF 1
94032 _ACEOF
94034 cat >>confdefs.h <<\_ACEOF
94035 #define HAVE_ISINF 1
94036 _ACEOF
94038 cat >>confdefs.h <<\_ACEOF
94039 #define HAVE_ISNAN 1
94040 _ACEOF
94042 cat >>confdefs.h <<\_ACEOF
94043 #define HAVE_ISNANF 1
94044 _ACEOF
94047 cat >>confdefs.h <<\_ACEOF
94048 #define HAVE_ACOSF 1
94049 _ACEOF
94051 cat >>confdefs.h <<\_ACEOF
94052 #define HAVE_ASINF 1
94053 _ACEOF
94055 cat >>confdefs.h <<\_ACEOF
94056 #define HAVE_ATAN2F 1
94057 _ACEOF
94059 cat >>confdefs.h <<\_ACEOF
94060 #define HAVE_ATANF 1
94061 _ACEOF
94063 cat >>confdefs.h <<\_ACEOF
94064 #define HAVE_CEILF 1
94065 _ACEOF
94067 cat >>confdefs.h <<\_ACEOF
94068 #define HAVE_COSF 1
94069 _ACEOF
94071 cat >>confdefs.h <<\_ACEOF
94072 #define HAVE_COSHF 1
94073 _ACEOF
94075 cat >>confdefs.h <<\_ACEOF
94076 #define HAVE_EXPF 1
94077 _ACEOF
94079 cat >>confdefs.h <<\_ACEOF
94080 #define HAVE_FABSF 1
94081 _ACEOF
94083 cat >>confdefs.h <<\_ACEOF
94084 #define HAVE_FLOORF 1
94085 _ACEOF
94087 cat >>confdefs.h <<\_ACEOF
94088 #define HAVE_FMODF 1
94089 _ACEOF
94091 cat >>confdefs.h <<\_ACEOF
94092 #define HAVE_FREXPF 1
94093 _ACEOF
94095 cat >>confdefs.h <<\_ACEOF
94096 #define HAVE_LDEXPF 1
94097 _ACEOF
94099 cat >>confdefs.h <<\_ACEOF
94100 #define HAVE_LOG10F 1
94101 _ACEOF
94103 cat >>confdefs.h <<\_ACEOF
94104 #define HAVE_LOGF 1
94105 _ACEOF
94107 cat >>confdefs.h <<\_ACEOF
94108 #define HAVE_MODFF 1
94109 _ACEOF
94111 cat >>confdefs.h <<\_ACEOF
94112 #define HAVE_POWF 1
94113 _ACEOF
94115 cat >>confdefs.h <<\_ACEOF
94116 #define HAVE_SINF 1
94117 _ACEOF
94119 cat >>confdefs.h <<\_ACEOF
94120 #define HAVE_SINHF 1
94121 _ACEOF
94123 cat >>confdefs.h <<\_ACEOF
94124 #define HAVE_SQRTF 1
94125 _ACEOF
94127 cat >>confdefs.h <<\_ACEOF
94128 #define HAVE_TANF 1
94129 _ACEOF
94131 cat >>confdefs.h <<\_ACEOF
94132 #define HAVE_TANHF 1
94133 _ACEOF
94135 if test x"long_double_math_on_this_cpu" = x"yes"; then
94136 cat >>confdefs.h <<\_ACEOF
94137 #define HAVE_FINITEL 1
94138 _ACEOF
94140 cat >>confdefs.h <<\_ACEOF
94141 #define HAVE_ISINFL 1
94142 _ACEOF
94144 cat >>confdefs.h <<\_ACEOF
94145 #define HAVE_ISNANL 1
94146 _ACEOF
94150 *-hpux*)
94151 SECTION_FLAGS='-ffunction-sections -fdata-sections'
94154 # If we're not using GNU ld, then there's no point in even trying these
94155 # tests. Check for that first. We should have already tested for gld
94156 # by now (in libtool), but require it now just to be safe...
94157 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
94158 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
94162 # The name set by libtool depends on the version of libtool. Shame on us
94163 # for depending on an impl detail, but c'est la vie. Older versions used
94164 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
94165 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
94166 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
94167 # set (hence we're using an older libtool), then set it.
94168 if test x${with_gnu_ld+set} != xset; then
94169 if test x${ac_cv_prog_gnu_ld+set} != xset; then
94170 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
94171 with_gnu_ld=no
94172 else
94173 with_gnu_ld=$ac_cv_prog_gnu_ld
94177 # Start by getting the version number. I think the libtool test already
94178 # does some of this, but throws away the result.
94179 glibcxx_ld_is_gold=no
94180 if test x"$with_gnu_ld" = x"yes"; then
94181 echo "$as_me:$LINENO: checking for ld version" >&5
94182 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
94184 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
94185 glibcxx_ld_is_gold=yes
94187 ldver=`$LD --version 2>/dev/null | head -1 | \
94188 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
94190 glibcxx_gnu_ld_version=`echo $ldver | \
94191 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
94192 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
94193 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
94196 # Set --gc-sections.
94197 glibcxx_have_gc_sections=no
94198 if test "$glibcxx_ld_is_gold" = "yes"; then
94199 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
94200 glibcxx_have_gc_sections=yes
94202 else
94203 glibcxx_gcsections_min_ld=21602
94204 if test x"$with_gnu_ld" = x"yes" &&
94205 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
94206 glibcxx_have_gc_sections=yes
94209 if test "$glibcxx_have_gc_sections" = "yes"; then
94210 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
94211 # NB: This flag only works reliably after 2.16.1. Configure tests
94212 # for this are difficult, so hard wire a value that should work.
94214 ac_test_CFLAGS="${CFLAGS+set}"
94215 ac_save_CFLAGS="$CFLAGS"
94216 CFLAGS='-Wl,--gc-sections'
94218 # Check for -Wl,--gc-sections
94219 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94220 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94221 if test x$gcc_no_link = xyes; then
94222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94224 { (exit 1); exit 1; }; }
94226 cat >conftest.$ac_ext <<_ACEOF
94227 /* confdefs.h. */
94228 _ACEOF
94229 cat confdefs.h >>conftest.$ac_ext
94230 cat >>conftest.$ac_ext <<_ACEOF
94231 /* end confdefs.h. */
94232 int one(void) { return 1; }
94233 int two(void) { return 2; }
94236 main ()
94238 two();
94240 return 0;
94242 _ACEOF
94243 rm -f conftest.$ac_objext conftest$ac_exeext
94244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94245 (eval $ac_link) 2>conftest.er1
94246 ac_status=$?
94247 grep -v '^ *+' conftest.er1 >conftest.err
94248 rm -f conftest.er1
94249 cat conftest.err >&5
94250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94251 (exit $ac_status); } &&
94252 { ac_try='test -z "$ac_c_werror_flag"
94253 || test ! -s conftest.err'
94254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94255 (eval $ac_try) 2>&5
94256 ac_status=$?
94257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94258 (exit $ac_status); }; } &&
94259 { ac_try='test -s conftest$ac_exeext'
94260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94261 (eval $ac_try) 2>&5
94262 ac_status=$?
94263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94264 (exit $ac_status); }; }; then
94265 ac_gcsections=yes
94266 else
94267 echo "$as_me: failed program was:" >&5
94268 sed 's/^/| /' conftest.$ac_ext >&5
94270 ac_gcsections=no
94272 rm -f conftest.err conftest.$ac_objext \
94273 conftest$ac_exeext conftest.$ac_ext
94274 if test "$ac_gcsections" = "yes"; then
94275 rm -f conftest.c
94276 touch conftest.c
94277 if $CC -c conftest.c; then
94278 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
94279 grep "Warning: gc-sections option ignored" > /dev/null; then
94280 ac_gcsections=no
94283 rm -f conftest.c conftest.o conftest
94285 if test "$ac_gcsections" = "yes"; then
94286 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94288 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
94289 echo "${ECHO_T}$ac_gcsections" >&6
94291 if test "$ac_test_CFLAGS" = set; then
94292 CFLAGS="$ac_save_CFLAGS"
94293 else
94294 # this is the suspicious part
94295 CFLAGS=''
94299 # Set -z,relro.
94300 # Note this is only for shared objects.
94301 ac_ld_relro=no
94302 if test x"$with_gnu_ld" = x"yes"; then
94303 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
94304 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
94305 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
94306 if test -n "$cxx_z_relo"; then
94307 OPT_LDFLAGS="-Wl,-z,relro"
94308 ac_ld_relro=yes
94310 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
94311 echo "${ECHO_T}$ac_ld_relro" >&6
94314 # Set linker optimization flags.
94315 if test x"$with_gnu_ld" = x"yes"; then
94316 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94323 # GLIBCXX_CHECK_MATH_SUPPORT
94324 cat >>confdefs.h <<\_ACEOF
94325 #define HAVE_ISNAN 1
94326 _ACEOF
94328 cat >>confdefs.h <<\_ACEOF
94329 #define HAVE_HYPOT 1
94330 _ACEOF
94332 cat >>confdefs.h <<\_ACEOF
94333 #define HAVE_ACOSF 1
94334 _ACEOF
94336 cat >>confdefs.h <<\_ACEOF
94337 #define HAVE_ASINF 1
94338 _ACEOF
94340 cat >>confdefs.h <<\_ACEOF
94341 #define HAVE_ATANF 1
94342 _ACEOF
94344 cat >>confdefs.h <<\_ACEOF
94345 #define HAVE_COSF 1
94346 _ACEOF
94348 cat >>confdefs.h <<\_ACEOF
94349 #define HAVE_COSHF 1
94350 _ACEOF
94352 cat >>confdefs.h <<\_ACEOF
94353 #define HAVE_SINF 1
94354 _ACEOF
94356 cat >>confdefs.h <<\_ACEOF
94357 #define HAVE_SINHF 1
94358 _ACEOF
94360 cat >>confdefs.h <<\_ACEOF
94361 #define HAVE_TANF 1
94362 _ACEOF
94364 cat >>confdefs.h <<\_ACEOF
94365 #define HAVE_TANHF 1
94366 _ACEOF
94368 cat >>confdefs.h <<\_ACEOF
94369 #define HAVE_EXPF 1
94370 _ACEOF
94372 cat >>confdefs.h <<\_ACEOF
94373 #define HAVE_ATAN2F 1
94374 _ACEOF
94376 cat >>confdefs.h <<\_ACEOF
94377 #define HAVE_FABSF 1
94378 _ACEOF
94380 cat >>confdefs.h <<\_ACEOF
94381 #define HAVE_FMODF 1
94382 _ACEOF
94384 cat >>confdefs.h <<\_ACEOF
94385 #define HAVE_FREXPF 1
94386 _ACEOF
94388 cat >>confdefs.h <<\_ACEOF
94389 #define HAVE_LOGF 1
94390 _ACEOF
94392 cat >>confdefs.h <<\_ACEOF
94393 #define HAVE_LOG10F 1
94394 _ACEOF
94396 cat >>confdefs.h <<\_ACEOF
94397 #define HAVE_MODF 1
94398 _ACEOF
94400 cat >>confdefs.h <<\_ACEOF
94401 #define HAVE_POWF 1
94402 _ACEOF
94404 cat >>confdefs.h <<\_ACEOF
94405 #define HAVE_SQRTF 1
94406 _ACEOF
94409 # GLIBCXX_CHECK_STDLIB_SUPPORT
94410 cat >>confdefs.h <<\_ACEOF
94411 #define HAVE_STRTOLD 1
94412 _ACEOF
94417 # Check whether --enable-tls or --disable-tls was given.
94418 if test "${enable_tls+set}" = set; then
94419 enableval="$enable_tls"
94421 case "$enableval" in
94422 yes|no) ;;
94423 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
94424 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
94425 { (exit 1); exit 1; }; } ;;
94426 esac
94428 else
94429 enable_tls=yes
94432 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
94433 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
94434 if test "${gcc_cv_have_tls+set}" = set; then
94435 echo $ECHO_N "(cached) $ECHO_C" >&6
94436 else
94438 if test "$cross_compiling" = yes; then
94439 if test x$gcc_no_link = xyes; then
94440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94442 { (exit 1); exit 1; }; }
94444 cat >conftest.$ac_ext <<_ACEOF
94445 __thread int a; int b; int main() { return a = b; }
94446 _ACEOF
94447 rm -f conftest.$ac_objext conftest$ac_exeext
94448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94449 (eval $ac_link) 2>conftest.er1
94450 ac_status=$?
94451 grep -v '^ *+' conftest.er1 >conftest.err
94452 rm -f conftest.er1
94453 cat conftest.err >&5
94454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94455 (exit $ac_status); } &&
94456 { ac_try='test -z "$ac_c_werror_flag"
94457 || test ! -s conftest.err'
94458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94459 (eval $ac_try) 2>&5
94460 ac_status=$?
94461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94462 (exit $ac_status); }; } &&
94463 { ac_try='test -s conftest$ac_exeext'
94464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94465 (eval $ac_try) 2>&5
94466 ac_status=$?
94467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94468 (exit $ac_status); }; }; then
94469 chktls_save_LDFLAGS="$LDFLAGS"
94470 case $host in
94471 *-*-linux*)
94472 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
94474 esac
94475 chktls_save_CFLAGS="$CFLAGS"
94476 CFLAGS="-fPIC $CFLAGS"
94477 if test x$gcc_no_link = xyes; then
94478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94480 { (exit 1); exit 1; }; }
94482 cat >conftest.$ac_ext <<_ACEOF
94483 int f() { return 0; }
94484 _ACEOF
94485 rm -f conftest.$ac_objext conftest$ac_exeext
94486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94487 (eval $ac_link) 2>conftest.er1
94488 ac_status=$?
94489 grep -v '^ *+' conftest.er1 >conftest.err
94490 rm -f conftest.er1
94491 cat conftest.err >&5
94492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493 (exit $ac_status); } &&
94494 { ac_try='test -z "$ac_c_werror_flag"
94495 || test ! -s conftest.err'
94496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94497 (eval $ac_try) 2>&5
94498 ac_status=$?
94499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94500 (exit $ac_status); }; } &&
94501 { ac_try='test -s conftest$ac_exeext'
94502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94503 (eval $ac_try) 2>&5
94504 ac_status=$?
94505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94506 (exit $ac_status); }; }; then
94507 if test x$gcc_no_link = xyes; then
94508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94510 { (exit 1); exit 1; }; }
94512 cat >conftest.$ac_ext <<_ACEOF
94513 __thread int a; int b; int f() { return a = b; }
94514 _ACEOF
94515 rm -f conftest.$ac_objext conftest$ac_exeext
94516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94517 (eval $ac_link) 2>conftest.er1
94518 ac_status=$?
94519 grep -v '^ *+' conftest.er1 >conftest.err
94520 rm -f conftest.er1
94521 cat conftest.err >&5
94522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94523 (exit $ac_status); } &&
94524 { ac_try='test -z "$ac_c_werror_flag"
94525 || test ! -s conftest.err'
94526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94527 (eval $ac_try) 2>&5
94528 ac_status=$?
94529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94530 (exit $ac_status); }; } &&
94531 { ac_try='test -s conftest$ac_exeext'
94532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94533 (eval $ac_try) 2>&5
94534 ac_status=$?
94535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94536 (exit $ac_status); }; }; then
94537 gcc_cv_have_tls=yes
94538 else
94539 echo "$as_me: failed program was:" >&5
94540 sed 's/^/| /' conftest.$ac_ext >&5
94542 gcc_cv_have_tls=no
94544 rm -f conftest.err conftest.$ac_objext \
94545 conftest$ac_exeext conftest.$ac_ext
94546 else
94547 echo "$as_me: failed program was:" >&5
94548 sed 's/^/| /' conftest.$ac_ext >&5
94550 gcc_cv_have_tls=yes
94552 rm -f conftest.err conftest.$ac_objext \
94553 conftest$ac_exeext conftest.$ac_ext
94554 CFLAGS="$chktls_save_CFLAGS"
94555 LDFLAGS="$chktls_save_LDFLAGS"
94556 else
94557 echo "$as_me: failed program was:" >&5
94558 sed 's/^/| /' conftest.$ac_ext >&5
94560 gcc_cv_have_tls=no
94562 rm -f conftest.err conftest.$ac_objext \
94563 conftest$ac_exeext conftest.$ac_ext
94566 else
94567 cat >conftest.$ac_ext <<_ACEOF
94568 __thread int a; int b; int main() { return a = b; }
94569 _ACEOF
94570 rm -f conftest$ac_exeext
94571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94572 (eval $ac_link) 2>&5
94573 ac_status=$?
94574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94577 (eval $ac_try) 2>&5
94578 ac_status=$?
94579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94580 (exit $ac_status); }; }; then
94581 chktls_save_LDFLAGS="$LDFLAGS"
94582 LDFLAGS="-static $LDFLAGS"
94583 if test x$gcc_no_link = xyes; then
94584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94586 { (exit 1); exit 1; }; }
94588 cat >conftest.$ac_ext <<_ACEOF
94589 int main() { return 0; }
94590 _ACEOF
94591 rm -f conftest.$ac_objext conftest$ac_exeext
94592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94593 (eval $ac_link) 2>conftest.er1
94594 ac_status=$?
94595 grep -v '^ *+' conftest.er1 >conftest.err
94596 rm -f conftest.er1
94597 cat conftest.err >&5
94598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94599 (exit $ac_status); } &&
94600 { ac_try='test -z "$ac_c_werror_flag"
94601 || test ! -s conftest.err'
94602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94603 (eval $ac_try) 2>&5
94604 ac_status=$?
94605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94606 (exit $ac_status); }; } &&
94607 { ac_try='test -s conftest$ac_exeext'
94608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94609 (eval $ac_try) 2>&5
94610 ac_status=$?
94611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94612 (exit $ac_status); }; }; then
94613 if test "$cross_compiling" = yes; then
94614 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94615 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94616 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94617 See \`config.log' for more details." >&5
94618 echo "$as_me: error: cannot run test program while cross compiling
94619 See \`config.log' for more details." >&2;}
94620 { (exit 1); exit 1; }; }; }
94621 else
94622 cat >conftest.$ac_ext <<_ACEOF
94623 __thread int a; int b; int main() { return a = b; }
94624 _ACEOF
94625 rm -f conftest$ac_exeext
94626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94627 (eval $ac_link) 2>&5
94628 ac_status=$?
94629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94632 (eval $ac_try) 2>&5
94633 ac_status=$?
94634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94635 (exit $ac_status); }; }; then
94636 gcc_cv_have_tls=yes
94637 else
94638 echo "$as_me: program exited with status $ac_status" >&5
94639 echo "$as_me: failed program was:" >&5
94640 sed 's/^/| /' conftest.$ac_ext >&5
94642 ( exit $ac_status )
94643 gcc_cv_have_tls=no
94645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94647 else
94648 echo "$as_me: failed program was:" >&5
94649 sed 's/^/| /' conftest.$ac_ext >&5
94651 gcc_cv_have_tls=yes
94653 rm -f conftest.err conftest.$ac_objext \
94654 conftest$ac_exeext conftest.$ac_ext
94655 LDFLAGS="$chktls_save_LDFLAGS"
94656 if test $gcc_cv_have_tls = yes; then
94657 chktls_save_CFLAGS="$CFLAGS"
94658 thread_CFLAGS=failed
94659 for flag in '' '-pthread' '-lpthread'; do
94660 CFLAGS="$flag $chktls_save_CFLAGS"
94661 if test x$gcc_no_link = xyes; then
94662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94664 { (exit 1); exit 1; }; }
94666 cat >conftest.$ac_ext <<_ACEOF
94667 /* confdefs.h. */
94668 _ACEOF
94669 cat confdefs.h >>conftest.$ac_ext
94670 cat >>conftest.$ac_ext <<_ACEOF
94671 /* end confdefs.h. */
94672 #include <pthread.h>
94673 void *g(void *d) { return NULL; }
94675 main ()
94677 pthread_t t; pthread_create(&t,NULL,g,NULL);
94679 return 0;
94681 _ACEOF
94682 rm -f conftest.$ac_objext conftest$ac_exeext
94683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94684 (eval $ac_link) 2>conftest.er1
94685 ac_status=$?
94686 grep -v '^ *+' conftest.er1 >conftest.err
94687 rm -f conftest.er1
94688 cat conftest.err >&5
94689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94690 (exit $ac_status); } &&
94691 { ac_try='test -z "$ac_c_werror_flag"
94692 || test ! -s conftest.err'
94693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94694 (eval $ac_try) 2>&5
94695 ac_status=$?
94696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94697 (exit $ac_status); }; } &&
94698 { ac_try='test -s conftest$ac_exeext'
94699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94700 (eval $ac_try) 2>&5
94701 ac_status=$?
94702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94703 (exit $ac_status); }; }; then
94704 thread_CFLAGS="$flag"
94705 else
94706 echo "$as_me: failed program was:" >&5
94707 sed 's/^/| /' conftest.$ac_ext >&5
94710 rm -f conftest.err conftest.$ac_objext \
94711 conftest$ac_exeext conftest.$ac_ext
94712 if test "X$thread_CFLAGS" != Xfailed; then
94713 break
94715 done
94716 CFLAGS="$chktls_save_CFLAGS"
94717 if test "X$thread_CFLAGS" != Xfailed; then
94718 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
94719 if test "$cross_compiling" = yes; then
94720 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94721 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94722 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94723 See \`config.log' for more details." >&5
94724 echo "$as_me: error: cannot run test program while cross compiling
94725 See \`config.log' for more details." >&2;}
94726 { (exit 1); exit 1; }; }; }
94727 else
94728 cat >conftest.$ac_ext <<_ACEOF
94729 /* confdefs.h. */
94730 _ACEOF
94731 cat confdefs.h >>conftest.$ac_ext
94732 cat >>conftest.$ac_ext <<_ACEOF
94733 /* end confdefs.h. */
94734 #include <pthread.h>
94735 __thread int a;
94736 static int *a_in_other_thread;
94737 static void *
94738 thread_func (void *arg)
94740 a_in_other_thread = &a;
94741 return (void *)0;
94744 main ()
94746 pthread_t thread;
94747 void *thread_retval;
94748 int *a_in_main_thread;
94749 if (pthread_create (&thread, (pthread_attr_t *)0,
94750 thread_func, (void *)0))
94751 return 0;
94752 a_in_main_thread = &a;
94753 if (pthread_join (thread, &thread_retval))
94754 return 0;
94755 return (a_in_other_thread == a_in_main_thread);
94757 return 0;
94759 _ACEOF
94760 rm -f conftest$ac_exeext
94761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94762 (eval $ac_link) 2>&5
94763 ac_status=$?
94764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94767 (eval $ac_try) 2>&5
94768 ac_status=$?
94769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94770 (exit $ac_status); }; }; then
94771 gcc_cv_have_tls=yes
94772 else
94773 echo "$as_me: program exited with status $ac_status" >&5
94774 echo "$as_me: failed program was:" >&5
94775 sed 's/^/| /' conftest.$ac_ext >&5
94777 ( exit $ac_status )
94778 gcc_cv_have_tls=no
94780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94782 CFLAGS="$chktls_save_CFLAGS"
94785 else
94786 echo "$as_me: program exited with status $ac_status" >&5
94787 echo "$as_me: failed program was:" >&5
94788 sed 's/^/| /' conftest.$ac_ext >&5
94790 ( exit $ac_status )
94791 gcc_cv_have_tls=no
94793 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94796 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
94797 echo "${ECHO_T}$gcc_cv_have_tls" >&6
94798 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
94800 cat >>confdefs.h <<\_ACEOF
94801 #define HAVE_TLS 1
94802 _ACEOF
94805 case "$target" in
94806 *-hpux10*)
94807 cat >>confdefs.h <<\_ACEOF
94808 #define HAVE_ISINF 1
94809 _ACEOF
94811 cat >>confdefs.h <<\_ACEOF
94812 #define HAVE_ISINFF 1
94813 _ACEOF
94815 cat >>confdefs.h <<\_ACEOF
94816 #define HAVE_ISNANF 1
94817 _ACEOF
94819 cat >>confdefs.h <<\_ACEOF
94820 #define HAVE_FINITE 1
94821 _ACEOF
94823 cat >>confdefs.h <<\_ACEOF
94824 #define HAVE_FINITEF 1
94825 _ACEOF
94828 esac
94830 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
94832 # All these tests are for C++; save the language and the compiler flags.
94833 # The CXXFLAGS thing is suspicious, but based on similar bits previously
94834 # found in GLIBCXX_CONFIGURE.
94837 ac_ext=cc
94838 ac_cpp='$CXXCPP $CPPFLAGS'
94839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94843 ac_test_CXXFLAGS="${CXXFLAGS+set}"
94844 ac_save_CXXFLAGS="$CXXFLAGS"
94846 # Check for maintainer-mode bits.
94847 if test x"$USE_MAINTAINER_MODE" = xno; then
94848 WERROR=''
94849 else
94850 WERROR='-Werror'
94853 # Check for -ffunction-sections -fdata-sections
94854 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
94855 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
94856 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
94857 cat >conftest.$ac_ext <<_ACEOF
94858 /* confdefs.h. */
94859 _ACEOF
94860 cat confdefs.h >>conftest.$ac_ext
94861 cat >>conftest.$ac_ext <<_ACEOF
94862 /* end confdefs.h. */
94863 int foo; void bar() { };
94865 main ()
94869 return 0;
94871 _ACEOF
94872 rm -f conftest.$ac_objext
94873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94874 (eval $ac_compile) 2>conftest.er1
94875 ac_status=$?
94876 grep -v '^ *+' conftest.er1 >conftest.err
94877 rm -f conftest.er1
94878 cat conftest.err >&5
94879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94880 (exit $ac_status); } &&
94881 { ac_try='test -z "$ac_cxx_werror_flag"
94882 || test ! -s conftest.err'
94883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94884 (eval $ac_try) 2>&5
94885 ac_status=$?
94886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94887 (exit $ac_status); }; } &&
94888 { ac_try='test -s conftest.$ac_objext'
94889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94890 (eval $ac_try) 2>&5
94891 ac_status=$?
94892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94893 (exit $ac_status); }; }; then
94894 ac_fdsections=yes
94895 else
94896 echo "$as_me: failed program was:" >&5
94897 sed 's/^/| /' conftest.$ac_ext >&5
94899 ac_fdsections=no
94901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94902 if test "$ac_test_CXXFLAGS" = set; then
94903 CXXFLAGS="$ac_save_CXXFLAGS"
94904 else
94905 # this is the suspicious part
94906 CXXFLAGS=''
94908 if test x"$ac_fdsections" = x"yes"; then
94909 SECTION_FLAGS='-ffunction-sections -fdata-sections'
94911 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
94912 echo "${ECHO_T}$ac_fdsections" >&6
94914 ac_ext=c
94915 ac_cpp='$CPP $CPPFLAGS'
94916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94924 # If we're not using GNU ld, then there's no point in even trying these
94925 # tests. Check for that first. We should have already tested for gld
94926 # by now (in libtool), but require it now just to be safe...
94927 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
94928 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
94932 # The name set by libtool depends on the version of libtool. Shame on us
94933 # for depending on an impl detail, but c'est la vie. Older versions used
94934 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
94935 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
94936 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
94937 # set (hence we're using an older libtool), then set it.
94938 if test x${with_gnu_ld+set} != xset; then
94939 if test x${ac_cv_prog_gnu_ld+set} != xset; then
94940 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
94941 with_gnu_ld=no
94942 else
94943 with_gnu_ld=$ac_cv_prog_gnu_ld
94947 # Start by getting the version number. I think the libtool test already
94948 # does some of this, but throws away the result.
94949 glibcxx_ld_is_gold=no
94950 if test x"$with_gnu_ld" = x"yes"; then
94951 echo "$as_me:$LINENO: checking for ld version" >&5
94952 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
94954 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
94955 glibcxx_ld_is_gold=yes
94957 ldver=`$LD --version 2>/dev/null | head -1 | \
94958 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
94960 glibcxx_gnu_ld_version=`echo $ldver | \
94961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
94962 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
94963 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
94966 # Set --gc-sections.
94967 glibcxx_have_gc_sections=no
94968 if test "$glibcxx_ld_is_gold" = "yes"; then
94969 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
94970 glibcxx_have_gc_sections=yes
94972 else
94973 glibcxx_gcsections_min_ld=21602
94974 if test x"$with_gnu_ld" = x"yes" &&
94975 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
94976 glibcxx_have_gc_sections=yes
94979 if test "$glibcxx_have_gc_sections" = "yes"; then
94980 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
94981 # NB: This flag only works reliably after 2.16.1. Configure tests
94982 # for this are difficult, so hard wire a value that should work.
94984 ac_test_CFLAGS="${CFLAGS+set}"
94985 ac_save_CFLAGS="$CFLAGS"
94986 CFLAGS='-Wl,--gc-sections'
94988 # Check for -Wl,--gc-sections
94989 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94990 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94991 if test x$gcc_no_link = xyes; then
94992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94994 { (exit 1); exit 1; }; }
94996 cat >conftest.$ac_ext <<_ACEOF
94997 /* confdefs.h. */
94998 _ACEOF
94999 cat confdefs.h >>conftest.$ac_ext
95000 cat >>conftest.$ac_ext <<_ACEOF
95001 /* end confdefs.h. */
95002 int one(void) { return 1; }
95003 int two(void) { return 2; }
95006 main ()
95008 two();
95010 return 0;
95012 _ACEOF
95013 rm -f conftest.$ac_objext conftest$ac_exeext
95014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95015 (eval $ac_link) 2>conftest.er1
95016 ac_status=$?
95017 grep -v '^ *+' conftest.er1 >conftest.err
95018 rm -f conftest.er1
95019 cat conftest.err >&5
95020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95021 (exit $ac_status); } &&
95022 { ac_try='test -z "$ac_c_werror_flag"
95023 || test ! -s conftest.err'
95024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95025 (eval $ac_try) 2>&5
95026 ac_status=$?
95027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95028 (exit $ac_status); }; } &&
95029 { ac_try='test -s conftest$ac_exeext'
95030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95031 (eval $ac_try) 2>&5
95032 ac_status=$?
95033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95034 (exit $ac_status); }; }; then
95035 ac_gcsections=yes
95036 else
95037 echo "$as_me: failed program was:" >&5
95038 sed 's/^/| /' conftest.$ac_ext >&5
95040 ac_gcsections=no
95042 rm -f conftest.err conftest.$ac_objext \
95043 conftest$ac_exeext conftest.$ac_ext
95044 if test "$ac_gcsections" = "yes"; then
95045 rm -f conftest.c
95046 touch conftest.c
95047 if $CC -c conftest.c; then
95048 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
95049 grep "Warning: gc-sections option ignored" > /dev/null; then
95050 ac_gcsections=no
95053 rm -f conftest.c conftest.o conftest
95055 if test "$ac_gcsections" = "yes"; then
95056 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
95058 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
95059 echo "${ECHO_T}$ac_gcsections" >&6
95061 if test "$ac_test_CFLAGS" = set; then
95062 CFLAGS="$ac_save_CFLAGS"
95063 else
95064 # this is the suspicious part
95065 CFLAGS=''
95069 # Set -z,relro.
95070 # Note this is only for shared objects.
95071 ac_ld_relro=no
95072 if test x"$with_gnu_ld" = x"yes"; then
95073 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
95074 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
95075 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
95076 if test -n "$cxx_z_relo"; then
95077 OPT_LDFLAGS="-Wl,-z,relro"
95078 ac_ld_relro=yes
95080 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
95081 echo "${ECHO_T}$ac_ld_relro" >&6
95084 # Set linker optimization flags.
95085 if test x"$with_gnu_ld" = x"yes"; then
95086 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
95093 ac_test_CXXFLAGS="${CXXFLAGS+set}"
95094 ac_save_CXXFLAGS="$CXXFLAGS"
95095 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
95097 echo "$as_me:$LINENO: checking for sin in -lm" >&5
95098 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
95099 if test "${ac_cv_lib_m_sin+set}" = set; then
95100 echo $ECHO_N "(cached) $ECHO_C" >&6
95101 else
95102 ac_check_lib_save_LIBS=$LIBS
95103 LIBS="-lm $LIBS"
95104 if test x$gcc_no_link = xyes; then
95105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95107 { (exit 1); exit 1; }; }
95109 cat >conftest.$ac_ext <<_ACEOF
95110 /* confdefs.h. */
95111 _ACEOF
95112 cat confdefs.h >>conftest.$ac_ext
95113 cat >>conftest.$ac_ext <<_ACEOF
95114 /* end confdefs.h. */
95116 /* Override any gcc2 internal prototype to avoid an error. */
95117 #ifdef __cplusplus
95118 extern "C"
95119 #endif
95120 /* We use char because int might match the return type of a gcc2
95121 builtin and then its argument prototype would still apply. */
95122 char sin ();
95124 main ()
95126 sin ();
95128 return 0;
95130 _ACEOF
95131 rm -f conftest.$ac_objext conftest$ac_exeext
95132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95133 (eval $ac_link) 2>conftest.er1
95134 ac_status=$?
95135 grep -v '^ *+' conftest.er1 >conftest.err
95136 rm -f conftest.er1
95137 cat conftest.err >&5
95138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95139 (exit $ac_status); } &&
95140 { ac_try='test -z "$ac_c_werror_flag"
95141 || test ! -s conftest.err'
95142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95143 (eval $ac_try) 2>&5
95144 ac_status=$?
95145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95146 (exit $ac_status); }; } &&
95147 { ac_try='test -s conftest$ac_exeext'
95148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95149 (eval $ac_try) 2>&5
95150 ac_status=$?
95151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95152 (exit $ac_status); }; }; then
95153 ac_cv_lib_m_sin=yes
95154 else
95155 echo "$as_me: failed program was:" >&5
95156 sed 's/^/| /' conftest.$ac_ext >&5
95158 ac_cv_lib_m_sin=no
95160 rm -f conftest.err conftest.$ac_objext \
95161 conftest$ac_exeext conftest.$ac_ext
95162 LIBS=$ac_check_lib_save_LIBS
95164 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
95165 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
95166 if test $ac_cv_lib_m_sin = yes; then
95167 libm="-lm"
95170 ac_save_LIBS="$LIBS"
95171 LIBS="$LIBS $libm"
95175 echo "$as_me:$LINENO: checking for isinf declaration" >&5
95176 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
95177 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
95178 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
95179 echo $ECHO_N "(cached) $ECHO_C" >&6
95180 else
95184 ac_ext=cc
95185 ac_cpp='$CXXCPP $CPPFLAGS'
95186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95190 cat >conftest.$ac_ext <<_ACEOF
95191 /* confdefs.h. */
95192 _ACEOF
95193 cat confdefs.h >>conftest.$ac_ext
95194 cat >>conftest.$ac_ext <<_ACEOF
95195 /* end confdefs.h. */
95196 #include <math.h>
95197 #ifdef HAVE_IEEEFP_H
95198 #include <ieeefp.h>
95199 #endif
95202 main ()
95204 isinf(0);
95206 return 0;
95208 _ACEOF
95209 rm -f conftest.$ac_objext
95210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95211 (eval $ac_compile) 2>conftest.er1
95212 ac_status=$?
95213 grep -v '^ *+' conftest.er1 >conftest.err
95214 rm -f conftest.er1
95215 cat conftest.err >&5
95216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95217 (exit $ac_status); } &&
95218 { ac_try='test -z "$ac_cxx_werror_flag"
95219 || test ! -s conftest.err'
95220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95221 (eval $ac_try) 2>&5
95222 ac_status=$?
95223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95224 (exit $ac_status); }; } &&
95225 { ac_try='test -s conftest.$ac_objext'
95226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95227 (eval $ac_try) 2>&5
95228 ac_status=$?
95229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95230 (exit $ac_status); }; }; then
95231 glibcxx_cv_func_isinf_use=yes
95232 else
95233 echo "$as_me: failed program was:" >&5
95234 sed 's/^/| /' conftest.$ac_ext >&5
95236 glibcxx_cv_func_isinf_use=no
95238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95239 ac_ext=c
95240 ac_cpp='$CPP $CPPFLAGS'
95241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
95250 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
95252 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
95254 for ac_func in isinf
95256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95257 echo "$as_me:$LINENO: checking for $ac_func" >&5
95258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95259 if eval "test \"\${$as_ac_var+set}\" = set"; then
95260 echo $ECHO_N "(cached) $ECHO_C" >&6
95261 else
95262 if test x$gcc_no_link = xyes; then
95263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95265 { (exit 1); exit 1; }; }
95267 cat >conftest.$ac_ext <<_ACEOF
95268 /* confdefs.h. */
95269 _ACEOF
95270 cat confdefs.h >>conftest.$ac_ext
95271 cat >>conftest.$ac_ext <<_ACEOF
95272 /* end confdefs.h. */
95273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95275 #define $ac_func innocuous_$ac_func
95277 /* System header to define __stub macros and hopefully few prototypes,
95278 which can conflict with char $ac_func (); below.
95279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95280 <limits.h> exists even on freestanding compilers. */
95282 #ifdef __STDC__
95283 # include <limits.h>
95284 #else
95285 # include <assert.h>
95286 #endif
95288 #undef $ac_func
95290 /* Override any gcc2 internal prototype to avoid an error. */
95291 #ifdef __cplusplus
95292 extern "C"
95294 #endif
95295 /* We use char because int might match the return type of a gcc2
95296 builtin and then its argument prototype would still apply. */
95297 char $ac_func ();
95298 /* The GNU C library defines this for functions which it implements
95299 to always fail with ENOSYS. Some functions are actually named
95300 something starting with __ and the normal name is an alias. */
95301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95302 choke me
95303 #else
95304 char (*f) () = $ac_func;
95305 #endif
95306 #ifdef __cplusplus
95308 #endif
95311 main ()
95313 return f != $ac_func;
95315 return 0;
95317 _ACEOF
95318 rm -f conftest.$ac_objext conftest$ac_exeext
95319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95320 (eval $ac_link) 2>conftest.er1
95321 ac_status=$?
95322 grep -v '^ *+' conftest.er1 >conftest.err
95323 rm -f conftest.er1
95324 cat conftest.err >&5
95325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95326 (exit $ac_status); } &&
95327 { ac_try='test -z "$ac_c_werror_flag"
95328 || test ! -s conftest.err'
95329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95330 (eval $ac_try) 2>&5
95331 ac_status=$?
95332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95333 (exit $ac_status); }; } &&
95334 { ac_try='test -s conftest$ac_exeext'
95335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95336 (eval $ac_try) 2>&5
95337 ac_status=$?
95338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95339 (exit $ac_status); }; }; then
95340 eval "$as_ac_var=yes"
95341 else
95342 echo "$as_me: failed program was:" >&5
95343 sed 's/^/| /' conftest.$ac_ext >&5
95345 eval "$as_ac_var=no"
95347 rm -f conftest.err conftest.$ac_objext \
95348 conftest$ac_exeext conftest.$ac_ext
95350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95352 if test `eval echo '${'$as_ac_var'}'` = yes; then
95353 cat >>confdefs.h <<_ACEOF
95354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95355 _ACEOF
95358 done
95360 else
95362 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
95363 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
95364 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
95365 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
95366 echo $ECHO_N "(cached) $ECHO_C" >&6
95367 else
95371 ac_ext=cc
95372 ac_cpp='$CXXCPP $CPPFLAGS'
95373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95377 cat >conftest.$ac_ext <<_ACEOF
95378 /* confdefs.h. */
95379 _ACEOF
95380 cat confdefs.h >>conftest.$ac_ext
95381 cat >>conftest.$ac_ext <<_ACEOF
95382 /* end confdefs.h. */
95383 #include <math.h>
95384 #ifdef HAVE_IEEEFP_H
95385 #include <ieeefp.h>
95386 #endif
95389 main ()
95391 _isinf(0);
95393 return 0;
95395 _ACEOF
95396 rm -f conftest.$ac_objext
95397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95398 (eval $ac_compile) 2>conftest.er1
95399 ac_status=$?
95400 grep -v '^ *+' conftest.er1 >conftest.err
95401 rm -f conftest.er1
95402 cat conftest.err >&5
95403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95404 (exit $ac_status); } &&
95405 { ac_try='test -z "$ac_cxx_werror_flag"
95406 || test ! -s conftest.err'
95407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95408 (eval $ac_try) 2>&5
95409 ac_status=$?
95410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95411 (exit $ac_status); }; } &&
95412 { ac_try='test -s conftest.$ac_objext'
95413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95414 (eval $ac_try) 2>&5
95415 ac_status=$?
95416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95417 (exit $ac_status); }; }; then
95418 glibcxx_cv_func__isinf_use=yes
95419 else
95420 echo "$as_me: failed program was:" >&5
95421 sed 's/^/| /' conftest.$ac_ext >&5
95423 glibcxx_cv_func__isinf_use=no
95425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95426 ac_ext=c
95427 ac_cpp='$CPP $CPPFLAGS'
95428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
95437 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
95439 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
95441 for ac_func in _isinf
95443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95444 echo "$as_me:$LINENO: checking for $ac_func" >&5
95445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95446 if eval "test \"\${$as_ac_var+set}\" = set"; then
95447 echo $ECHO_N "(cached) $ECHO_C" >&6
95448 else
95449 if test x$gcc_no_link = xyes; then
95450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95452 { (exit 1); exit 1; }; }
95454 cat >conftest.$ac_ext <<_ACEOF
95455 /* confdefs.h. */
95456 _ACEOF
95457 cat confdefs.h >>conftest.$ac_ext
95458 cat >>conftest.$ac_ext <<_ACEOF
95459 /* end confdefs.h. */
95460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95462 #define $ac_func innocuous_$ac_func
95464 /* System header to define __stub macros and hopefully few prototypes,
95465 which can conflict with char $ac_func (); below.
95466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95467 <limits.h> exists even on freestanding compilers. */
95469 #ifdef __STDC__
95470 # include <limits.h>
95471 #else
95472 # include <assert.h>
95473 #endif
95475 #undef $ac_func
95477 /* Override any gcc2 internal prototype to avoid an error. */
95478 #ifdef __cplusplus
95479 extern "C"
95481 #endif
95482 /* We use char because int might match the return type of a gcc2
95483 builtin and then its argument prototype would still apply. */
95484 char $ac_func ();
95485 /* The GNU C library defines this for functions which it implements
95486 to always fail with ENOSYS. Some functions are actually named
95487 something starting with __ and the normal name is an alias. */
95488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95489 choke me
95490 #else
95491 char (*f) () = $ac_func;
95492 #endif
95493 #ifdef __cplusplus
95495 #endif
95498 main ()
95500 return f != $ac_func;
95502 return 0;
95504 _ACEOF
95505 rm -f conftest.$ac_objext conftest$ac_exeext
95506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95507 (eval $ac_link) 2>conftest.er1
95508 ac_status=$?
95509 grep -v '^ *+' conftest.er1 >conftest.err
95510 rm -f conftest.er1
95511 cat conftest.err >&5
95512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95513 (exit $ac_status); } &&
95514 { ac_try='test -z "$ac_c_werror_flag"
95515 || test ! -s conftest.err'
95516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95517 (eval $ac_try) 2>&5
95518 ac_status=$?
95519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95520 (exit $ac_status); }; } &&
95521 { ac_try='test -s conftest$ac_exeext'
95522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95523 (eval $ac_try) 2>&5
95524 ac_status=$?
95525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95526 (exit $ac_status); }; }; then
95527 eval "$as_ac_var=yes"
95528 else
95529 echo "$as_me: failed program was:" >&5
95530 sed 's/^/| /' conftest.$ac_ext >&5
95532 eval "$as_ac_var=no"
95534 rm -f conftest.err conftest.$ac_objext \
95535 conftest$ac_exeext conftest.$ac_ext
95537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95539 if test `eval echo '${'$as_ac_var'}'` = yes; then
95540 cat >>confdefs.h <<_ACEOF
95541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95542 _ACEOF
95545 done
95555 echo "$as_me:$LINENO: checking for isnan declaration" >&5
95556 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
95557 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
95558 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
95559 echo $ECHO_N "(cached) $ECHO_C" >&6
95560 else
95564 ac_ext=cc
95565 ac_cpp='$CXXCPP $CPPFLAGS'
95566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95570 cat >conftest.$ac_ext <<_ACEOF
95571 /* confdefs.h. */
95572 _ACEOF
95573 cat confdefs.h >>conftest.$ac_ext
95574 cat >>conftest.$ac_ext <<_ACEOF
95575 /* end confdefs.h. */
95576 #include <math.h>
95577 #ifdef HAVE_IEEEFP_H
95578 #include <ieeefp.h>
95579 #endif
95582 main ()
95584 isnan(0);
95586 return 0;
95588 _ACEOF
95589 rm -f conftest.$ac_objext
95590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95591 (eval $ac_compile) 2>conftest.er1
95592 ac_status=$?
95593 grep -v '^ *+' conftest.er1 >conftest.err
95594 rm -f conftest.er1
95595 cat conftest.err >&5
95596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95597 (exit $ac_status); } &&
95598 { ac_try='test -z "$ac_cxx_werror_flag"
95599 || test ! -s conftest.err'
95600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95601 (eval $ac_try) 2>&5
95602 ac_status=$?
95603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95604 (exit $ac_status); }; } &&
95605 { ac_try='test -s conftest.$ac_objext'
95606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95607 (eval $ac_try) 2>&5
95608 ac_status=$?
95609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95610 (exit $ac_status); }; }; then
95611 glibcxx_cv_func_isnan_use=yes
95612 else
95613 echo "$as_me: failed program was:" >&5
95614 sed 's/^/| /' conftest.$ac_ext >&5
95616 glibcxx_cv_func_isnan_use=no
95618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95619 ac_ext=c
95620 ac_cpp='$CPP $CPPFLAGS'
95621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
95630 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
95632 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
95634 for ac_func in isnan
95636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95637 echo "$as_me:$LINENO: checking for $ac_func" >&5
95638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95639 if eval "test \"\${$as_ac_var+set}\" = set"; then
95640 echo $ECHO_N "(cached) $ECHO_C" >&6
95641 else
95642 if test x$gcc_no_link = xyes; then
95643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95645 { (exit 1); exit 1; }; }
95647 cat >conftest.$ac_ext <<_ACEOF
95648 /* confdefs.h. */
95649 _ACEOF
95650 cat confdefs.h >>conftest.$ac_ext
95651 cat >>conftest.$ac_ext <<_ACEOF
95652 /* end confdefs.h. */
95653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95655 #define $ac_func innocuous_$ac_func
95657 /* System header to define __stub macros and hopefully few prototypes,
95658 which can conflict with char $ac_func (); below.
95659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95660 <limits.h> exists even on freestanding compilers. */
95662 #ifdef __STDC__
95663 # include <limits.h>
95664 #else
95665 # include <assert.h>
95666 #endif
95668 #undef $ac_func
95670 /* Override any gcc2 internal prototype to avoid an error. */
95671 #ifdef __cplusplus
95672 extern "C"
95674 #endif
95675 /* We use char because int might match the return type of a gcc2
95676 builtin and then its argument prototype would still apply. */
95677 char $ac_func ();
95678 /* The GNU C library defines this for functions which it implements
95679 to always fail with ENOSYS. Some functions are actually named
95680 something starting with __ and the normal name is an alias. */
95681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95682 choke me
95683 #else
95684 char (*f) () = $ac_func;
95685 #endif
95686 #ifdef __cplusplus
95688 #endif
95691 main ()
95693 return f != $ac_func;
95695 return 0;
95697 _ACEOF
95698 rm -f conftest.$ac_objext conftest$ac_exeext
95699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95700 (eval $ac_link) 2>conftest.er1
95701 ac_status=$?
95702 grep -v '^ *+' conftest.er1 >conftest.err
95703 rm -f conftest.er1
95704 cat conftest.err >&5
95705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95706 (exit $ac_status); } &&
95707 { ac_try='test -z "$ac_c_werror_flag"
95708 || test ! -s conftest.err'
95709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95710 (eval $ac_try) 2>&5
95711 ac_status=$?
95712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95713 (exit $ac_status); }; } &&
95714 { ac_try='test -s conftest$ac_exeext'
95715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95716 (eval $ac_try) 2>&5
95717 ac_status=$?
95718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95719 (exit $ac_status); }; }; then
95720 eval "$as_ac_var=yes"
95721 else
95722 echo "$as_me: failed program was:" >&5
95723 sed 's/^/| /' conftest.$ac_ext >&5
95725 eval "$as_ac_var=no"
95727 rm -f conftest.err conftest.$ac_objext \
95728 conftest$ac_exeext conftest.$ac_ext
95730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95732 if test `eval echo '${'$as_ac_var'}'` = yes; then
95733 cat >>confdefs.h <<_ACEOF
95734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95735 _ACEOF
95738 done
95740 else
95742 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
95743 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
95744 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
95745 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
95746 echo $ECHO_N "(cached) $ECHO_C" >&6
95747 else
95751 ac_ext=cc
95752 ac_cpp='$CXXCPP $CPPFLAGS'
95753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95757 cat >conftest.$ac_ext <<_ACEOF
95758 /* confdefs.h. */
95759 _ACEOF
95760 cat confdefs.h >>conftest.$ac_ext
95761 cat >>conftest.$ac_ext <<_ACEOF
95762 /* end confdefs.h. */
95763 #include <math.h>
95764 #ifdef HAVE_IEEEFP_H
95765 #include <ieeefp.h>
95766 #endif
95769 main ()
95771 _isnan(0);
95773 return 0;
95775 _ACEOF
95776 rm -f conftest.$ac_objext
95777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95778 (eval $ac_compile) 2>conftest.er1
95779 ac_status=$?
95780 grep -v '^ *+' conftest.er1 >conftest.err
95781 rm -f conftest.er1
95782 cat conftest.err >&5
95783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95784 (exit $ac_status); } &&
95785 { ac_try='test -z "$ac_cxx_werror_flag"
95786 || test ! -s conftest.err'
95787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95788 (eval $ac_try) 2>&5
95789 ac_status=$?
95790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95791 (exit $ac_status); }; } &&
95792 { ac_try='test -s conftest.$ac_objext'
95793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95794 (eval $ac_try) 2>&5
95795 ac_status=$?
95796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95797 (exit $ac_status); }; }; then
95798 glibcxx_cv_func__isnan_use=yes
95799 else
95800 echo "$as_me: failed program was:" >&5
95801 sed 's/^/| /' conftest.$ac_ext >&5
95803 glibcxx_cv_func__isnan_use=no
95805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95806 ac_ext=c
95807 ac_cpp='$CPP $CPPFLAGS'
95808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
95817 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
95819 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
95821 for ac_func in _isnan
95823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95824 echo "$as_me:$LINENO: checking for $ac_func" >&5
95825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95826 if eval "test \"\${$as_ac_var+set}\" = set"; then
95827 echo $ECHO_N "(cached) $ECHO_C" >&6
95828 else
95829 if test x$gcc_no_link = xyes; then
95830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95832 { (exit 1); exit 1; }; }
95834 cat >conftest.$ac_ext <<_ACEOF
95835 /* confdefs.h. */
95836 _ACEOF
95837 cat confdefs.h >>conftest.$ac_ext
95838 cat >>conftest.$ac_ext <<_ACEOF
95839 /* end confdefs.h. */
95840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95842 #define $ac_func innocuous_$ac_func
95844 /* System header to define __stub macros and hopefully few prototypes,
95845 which can conflict with char $ac_func (); below.
95846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95847 <limits.h> exists even on freestanding compilers. */
95849 #ifdef __STDC__
95850 # include <limits.h>
95851 #else
95852 # include <assert.h>
95853 #endif
95855 #undef $ac_func
95857 /* Override any gcc2 internal prototype to avoid an error. */
95858 #ifdef __cplusplus
95859 extern "C"
95861 #endif
95862 /* We use char because int might match the return type of a gcc2
95863 builtin and then its argument prototype would still apply. */
95864 char $ac_func ();
95865 /* The GNU C library defines this for functions which it implements
95866 to always fail with ENOSYS. Some functions are actually named
95867 something starting with __ and the normal name is an alias. */
95868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95869 choke me
95870 #else
95871 char (*f) () = $ac_func;
95872 #endif
95873 #ifdef __cplusplus
95875 #endif
95878 main ()
95880 return f != $ac_func;
95882 return 0;
95884 _ACEOF
95885 rm -f conftest.$ac_objext conftest$ac_exeext
95886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95887 (eval $ac_link) 2>conftest.er1
95888 ac_status=$?
95889 grep -v '^ *+' conftest.er1 >conftest.err
95890 rm -f conftest.er1
95891 cat conftest.err >&5
95892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95893 (exit $ac_status); } &&
95894 { ac_try='test -z "$ac_c_werror_flag"
95895 || test ! -s conftest.err'
95896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95897 (eval $ac_try) 2>&5
95898 ac_status=$?
95899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95900 (exit $ac_status); }; } &&
95901 { ac_try='test -s conftest$ac_exeext'
95902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95903 (eval $ac_try) 2>&5
95904 ac_status=$?
95905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95906 (exit $ac_status); }; }; then
95907 eval "$as_ac_var=yes"
95908 else
95909 echo "$as_me: failed program was:" >&5
95910 sed 's/^/| /' conftest.$ac_ext >&5
95912 eval "$as_ac_var=no"
95914 rm -f conftest.err conftest.$ac_objext \
95915 conftest$ac_exeext conftest.$ac_ext
95917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95919 if test `eval echo '${'$as_ac_var'}'` = yes; then
95920 cat >>confdefs.h <<_ACEOF
95921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95922 _ACEOF
95925 done
95935 echo "$as_me:$LINENO: checking for finite declaration" >&5
95936 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
95937 if test x${glibcxx_cv_func_finite_use+set} != xset; then
95938 if test "${glibcxx_cv_func_finite_use+set}" = set; then
95939 echo $ECHO_N "(cached) $ECHO_C" >&6
95940 else
95944 ac_ext=cc
95945 ac_cpp='$CXXCPP $CPPFLAGS'
95946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95950 cat >conftest.$ac_ext <<_ACEOF
95951 /* confdefs.h. */
95952 _ACEOF
95953 cat confdefs.h >>conftest.$ac_ext
95954 cat >>conftest.$ac_ext <<_ACEOF
95955 /* end confdefs.h. */
95956 #include <math.h>
95957 #ifdef HAVE_IEEEFP_H
95958 #include <ieeefp.h>
95959 #endif
95962 main ()
95964 finite(0);
95966 return 0;
95968 _ACEOF
95969 rm -f conftest.$ac_objext
95970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95971 (eval $ac_compile) 2>conftest.er1
95972 ac_status=$?
95973 grep -v '^ *+' conftest.er1 >conftest.err
95974 rm -f conftest.er1
95975 cat conftest.err >&5
95976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95977 (exit $ac_status); } &&
95978 { ac_try='test -z "$ac_cxx_werror_flag"
95979 || test ! -s conftest.err'
95980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95981 (eval $ac_try) 2>&5
95982 ac_status=$?
95983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95984 (exit $ac_status); }; } &&
95985 { ac_try='test -s conftest.$ac_objext'
95986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95987 (eval $ac_try) 2>&5
95988 ac_status=$?
95989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95990 (exit $ac_status); }; }; then
95991 glibcxx_cv_func_finite_use=yes
95992 else
95993 echo "$as_me: failed program was:" >&5
95994 sed 's/^/| /' conftest.$ac_ext >&5
95996 glibcxx_cv_func_finite_use=no
95998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95999 ac_ext=c
96000 ac_cpp='$CPP $CPPFLAGS'
96001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96009 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
96010 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
96012 if test x$glibcxx_cv_func_finite_use = x"yes"; then
96014 for ac_func in finite
96016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96017 echo "$as_me:$LINENO: checking for $ac_func" >&5
96018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96019 if eval "test \"\${$as_ac_var+set}\" = set"; then
96020 echo $ECHO_N "(cached) $ECHO_C" >&6
96021 else
96022 if test x$gcc_no_link = xyes; then
96023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96025 { (exit 1); exit 1; }; }
96027 cat >conftest.$ac_ext <<_ACEOF
96028 /* confdefs.h. */
96029 _ACEOF
96030 cat confdefs.h >>conftest.$ac_ext
96031 cat >>conftest.$ac_ext <<_ACEOF
96032 /* end confdefs.h. */
96033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96035 #define $ac_func innocuous_$ac_func
96037 /* System header to define __stub macros and hopefully few prototypes,
96038 which can conflict with char $ac_func (); below.
96039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96040 <limits.h> exists even on freestanding compilers. */
96042 #ifdef __STDC__
96043 # include <limits.h>
96044 #else
96045 # include <assert.h>
96046 #endif
96048 #undef $ac_func
96050 /* Override any gcc2 internal prototype to avoid an error. */
96051 #ifdef __cplusplus
96052 extern "C"
96054 #endif
96055 /* We use char because int might match the return type of a gcc2
96056 builtin and then its argument prototype would still apply. */
96057 char $ac_func ();
96058 /* The GNU C library defines this for functions which it implements
96059 to always fail with ENOSYS. Some functions are actually named
96060 something starting with __ and the normal name is an alias. */
96061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96062 choke me
96063 #else
96064 char (*f) () = $ac_func;
96065 #endif
96066 #ifdef __cplusplus
96068 #endif
96071 main ()
96073 return f != $ac_func;
96075 return 0;
96077 _ACEOF
96078 rm -f conftest.$ac_objext conftest$ac_exeext
96079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96080 (eval $ac_link) 2>conftest.er1
96081 ac_status=$?
96082 grep -v '^ *+' conftest.er1 >conftest.err
96083 rm -f conftest.er1
96084 cat conftest.err >&5
96085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96086 (exit $ac_status); } &&
96087 { ac_try='test -z "$ac_c_werror_flag"
96088 || test ! -s conftest.err'
96089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96090 (eval $ac_try) 2>&5
96091 ac_status=$?
96092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96093 (exit $ac_status); }; } &&
96094 { ac_try='test -s conftest$ac_exeext'
96095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96096 (eval $ac_try) 2>&5
96097 ac_status=$?
96098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96099 (exit $ac_status); }; }; then
96100 eval "$as_ac_var=yes"
96101 else
96102 echo "$as_me: failed program was:" >&5
96103 sed 's/^/| /' conftest.$ac_ext >&5
96105 eval "$as_ac_var=no"
96107 rm -f conftest.err conftest.$ac_objext \
96108 conftest$ac_exeext conftest.$ac_ext
96110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96112 if test `eval echo '${'$as_ac_var'}'` = yes; then
96113 cat >>confdefs.h <<_ACEOF
96114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96115 _ACEOF
96118 done
96120 else
96122 echo "$as_me:$LINENO: checking for _finite declaration" >&5
96123 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
96124 if test x${glibcxx_cv_func__finite_use+set} != xset; then
96125 if test "${glibcxx_cv_func__finite_use+set}" = set; then
96126 echo $ECHO_N "(cached) $ECHO_C" >&6
96127 else
96131 ac_ext=cc
96132 ac_cpp='$CXXCPP $CPPFLAGS'
96133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96137 cat >conftest.$ac_ext <<_ACEOF
96138 /* confdefs.h. */
96139 _ACEOF
96140 cat confdefs.h >>conftest.$ac_ext
96141 cat >>conftest.$ac_ext <<_ACEOF
96142 /* end confdefs.h. */
96143 #include <math.h>
96144 #ifdef HAVE_IEEEFP_H
96145 #include <ieeefp.h>
96146 #endif
96149 main ()
96151 _finite(0);
96153 return 0;
96155 _ACEOF
96156 rm -f conftest.$ac_objext
96157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96158 (eval $ac_compile) 2>conftest.er1
96159 ac_status=$?
96160 grep -v '^ *+' conftest.er1 >conftest.err
96161 rm -f conftest.er1
96162 cat conftest.err >&5
96163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96164 (exit $ac_status); } &&
96165 { ac_try='test -z "$ac_cxx_werror_flag"
96166 || test ! -s conftest.err'
96167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96168 (eval $ac_try) 2>&5
96169 ac_status=$?
96170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96171 (exit $ac_status); }; } &&
96172 { ac_try='test -s conftest.$ac_objext'
96173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96174 (eval $ac_try) 2>&5
96175 ac_status=$?
96176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96177 (exit $ac_status); }; }; then
96178 glibcxx_cv_func__finite_use=yes
96179 else
96180 echo "$as_me: failed program was:" >&5
96181 sed 's/^/| /' conftest.$ac_ext >&5
96183 glibcxx_cv_func__finite_use=no
96185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96186 ac_ext=c
96187 ac_cpp='$CPP $CPPFLAGS'
96188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
96197 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
96199 if test x$glibcxx_cv_func__finite_use = x"yes"; then
96201 for ac_func in _finite
96203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96204 echo "$as_me:$LINENO: checking for $ac_func" >&5
96205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96206 if eval "test \"\${$as_ac_var+set}\" = set"; then
96207 echo $ECHO_N "(cached) $ECHO_C" >&6
96208 else
96209 if test x$gcc_no_link = xyes; then
96210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96212 { (exit 1); exit 1; }; }
96214 cat >conftest.$ac_ext <<_ACEOF
96215 /* confdefs.h. */
96216 _ACEOF
96217 cat confdefs.h >>conftest.$ac_ext
96218 cat >>conftest.$ac_ext <<_ACEOF
96219 /* end confdefs.h. */
96220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96222 #define $ac_func innocuous_$ac_func
96224 /* System header to define __stub macros and hopefully few prototypes,
96225 which can conflict with char $ac_func (); below.
96226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96227 <limits.h> exists even on freestanding compilers. */
96229 #ifdef __STDC__
96230 # include <limits.h>
96231 #else
96232 # include <assert.h>
96233 #endif
96235 #undef $ac_func
96237 /* Override any gcc2 internal prototype to avoid an error. */
96238 #ifdef __cplusplus
96239 extern "C"
96241 #endif
96242 /* We use char because int might match the return type of a gcc2
96243 builtin and then its argument prototype would still apply. */
96244 char $ac_func ();
96245 /* The GNU C library defines this for functions which it implements
96246 to always fail with ENOSYS. Some functions are actually named
96247 something starting with __ and the normal name is an alias. */
96248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96249 choke me
96250 #else
96251 char (*f) () = $ac_func;
96252 #endif
96253 #ifdef __cplusplus
96255 #endif
96258 main ()
96260 return f != $ac_func;
96262 return 0;
96264 _ACEOF
96265 rm -f conftest.$ac_objext conftest$ac_exeext
96266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96267 (eval $ac_link) 2>conftest.er1
96268 ac_status=$?
96269 grep -v '^ *+' conftest.er1 >conftest.err
96270 rm -f conftest.er1
96271 cat conftest.err >&5
96272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96273 (exit $ac_status); } &&
96274 { ac_try='test -z "$ac_c_werror_flag"
96275 || test ! -s conftest.err'
96276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96277 (eval $ac_try) 2>&5
96278 ac_status=$?
96279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96280 (exit $ac_status); }; } &&
96281 { ac_try='test -s conftest$ac_exeext'
96282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96283 (eval $ac_try) 2>&5
96284 ac_status=$?
96285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96286 (exit $ac_status); }; }; then
96287 eval "$as_ac_var=yes"
96288 else
96289 echo "$as_me: failed program was:" >&5
96290 sed 's/^/| /' conftest.$ac_ext >&5
96292 eval "$as_ac_var=no"
96294 rm -f conftest.err conftest.$ac_objext \
96295 conftest$ac_exeext conftest.$ac_ext
96297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96299 if test `eval echo '${'$as_ac_var'}'` = yes; then
96300 cat >>confdefs.h <<_ACEOF
96301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96302 _ACEOF
96305 done
96315 echo "$as_me:$LINENO: checking for sincos declaration" >&5
96316 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
96317 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
96318 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
96319 echo $ECHO_N "(cached) $ECHO_C" >&6
96320 else
96324 ac_ext=cc
96325 ac_cpp='$CXXCPP $CPPFLAGS'
96326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96330 cat >conftest.$ac_ext <<_ACEOF
96331 /* confdefs.h. */
96332 _ACEOF
96333 cat confdefs.h >>conftest.$ac_ext
96334 cat >>conftest.$ac_ext <<_ACEOF
96335 /* end confdefs.h. */
96336 #include <math.h>
96338 main ()
96340 sincos(0, 0, 0);
96342 return 0;
96344 _ACEOF
96345 rm -f conftest.$ac_objext
96346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96347 (eval $ac_compile) 2>conftest.er1
96348 ac_status=$?
96349 grep -v '^ *+' conftest.er1 >conftest.err
96350 rm -f conftest.er1
96351 cat conftest.err >&5
96352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96353 (exit $ac_status); } &&
96354 { ac_try='test -z "$ac_cxx_werror_flag"
96355 || test ! -s conftest.err'
96356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96357 (eval $ac_try) 2>&5
96358 ac_status=$?
96359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96360 (exit $ac_status); }; } &&
96361 { ac_try='test -s conftest.$ac_objext'
96362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96363 (eval $ac_try) 2>&5
96364 ac_status=$?
96365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96366 (exit $ac_status); }; }; then
96367 glibcxx_cv_func_sincos_use=yes
96368 else
96369 echo "$as_me: failed program was:" >&5
96370 sed 's/^/| /' conftest.$ac_ext >&5
96372 glibcxx_cv_func_sincos_use=no
96374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96375 ac_ext=c
96376 ac_cpp='$CPP $CPPFLAGS'
96377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
96386 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
96388 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
96390 for ac_func in sincos
96392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96393 echo "$as_me:$LINENO: checking for $ac_func" >&5
96394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96395 if eval "test \"\${$as_ac_var+set}\" = set"; then
96396 echo $ECHO_N "(cached) $ECHO_C" >&6
96397 else
96398 if test x$gcc_no_link = xyes; then
96399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96401 { (exit 1); exit 1; }; }
96403 cat >conftest.$ac_ext <<_ACEOF
96404 /* confdefs.h. */
96405 _ACEOF
96406 cat confdefs.h >>conftest.$ac_ext
96407 cat >>conftest.$ac_ext <<_ACEOF
96408 /* end confdefs.h. */
96409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96411 #define $ac_func innocuous_$ac_func
96413 /* System header to define __stub macros and hopefully few prototypes,
96414 which can conflict with char $ac_func (); below.
96415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96416 <limits.h> exists even on freestanding compilers. */
96418 #ifdef __STDC__
96419 # include <limits.h>
96420 #else
96421 # include <assert.h>
96422 #endif
96424 #undef $ac_func
96426 /* Override any gcc2 internal prototype to avoid an error. */
96427 #ifdef __cplusplus
96428 extern "C"
96430 #endif
96431 /* We use char because int might match the return type of a gcc2
96432 builtin and then its argument prototype would still apply. */
96433 char $ac_func ();
96434 /* The GNU C library defines this for functions which it implements
96435 to always fail with ENOSYS. Some functions are actually named
96436 something starting with __ and the normal name is an alias. */
96437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96438 choke me
96439 #else
96440 char (*f) () = $ac_func;
96441 #endif
96442 #ifdef __cplusplus
96444 #endif
96447 main ()
96449 return f != $ac_func;
96451 return 0;
96453 _ACEOF
96454 rm -f conftest.$ac_objext conftest$ac_exeext
96455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96456 (eval $ac_link) 2>conftest.er1
96457 ac_status=$?
96458 grep -v '^ *+' conftest.er1 >conftest.err
96459 rm -f conftest.er1
96460 cat conftest.err >&5
96461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462 (exit $ac_status); } &&
96463 { ac_try='test -z "$ac_c_werror_flag"
96464 || test ! -s conftest.err'
96465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96466 (eval $ac_try) 2>&5
96467 ac_status=$?
96468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96469 (exit $ac_status); }; } &&
96470 { ac_try='test -s conftest$ac_exeext'
96471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96472 (eval $ac_try) 2>&5
96473 ac_status=$?
96474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96475 (exit $ac_status); }; }; then
96476 eval "$as_ac_var=yes"
96477 else
96478 echo "$as_me: failed program was:" >&5
96479 sed 's/^/| /' conftest.$ac_ext >&5
96481 eval "$as_ac_var=no"
96483 rm -f conftest.err conftest.$ac_objext \
96484 conftest$ac_exeext conftest.$ac_ext
96486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96488 if test `eval echo '${'$as_ac_var'}'` = yes; then
96489 cat >>confdefs.h <<_ACEOF
96490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96491 _ACEOF
96494 done
96496 else
96498 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
96499 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
96500 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
96501 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
96502 echo $ECHO_N "(cached) $ECHO_C" >&6
96503 else
96507 ac_ext=cc
96508 ac_cpp='$CXXCPP $CPPFLAGS'
96509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96513 cat >conftest.$ac_ext <<_ACEOF
96514 /* confdefs.h. */
96515 _ACEOF
96516 cat confdefs.h >>conftest.$ac_ext
96517 cat >>conftest.$ac_ext <<_ACEOF
96518 /* end confdefs.h. */
96519 #include <math.h>
96521 main ()
96523 _sincos(0, 0, 0);
96525 return 0;
96527 _ACEOF
96528 rm -f conftest.$ac_objext
96529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96530 (eval $ac_compile) 2>conftest.er1
96531 ac_status=$?
96532 grep -v '^ *+' conftest.er1 >conftest.err
96533 rm -f conftest.er1
96534 cat conftest.err >&5
96535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96536 (exit $ac_status); } &&
96537 { ac_try='test -z "$ac_cxx_werror_flag"
96538 || test ! -s conftest.err'
96539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96540 (eval $ac_try) 2>&5
96541 ac_status=$?
96542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96543 (exit $ac_status); }; } &&
96544 { ac_try='test -s conftest.$ac_objext'
96545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96546 (eval $ac_try) 2>&5
96547 ac_status=$?
96548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96549 (exit $ac_status); }; }; then
96550 glibcxx_cv_func__sincos_use=yes
96551 else
96552 echo "$as_me: failed program was:" >&5
96553 sed 's/^/| /' conftest.$ac_ext >&5
96555 glibcxx_cv_func__sincos_use=no
96557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96558 ac_ext=c
96559 ac_cpp='$CPP $CPPFLAGS'
96560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
96569 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
96571 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
96573 for ac_func in _sincos
96575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96576 echo "$as_me:$LINENO: checking for $ac_func" >&5
96577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96578 if eval "test \"\${$as_ac_var+set}\" = set"; then
96579 echo $ECHO_N "(cached) $ECHO_C" >&6
96580 else
96581 if test x$gcc_no_link = xyes; then
96582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96584 { (exit 1); exit 1; }; }
96586 cat >conftest.$ac_ext <<_ACEOF
96587 /* confdefs.h. */
96588 _ACEOF
96589 cat confdefs.h >>conftest.$ac_ext
96590 cat >>conftest.$ac_ext <<_ACEOF
96591 /* end confdefs.h. */
96592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96594 #define $ac_func innocuous_$ac_func
96596 /* System header to define __stub macros and hopefully few prototypes,
96597 which can conflict with char $ac_func (); below.
96598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96599 <limits.h> exists even on freestanding compilers. */
96601 #ifdef __STDC__
96602 # include <limits.h>
96603 #else
96604 # include <assert.h>
96605 #endif
96607 #undef $ac_func
96609 /* Override any gcc2 internal prototype to avoid an error. */
96610 #ifdef __cplusplus
96611 extern "C"
96613 #endif
96614 /* We use char because int might match the return type of a gcc2
96615 builtin and then its argument prototype would still apply. */
96616 char $ac_func ();
96617 /* The GNU C library defines this for functions which it implements
96618 to always fail with ENOSYS. Some functions are actually named
96619 something starting with __ and the normal name is an alias. */
96620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96621 choke me
96622 #else
96623 char (*f) () = $ac_func;
96624 #endif
96625 #ifdef __cplusplus
96627 #endif
96630 main ()
96632 return f != $ac_func;
96634 return 0;
96636 _ACEOF
96637 rm -f conftest.$ac_objext conftest$ac_exeext
96638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96639 (eval $ac_link) 2>conftest.er1
96640 ac_status=$?
96641 grep -v '^ *+' conftest.er1 >conftest.err
96642 rm -f conftest.er1
96643 cat conftest.err >&5
96644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96645 (exit $ac_status); } &&
96646 { ac_try='test -z "$ac_c_werror_flag"
96647 || test ! -s conftest.err'
96648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96649 (eval $ac_try) 2>&5
96650 ac_status=$?
96651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96652 (exit $ac_status); }; } &&
96653 { ac_try='test -s conftest$ac_exeext'
96654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96655 (eval $ac_try) 2>&5
96656 ac_status=$?
96657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96658 (exit $ac_status); }; }; then
96659 eval "$as_ac_var=yes"
96660 else
96661 echo "$as_me: failed program was:" >&5
96662 sed 's/^/| /' conftest.$ac_ext >&5
96664 eval "$as_ac_var=no"
96666 rm -f conftest.err conftest.$ac_objext \
96667 conftest$ac_exeext conftest.$ac_ext
96669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96671 if test `eval echo '${'$as_ac_var'}'` = yes; then
96672 cat >>confdefs.h <<_ACEOF
96673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96674 _ACEOF
96677 done
96687 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
96688 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
96689 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
96690 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
96691 echo $ECHO_N "(cached) $ECHO_C" >&6
96692 else
96696 ac_ext=cc
96697 ac_cpp='$CXXCPP $CPPFLAGS'
96698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96702 cat >conftest.$ac_ext <<_ACEOF
96703 /* confdefs.h. */
96704 _ACEOF
96705 cat confdefs.h >>conftest.$ac_ext
96706 cat >>conftest.$ac_ext <<_ACEOF
96707 /* end confdefs.h. */
96708 #include <math.h>
96709 #ifdef HAVE_IEEEFP_H
96710 #include <ieeefp.h>
96711 #endif
96714 main ()
96716 fpclass(0);
96718 return 0;
96720 _ACEOF
96721 rm -f conftest.$ac_objext
96722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96723 (eval $ac_compile) 2>conftest.er1
96724 ac_status=$?
96725 grep -v '^ *+' conftest.er1 >conftest.err
96726 rm -f conftest.er1
96727 cat conftest.err >&5
96728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96729 (exit $ac_status); } &&
96730 { ac_try='test -z "$ac_cxx_werror_flag"
96731 || test ! -s conftest.err'
96732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96733 (eval $ac_try) 2>&5
96734 ac_status=$?
96735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96736 (exit $ac_status); }; } &&
96737 { ac_try='test -s conftest.$ac_objext'
96738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96739 (eval $ac_try) 2>&5
96740 ac_status=$?
96741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96742 (exit $ac_status); }; }; then
96743 glibcxx_cv_func_fpclass_use=yes
96744 else
96745 echo "$as_me: failed program was:" >&5
96746 sed 's/^/| /' conftest.$ac_ext >&5
96748 glibcxx_cv_func_fpclass_use=no
96750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96751 ac_ext=c
96752 ac_cpp='$CPP $CPPFLAGS'
96753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
96762 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
96764 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
96766 for ac_func in fpclass
96768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96769 echo "$as_me:$LINENO: checking for $ac_func" >&5
96770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96771 if eval "test \"\${$as_ac_var+set}\" = set"; then
96772 echo $ECHO_N "(cached) $ECHO_C" >&6
96773 else
96774 if test x$gcc_no_link = xyes; then
96775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96777 { (exit 1); exit 1; }; }
96779 cat >conftest.$ac_ext <<_ACEOF
96780 /* confdefs.h. */
96781 _ACEOF
96782 cat confdefs.h >>conftest.$ac_ext
96783 cat >>conftest.$ac_ext <<_ACEOF
96784 /* end confdefs.h. */
96785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96787 #define $ac_func innocuous_$ac_func
96789 /* System header to define __stub macros and hopefully few prototypes,
96790 which can conflict with char $ac_func (); below.
96791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96792 <limits.h> exists even on freestanding compilers. */
96794 #ifdef __STDC__
96795 # include <limits.h>
96796 #else
96797 # include <assert.h>
96798 #endif
96800 #undef $ac_func
96802 /* Override any gcc2 internal prototype to avoid an error. */
96803 #ifdef __cplusplus
96804 extern "C"
96806 #endif
96807 /* We use char because int might match the return type of a gcc2
96808 builtin and then its argument prototype would still apply. */
96809 char $ac_func ();
96810 /* The GNU C library defines this for functions which it implements
96811 to always fail with ENOSYS. Some functions are actually named
96812 something starting with __ and the normal name is an alias. */
96813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96814 choke me
96815 #else
96816 char (*f) () = $ac_func;
96817 #endif
96818 #ifdef __cplusplus
96820 #endif
96823 main ()
96825 return f != $ac_func;
96827 return 0;
96829 _ACEOF
96830 rm -f conftest.$ac_objext conftest$ac_exeext
96831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96832 (eval $ac_link) 2>conftest.er1
96833 ac_status=$?
96834 grep -v '^ *+' conftest.er1 >conftest.err
96835 rm -f conftest.er1
96836 cat conftest.err >&5
96837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96838 (exit $ac_status); } &&
96839 { ac_try='test -z "$ac_c_werror_flag"
96840 || test ! -s conftest.err'
96841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96842 (eval $ac_try) 2>&5
96843 ac_status=$?
96844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96845 (exit $ac_status); }; } &&
96846 { ac_try='test -s conftest$ac_exeext'
96847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96848 (eval $ac_try) 2>&5
96849 ac_status=$?
96850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96851 (exit $ac_status); }; }; then
96852 eval "$as_ac_var=yes"
96853 else
96854 echo "$as_me: failed program was:" >&5
96855 sed 's/^/| /' conftest.$ac_ext >&5
96857 eval "$as_ac_var=no"
96859 rm -f conftest.err conftest.$ac_objext \
96860 conftest$ac_exeext conftest.$ac_ext
96862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96864 if test `eval echo '${'$as_ac_var'}'` = yes; then
96865 cat >>confdefs.h <<_ACEOF
96866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96867 _ACEOF
96870 done
96872 else
96874 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
96875 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
96876 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
96877 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
96878 echo $ECHO_N "(cached) $ECHO_C" >&6
96879 else
96883 ac_ext=cc
96884 ac_cpp='$CXXCPP $CPPFLAGS'
96885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96889 cat >conftest.$ac_ext <<_ACEOF
96890 /* confdefs.h. */
96891 _ACEOF
96892 cat confdefs.h >>conftest.$ac_ext
96893 cat >>conftest.$ac_ext <<_ACEOF
96894 /* end confdefs.h. */
96895 #include <math.h>
96896 #ifdef HAVE_IEEEFP_H
96897 #include <ieeefp.h>
96898 #endif
96901 main ()
96903 _fpclass(0);
96905 return 0;
96907 _ACEOF
96908 rm -f conftest.$ac_objext
96909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96910 (eval $ac_compile) 2>conftest.er1
96911 ac_status=$?
96912 grep -v '^ *+' conftest.er1 >conftest.err
96913 rm -f conftest.er1
96914 cat conftest.err >&5
96915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96916 (exit $ac_status); } &&
96917 { ac_try='test -z "$ac_cxx_werror_flag"
96918 || test ! -s conftest.err'
96919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96920 (eval $ac_try) 2>&5
96921 ac_status=$?
96922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96923 (exit $ac_status); }; } &&
96924 { ac_try='test -s conftest.$ac_objext'
96925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96926 (eval $ac_try) 2>&5
96927 ac_status=$?
96928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96929 (exit $ac_status); }; }; then
96930 glibcxx_cv_func__fpclass_use=yes
96931 else
96932 echo "$as_me: failed program was:" >&5
96933 sed 's/^/| /' conftest.$ac_ext >&5
96935 glibcxx_cv_func__fpclass_use=no
96937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96938 ac_ext=c
96939 ac_cpp='$CPP $CPPFLAGS'
96940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
96949 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
96951 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
96953 for ac_func in _fpclass
96955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96956 echo "$as_me:$LINENO: checking for $ac_func" >&5
96957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96958 if eval "test \"\${$as_ac_var+set}\" = set"; then
96959 echo $ECHO_N "(cached) $ECHO_C" >&6
96960 else
96961 if test x$gcc_no_link = xyes; then
96962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96964 { (exit 1); exit 1; }; }
96966 cat >conftest.$ac_ext <<_ACEOF
96967 /* confdefs.h. */
96968 _ACEOF
96969 cat confdefs.h >>conftest.$ac_ext
96970 cat >>conftest.$ac_ext <<_ACEOF
96971 /* end confdefs.h. */
96972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96974 #define $ac_func innocuous_$ac_func
96976 /* System header to define __stub macros and hopefully few prototypes,
96977 which can conflict with char $ac_func (); below.
96978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96979 <limits.h> exists even on freestanding compilers. */
96981 #ifdef __STDC__
96982 # include <limits.h>
96983 #else
96984 # include <assert.h>
96985 #endif
96987 #undef $ac_func
96989 /* Override any gcc2 internal prototype to avoid an error. */
96990 #ifdef __cplusplus
96991 extern "C"
96993 #endif
96994 /* We use char because int might match the return type of a gcc2
96995 builtin and then its argument prototype would still apply. */
96996 char $ac_func ();
96997 /* The GNU C library defines this for functions which it implements
96998 to always fail with ENOSYS. Some functions are actually named
96999 something starting with __ and the normal name is an alias. */
97000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97001 choke me
97002 #else
97003 char (*f) () = $ac_func;
97004 #endif
97005 #ifdef __cplusplus
97007 #endif
97010 main ()
97012 return f != $ac_func;
97014 return 0;
97016 _ACEOF
97017 rm -f conftest.$ac_objext conftest$ac_exeext
97018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97019 (eval $ac_link) 2>conftest.er1
97020 ac_status=$?
97021 grep -v '^ *+' conftest.er1 >conftest.err
97022 rm -f conftest.er1
97023 cat conftest.err >&5
97024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97025 (exit $ac_status); } &&
97026 { ac_try='test -z "$ac_c_werror_flag"
97027 || test ! -s conftest.err'
97028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97029 (eval $ac_try) 2>&5
97030 ac_status=$?
97031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97032 (exit $ac_status); }; } &&
97033 { ac_try='test -s conftest$ac_exeext'
97034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97035 (eval $ac_try) 2>&5
97036 ac_status=$?
97037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97038 (exit $ac_status); }; }; then
97039 eval "$as_ac_var=yes"
97040 else
97041 echo "$as_me: failed program was:" >&5
97042 sed 's/^/| /' conftest.$ac_ext >&5
97044 eval "$as_ac_var=no"
97046 rm -f conftest.err conftest.$ac_objext \
97047 conftest$ac_exeext conftest.$ac_ext
97049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97051 if test `eval echo '${'$as_ac_var'}'` = yes; then
97052 cat >>confdefs.h <<_ACEOF
97053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97054 _ACEOF
97057 done
97067 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
97068 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
97069 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
97070 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
97071 echo $ECHO_N "(cached) $ECHO_C" >&6
97072 else
97076 ac_ext=cc
97077 ac_cpp='$CXXCPP $CPPFLAGS'
97078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97082 cat >conftest.$ac_ext <<_ACEOF
97083 /* confdefs.h. */
97084 _ACEOF
97085 cat confdefs.h >>conftest.$ac_ext
97086 cat >>conftest.$ac_ext <<_ACEOF
97087 /* end confdefs.h. */
97088 #include <math.h>
97089 #ifdef HAVE_IEEEFP_H
97090 #include <ieeefp.h>
97091 #endif
97094 main ()
97096 qfpclass(0);
97098 return 0;
97100 _ACEOF
97101 rm -f conftest.$ac_objext
97102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97103 (eval $ac_compile) 2>conftest.er1
97104 ac_status=$?
97105 grep -v '^ *+' conftest.er1 >conftest.err
97106 rm -f conftest.er1
97107 cat conftest.err >&5
97108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97109 (exit $ac_status); } &&
97110 { ac_try='test -z "$ac_cxx_werror_flag"
97111 || test ! -s conftest.err'
97112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97113 (eval $ac_try) 2>&5
97114 ac_status=$?
97115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97116 (exit $ac_status); }; } &&
97117 { ac_try='test -s conftest.$ac_objext'
97118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97119 (eval $ac_try) 2>&5
97120 ac_status=$?
97121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97122 (exit $ac_status); }; }; then
97123 glibcxx_cv_func_qfpclass_use=yes
97124 else
97125 echo "$as_me: failed program was:" >&5
97126 sed 's/^/| /' conftest.$ac_ext >&5
97128 glibcxx_cv_func_qfpclass_use=no
97130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97131 ac_ext=c
97132 ac_cpp='$CPP $CPPFLAGS'
97133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
97142 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
97144 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
97146 for ac_func in qfpclass
97148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97149 echo "$as_me:$LINENO: checking for $ac_func" >&5
97150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97151 if eval "test \"\${$as_ac_var+set}\" = set"; then
97152 echo $ECHO_N "(cached) $ECHO_C" >&6
97153 else
97154 if test x$gcc_no_link = xyes; then
97155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97157 { (exit 1); exit 1; }; }
97159 cat >conftest.$ac_ext <<_ACEOF
97160 /* confdefs.h. */
97161 _ACEOF
97162 cat confdefs.h >>conftest.$ac_ext
97163 cat >>conftest.$ac_ext <<_ACEOF
97164 /* end confdefs.h. */
97165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97167 #define $ac_func innocuous_$ac_func
97169 /* System header to define __stub macros and hopefully few prototypes,
97170 which can conflict with char $ac_func (); below.
97171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97172 <limits.h> exists even on freestanding compilers. */
97174 #ifdef __STDC__
97175 # include <limits.h>
97176 #else
97177 # include <assert.h>
97178 #endif
97180 #undef $ac_func
97182 /* Override any gcc2 internal prototype to avoid an error. */
97183 #ifdef __cplusplus
97184 extern "C"
97186 #endif
97187 /* We use char because int might match the return type of a gcc2
97188 builtin and then its argument prototype would still apply. */
97189 char $ac_func ();
97190 /* The GNU C library defines this for functions which it implements
97191 to always fail with ENOSYS. Some functions are actually named
97192 something starting with __ and the normal name is an alias. */
97193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97194 choke me
97195 #else
97196 char (*f) () = $ac_func;
97197 #endif
97198 #ifdef __cplusplus
97200 #endif
97203 main ()
97205 return f != $ac_func;
97207 return 0;
97209 _ACEOF
97210 rm -f conftest.$ac_objext conftest$ac_exeext
97211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97212 (eval $ac_link) 2>conftest.er1
97213 ac_status=$?
97214 grep -v '^ *+' conftest.er1 >conftest.err
97215 rm -f conftest.er1
97216 cat conftest.err >&5
97217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97218 (exit $ac_status); } &&
97219 { ac_try='test -z "$ac_c_werror_flag"
97220 || test ! -s conftest.err'
97221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97222 (eval $ac_try) 2>&5
97223 ac_status=$?
97224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97225 (exit $ac_status); }; } &&
97226 { ac_try='test -s conftest$ac_exeext'
97227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97228 (eval $ac_try) 2>&5
97229 ac_status=$?
97230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97231 (exit $ac_status); }; }; then
97232 eval "$as_ac_var=yes"
97233 else
97234 echo "$as_me: failed program was:" >&5
97235 sed 's/^/| /' conftest.$ac_ext >&5
97237 eval "$as_ac_var=no"
97239 rm -f conftest.err conftest.$ac_objext \
97240 conftest$ac_exeext conftest.$ac_ext
97242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97244 if test `eval echo '${'$as_ac_var'}'` = yes; then
97245 cat >>confdefs.h <<_ACEOF
97246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97247 _ACEOF
97250 done
97252 else
97254 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
97255 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
97256 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
97257 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
97258 echo $ECHO_N "(cached) $ECHO_C" >&6
97259 else
97263 ac_ext=cc
97264 ac_cpp='$CXXCPP $CPPFLAGS'
97265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97269 cat >conftest.$ac_ext <<_ACEOF
97270 /* confdefs.h. */
97271 _ACEOF
97272 cat confdefs.h >>conftest.$ac_ext
97273 cat >>conftest.$ac_ext <<_ACEOF
97274 /* end confdefs.h. */
97275 #include <math.h>
97276 #ifdef HAVE_IEEEFP_H
97277 #include <ieeefp.h>
97278 #endif
97281 main ()
97283 _qfpclass(0);
97285 return 0;
97287 _ACEOF
97288 rm -f conftest.$ac_objext
97289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97290 (eval $ac_compile) 2>conftest.er1
97291 ac_status=$?
97292 grep -v '^ *+' conftest.er1 >conftest.err
97293 rm -f conftest.er1
97294 cat conftest.err >&5
97295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97296 (exit $ac_status); } &&
97297 { ac_try='test -z "$ac_cxx_werror_flag"
97298 || test ! -s conftest.err'
97299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97300 (eval $ac_try) 2>&5
97301 ac_status=$?
97302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97303 (exit $ac_status); }; } &&
97304 { ac_try='test -s conftest.$ac_objext'
97305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97306 (eval $ac_try) 2>&5
97307 ac_status=$?
97308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97309 (exit $ac_status); }; }; then
97310 glibcxx_cv_func__qfpclass_use=yes
97311 else
97312 echo "$as_me: failed program was:" >&5
97313 sed 's/^/| /' conftest.$ac_ext >&5
97315 glibcxx_cv_func__qfpclass_use=no
97317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97318 ac_ext=c
97319 ac_cpp='$CPP $CPPFLAGS'
97320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
97329 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
97331 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
97333 for ac_func in _qfpclass
97335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97336 echo "$as_me:$LINENO: checking for $ac_func" >&5
97337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97338 if eval "test \"\${$as_ac_var+set}\" = set"; then
97339 echo $ECHO_N "(cached) $ECHO_C" >&6
97340 else
97341 if test x$gcc_no_link = xyes; then
97342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97344 { (exit 1); exit 1; }; }
97346 cat >conftest.$ac_ext <<_ACEOF
97347 /* confdefs.h. */
97348 _ACEOF
97349 cat confdefs.h >>conftest.$ac_ext
97350 cat >>conftest.$ac_ext <<_ACEOF
97351 /* end confdefs.h. */
97352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97354 #define $ac_func innocuous_$ac_func
97356 /* System header to define __stub macros and hopefully few prototypes,
97357 which can conflict with char $ac_func (); below.
97358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97359 <limits.h> exists even on freestanding compilers. */
97361 #ifdef __STDC__
97362 # include <limits.h>
97363 #else
97364 # include <assert.h>
97365 #endif
97367 #undef $ac_func
97369 /* Override any gcc2 internal prototype to avoid an error. */
97370 #ifdef __cplusplus
97371 extern "C"
97373 #endif
97374 /* We use char because int might match the return type of a gcc2
97375 builtin and then its argument prototype would still apply. */
97376 char $ac_func ();
97377 /* The GNU C library defines this for functions which it implements
97378 to always fail with ENOSYS. Some functions are actually named
97379 something starting with __ and the normal name is an alias. */
97380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97381 choke me
97382 #else
97383 char (*f) () = $ac_func;
97384 #endif
97385 #ifdef __cplusplus
97387 #endif
97390 main ()
97392 return f != $ac_func;
97394 return 0;
97396 _ACEOF
97397 rm -f conftest.$ac_objext conftest$ac_exeext
97398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97399 (eval $ac_link) 2>conftest.er1
97400 ac_status=$?
97401 grep -v '^ *+' conftest.er1 >conftest.err
97402 rm -f conftest.er1
97403 cat conftest.err >&5
97404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97405 (exit $ac_status); } &&
97406 { ac_try='test -z "$ac_c_werror_flag"
97407 || test ! -s conftest.err'
97408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97409 (eval $ac_try) 2>&5
97410 ac_status=$?
97411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97412 (exit $ac_status); }; } &&
97413 { ac_try='test -s conftest$ac_exeext'
97414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97415 (eval $ac_try) 2>&5
97416 ac_status=$?
97417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97418 (exit $ac_status); }; }; then
97419 eval "$as_ac_var=yes"
97420 else
97421 echo "$as_me: failed program was:" >&5
97422 sed 's/^/| /' conftest.$ac_ext >&5
97424 eval "$as_ac_var=no"
97426 rm -f conftest.err conftest.$ac_objext \
97427 conftest$ac_exeext conftest.$ac_ext
97429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97431 if test `eval echo '${'$as_ac_var'}'` = yes; then
97432 cat >>confdefs.h <<_ACEOF
97433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97434 _ACEOF
97437 done
97447 echo "$as_me:$LINENO: checking for hypot declaration" >&5
97448 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
97449 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
97450 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
97451 echo $ECHO_N "(cached) $ECHO_C" >&6
97452 else
97456 ac_ext=cc
97457 ac_cpp='$CXXCPP $CPPFLAGS'
97458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97462 cat >conftest.$ac_ext <<_ACEOF
97463 /* confdefs.h. */
97464 _ACEOF
97465 cat confdefs.h >>conftest.$ac_ext
97466 cat >>conftest.$ac_ext <<_ACEOF
97467 /* end confdefs.h. */
97468 #include <math.h>
97470 main ()
97472 hypot(0, 0);
97474 return 0;
97476 _ACEOF
97477 rm -f conftest.$ac_objext
97478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97479 (eval $ac_compile) 2>conftest.er1
97480 ac_status=$?
97481 grep -v '^ *+' conftest.er1 >conftest.err
97482 rm -f conftest.er1
97483 cat conftest.err >&5
97484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97485 (exit $ac_status); } &&
97486 { ac_try='test -z "$ac_cxx_werror_flag"
97487 || test ! -s conftest.err'
97488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97489 (eval $ac_try) 2>&5
97490 ac_status=$?
97491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97492 (exit $ac_status); }; } &&
97493 { ac_try='test -s conftest.$ac_objext'
97494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97495 (eval $ac_try) 2>&5
97496 ac_status=$?
97497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97498 (exit $ac_status); }; }; then
97499 glibcxx_cv_func_hypot_use=yes
97500 else
97501 echo "$as_me: failed program was:" >&5
97502 sed 's/^/| /' conftest.$ac_ext >&5
97504 glibcxx_cv_func_hypot_use=no
97506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97507 ac_ext=c
97508 ac_cpp='$CPP $CPPFLAGS'
97509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
97518 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
97520 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
97522 for ac_func in hypot
97524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97525 echo "$as_me:$LINENO: checking for $ac_func" >&5
97526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97527 if eval "test \"\${$as_ac_var+set}\" = set"; then
97528 echo $ECHO_N "(cached) $ECHO_C" >&6
97529 else
97530 if test x$gcc_no_link = xyes; then
97531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97533 { (exit 1); exit 1; }; }
97535 cat >conftest.$ac_ext <<_ACEOF
97536 /* confdefs.h. */
97537 _ACEOF
97538 cat confdefs.h >>conftest.$ac_ext
97539 cat >>conftest.$ac_ext <<_ACEOF
97540 /* end confdefs.h. */
97541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97543 #define $ac_func innocuous_$ac_func
97545 /* System header to define __stub macros and hopefully few prototypes,
97546 which can conflict with char $ac_func (); below.
97547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97548 <limits.h> exists even on freestanding compilers. */
97550 #ifdef __STDC__
97551 # include <limits.h>
97552 #else
97553 # include <assert.h>
97554 #endif
97556 #undef $ac_func
97558 /* Override any gcc2 internal prototype to avoid an error. */
97559 #ifdef __cplusplus
97560 extern "C"
97562 #endif
97563 /* We use char because int might match the return type of a gcc2
97564 builtin and then its argument prototype would still apply. */
97565 char $ac_func ();
97566 /* The GNU C library defines this for functions which it implements
97567 to always fail with ENOSYS. Some functions are actually named
97568 something starting with __ and the normal name is an alias. */
97569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97570 choke me
97571 #else
97572 char (*f) () = $ac_func;
97573 #endif
97574 #ifdef __cplusplus
97576 #endif
97579 main ()
97581 return f != $ac_func;
97583 return 0;
97585 _ACEOF
97586 rm -f conftest.$ac_objext conftest$ac_exeext
97587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97588 (eval $ac_link) 2>conftest.er1
97589 ac_status=$?
97590 grep -v '^ *+' conftest.er1 >conftest.err
97591 rm -f conftest.er1
97592 cat conftest.err >&5
97593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97594 (exit $ac_status); } &&
97595 { ac_try='test -z "$ac_c_werror_flag"
97596 || test ! -s conftest.err'
97597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97598 (eval $ac_try) 2>&5
97599 ac_status=$?
97600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97601 (exit $ac_status); }; } &&
97602 { ac_try='test -s conftest$ac_exeext'
97603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97604 (eval $ac_try) 2>&5
97605 ac_status=$?
97606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97607 (exit $ac_status); }; }; then
97608 eval "$as_ac_var=yes"
97609 else
97610 echo "$as_me: failed program was:" >&5
97611 sed 's/^/| /' conftest.$ac_ext >&5
97613 eval "$as_ac_var=no"
97615 rm -f conftest.err conftest.$ac_objext \
97616 conftest$ac_exeext conftest.$ac_ext
97618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97620 if test `eval echo '${'$as_ac_var'}'` = yes; then
97621 cat >>confdefs.h <<_ACEOF
97622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97623 _ACEOF
97626 done
97628 else
97630 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
97631 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
97632 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
97633 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
97634 echo $ECHO_N "(cached) $ECHO_C" >&6
97635 else
97639 ac_ext=cc
97640 ac_cpp='$CXXCPP $CPPFLAGS'
97641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97645 cat >conftest.$ac_ext <<_ACEOF
97646 /* confdefs.h. */
97647 _ACEOF
97648 cat confdefs.h >>conftest.$ac_ext
97649 cat >>conftest.$ac_ext <<_ACEOF
97650 /* end confdefs.h. */
97651 #include <math.h>
97653 main ()
97655 _hypot(0, 0);
97657 return 0;
97659 _ACEOF
97660 rm -f conftest.$ac_objext
97661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97662 (eval $ac_compile) 2>conftest.er1
97663 ac_status=$?
97664 grep -v '^ *+' conftest.er1 >conftest.err
97665 rm -f conftest.er1
97666 cat conftest.err >&5
97667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97668 (exit $ac_status); } &&
97669 { ac_try='test -z "$ac_cxx_werror_flag"
97670 || test ! -s conftest.err'
97671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97672 (eval $ac_try) 2>&5
97673 ac_status=$?
97674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97675 (exit $ac_status); }; } &&
97676 { ac_try='test -s conftest.$ac_objext'
97677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97678 (eval $ac_try) 2>&5
97679 ac_status=$?
97680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97681 (exit $ac_status); }; }; then
97682 glibcxx_cv_func__hypot_use=yes
97683 else
97684 echo "$as_me: failed program was:" >&5
97685 sed 's/^/| /' conftest.$ac_ext >&5
97687 glibcxx_cv_func__hypot_use=no
97689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97690 ac_ext=c
97691 ac_cpp='$CPP $CPPFLAGS'
97692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
97701 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
97703 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
97705 for ac_func in _hypot
97707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97708 echo "$as_me:$LINENO: checking for $ac_func" >&5
97709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97710 if eval "test \"\${$as_ac_var+set}\" = set"; then
97711 echo $ECHO_N "(cached) $ECHO_C" >&6
97712 else
97713 if test x$gcc_no_link = xyes; then
97714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97716 { (exit 1); exit 1; }; }
97718 cat >conftest.$ac_ext <<_ACEOF
97719 /* confdefs.h. */
97720 _ACEOF
97721 cat confdefs.h >>conftest.$ac_ext
97722 cat >>conftest.$ac_ext <<_ACEOF
97723 /* end confdefs.h. */
97724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97726 #define $ac_func innocuous_$ac_func
97728 /* System header to define __stub macros and hopefully few prototypes,
97729 which can conflict with char $ac_func (); below.
97730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97731 <limits.h> exists even on freestanding compilers. */
97733 #ifdef __STDC__
97734 # include <limits.h>
97735 #else
97736 # include <assert.h>
97737 #endif
97739 #undef $ac_func
97741 /* Override any gcc2 internal prototype to avoid an error. */
97742 #ifdef __cplusplus
97743 extern "C"
97745 #endif
97746 /* We use char because int might match the return type of a gcc2
97747 builtin and then its argument prototype would still apply. */
97748 char $ac_func ();
97749 /* The GNU C library defines this for functions which it implements
97750 to always fail with ENOSYS. Some functions are actually named
97751 something starting with __ and the normal name is an alias. */
97752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97753 choke me
97754 #else
97755 char (*f) () = $ac_func;
97756 #endif
97757 #ifdef __cplusplus
97759 #endif
97762 main ()
97764 return f != $ac_func;
97766 return 0;
97768 _ACEOF
97769 rm -f conftest.$ac_objext conftest$ac_exeext
97770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97771 (eval $ac_link) 2>conftest.er1
97772 ac_status=$?
97773 grep -v '^ *+' conftest.er1 >conftest.err
97774 rm -f conftest.er1
97775 cat conftest.err >&5
97776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97777 (exit $ac_status); } &&
97778 { ac_try='test -z "$ac_c_werror_flag"
97779 || test ! -s conftest.err'
97780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97781 (eval $ac_try) 2>&5
97782 ac_status=$?
97783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97784 (exit $ac_status); }; } &&
97785 { ac_try='test -s conftest$ac_exeext'
97786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97787 (eval $ac_try) 2>&5
97788 ac_status=$?
97789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97790 (exit $ac_status); }; }; then
97791 eval "$as_ac_var=yes"
97792 else
97793 echo "$as_me: failed program was:" >&5
97794 sed 's/^/| /' conftest.$ac_ext >&5
97796 eval "$as_ac_var=no"
97798 rm -f conftest.err conftest.$ac_objext \
97799 conftest$ac_exeext conftest.$ac_ext
97801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97803 if test `eval echo '${'$as_ac_var'}'` = yes; then
97804 cat >>confdefs.h <<_ACEOF
97805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97806 _ACEOF
97809 done
97819 echo "$as_me:$LINENO: checking for float trig functions" >&5
97820 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
97821 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
97822 echo $ECHO_N "(cached) $ECHO_C" >&6
97823 else
97827 ac_ext=cc
97828 ac_cpp='$CXXCPP $CPPFLAGS'
97829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97833 cat >conftest.$ac_ext <<_ACEOF
97834 /* confdefs.h. */
97835 _ACEOF
97836 cat confdefs.h >>conftest.$ac_ext
97837 cat >>conftest.$ac_ext <<_ACEOF
97838 /* end confdefs.h. */
97839 #include <math.h>
97841 main ()
97843 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
97845 return 0;
97847 _ACEOF
97848 rm -f conftest.$ac_objext
97849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97850 (eval $ac_compile) 2>conftest.er1
97851 ac_status=$?
97852 grep -v '^ *+' conftest.er1 >conftest.err
97853 rm -f conftest.er1
97854 cat conftest.err >&5
97855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97856 (exit $ac_status); } &&
97857 { ac_try='test -z "$ac_cxx_werror_flag"
97858 || test ! -s conftest.err'
97859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97860 (eval $ac_try) 2>&5
97861 ac_status=$?
97862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97863 (exit $ac_status); }; } &&
97864 { ac_try='test -s conftest.$ac_objext'
97865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97866 (eval $ac_try) 2>&5
97867 ac_status=$?
97868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97869 (exit $ac_status); }; }; then
97870 glibcxx_cv_func_float_trig_use=yes
97871 else
97872 echo "$as_me: failed program was:" >&5
97873 sed 's/^/| /' conftest.$ac_ext >&5
97875 glibcxx_cv_func_float_trig_use=no
97877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97878 ac_ext=c
97879 ac_cpp='$CPP $CPPFLAGS'
97880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
97887 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
97888 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
97898 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
97900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97901 echo "$as_me:$LINENO: checking for $ac_func" >&5
97902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97903 if eval "test \"\${$as_ac_var+set}\" = set"; then
97904 echo $ECHO_N "(cached) $ECHO_C" >&6
97905 else
97906 if test x$gcc_no_link = xyes; then
97907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97909 { (exit 1); exit 1; }; }
97911 cat >conftest.$ac_ext <<_ACEOF
97912 /* confdefs.h. */
97913 _ACEOF
97914 cat confdefs.h >>conftest.$ac_ext
97915 cat >>conftest.$ac_ext <<_ACEOF
97916 /* end confdefs.h. */
97917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97919 #define $ac_func innocuous_$ac_func
97921 /* System header to define __stub macros and hopefully few prototypes,
97922 which can conflict with char $ac_func (); below.
97923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97924 <limits.h> exists even on freestanding compilers. */
97926 #ifdef __STDC__
97927 # include <limits.h>
97928 #else
97929 # include <assert.h>
97930 #endif
97932 #undef $ac_func
97934 /* Override any gcc2 internal prototype to avoid an error. */
97935 #ifdef __cplusplus
97936 extern "C"
97938 #endif
97939 /* We use char because int might match the return type of a gcc2
97940 builtin and then its argument prototype would still apply. */
97941 char $ac_func ();
97942 /* The GNU C library defines this for functions which it implements
97943 to always fail with ENOSYS. Some functions are actually named
97944 something starting with __ and the normal name is an alias. */
97945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97946 choke me
97947 #else
97948 char (*f) () = $ac_func;
97949 #endif
97950 #ifdef __cplusplus
97952 #endif
97955 main ()
97957 return f != $ac_func;
97959 return 0;
97961 _ACEOF
97962 rm -f conftest.$ac_objext conftest$ac_exeext
97963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97964 (eval $ac_link) 2>conftest.er1
97965 ac_status=$?
97966 grep -v '^ *+' conftest.er1 >conftest.err
97967 rm -f conftest.er1
97968 cat conftest.err >&5
97969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97970 (exit $ac_status); } &&
97971 { ac_try='test -z "$ac_c_werror_flag"
97972 || test ! -s conftest.err'
97973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97974 (eval $ac_try) 2>&5
97975 ac_status=$?
97976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97977 (exit $ac_status); }; } &&
97978 { ac_try='test -s conftest$ac_exeext'
97979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97980 (eval $ac_try) 2>&5
97981 ac_status=$?
97982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97983 (exit $ac_status); }; }; then
97984 eval "$as_ac_var=yes"
97985 else
97986 echo "$as_me: failed program was:" >&5
97987 sed 's/^/| /' conftest.$ac_ext >&5
97989 eval "$as_ac_var=no"
97991 rm -f conftest.err conftest.$ac_objext \
97992 conftest$ac_exeext conftest.$ac_ext
97994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97996 if test `eval echo '${'$as_ac_var'}'` = yes; then
97997 cat >>confdefs.h <<_ACEOF
97998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97999 _ACEOF
98002 done
98004 else
98005 echo "$as_me:$LINENO: checking for _float trig functions" >&5
98006 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
98007 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
98008 echo $ECHO_N "(cached) $ECHO_C" >&6
98009 else
98013 ac_ext=cc
98014 ac_cpp='$CXXCPP $CPPFLAGS'
98015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98019 cat >conftest.$ac_ext <<_ACEOF
98020 /* confdefs.h. */
98021 _ACEOF
98022 cat confdefs.h >>conftest.$ac_ext
98023 cat >>conftest.$ac_ext <<_ACEOF
98024 /* end confdefs.h. */
98025 #include <math.h>
98027 main ()
98029 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
98031 return 0;
98033 _ACEOF
98034 rm -f conftest.$ac_objext
98035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98036 (eval $ac_compile) 2>conftest.er1
98037 ac_status=$?
98038 grep -v '^ *+' conftest.er1 >conftest.err
98039 rm -f conftest.er1
98040 cat conftest.err >&5
98041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98042 (exit $ac_status); } &&
98043 { ac_try='test -z "$ac_cxx_werror_flag"
98044 || test ! -s conftest.err'
98045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98046 (eval $ac_try) 2>&5
98047 ac_status=$?
98048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98049 (exit $ac_status); }; } &&
98050 { ac_try='test -s conftest.$ac_objext'
98051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98052 (eval $ac_try) 2>&5
98053 ac_status=$?
98054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98055 (exit $ac_status); }; }; then
98056 glibcxx_cv_func__float_trig_use=yes
98057 else
98058 echo "$as_me: failed program was:" >&5
98059 sed 's/^/| /' conftest.$ac_ext >&5
98061 glibcxx_cv_func__float_trig_use=no
98063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98064 ac_ext=c
98065 ac_cpp='$CPP $CPPFLAGS'
98066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
98073 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
98074 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
98084 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
98086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98087 echo "$as_me:$LINENO: checking for $ac_func" >&5
98088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98089 if eval "test \"\${$as_ac_var+set}\" = set"; then
98090 echo $ECHO_N "(cached) $ECHO_C" >&6
98091 else
98092 if test x$gcc_no_link = xyes; then
98093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98095 { (exit 1); exit 1; }; }
98097 cat >conftest.$ac_ext <<_ACEOF
98098 /* confdefs.h. */
98099 _ACEOF
98100 cat confdefs.h >>conftest.$ac_ext
98101 cat >>conftest.$ac_ext <<_ACEOF
98102 /* end confdefs.h. */
98103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98105 #define $ac_func innocuous_$ac_func
98107 /* System header to define __stub macros and hopefully few prototypes,
98108 which can conflict with char $ac_func (); below.
98109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98110 <limits.h> exists even on freestanding compilers. */
98112 #ifdef __STDC__
98113 # include <limits.h>
98114 #else
98115 # include <assert.h>
98116 #endif
98118 #undef $ac_func
98120 /* Override any gcc2 internal prototype to avoid an error. */
98121 #ifdef __cplusplus
98122 extern "C"
98124 #endif
98125 /* We use char because int might match the return type of a gcc2
98126 builtin and then its argument prototype would still apply. */
98127 char $ac_func ();
98128 /* The GNU C library defines this for functions which it implements
98129 to always fail with ENOSYS. Some functions are actually named
98130 something starting with __ and the normal name is an alias. */
98131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98132 choke me
98133 #else
98134 char (*f) () = $ac_func;
98135 #endif
98136 #ifdef __cplusplus
98138 #endif
98141 main ()
98143 return f != $ac_func;
98145 return 0;
98147 _ACEOF
98148 rm -f conftest.$ac_objext conftest$ac_exeext
98149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98150 (eval $ac_link) 2>conftest.er1
98151 ac_status=$?
98152 grep -v '^ *+' conftest.er1 >conftest.err
98153 rm -f conftest.er1
98154 cat conftest.err >&5
98155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98156 (exit $ac_status); } &&
98157 { ac_try='test -z "$ac_c_werror_flag"
98158 || test ! -s conftest.err'
98159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98160 (eval $ac_try) 2>&5
98161 ac_status=$?
98162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163 (exit $ac_status); }; } &&
98164 { ac_try='test -s conftest$ac_exeext'
98165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98166 (eval $ac_try) 2>&5
98167 ac_status=$?
98168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98169 (exit $ac_status); }; }; then
98170 eval "$as_ac_var=yes"
98171 else
98172 echo "$as_me: failed program was:" >&5
98173 sed 's/^/| /' conftest.$ac_ext >&5
98175 eval "$as_ac_var=no"
98177 rm -f conftest.err conftest.$ac_objext \
98178 conftest$ac_exeext conftest.$ac_ext
98180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98182 if test `eval echo '${'$as_ac_var'}'` = yes; then
98183 cat >>confdefs.h <<_ACEOF
98184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98185 _ACEOF
98188 done
98206 echo "$as_me:$LINENO: checking for float round functions" >&5
98207 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
98208 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
98209 echo $ECHO_N "(cached) $ECHO_C" >&6
98210 else
98214 ac_ext=cc
98215 ac_cpp='$CXXCPP $CPPFLAGS'
98216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98220 cat >conftest.$ac_ext <<_ACEOF
98221 /* confdefs.h. */
98222 _ACEOF
98223 cat confdefs.h >>conftest.$ac_ext
98224 cat >>conftest.$ac_ext <<_ACEOF
98225 /* end confdefs.h. */
98226 #include <math.h>
98228 main ()
98230 ceilf (0); floorf (0);
98232 return 0;
98234 _ACEOF
98235 rm -f conftest.$ac_objext
98236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98237 (eval $ac_compile) 2>conftest.er1
98238 ac_status=$?
98239 grep -v '^ *+' conftest.er1 >conftest.err
98240 rm -f conftest.er1
98241 cat conftest.err >&5
98242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98243 (exit $ac_status); } &&
98244 { ac_try='test -z "$ac_cxx_werror_flag"
98245 || test ! -s conftest.err'
98246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98247 (eval $ac_try) 2>&5
98248 ac_status=$?
98249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98250 (exit $ac_status); }; } &&
98251 { ac_try='test -s conftest.$ac_objext'
98252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98253 (eval $ac_try) 2>&5
98254 ac_status=$?
98255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98256 (exit $ac_status); }; }; then
98257 glibcxx_cv_func_float_round_use=yes
98258 else
98259 echo "$as_me: failed program was:" >&5
98260 sed 's/^/| /' conftest.$ac_ext >&5
98262 glibcxx_cv_func_float_round_use=no
98264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98265 ac_ext=c
98266 ac_cpp='$CPP $CPPFLAGS'
98267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
98274 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
98275 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
98278 for ac_func in ceilf floorf
98280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98281 echo "$as_me:$LINENO: checking for $ac_func" >&5
98282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98283 if eval "test \"\${$as_ac_var+set}\" = set"; then
98284 echo $ECHO_N "(cached) $ECHO_C" >&6
98285 else
98286 if test x$gcc_no_link = xyes; then
98287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98289 { (exit 1); exit 1; }; }
98291 cat >conftest.$ac_ext <<_ACEOF
98292 /* confdefs.h. */
98293 _ACEOF
98294 cat confdefs.h >>conftest.$ac_ext
98295 cat >>conftest.$ac_ext <<_ACEOF
98296 /* end confdefs.h. */
98297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98299 #define $ac_func innocuous_$ac_func
98301 /* System header to define __stub macros and hopefully few prototypes,
98302 which can conflict with char $ac_func (); below.
98303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98304 <limits.h> exists even on freestanding compilers. */
98306 #ifdef __STDC__
98307 # include <limits.h>
98308 #else
98309 # include <assert.h>
98310 #endif
98312 #undef $ac_func
98314 /* Override any gcc2 internal prototype to avoid an error. */
98315 #ifdef __cplusplus
98316 extern "C"
98318 #endif
98319 /* We use char because int might match the return type of a gcc2
98320 builtin and then its argument prototype would still apply. */
98321 char $ac_func ();
98322 /* The GNU C library defines this for functions which it implements
98323 to always fail with ENOSYS. Some functions are actually named
98324 something starting with __ and the normal name is an alias. */
98325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98326 choke me
98327 #else
98328 char (*f) () = $ac_func;
98329 #endif
98330 #ifdef __cplusplus
98332 #endif
98335 main ()
98337 return f != $ac_func;
98339 return 0;
98341 _ACEOF
98342 rm -f conftest.$ac_objext conftest$ac_exeext
98343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98344 (eval $ac_link) 2>conftest.er1
98345 ac_status=$?
98346 grep -v '^ *+' conftest.er1 >conftest.err
98347 rm -f conftest.er1
98348 cat conftest.err >&5
98349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98350 (exit $ac_status); } &&
98351 { ac_try='test -z "$ac_c_werror_flag"
98352 || test ! -s conftest.err'
98353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98354 (eval $ac_try) 2>&5
98355 ac_status=$?
98356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98357 (exit $ac_status); }; } &&
98358 { ac_try='test -s conftest$ac_exeext'
98359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98360 (eval $ac_try) 2>&5
98361 ac_status=$?
98362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98363 (exit $ac_status); }; }; then
98364 eval "$as_ac_var=yes"
98365 else
98366 echo "$as_me: failed program was:" >&5
98367 sed 's/^/| /' conftest.$ac_ext >&5
98369 eval "$as_ac_var=no"
98371 rm -f conftest.err conftest.$ac_objext \
98372 conftest$ac_exeext conftest.$ac_ext
98374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98376 if test `eval echo '${'$as_ac_var'}'` = yes; then
98377 cat >>confdefs.h <<_ACEOF
98378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98379 _ACEOF
98382 done
98384 else
98385 echo "$as_me:$LINENO: checking for _float round functions" >&5
98386 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
98387 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
98388 echo $ECHO_N "(cached) $ECHO_C" >&6
98389 else
98393 ac_ext=cc
98394 ac_cpp='$CXXCPP $CPPFLAGS'
98395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98399 cat >conftest.$ac_ext <<_ACEOF
98400 /* confdefs.h. */
98401 _ACEOF
98402 cat confdefs.h >>conftest.$ac_ext
98403 cat >>conftest.$ac_ext <<_ACEOF
98404 /* end confdefs.h. */
98405 #include <math.h>
98407 main ()
98409 _ceilf (0); _floorf (0);
98411 return 0;
98413 _ACEOF
98414 rm -f conftest.$ac_objext
98415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98416 (eval $ac_compile) 2>conftest.er1
98417 ac_status=$?
98418 grep -v '^ *+' conftest.er1 >conftest.err
98419 rm -f conftest.er1
98420 cat conftest.err >&5
98421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98422 (exit $ac_status); } &&
98423 { ac_try='test -z "$ac_cxx_werror_flag"
98424 || test ! -s conftest.err'
98425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98426 (eval $ac_try) 2>&5
98427 ac_status=$?
98428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98429 (exit $ac_status); }; } &&
98430 { ac_try='test -s conftest.$ac_objext'
98431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98432 (eval $ac_try) 2>&5
98433 ac_status=$?
98434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98435 (exit $ac_status); }; }; then
98436 glibcxx_cv_func__float_round_use=yes
98437 else
98438 echo "$as_me: failed program was:" >&5
98439 sed 's/^/| /' conftest.$ac_ext >&5
98441 glibcxx_cv_func__float_round_use=no
98443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98444 ac_ext=c
98445 ac_cpp='$CPP $CPPFLAGS'
98446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
98453 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
98454 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
98457 for ac_func in _ceilf _floorf
98459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98460 echo "$as_me:$LINENO: checking for $ac_func" >&5
98461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98462 if eval "test \"\${$as_ac_var+set}\" = set"; then
98463 echo $ECHO_N "(cached) $ECHO_C" >&6
98464 else
98465 if test x$gcc_no_link = xyes; then
98466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98468 { (exit 1); exit 1; }; }
98470 cat >conftest.$ac_ext <<_ACEOF
98471 /* confdefs.h. */
98472 _ACEOF
98473 cat confdefs.h >>conftest.$ac_ext
98474 cat >>conftest.$ac_ext <<_ACEOF
98475 /* end confdefs.h. */
98476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98478 #define $ac_func innocuous_$ac_func
98480 /* System header to define __stub macros and hopefully few prototypes,
98481 which can conflict with char $ac_func (); below.
98482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98483 <limits.h> exists even on freestanding compilers. */
98485 #ifdef __STDC__
98486 # include <limits.h>
98487 #else
98488 # include <assert.h>
98489 #endif
98491 #undef $ac_func
98493 /* Override any gcc2 internal prototype to avoid an error. */
98494 #ifdef __cplusplus
98495 extern "C"
98497 #endif
98498 /* We use char because int might match the return type of a gcc2
98499 builtin and then its argument prototype would still apply. */
98500 char $ac_func ();
98501 /* The GNU C library defines this for functions which it implements
98502 to always fail with ENOSYS. Some functions are actually named
98503 something starting with __ and the normal name is an alias. */
98504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98505 choke me
98506 #else
98507 char (*f) () = $ac_func;
98508 #endif
98509 #ifdef __cplusplus
98511 #endif
98514 main ()
98516 return f != $ac_func;
98518 return 0;
98520 _ACEOF
98521 rm -f conftest.$ac_objext conftest$ac_exeext
98522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98523 (eval $ac_link) 2>conftest.er1
98524 ac_status=$?
98525 grep -v '^ *+' conftest.er1 >conftest.err
98526 rm -f conftest.er1
98527 cat conftest.err >&5
98528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98529 (exit $ac_status); } &&
98530 { ac_try='test -z "$ac_c_werror_flag"
98531 || test ! -s conftest.err'
98532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98533 (eval $ac_try) 2>&5
98534 ac_status=$?
98535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98536 (exit $ac_status); }; } &&
98537 { ac_try='test -s conftest$ac_exeext'
98538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98539 (eval $ac_try) 2>&5
98540 ac_status=$?
98541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98542 (exit $ac_status); }; }; then
98543 eval "$as_ac_var=yes"
98544 else
98545 echo "$as_me: failed program was:" >&5
98546 sed 's/^/| /' conftest.$ac_ext >&5
98548 eval "$as_ac_var=no"
98550 rm -f conftest.err conftest.$ac_objext \
98551 conftest$ac_exeext conftest.$ac_ext
98553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98555 if test `eval echo '${'$as_ac_var'}'` = yes; then
98556 cat >>confdefs.h <<_ACEOF
98557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98558 _ACEOF
98561 done
98573 echo "$as_me:$LINENO: checking for expf declaration" >&5
98574 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
98575 if test x${glibcxx_cv_func_expf_use+set} != xset; then
98576 if test "${glibcxx_cv_func_expf_use+set}" = set; then
98577 echo $ECHO_N "(cached) $ECHO_C" >&6
98578 else
98582 ac_ext=cc
98583 ac_cpp='$CXXCPP $CPPFLAGS'
98584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98588 cat >conftest.$ac_ext <<_ACEOF
98589 /* confdefs.h. */
98590 _ACEOF
98591 cat confdefs.h >>conftest.$ac_ext
98592 cat >>conftest.$ac_ext <<_ACEOF
98593 /* end confdefs.h. */
98594 #include <math.h>
98595 #ifdef HAVE_IEEEFP_H
98596 #include <ieeefp.h>
98597 #endif
98600 main ()
98602 expf(0);
98604 return 0;
98606 _ACEOF
98607 rm -f conftest.$ac_objext
98608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98609 (eval $ac_compile) 2>conftest.er1
98610 ac_status=$?
98611 grep -v '^ *+' conftest.er1 >conftest.err
98612 rm -f conftest.er1
98613 cat conftest.err >&5
98614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98615 (exit $ac_status); } &&
98616 { ac_try='test -z "$ac_cxx_werror_flag"
98617 || test ! -s conftest.err'
98618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98619 (eval $ac_try) 2>&5
98620 ac_status=$?
98621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98622 (exit $ac_status); }; } &&
98623 { ac_try='test -s conftest.$ac_objext'
98624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98625 (eval $ac_try) 2>&5
98626 ac_status=$?
98627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98628 (exit $ac_status); }; }; then
98629 glibcxx_cv_func_expf_use=yes
98630 else
98631 echo "$as_me: failed program was:" >&5
98632 sed 's/^/| /' conftest.$ac_ext >&5
98634 glibcxx_cv_func_expf_use=no
98636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98637 ac_ext=c
98638 ac_cpp='$CPP $CPPFLAGS'
98639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
98648 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
98650 if test x$glibcxx_cv_func_expf_use = x"yes"; then
98652 for ac_func in expf
98654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98655 echo "$as_me:$LINENO: checking for $ac_func" >&5
98656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98657 if eval "test \"\${$as_ac_var+set}\" = set"; then
98658 echo $ECHO_N "(cached) $ECHO_C" >&6
98659 else
98660 if test x$gcc_no_link = xyes; then
98661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98663 { (exit 1); exit 1; }; }
98665 cat >conftest.$ac_ext <<_ACEOF
98666 /* confdefs.h. */
98667 _ACEOF
98668 cat confdefs.h >>conftest.$ac_ext
98669 cat >>conftest.$ac_ext <<_ACEOF
98670 /* end confdefs.h. */
98671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98673 #define $ac_func innocuous_$ac_func
98675 /* System header to define __stub macros and hopefully few prototypes,
98676 which can conflict with char $ac_func (); below.
98677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98678 <limits.h> exists even on freestanding compilers. */
98680 #ifdef __STDC__
98681 # include <limits.h>
98682 #else
98683 # include <assert.h>
98684 #endif
98686 #undef $ac_func
98688 /* Override any gcc2 internal prototype to avoid an error. */
98689 #ifdef __cplusplus
98690 extern "C"
98692 #endif
98693 /* We use char because int might match the return type of a gcc2
98694 builtin and then its argument prototype would still apply. */
98695 char $ac_func ();
98696 /* The GNU C library defines this for functions which it implements
98697 to always fail with ENOSYS. Some functions are actually named
98698 something starting with __ and the normal name is an alias. */
98699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98700 choke me
98701 #else
98702 char (*f) () = $ac_func;
98703 #endif
98704 #ifdef __cplusplus
98706 #endif
98709 main ()
98711 return f != $ac_func;
98713 return 0;
98715 _ACEOF
98716 rm -f conftest.$ac_objext conftest$ac_exeext
98717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98718 (eval $ac_link) 2>conftest.er1
98719 ac_status=$?
98720 grep -v '^ *+' conftest.er1 >conftest.err
98721 rm -f conftest.er1
98722 cat conftest.err >&5
98723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98724 (exit $ac_status); } &&
98725 { ac_try='test -z "$ac_c_werror_flag"
98726 || test ! -s conftest.err'
98727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98728 (eval $ac_try) 2>&5
98729 ac_status=$?
98730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98731 (exit $ac_status); }; } &&
98732 { ac_try='test -s conftest$ac_exeext'
98733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98734 (eval $ac_try) 2>&5
98735 ac_status=$?
98736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98737 (exit $ac_status); }; }; then
98738 eval "$as_ac_var=yes"
98739 else
98740 echo "$as_me: failed program was:" >&5
98741 sed 's/^/| /' conftest.$ac_ext >&5
98743 eval "$as_ac_var=no"
98745 rm -f conftest.err conftest.$ac_objext \
98746 conftest$ac_exeext conftest.$ac_ext
98748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98750 if test `eval echo '${'$as_ac_var'}'` = yes; then
98751 cat >>confdefs.h <<_ACEOF
98752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98753 _ACEOF
98756 done
98758 else
98760 echo "$as_me:$LINENO: checking for _expf declaration" >&5
98761 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
98762 if test x${glibcxx_cv_func__expf_use+set} != xset; then
98763 if test "${glibcxx_cv_func__expf_use+set}" = set; then
98764 echo $ECHO_N "(cached) $ECHO_C" >&6
98765 else
98769 ac_ext=cc
98770 ac_cpp='$CXXCPP $CPPFLAGS'
98771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98775 cat >conftest.$ac_ext <<_ACEOF
98776 /* confdefs.h. */
98777 _ACEOF
98778 cat confdefs.h >>conftest.$ac_ext
98779 cat >>conftest.$ac_ext <<_ACEOF
98780 /* end confdefs.h. */
98781 #include <math.h>
98782 #ifdef HAVE_IEEEFP_H
98783 #include <ieeefp.h>
98784 #endif
98787 main ()
98789 _expf(0);
98791 return 0;
98793 _ACEOF
98794 rm -f conftest.$ac_objext
98795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98796 (eval $ac_compile) 2>conftest.er1
98797 ac_status=$?
98798 grep -v '^ *+' conftest.er1 >conftest.err
98799 rm -f conftest.er1
98800 cat conftest.err >&5
98801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98802 (exit $ac_status); } &&
98803 { ac_try='test -z "$ac_cxx_werror_flag"
98804 || test ! -s conftest.err'
98805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98806 (eval $ac_try) 2>&5
98807 ac_status=$?
98808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98809 (exit $ac_status); }; } &&
98810 { ac_try='test -s conftest.$ac_objext'
98811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98812 (eval $ac_try) 2>&5
98813 ac_status=$?
98814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98815 (exit $ac_status); }; }; then
98816 glibcxx_cv_func__expf_use=yes
98817 else
98818 echo "$as_me: failed program was:" >&5
98819 sed 's/^/| /' conftest.$ac_ext >&5
98821 glibcxx_cv_func__expf_use=no
98823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98824 ac_ext=c
98825 ac_cpp='$CPP $CPPFLAGS'
98826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
98835 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
98837 if test x$glibcxx_cv_func__expf_use = x"yes"; then
98839 for ac_func in _expf
98841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98842 echo "$as_me:$LINENO: checking for $ac_func" >&5
98843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98844 if eval "test \"\${$as_ac_var+set}\" = set"; then
98845 echo $ECHO_N "(cached) $ECHO_C" >&6
98846 else
98847 if test x$gcc_no_link = xyes; then
98848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98850 { (exit 1); exit 1; }; }
98852 cat >conftest.$ac_ext <<_ACEOF
98853 /* confdefs.h. */
98854 _ACEOF
98855 cat confdefs.h >>conftest.$ac_ext
98856 cat >>conftest.$ac_ext <<_ACEOF
98857 /* end confdefs.h. */
98858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98860 #define $ac_func innocuous_$ac_func
98862 /* System header to define __stub macros and hopefully few prototypes,
98863 which can conflict with char $ac_func (); below.
98864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98865 <limits.h> exists even on freestanding compilers. */
98867 #ifdef __STDC__
98868 # include <limits.h>
98869 #else
98870 # include <assert.h>
98871 #endif
98873 #undef $ac_func
98875 /* Override any gcc2 internal prototype to avoid an error. */
98876 #ifdef __cplusplus
98877 extern "C"
98879 #endif
98880 /* We use char because int might match the return type of a gcc2
98881 builtin and then its argument prototype would still apply. */
98882 char $ac_func ();
98883 /* The GNU C library defines this for functions which it implements
98884 to always fail with ENOSYS. Some functions are actually named
98885 something starting with __ and the normal name is an alias. */
98886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98887 choke me
98888 #else
98889 char (*f) () = $ac_func;
98890 #endif
98891 #ifdef __cplusplus
98893 #endif
98896 main ()
98898 return f != $ac_func;
98900 return 0;
98902 _ACEOF
98903 rm -f conftest.$ac_objext conftest$ac_exeext
98904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98905 (eval $ac_link) 2>conftest.er1
98906 ac_status=$?
98907 grep -v '^ *+' conftest.er1 >conftest.err
98908 rm -f conftest.er1
98909 cat conftest.err >&5
98910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98911 (exit $ac_status); } &&
98912 { ac_try='test -z "$ac_c_werror_flag"
98913 || test ! -s conftest.err'
98914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98915 (eval $ac_try) 2>&5
98916 ac_status=$?
98917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98918 (exit $ac_status); }; } &&
98919 { ac_try='test -s conftest$ac_exeext'
98920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98921 (eval $ac_try) 2>&5
98922 ac_status=$?
98923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98924 (exit $ac_status); }; }; then
98925 eval "$as_ac_var=yes"
98926 else
98927 echo "$as_me: failed program was:" >&5
98928 sed 's/^/| /' conftest.$ac_ext >&5
98930 eval "$as_ac_var=no"
98932 rm -f conftest.err conftest.$ac_objext \
98933 conftest$ac_exeext conftest.$ac_ext
98935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98937 if test `eval echo '${'$as_ac_var'}'` = yes; then
98938 cat >>confdefs.h <<_ACEOF
98939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98940 _ACEOF
98943 done
98953 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
98954 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
98955 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
98956 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
98957 echo $ECHO_N "(cached) $ECHO_C" >&6
98958 else
98962 ac_ext=cc
98963 ac_cpp='$CXXCPP $CPPFLAGS'
98964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98968 cat >conftest.$ac_ext <<_ACEOF
98969 /* confdefs.h. */
98970 _ACEOF
98971 cat confdefs.h >>conftest.$ac_ext
98972 cat >>conftest.$ac_ext <<_ACEOF
98973 /* end confdefs.h. */
98974 #include <math.h>
98975 #ifdef HAVE_IEEEFP_H
98976 #include <ieeefp.h>
98977 #endif
98980 main ()
98982 isnanf(0);
98984 return 0;
98986 _ACEOF
98987 rm -f conftest.$ac_objext
98988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98989 (eval $ac_compile) 2>conftest.er1
98990 ac_status=$?
98991 grep -v '^ *+' conftest.er1 >conftest.err
98992 rm -f conftest.er1
98993 cat conftest.err >&5
98994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98995 (exit $ac_status); } &&
98996 { ac_try='test -z "$ac_cxx_werror_flag"
98997 || test ! -s conftest.err'
98998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98999 (eval $ac_try) 2>&5
99000 ac_status=$?
99001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99002 (exit $ac_status); }; } &&
99003 { ac_try='test -s conftest.$ac_objext'
99004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99005 (eval $ac_try) 2>&5
99006 ac_status=$?
99007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99008 (exit $ac_status); }; }; then
99009 glibcxx_cv_func_isnanf_use=yes
99010 else
99011 echo "$as_me: failed program was:" >&5
99012 sed 's/^/| /' conftest.$ac_ext >&5
99014 glibcxx_cv_func_isnanf_use=no
99016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99017 ac_ext=c
99018 ac_cpp='$CPP $CPPFLAGS'
99019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
99028 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
99030 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
99032 for ac_func in isnanf
99034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99035 echo "$as_me:$LINENO: checking for $ac_func" >&5
99036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99037 if eval "test \"\${$as_ac_var+set}\" = set"; then
99038 echo $ECHO_N "(cached) $ECHO_C" >&6
99039 else
99040 if test x$gcc_no_link = xyes; then
99041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99043 { (exit 1); exit 1; }; }
99045 cat >conftest.$ac_ext <<_ACEOF
99046 /* confdefs.h. */
99047 _ACEOF
99048 cat confdefs.h >>conftest.$ac_ext
99049 cat >>conftest.$ac_ext <<_ACEOF
99050 /* end confdefs.h. */
99051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99053 #define $ac_func innocuous_$ac_func
99055 /* System header to define __stub macros and hopefully few prototypes,
99056 which can conflict with char $ac_func (); below.
99057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99058 <limits.h> exists even on freestanding compilers. */
99060 #ifdef __STDC__
99061 # include <limits.h>
99062 #else
99063 # include <assert.h>
99064 #endif
99066 #undef $ac_func
99068 /* Override any gcc2 internal prototype to avoid an error. */
99069 #ifdef __cplusplus
99070 extern "C"
99072 #endif
99073 /* We use char because int might match the return type of a gcc2
99074 builtin and then its argument prototype would still apply. */
99075 char $ac_func ();
99076 /* The GNU C library defines this for functions which it implements
99077 to always fail with ENOSYS. Some functions are actually named
99078 something starting with __ and the normal name is an alias. */
99079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99080 choke me
99081 #else
99082 char (*f) () = $ac_func;
99083 #endif
99084 #ifdef __cplusplus
99086 #endif
99089 main ()
99091 return f != $ac_func;
99093 return 0;
99095 _ACEOF
99096 rm -f conftest.$ac_objext conftest$ac_exeext
99097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99098 (eval $ac_link) 2>conftest.er1
99099 ac_status=$?
99100 grep -v '^ *+' conftest.er1 >conftest.err
99101 rm -f conftest.er1
99102 cat conftest.err >&5
99103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99104 (exit $ac_status); } &&
99105 { ac_try='test -z "$ac_c_werror_flag"
99106 || test ! -s conftest.err'
99107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99108 (eval $ac_try) 2>&5
99109 ac_status=$?
99110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99111 (exit $ac_status); }; } &&
99112 { ac_try='test -s conftest$ac_exeext'
99113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99114 (eval $ac_try) 2>&5
99115 ac_status=$?
99116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99117 (exit $ac_status); }; }; then
99118 eval "$as_ac_var=yes"
99119 else
99120 echo "$as_me: failed program was:" >&5
99121 sed 's/^/| /' conftest.$ac_ext >&5
99123 eval "$as_ac_var=no"
99125 rm -f conftest.err conftest.$ac_objext \
99126 conftest$ac_exeext conftest.$ac_ext
99128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99130 if test `eval echo '${'$as_ac_var'}'` = yes; then
99131 cat >>confdefs.h <<_ACEOF
99132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99133 _ACEOF
99136 done
99138 else
99140 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
99141 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
99142 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
99143 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
99144 echo $ECHO_N "(cached) $ECHO_C" >&6
99145 else
99149 ac_ext=cc
99150 ac_cpp='$CXXCPP $CPPFLAGS'
99151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99155 cat >conftest.$ac_ext <<_ACEOF
99156 /* confdefs.h. */
99157 _ACEOF
99158 cat confdefs.h >>conftest.$ac_ext
99159 cat >>conftest.$ac_ext <<_ACEOF
99160 /* end confdefs.h. */
99161 #include <math.h>
99162 #ifdef HAVE_IEEEFP_H
99163 #include <ieeefp.h>
99164 #endif
99167 main ()
99169 _isnanf(0);
99171 return 0;
99173 _ACEOF
99174 rm -f conftest.$ac_objext
99175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99176 (eval $ac_compile) 2>conftest.er1
99177 ac_status=$?
99178 grep -v '^ *+' conftest.er1 >conftest.err
99179 rm -f conftest.er1
99180 cat conftest.err >&5
99181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99182 (exit $ac_status); } &&
99183 { ac_try='test -z "$ac_cxx_werror_flag"
99184 || test ! -s conftest.err'
99185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99186 (eval $ac_try) 2>&5
99187 ac_status=$?
99188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99189 (exit $ac_status); }; } &&
99190 { ac_try='test -s conftest.$ac_objext'
99191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99192 (eval $ac_try) 2>&5
99193 ac_status=$?
99194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99195 (exit $ac_status); }; }; then
99196 glibcxx_cv_func__isnanf_use=yes
99197 else
99198 echo "$as_me: failed program was:" >&5
99199 sed 's/^/| /' conftest.$ac_ext >&5
99201 glibcxx_cv_func__isnanf_use=no
99203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99204 ac_ext=c
99205 ac_cpp='$CPP $CPPFLAGS'
99206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
99215 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
99217 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
99219 for ac_func in _isnanf
99221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99222 echo "$as_me:$LINENO: checking for $ac_func" >&5
99223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99224 if eval "test \"\${$as_ac_var+set}\" = set"; then
99225 echo $ECHO_N "(cached) $ECHO_C" >&6
99226 else
99227 if test x$gcc_no_link = xyes; then
99228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99230 { (exit 1); exit 1; }; }
99232 cat >conftest.$ac_ext <<_ACEOF
99233 /* confdefs.h. */
99234 _ACEOF
99235 cat confdefs.h >>conftest.$ac_ext
99236 cat >>conftest.$ac_ext <<_ACEOF
99237 /* end confdefs.h. */
99238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99240 #define $ac_func innocuous_$ac_func
99242 /* System header to define __stub macros and hopefully few prototypes,
99243 which can conflict with char $ac_func (); below.
99244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99245 <limits.h> exists even on freestanding compilers. */
99247 #ifdef __STDC__
99248 # include <limits.h>
99249 #else
99250 # include <assert.h>
99251 #endif
99253 #undef $ac_func
99255 /* Override any gcc2 internal prototype to avoid an error. */
99256 #ifdef __cplusplus
99257 extern "C"
99259 #endif
99260 /* We use char because int might match the return type of a gcc2
99261 builtin and then its argument prototype would still apply. */
99262 char $ac_func ();
99263 /* The GNU C library defines this for functions which it implements
99264 to always fail with ENOSYS. Some functions are actually named
99265 something starting with __ and the normal name is an alias. */
99266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99267 choke me
99268 #else
99269 char (*f) () = $ac_func;
99270 #endif
99271 #ifdef __cplusplus
99273 #endif
99276 main ()
99278 return f != $ac_func;
99280 return 0;
99282 _ACEOF
99283 rm -f conftest.$ac_objext conftest$ac_exeext
99284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99285 (eval $ac_link) 2>conftest.er1
99286 ac_status=$?
99287 grep -v '^ *+' conftest.er1 >conftest.err
99288 rm -f conftest.er1
99289 cat conftest.err >&5
99290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99291 (exit $ac_status); } &&
99292 { ac_try='test -z "$ac_c_werror_flag"
99293 || test ! -s conftest.err'
99294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99295 (eval $ac_try) 2>&5
99296 ac_status=$?
99297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99298 (exit $ac_status); }; } &&
99299 { ac_try='test -s conftest$ac_exeext'
99300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99301 (eval $ac_try) 2>&5
99302 ac_status=$?
99303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99304 (exit $ac_status); }; }; then
99305 eval "$as_ac_var=yes"
99306 else
99307 echo "$as_me: failed program was:" >&5
99308 sed 's/^/| /' conftest.$ac_ext >&5
99310 eval "$as_ac_var=no"
99312 rm -f conftest.err conftest.$ac_objext \
99313 conftest$ac_exeext conftest.$ac_ext
99315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99317 if test `eval echo '${'$as_ac_var'}'` = yes; then
99318 cat >>confdefs.h <<_ACEOF
99319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99320 _ACEOF
99323 done
99333 echo "$as_me:$LINENO: checking for isinff declaration" >&5
99334 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
99335 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
99336 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
99337 echo $ECHO_N "(cached) $ECHO_C" >&6
99338 else
99342 ac_ext=cc
99343 ac_cpp='$CXXCPP $CPPFLAGS'
99344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99348 cat >conftest.$ac_ext <<_ACEOF
99349 /* confdefs.h. */
99350 _ACEOF
99351 cat confdefs.h >>conftest.$ac_ext
99352 cat >>conftest.$ac_ext <<_ACEOF
99353 /* end confdefs.h. */
99354 #include <math.h>
99355 #ifdef HAVE_IEEEFP_H
99356 #include <ieeefp.h>
99357 #endif
99360 main ()
99362 isinff(0);
99364 return 0;
99366 _ACEOF
99367 rm -f conftest.$ac_objext
99368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99369 (eval $ac_compile) 2>conftest.er1
99370 ac_status=$?
99371 grep -v '^ *+' conftest.er1 >conftest.err
99372 rm -f conftest.er1
99373 cat conftest.err >&5
99374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99375 (exit $ac_status); } &&
99376 { ac_try='test -z "$ac_cxx_werror_flag"
99377 || test ! -s conftest.err'
99378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99379 (eval $ac_try) 2>&5
99380 ac_status=$?
99381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99382 (exit $ac_status); }; } &&
99383 { ac_try='test -s conftest.$ac_objext'
99384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99385 (eval $ac_try) 2>&5
99386 ac_status=$?
99387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99388 (exit $ac_status); }; }; then
99389 glibcxx_cv_func_isinff_use=yes
99390 else
99391 echo "$as_me: failed program was:" >&5
99392 sed 's/^/| /' conftest.$ac_ext >&5
99394 glibcxx_cv_func_isinff_use=no
99396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99397 ac_ext=c
99398 ac_cpp='$CPP $CPPFLAGS'
99399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
99408 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
99410 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
99412 for ac_func in isinff
99414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99415 echo "$as_me:$LINENO: checking for $ac_func" >&5
99416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99417 if eval "test \"\${$as_ac_var+set}\" = set"; then
99418 echo $ECHO_N "(cached) $ECHO_C" >&6
99419 else
99420 if test x$gcc_no_link = xyes; then
99421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99423 { (exit 1); exit 1; }; }
99425 cat >conftest.$ac_ext <<_ACEOF
99426 /* confdefs.h. */
99427 _ACEOF
99428 cat confdefs.h >>conftest.$ac_ext
99429 cat >>conftest.$ac_ext <<_ACEOF
99430 /* end confdefs.h. */
99431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99433 #define $ac_func innocuous_$ac_func
99435 /* System header to define __stub macros and hopefully few prototypes,
99436 which can conflict with char $ac_func (); below.
99437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99438 <limits.h> exists even on freestanding compilers. */
99440 #ifdef __STDC__
99441 # include <limits.h>
99442 #else
99443 # include <assert.h>
99444 #endif
99446 #undef $ac_func
99448 /* Override any gcc2 internal prototype to avoid an error. */
99449 #ifdef __cplusplus
99450 extern "C"
99452 #endif
99453 /* We use char because int might match the return type of a gcc2
99454 builtin and then its argument prototype would still apply. */
99455 char $ac_func ();
99456 /* The GNU C library defines this for functions which it implements
99457 to always fail with ENOSYS. Some functions are actually named
99458 something starting with __ and the normal name is an alias. */
99459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99460 choke me
99461 #else
99462 char (*f) () = $ac_func;
99463 #endif
99464 #ifdef __cplusplus
99466 #endif
99469 main ()
99471 return f != $ac_func;
99473 return 0;
99475 _ACEOF
99476 rm -f conftest.$ac_objext conftest$ac_exeext
99477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99478 (eval $ac_link) 2>conftest.er1
99479 ac_status=$?
99480 grep -v '^ *+' conftest.er1 >conftest.err
99481 rm -f conftest.er1
99482 cat conftest.err >&5
99483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99484 (exit $ac_status); } &&
99485 { ac_try='test -z "$ac_c_werror_flag"
99486 || test ! -s conftest.err'
99487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99488 (eval $ac_try) 2>&5
99489 ac_status=$?
99490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99491 (exit $ac_status); }; } &&
99492 { ac_try='test -s conftest$ac_exeext'
99493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99494 (eval $ac_try) 2>&5
99495 ac_status=$?
99496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99497 (exit $ac_status); }; }; then
99498 eval "$as_ac_var=yes"
99499 else
99500 echo "$as_me: failed program was:" >&5
99501 sed 's/^/| /' conftest.$ac_ext >&5
99503 eval "$as_ac_var=no"
99505 rm -f conftest.err conftest.$ac_objext \
99506 conftest$ac_exeext conftest.$ac_ext
99508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99510 if test `eval echo '${'$as_ac_var'}'` = yes; then
99511 cat >>confdefs.h <<_ACEOF
99512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99513 _ACEOF
99516 done
99518 else
99520 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
99521 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
99522 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
99523 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
99524 echo $ECHO_N "(cached) $ECHO_C" >&6
99525 else
99529 ac_ext=cc
99530 ac_cpp='$CXXCPP $CPPFLAGS'
99531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99535 cat >conftest.$ac_ext <<_ACEOF
99536 /* confdefs.h. */
99537 _ACEOF
99538 cat confdefs.h >>conftest.$ac_ext
99539 cat >>conftest.$ac_ext <<_ACEOF
99540 /* end confdefs.h. */
99541 #include <math.h>
99542 #ifdef HAVE_IEEEFP_H
99543 #include <ieeefp.h>
99544 #endif
99547 main ()
99549 _isinff(0);
99551 return 0;
99553 _ACEOF
99554 rm -f conftest.$ac_objext
99555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99556 (eval $ac_compile) 2>conftest.er1
99557 ac_status=$?
99558 grep -v '^ *+' conftest.er1 >conftest.err
99559 rm -f conftest.er1
99560 cat conftest.err >&5
99561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99562 (exit $ac_status); } &&
99563 { ac_try='test -z "$ac_cxx_werror_flag"
99564 || test ! -s conftest.err'
99565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99566 (eval $ac_try) 2>&5
99567 ac_status=$?
99568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99569 (exit $ac_status); }; } &&
99570 { ac_try='test -s conftest.$ac_objext'
99571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99572 (eval $ac_try) 2>&5
99573 ac_status=$?
99574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99575 (exit $ac_status); }; }; then
99576 glibcxx_cv_func__isinff_use=yes
99577 else
99578 echo "$as_me: failed program was:" >&5
99579 sed 's/^/| /' conftest.$ac_ext >&5
99581 glibcxx_cv_func__isinff_use=no
99583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99584 ac_ext=c
99585 ac_cpp='$CPP $CPPFLAGS'
99586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
99595 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
99597 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
99599 for ac_func in _isinff
99601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99602 echo "$as_me:$LINENO: checking for $ac_func" >&5
99603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99604 if eval "test \"\${$as_ac_var+set}\" = set"; then
99605 echo $ECHO_N "(cached) $ECHO_C" >&6
99606 else
99607 if test x$gcc_no_link = xyes; then
99608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99610 { (exit 1); exit 1; }; }
99612 cat >conftest.$ac_ext <<_ACEOF
99613 /* confdefs.h. */
99614 _ACEOF
99615 cat confdefs.h >>conftest.$ac_ext
99616 cat >>conftest.$ac_ext <<_ACEOF
99617 /* end confdefs.h. */
99618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99620 #define $ac_func innocuous_$ac_func
99622 /* System header to define __stub macros and hopefully few prototypes,
99623 which can conflict with char $ac_func (); below.
99624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99625 <limits.h> exists even on freestanding compilers. */
99627 #ifdef __STDC__
99628 # include <limits.h>
99629 #else
99630 # include <assert.h>
99631 #endif
99633 #undef $ac_func
99635 /* Override any gcc2 internal prototype to avoid an error. */
99636 #ifdef __cplusplus
99637 extern "C"
99639 #endif
99640 /* We use char because int might match the return type of a gcc2
99641 builtin and then its argument prototype would still apply. */
99642 char $ac_func ();
99643 /* The GNU C library defines this for functions which it implements
99644 to always fail with ENOSYS. Some functions are actually named
99645 something starting with __ and the normal name is an alias. */
99646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99647 choke me
99648 #else
99649 char (*f) () = $ac_func;
99650 #endif
99651 #ifdef __cplusplus
99653 #endif
99656 main ()
99658 return f != $ac_func;
99660 return 0;
99662 _ACEOF
99663 rm -f conftest.$ac_objext conftest$ac_exeext
99664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99665 (eval $ac_link) 2>conftest.er1
99666 ac_status=$?
99667 grep -v '^ *+' conftest.er1 >conftest.err
99668 rm -f conftest.er1
99669 cat conftest.err >&5
99670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99671 (exit $ac_status); } &&
99672 { ac_try='test -z "$ac_c_werror_flag"
99673 || test ! -s conftest.err'
99674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99675 (eval $ac_try) 2>&5
99676 ac_status=$?
99677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99678 (exit $ac_status); }; } &&
99679 { ac_try='test -s conftest$ac_exeext'
99680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99681 (eval $ac_try) 2>&5
99682 ac_status=$?
99683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99684 (exit $ac_status); }; }; then
99685 eval "$as_ac_var=yes"
99686 else
99687 echo "$as_me: failed program was:" >&5
99688 sed 's/^/| /' conftest.$ac_ext >&5
99690 eval "$as_ac_var=no"
99692 rm -f conftest.err conftest.$ac_objext \
99693 conftest$ac_exeext conftest.$ac_ext
99695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99697 if test `eval echo '${'$as_ac_var'}'` = yes; then
99698 cat >>confdefs.h <<_ACEOF
99699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99700 _ACEOF
99703 done
99713 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
99714 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
99715 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
99716 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
99717 echo $ECHO_N "(cached) $ECHO_C" >&6
99718 else
99722 ac_ext=cc
99723 ac_cpp='$CXXCPP $CPPFLAGS'
99724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99728 cat >conftest.$ac_ext <<_ACEOF
99729 /* confdefs.h. */
99730 _ACEOF
99731 cat confdefs.h >>conftest.$ac_ext
99732 cat >>conftest.$ac_ext <<_ACEOF
99733 /* end confdefs.h. */
99734 #include <math.h>
99736 main ()
99738 atan2f(0, 0);
99740 return 0;
99742 _ACEOF
99743 rm -f conftest.$ac_objext
99744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99745 (eval $ac_compile) 2>conftest.er1
99746 ac_status=$?
99747 grep -v '^ *+' conftest.er1 >conftest.err
99748 rm -f conftest.er1
99749 cat conftest.err >&5
99750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99751 (exit $ac_status); } &&
99752 { ac_try='test -z "$ac_cxx_werror_flag"
99753 || test ! -s conftest.err'
99754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99755 (eval $ac_try) 2>&5
99756 ac_status=$?
99757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99758 (exit $ac_status); }; } &&
99759 { ac_try='test -s conftest.$ac_objext'
99760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99761 (eval $ac_try) 2>&5
99762 ac_status=$?
99763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99764 (exit $ac_status); }; }; then
99765 glibcxx_cv_func_atan2f_use=yes
99766 else
99767 echo "$as_me: failed program was:" >&5
99768 sed 's/^/| /' conftest.$ac_ext >&5
99770 glibcxx_cv_func_atan2f_use=no
99772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99773 ac_ext=c
99774 ac_cpp='$CPP $CPPFLAGS'
99775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
99784 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
99786 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
99788 for ac_func in atan2f
99790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99791 echo "$as_me:$LINENO: checking for $ac_func" >&5
99792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99793 if eval "test \"\${$as_ac_var+set}\" = set"; then
99794 echo $ECHO_N "(cached) $ECHO_C" >&6
99795 else
99796 if test x$gcc_no_link = xyes; then
99797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99799 { (exit 1); exit 1; }; }
99801 cat >conftest.$ac_ext <<_ACEOF
99802 /* confdefs.h. */
99803 _ACEOF
99804 cat confdefs.h >>conftest.$ac_ext
99805 cat >>conftest.$ac_ext <<_ACEOF
99806 /* end confdefs.h. */
99807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99809 #define $ac_func innocuous_$ac_func
99811 /* System header to define __stub macros and hopefully few prototypes,
99812 which can conflict with char $ac_func (); below.
99813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99814 <limits.h> exists even on freestanding compilers. */
99816 #ifdef __STDC__
99817 # include <limits.h>
99818 #else
99819 # include <assert.h>
99820 #endif
99822 #undef $ac_func
99824 /* Override any gcc2 internal prototype to avoid an error. */
99825 #ifdef __cplusplus
99826 extern "C"
99828 #endif
99829 /* We use char because int might match the return type of a gcc2
99830 builtin and then its argument prototype would still apply. */
99831 char $ac_func ();
99832 /* The GNU C library defines this for functions which it implements
99833 to always fail with ENOSYS. Some functions are actually named
99834 something starting with __ and the normal name is an alias. */
99835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99836 choke me
99837 #else
99838 char (*f) () = $ac_func;
99839 #endif
99840 #ifdef __cplusplus
99842 #endif
99845 main ()
99847 return f != $ac_func;
99849 return 0;
99851 _ACEOF
99852 rm -f conftest.$ac_objext conftest$ac_exeext
99853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99854 (eval $ac_link) 2>conftest.er1
99855 ac_status=$?
99856 grep -v '^ *+' conftest.er1 >conftest.err
99857 rm -f conftest.er1
99858 cat conftest.err >&5
99859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99860 (exit $ac_status); } &&
99861 { ac_try='test -z "$ac_c_werror_flag"
99862 || test ! -s conftest.err'
99863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99864 (eval $ac_try) 2>&5
99865 ac_status=$?
99866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99867 (exit $ac_status); }; } &&
99868 { ac_try='test -s conftest$ac_exeext'
99869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99870 (eval $ac_try) 2>&5
99871 ac_status=$?
99872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99873 (exit $ac_status); }; }; then
99874 eval "$as_ac_var=yes"
99875 else
99876 echo "$as_me: failed program was:" >&5
99877 sed 's/^/| /' conftest.$ac_ext >&5
99879 eval "$as_ac_var=no"
99881 rm -f conftest.err conftest.$ac_objext \
99882 conftest$ac_exeext conftest.$ac_ext
99884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99886 if test `eval echo '${'$as_ac_var'}'` = yes; then
99887 cat >>confdefs.h <<_ACEOF
99888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99889 _ACEOF
99892 done
99894 else
99896 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
99897 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
99898 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
99899 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
99900 echo $ECHO_N "(cached) $ECHO_C" >&6
99901 else
99905 ac_ext=cc
99906 ac_cpp='$CXXCPP $CPPFLAGS'
99907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99911 cat >conftest.$ac_ext <<_ACEOF
99912 /* confdefs.h. */
99913 _ACEOF
99914 cat confdefs.h >>conftest.$ac_ext
99915 cat >>conftest.$ac_ext <<_ACEOF
99916 /* end confdefs.h. */
99917 #include <math.h>
99919 main ()
99921 _atan2f(0, 0);
99923 return 0;
99925 _ACEOF
99926 rm -f conftest.$ac_objext
99927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99928 (eval $ac_compile) 2>conftest.er1
99929 ac_status=$?
99930 grep -v '^ *+' conftest.er1 >conftest.err
99931 rm -f conftest.er1
99932 cat conftest.err >&5
99933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99934 (exit $ac_status); } &&
99935 { ac_try='test -z "$ac_cxx_werror_flag"
99936 || test ! -s conftest.err'
99937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99938 (eval $ac_try) 2>&5
99939 ac_status=$?
99940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99941 (exit $ac_status); }; } &&
99942 { ac_try='test -s conftest.$ac_objext'
99943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99944 (eval $ac_try) 2>&5
99945 ac_status=$?
99946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99947 (exit $ac_status); }; }; then
99948 glibcxx_cv_func__atan2f_use=yes
99949 else
99950 echo "$as_me: failed program was:" >&5
99951 sed 's/^/| /' conftest.$ac_ext >&5
99953 glibcxx_cv_func__atan2f_use=no
99955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99956 ac_ext=c
99957 ac_cpp='$CPP $CPPFLAGS'
99958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
99967 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
99969 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
99971 for ac_func in _atan2f
99973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99974 echo "$as_me:$LINENO: checking for $ac_func" >&5
99975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99976 if eval "test \"\${$as_ac_var+set}\" = set"; then
99977 echo $ECHO_N "(cached) $ECHO_C" >&6
99978 else
99979 if test x$gcc_no_link = xyes; then
99980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99982 { (exit 1); exit 1; }; }
99984 cat >conftest.$ac_ext <<_ACEOF
99985 /* confdefs.h. */
99986 _ACEOF
99987 cat confdefs.h >>conftest.$ac_ext
99988 cat >>conftest.$ac_ext <<_ACEOF
99989 /* end confdefs.h. */
99990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99992 #define $ac_func innocuous_$ac_func
99994 /* System header to define __stub macros and hopefully few prototypes,
99995 which can conflict with char $ac_func (); below.
99996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99997 <limits.h> exists even on freestanding compilers. */
99999 #ifdef __STDC__
100000 # include <limits.h>
100001 #else
100002 # include <assert.h>
100003 #endif
100005 #undef $ac_func
100007 /* Override any gcc2 internal prototype to avoid an error. */
100008 #ifdef __cplusplus
100009 extern "C"
100011 #endif
100012 /* We use char because int might match the return type of a gcc2
100013 builtin and then its argument prototype would still apply. */
100014 char $ac_func ();
100015 /* The GNU C library defines this for functions which it implements
100016 to always fail with ENOSYS. Some functions are actually named
100017 something starting with __ and the normal name is an alias. */
100018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100019 choke me
100020 #else
100021 char (*f) () = $ac_func;
100022 #endif
100023 #ifdef __cplusplus
100025 #endif
100028 main ()
100030 return f != $ac_func;
100032 return 0;
100034 _ACEOF
100035 rm -f conftest.$ac_objext conftest$ac_exeext
100036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100037 (eval $ac_link) 2>conftest.er1
100038 ac_status=$?
100039 grep -v '^ *+' conftest.er1 >conftest.err
100040 rm -f conftest.er1
100041 cat conftest.err >&5
100042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100043 (exit $ac_status); } &&
100044 { ac_try='test -z "$ac_c_werror_flag"
100045 || test ! -s conftest.err'
100046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100047 (eval $ac_try) 2>&5
100048 ac_status=$?
100049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100050 (exit $ac_status); }; } &&
100051 { ac_try='test -s conftest$ac_exeext'
100052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100053 (eval $ac_try) 2>&5
100054 ac_status=$?
100055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100056 (exit $ac_status); }; }; then
100057 eval "$as_ac_var=yes"
100059 echo "$as_me: failed program was:" >&5
100060 sed 's/^/| /' conftest.$ac_ext >&5
100062 eval "$as_ac_var=no"
100064 rm -f conftest.err conftest.$ac_objext \
100065 conftest$ac_exeext conftest.$ac_ext
100067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100069 if test `eval echo '${'$as_ac_var'}'` = yes; then
100070 cat >>confdefs.h <<_ACEOF
100071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100072 _ACEOF
100085 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
100086 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
100087 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
100088 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
100089 echo $ECHO_N "(cached) $ECHO_C" >&6
100094 ac_ext=cc
100095 ac_cpp='$CXXCPP $CPPFLAGS'
100096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100100 cat >conftest.$ac_ext <<_ACEOF
100101 /* confdefs.h. */
100102 _ACEOF
100103 cat confdefs.h >>conftest.$ac_ext
100104 cat >>conftest.$ac_ext <<_ACEOF
100105 /* end confdefs.h. */
100106 #include <math.h>
100107 #ifdef HAVE_IEEEFP_H
100108 #include <ieeefp.h>
100109 #endif
100112 main ()
100114 fabsf(0);
100116 return 0;
100118 _ACEOF
100119 rm -f conftest.$ac_objext
100120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100121 (eval $ac_compile) 2>conftest.er1
100122 ac_status=$?
100123 grep -v '^ *+' conftest.er1 >conftest.err
100124 rm -f conftest.er1
100125 cat conftest.err >&5
100126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100127 (exit $ac_status); } &&
100128 { ac_try='test -z "$ac_cxx_werror_flag"
100129 || test ! -s conftest.err'
100130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100131 (eval $ac_try) 2>&5
100132 ac_status=$?
100133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100134 (exit $ac_status); }; } &&
100135 { ac_try='test -s conftest.$ac_objext'
100136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100137 (eval $ac_try) 2>&5
100138 ac_status=$?
100139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100140 (exit $ac_status); }; }; then
100141 glibcxx_cv_func_fabsf_use=yes
100143 echo "$as_me: failed program was:" >&5
100144 sed 's/^/| /' conftest.$ac_ext >&5
100146 glibcxx_cv_func_fabsf_use=no
100148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100149 ac_ext=c
100150 ac_cpp='$CPP $CPPFLAGS'
100151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
100160 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
100162 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
100164 for ac_func in fabsf
100166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100167 echo "$as_me:$LINENO: checking for $ac_func" >&5
100168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100169 if eval "test \"\${$as_ac_var+set}\" = set"; then
100170 echo $ECHO_N "(cached) $ECHO_C" >&6
100172 if test x$gcc_no_link = xyes; then
100173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100175 { (exit 1); exit 1; }; }
100177 cat >conftest.$ac_ext <<_ACEOF
100178 /* confdefs.h. */
100179 _ACEOF
100180 cat confdefs.h >>conftest.$ac_ext
100181 cat >>conftest.$ac_ext <<_ACEOF
100182 /* end confdefs.h. */
100183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100185 #define $ac_func innocuous_$ac_func
100187 /* System header to define __stub macros and hopefully few prototypes,
100188 which can conflict with char $ac_func (); below.
100189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100190 <limits.h> exists even on freestanding compilers. */
100192 #ifdef __STDC__
100193 # include <limits.h>
100194 #else
100195 # include <assert.h>
100196 #endif
100198 #undef $ac_func
100200 /* Override any gcc2 internal prototype to avoid an error. */
100201 #ifdef __cplusplus
100202 extern "C"
100204 #endif
100205 /* We use char because int might match the return type of a gcc2
100206 builtin and then its argument prototype would still apply. */
100207 char $ac_func ();
100208 /* The GNU C library defines this for functions which it implements
100209 to always fail with ENOSYS. Some functions are actually named
100210 something starting with __ and the normal name is an alias. */
100211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100212 choke me
100213 #else
100214 char (*f) () = $ac_func;
100215 #endif
100216 #ifdef __cplusplus
100218 #endif
100221 main ()
100223 return f != $ac_func;
100225 return 0;
100227 _ACEOF
100228 rm -f conftest.$ac_objext conftest$ac_exeext
100229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100230 (eval $ac_link) 2>conftest.er1
100231 ac_status=$?
100232 grep -v '^ *+' conftest.er1 >conftest.err
100233 rm -f conftest.er1
100234 cat conftest.err >&5
100235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100236 (exit $ac_status); } &&
100237 { ac_try='test -z "$ac_c_werror_flag"
100238 || test ! -s conftest.err'
100239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100240 (eval $ac_try) 2>&5
100241 ac_status=$?
100242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100243 (exit $ac_status); }; } &&
100244 { ac_try='test -s conftest$ac_exeext'
100245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100246 (eval $ac_try) 2>&5
100247 ac_status=$?
100248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100249 (exit $ac_status); }; }; then
100250 eval "$as_ac_var=yes"
100252 echo "$as_me: failed program was:" >&5
100253 sed 's/^/| /' conftest.$ac_ext >&5
100255 eval "$as_ac_var=no"
100257 rm -f conftest.err conftest.$ac_objext \
100258 conftest$ac_exeext conftest.$ac_ext
100260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100262 if test `eval echo '${'$as_ac_var'}'` = yes; then
100263 cat >>confdefs.h <<_ACEOF
100264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100265 _ACEOF
100272 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
100273 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
100274 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
100275 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
100276 echo $ECHO_N "(cached) $ECHO_C" >&6
100281 ac_ext=cc
100282 ac_cpp='$CXXCPP $CPPFLAGS'
100283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100287 cat >conftest.$ac_ext <<_ACEOF
100288 /* confdefs.h. */
100289 _ACEOF
100290 cat confdefs.h >>conftest.$ac_ext
100291 cat >>conftest.$ac_ext <<_ACEOF
100292 /* end confdefs.h. */
100293 #include <math.h>
100294 #ifdef HAVE_IEEEFP_H
100295 #include <ieeefp.h>
100296 #endif
100299 main ()
100301 _fabsf(0);
100303 return 0;
100305 _ACEOF
100306 rm -f conftest.$ac_objext
100307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100308 (eval $ac_compile) 2>conftest.er1
100309 ac_status=$?
100310 grep -v '^ *+' conftest.er1 >conftest.err
100311 rm -f conftest.er1
100312 cat conftest.err >&5
100313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100314 (exit $ac_status); } &&
100315 { ac_try='test -z "$ac_cxx_werror_flag"
100316 || test ! -s conftest.err'
100317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100318 (eval $ac_try) 2>&5
100319 ac_status=$?
100320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100321 (exit $ac_status); }; } &&
100322 { ac_try='test -s conftest.$ac_objext'
100323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100324 (eval $ac_try) 2>&5
100325 ac_status=$?
100326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100327 (exit $ac_status); }; }; then
100328 glibcxx_cv_func__fabsf_use=yes
100330 echo "$as_me: failed program was:" >&5
100331 sed 's/^/| /' conftest.$ac_ext >&5
100333 glibcxx_cv_func__fabsf_use=no
100335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100336 ac_ext=c
100337 ac_cpp='$CPP $CPPFLAGS'
100338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
100347 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
100349 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
100351 for ac_func in _fabsf
100353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100354 echo "$as_me:$LINENO: checking for $ac_func" >&5
100355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100356 if eval "test \"\${$as_ac_var+set}\" = set"; then
100357 echo $ECHO_N "(cached) $ECHO_C" >&6
100359 if test x$gcc_no_link = xyes; then
100360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100362 { (exit 1); exit 1; }; }
100364 cat >conftest.$ac_ext <<_ACEOF
100365 /* confdefs.h. */
100366 _ACEOF
100367 cat confdefs.h >>conftest.$ac_ext
100368 cat >>conftest.$ac_ext <<_ACEOF
100369 /* end confdefs.h. */
100370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100372 #define $ac_func innocuous_$ac_func
100374 /* System header to define __stub macros and hopefully few prototypes,
100375 which can conflict with char $ac_func (); below.
100376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100377 <limits.h> exists even on freestanding compilers. */
100379 #ifdef __STDC__
100380 # include <limits.h>
100381 #else
100382 # include <assert.h>
100383 #endif
100385 #undef $ac_func
100387 /* Override any gcc2 internal prototype to avoid an error. */
100388 #ifdef __cplusplus
100389 extern "C"
100391 #endif
100392 /* We use char because int might match the return type of a gcc2
100393 builtin and then its argument prototype would still apply. */
100394 char $ac_func ();
100395 /* The GNU C library defines this for functions which it implements
100396 to always fail with ENOSYS. Some functions are actually named
100397 something starting with __ and the normal name is an alias. */
100398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100399 choke me
100400 #else
100401 char (*f) () = $ac_func;
100402 #endif
100403 #ifdef __cplusplus
100405 #endif
100408 main ()
100410 return f != $ac_func;
100412 return 0;
100414 _ACEOF
100415 rm -f conftest.$ac_objext conftest$ac_exeext
100416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100417 (eval $ac_link) 2>conftest.er1
100418 ac_status=$?
100419 grep -v '^ *+' conftest.er1 >conftest.err
100420 rm -f conftest.er1
100421 cat conftest.err >&5
100422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100423 (exit $ac_status); } &&
100424 { ac_try='test -z "$ac_c_werror_flag"
100425 || test ! -s conftest.err'
100426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100427 (eval $ac_try) 2>&5
100428 ac_status=$?
100429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100430 (exit $ac_status); }; } &&
100431 { ac_try='test -s conftest$ac_exeext'
100432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100433 (eval $ac_try) 2>&5
100434 ac_status=$?
100435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100436 (exit $ac_status); }; }; then
100437 eval "$as_ac_var=yes"
100439 echo "$as_me: failed program was:" >&5
100440 sed 's/^/| /' conftest.$ac_ext >&5
100442 eval "$as_ac_var=no"
100444 rm -f conftest.err conftest.$ac_objext \
100445 conftest$ac_exeext conftest.$ac_ext
100447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100449 if test `eval echo '${'$as_ac_var'}'` = yes; then
100450 cat >>confdefs.h <<_ACEOF
100451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100452 _ACEOF
100465 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
100466 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
100467 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
100468 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
100469 echo $ECHO_N "(cached) $ECHO_C" >&6
100474 ac_ext=cc
100475 ac_cpp='$CXXCPP $CPPFLAGS'
100476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100480 cat >conftest.$ac_ext <<_ACEOF
100481 /* confdefs.h. */
100482 _ACEOF
100483 cat confdefs.h >>conftest.$ac_ext
100484 cat >>conftest.$ac_ext <<_ACEOF
100485 /* end confdefs.h. */
100486 #include <math.h>
100488 main ()
100490 fmodf(0, 0);
100492 return 0;
100494 _ACEOF
100495 rm -f conftest.$ac_objext
100496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100497 (eval $ac_compile) 2>conftest.er1
100498 ac_status=$?
100499 grep -v '^ *+' conftest.er1 >conftest.err
100500 rm -f conftest.er1
100501 cat conftest.err >&5
100502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100503 (exit $ac_status); } &&
100504 { ac_try='test -z "$ac_cxx_werror_flag"
100505 || test ! -s conftest.err'
100506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100507 (eval $ac_try) 2>&5
100508 ac_status=$?
100509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100510 (exit $ac_status); }; } &&
100511 { ac_try='test -s conftest.$ac_objext'
100512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100513 (eval $ac_try) 2>&5
100514 ac_status=$?
100515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100516 (exit $ac_status); }; }; then
100517 glibcxx_cv_func_fmodf_use=yes
100519 echo "$as_me: failed program was:" >&5
100520 sed 's/^/| /' conftest.$ac_ext >&5
100522 glibcxx_cv_func_fmodf_use=no
100524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100525 ac_ext=c
100526 ac_cpp='$CPP $CPPFLAGS'
100527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
100536 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
100538 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
100540 for ac_func in fmodf
100542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100543 echo "$as_me:$LINENO: checking for $ac_func" >&5
100544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100545 if eval "test \"\${$as_ac_var+set}\" = set"; then
100546 echo $ECHO_N "(cached) $ECHO_C" >&6
100548 if test x$gcc_no_link = xyes; then
100549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100551 { (exit 1); exit 1; }; }
100553 cat >conftest.$ac_ext <<_ACEOF
100554 /* confdefs.h. */
100555 _ACEOF
100556 cat confdefs.h >>conftest.$ac_ext
100557 cat >>conftest.$ac_ext <<_ACEOF
100558 /* end confdefs.h. */
100559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100561 #define $ac_func innocuous_$ac_func
100563 /* System header to define __stub macros and hopefully few prototypes,
100564 which can conflict with char $ac_func (); below.
100565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100566 <limits.h> exists even on freestanding compilers. */
100568 #ifdef __STDC__
100569 # include <limits.h>
100570 #else
100571 # include <assert.h>
100572 #endif
100574 #undef $ac_func
100576 /* Override any gcc2 internal prototype to avoid an error. */
100577 #ifdef __cplusplus
100578 extern "C"
100580 #endif
100581 /* We use char because int might match the return type of a gcc2
100582 builtin and then its argument prototype would still apply. */
100583 char $ac_func ();
100584 /* The GNU C library defines this for functions which it implements
100585 to always fail with ENOSYS. Some functions are actually named
100586 something starting with __ and the normal name is an alias. */
100587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100588 choke me
100589 #else
100590 char (*f) () = $ac_func;
100591 #endif
100592 #ifdef __cplusplus
100594 #endif
100597 main ()
100599 return f != $ac_func;
100601 return 0;
100603 _ACEOF
100604 rm -f conftest.$ac_objext conftest$ac_exeext
100605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100606 (eval $ac_link) 2>conftest.er1
100607 ac_status=$?
100608 grep -v '^ *+' conftest.er1 >conftest.err
100609 rm -f conftest.er1
100610 cat conftest.err >&5
100611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100612 (exit $ac_status); } &&
100613 { ac_try='test -z "$ac_c_werror_flag"
100614 || test ! -s conftest.err'
100615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100616 (eval $ac_try) 2>&5
100617 ac_status=$?
100618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100619 (exit $ac_status); }; } &&
100620 { ac_try='test -s conftest$ac_exeext'
100621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100622 (eval $ac_try) 2>&5
100623 ac_status=$?
100624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100625 (exit $ac_status); }; }; then
100626 eval "$as_ac_var=yes"
100628 echo "$as_me: failed program was:" >&5
100629 sed 's/^/| /' conftest.$ac_ext >&5
100631 eval "$as_ac_var=no"
100633 rm -f conftest.err conftest.$ac_objext \
100634 conftest$ac_exeext conftest.$ac_ext
100636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100638 if test `eval echo '${'$as_ac_var'}'` = yes; then
100639 cat >>confdefs.h <<_ACEOF
100640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100641 _ACEOF
100648 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
100649 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
100650 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
100651 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
100652 echo $ECHO_N "(cached) $ECHO_C" >&6
100657 ac_ext=cc
100658 ac_cpp='$CXXCPP $CPPFLAGS'
100659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100663 cat >conftest.$ac_ext <<_ACEOF
100664 /* confdefs.h. */
100665 _ACEOF
100666 cat confdefs.h >>conftest.$ac_ext
100667 cat >>conftest.$ac_ext <<_ACEOF
100668 /* end confdefs.h. */
100669 #include <math.h>
100671 main ()
100673 _fmodf(0, 0);
100675 return 0;
100677 _ACEOF
100678 rm -f conftest.$ac_objext
100679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100680 (eval $ac_compile) 2>conftest.er1
100681 ac_status=$?
100682 grep -v '^ *+' conftest.er1 >conftest.err
100683 rm -f conftest.er1
100684 cat conftest.err >&5
100685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100686 (exit $ac_status); } &&
100687 { ac_try='test -z "$ac_cxx_werror_flag"
100688 || test ! -s conftest.err'
100689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100690 (eval $ac_try) 2>&5
100691 ac_status=$?
100692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100693 (exit $ac_status); }; } &&
100694 { ac_try='test -s conftest.$ac_objext'
100695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100696 (eval $ac_try) 2>&5
100697 ac_status=$?
100698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100699 (exit $ac_status); }; }; then
100700 glibcxx_cv_func__fmodf_use=yes
100702 echo "$as_me: failed program was:" >&5
100703 sed 's/^/| /' conftest.$ac_ext >&5
100705 glibcxx_cv_func__fmodf_use=no
100707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100708 ac_ext=c
100709 ac_cpp='$CPP $CPPFLAGS'
100710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
100719 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
100721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
100723 for ac_func in _fmodf
100725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100726 echo "$as_me:$LINENO: checking for $ac_func" >&5
100727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100728 if eval "test \"\${$as_ac_var+set}\" = set"; then
100729 echo $ECHO_N "(cached) $ECHO_C" >&6
100731 if test x$gcc_no_link = xyes; then
100732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100734 { (exit 1); exit 1; }; }
100736 cat >conftest.$ac_ext <<_ACEOF
100737 /* confdefs.h. */
100738 _ACEOF
100739 cat confdefs.h >>conftest.$ac_ext
100740 cat >>conftest.$ac_ext <<_ACEOF
100741 /* end confdefs.h. */
100742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100744 #define $ac_func innocuous_$ac_func
100746 /* System header to define __stub macros and hopefully few prototypes,
100747 which can conflict with char $ac_func (); below.
100748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100749 <limits.h> exists even on freestanding compilers. */
100751 #ifdef __STDC__
100752 # include <limits.h>
100753 #else
100754 # include <assert.h>
100755 #endif
100757 #undef $ac_func
100759 /* Override any gcc2 internal prototype to avoid an error. */
100760 #ifdef __cplusplus
100761 extern "C"
100763 #endif
100764 /* We use char because int might match the return type of a gcc2
100765 builtin and then its argument prototype would still apply. */
100766 char $ac_func ();
100767 /* The GNU C library defines this for functions which it implements
100768 to always fail with ENOSYS. Some functions are actually named
100769 something starting with __ and the normal name is an alias. */
100770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100771 choke me
100772 #else
100773 char (*f) () = $ac_func;
100774 #endif
100775 #ifdef __cplusplus
100777 #endif
100780 main ()
100782 return f != $ac_func;
100784 return 0;
100786 _ACEOF
100787 rm -f conftest.$ac_objext conftest$ac_exeext
100788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100789 (eval $ac_link) 2>conftest.er1
100790 ac_status=$?
100791 grep -v '^ *+' conftest.er1 >conftest.err
100792 rm -f conftest.er1
100793 cat conftest.err >&5
100794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100795 (exit $ac_status); } &&
100796 { ac_try='test -z "$ac_c_werror_flag"
100797 || test ! -s conftest.err'
100798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100799 (eval $ac_try) 2>&5
100800 ac_status=$?
100801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100802 (exit $ac_status); }; } &&
100803 { ac_try='test -s conftest$ac_exeext'
100804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100805 (eval $ac_try) 2>&5
100806 ac_status=$?
100807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100808 (exit $ac_status); }; }; then
100809 eval "$as_ac_var=yes"
100811 echo "$as_me: failed program was:" >&5
100812 sed 's/^/| /' conftest.$ac_ext >&5
100814 eval "$as_ac_var=no"
100816 rm -f conftest.err conftest.$ac_objext \
100817 conftest$ac_exeext conftest.$ac_ext
100819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100821 if test `eval echo '${'$as_ac_var'}'` = yes; then
100822 cat >>confdefs.h <<_ACEOF
100823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100824 _ACEOF
100837 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
100838 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
100839 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
100840 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
100841 echo $ECHO_N "(cached) $ECHO_C" >&6
100846 ac_ext=cc
100847 ac_cpp='$CXXCPP $CPPFLAGS'
100848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100852 cat >conftest.$ac_ext <<_ACEOF
100853 /* confdefs.h. */
100854 _ACEOF
100855 cat confdefs.h >>conftest.$ac_ext
100856 cat >>conftest.$ac_ext <<_ACEOF
100857 /* end confdefs.h. */
100858 #include <math.h>
100860 main ()
100862 frexpf(0, 0);
100864 return 0;
100866 _ACEOF
100867 rm -f conftest.$ac_objext
100868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100869 (eval $ac_compile) 2>conftest.er1
100870 ac_status=$?
100871 grep -v '^ *+' conftest.er1 >conftest.err
100872 rm -f conftest.er1
100873 cat conftest.err >&5
100874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100875 (exit $ac_status); } &&
100876 { ac_try='test -z "$ac_cxx_werror_flag"
100877 || test ! -s conftest.err'
100878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100879 (eval $ac_try) 2>&5
100880 ac_status=$?
100881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100882 (exit $ac_status); }; } &&
100883 { ac_try='test -s conftest.$ac_objext'
100884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100885 (eval $ac_try) 2>&5
100886 ac_status=$?
100887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100888 (exit $ac_status); }; }; then
100889 glibcxx_cv_func_frexpf_use=yes
100891 echo "$as_me: failed program was:" >&5
100892 sed 's/^/| /' conftest.$ac_ext >&5
100894 glibcxx_cv_func_frexpf_use=no
100896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100897 ac_ext=c
100898 ac_cpp='$CPP $CPPFLAGS'
100899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
100908 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
100910 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
100912 for ac_func in frexpf
100914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100915 echo "$as_me:$LINENO: checking for $ac_func" >&5
100916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100917 if eval "test \"\${$as_ac_var+set}\" = set"; then
100918 echo $ECHO_N "(cached) $ECHO_C" >&6
100920 if test x$gcc_no_link = xyes; then
100921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100923 { (exit 1); exit 1; }; }
100925 cat >conftest.$ac_ext <<_ACEOF
100926 /* confdefs.h. */
100927 _ACEOF
100928 cat confdefs.h >>conftest.$ac_ext
100929 cat >>conftest.$ac_ext <<_ACEOF
100930 /* end confdefs.h. */
100931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100933 #define $ac_func innocuous_$ac_func
100935 /* System header to define __stub macros and hopefully few prototypes,
100936 which can conflict with char $ac_func (); below.
100937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100938 <limits.h> exists even on freestanding compilers. */
100940 #ifdef __STDC__
100941 # include <limits.h>
100942 #else
100943 # include <assert.h>
100944 #endif
100946 #undef $ac_func
100948 /* Override any gcc2 internal prototype to avoid an error. */
100949 #ifdef __cplusplus
100950 extern "C"
100952 #endif
100953 /* We use char because int might match the return type of a gcc2
100954 builtin and then its argument prototype would still apply. */
100955 char $ac_func ();
100956 /* The GNU C library defines this for functions which it implements
100957 to always fail with ENOSYS. Some functions are actually named
100958 something starting with __ and the normal name is an alias. */
100959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100960 choke me
100961 #else
100962 char (*f) () = $ac_func;
100963 #endif
100964 #ifdef __cplusplus
100966 #endif
100969 main ()
100971 return f != $ac_func;
100973 return 0;
100975 _ACEOF
100976 rm -f conftest.$ac_objext conftest$ac_exeext
100977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100978 (eval $ac_link) 2>conftest.er1
100979 ac_status=$?
100980 grep -v '^ *+' conftest.er1 >conftest.err
100981 rm -f conftest.er1
100982 cat conftest.err >&5
100983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100984 (exit $ac_status); } &&
100985 { ac_try='test -z "$ac_c_werror_flag"
100986 || test ! -s conftest.err'
100987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100988 (eval $ac_try) 2>&5
100989 ac_status=$?
100990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991 (exit $ac_status); }; } &&
100992 { ac_try='test -s conftest$ac_exeext'
100993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100994 (eval $ac_try) 2>&5
100995 ac_status=$?
100996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100997 (exit $ac_status); }; }; then
100998 eval "$as_ac_var=yes"
101000 echo "$as_me: failed program was:" >&5
101001 sed 's/^/| /' conftest.$ac_ext >&5
101003 eval "$as_ac_var=no"
101005 rm -f conftest.err conftest.$ac_objext \
101006 conftest$ac_exeext conftest.$ac_ext
101008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101010 if test `eval echo '${'$as_ac_var'}'` = yes; then
101011 cat >>confdefs.h <<_ACEOF
101012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101013 _ACEOF
101020 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
101021 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
101022 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
101023 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
101024 echo $ECHO_N "(cached) $ECHO_C" >&6
101029 ac_ext=cc
101030 ac_cpp='$CXXCPP $CPPFLAGS'
101031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101035 cat >conftest.$ac_ext <<_ACEOF
101036 /* confdefs.h. */
101037 _ACEOF
101038 cat confdefs.h >>conftest.$ac_ext
101039 cat >>conftest.$ac_ext <<_ACEOF
101040 /* end confdefs.h. */
101041 #include <math.h>
101043 main ()
101045 _frexpf(0, 0);
101047 return 0;
101049 _ACEOF
101050 rm -f conftest.$ac_objext
101051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101052 (eval $ac_compile) 2>conftest.er1
101053 ac_status=$?
101054 grep -v '^ *+' conftest.er1 >conftest.err
101055 rm -f conftest.er1
101056 cat conftest.err >&5
101057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101058 (exit $ac_status); } &&
101059 { ac_try='test -z "$ac_cxx_werror_flag"
101060 || test ! -s conftest.err'
101061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101062 (eval $ac_try) 2>&5
101063 ac_status=$?
101064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101065 (exit $ac_status); }; } &&
101066 { ac_try='test -s conftest.$ac_objext'
101067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101068 (eval $ac_try) 2>&5
101069 ac_status=$?
101070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101071 (exit $ac_status); }; }; then
101072 glibcxx_cv_func__frexpf_use=yes
101074 echo "$as_me: failed program was:" >&5
101075 sed 's/^/| /' conftest.$ac_ext >&5
101077 glibcxx_cv_func__frexpf_use=no
101079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101080 ac_ext=c
101081 ac_cpp='$CPP $CPPFLAGS'
101082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
101091 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
101093 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
101095 for ac_func in _frexpf
101097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101098 echo "$as_me:$LINENO: checking for $ac_func" >&5
101099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101100 if eval "test \"\${$as_ac_var+set}\" = set"; then
101101 echo $ECHO_N "(cached) $ECHO_C" >&6
101103 if test x$gcc_no_link = xyes; then
101104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101106 { (exit 1); exit 1; }; }
101108 cat >conftest.$ac_ext <<_ACEOF
101109 /* confdefs.h. */
101110 _ACEOF
101111 cat confdefs.h >>conftest.$ac_ext
101112 cat >>conftest.$ac_ext <<_ACEOF
101113 /* end confdefs.h. */
101114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101116 #define $ac_func innocuous_$ac_func
101118 /* System header to define __stub macros and hopefully few prototypes,
101119 which can conflict with char $ac_func (); below.
101120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101121 <limits.h> exists even on freestanding compilers. */
101123 #ifdef __STDC__
101124 # include <limits.h>
101125 #else
101126 # include <assert.h>
101127 #endif
101129 #undef $ac_func
101131 /* Override any gcc2 internal prototype to avoid an error. */
101132 #ifdef __cplusplus
101133 extern "C"
101135 #endif
101136 /* We use char because int might match the return type of a gcc2
101137 builtin and then its argument prototype would still apply. */
101138 char $ac_func ();
101139 /* The GNU C library defines this for functions which it implements
101140 to always fail with ENOSYS. Some functions are actually named
101141 something starting with __ and the normal name is an alias. */
101142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101143 choke me
101144 #else
101145 char (*f) () = $ac_func;
101146 #endif
101147 #ifdef __cplusplus
101149 #endif
101152 main ()
101154 return f != $ac_func;
101156 return 0;
101158 _ACEOF
101159 rm -f conftest.$ac_objext conftest$ac_exeext
101160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101161 (eval $ac_link) 2>conftest.er1
101162 ac_status=$?
101163 grep -v '^ *+' conftest.er1 >conftest.err
101164 rm -f conftest.er1
101165 cat conftest.err >&5
101166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101167 (exit $ac_status); } &&
101168 { ac_try='test -z "$ac_c_werror_flag"
101169 || test ! -s conftest.err'
101170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101171 (eval $ac_try) 2>&5
101172 ac_status=$?
101173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101174 (exit $ac_status); }; } &&
101175 { ac_try='test -s conftest$ac_exeext'
101176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101177 (eval $ac_try) 2>&5
101178 ac_status=$?
101179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101180 (exit $ac_status); }; }; then
101181 eval "$as_ac_var=yes"
101183 echo "$as_me: failed program was:" >&5
101184 sed 's/^/| /' conftest.$ac_ext >&5
101186 eval "$as_ac_var=no"
101188 rm -f conftest.err conftest.$ac_objext \
101189 conftest$ac_exeext conftest.$ac_ext
101191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101193 if test `eval echo '${'$as_ac_var'}'` = yes; then
101194 cat >>confdefs.h <<_ACEOF
101195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101196 _ACEOF
101209 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
101210 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
101211 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
101212 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
101213 echo $ECHO_N "(cached) $ECHO_C" >&6
101218 ac_ext=cc
101219 ac_cpp='$CXXCPP $CPPFLAGS'
101220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101224 cat >conftest.$ac_ext <<_ACEOF
101225 /* confdefs.h. */
101226 _ACEOF
101227 cat confdefs.h >>conftest.$ac_ext
101228 cat >>conftest.$ac_ext <<_ACEOF
101229 /* end confdefs.h. */
101230 #include <math.h>
101232 main ()
101234 hypotf(0, 0);
101236 return 0;
101238 _ACEOF
101239 rm -f conftest.$ac_objext
101240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101241 (eval $ac_compile) 2>conftest.er1
101242 ac_status=$?
101243 grep -v '^ *+' conftest.er1 >conftest.err
101244 rm -f conftest.er1
101245 cat conftest.err >&5
101246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101247 (exit $ac_status); } &&
101248 { ac_try='test -z "$ac_cxx_werror_flag"
101249 || test ! -s conftest.err'
101250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101251 (eval $ac_try) 2>&5
101252 ac_status=$?
101253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101254 (exit $ac_status); }; } &&
101255 { ac_try='test -s conftest.$ac_objext'
101256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101257 (eval $ac_try) 2>&5
101258 ac_status=$?
101259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101260 (exit $ac_status); }; }; then
101261 glibcxx_cv_func_hypotf_use=yes
101263 echo "$as_me: failed program was:" >&5
101264 sed 's/^/| /' conftest.$ac_ext >&5
101266 glibcxx_cv_func_hypotf_use=no
101268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101269 ac_ext=c
101270 ac_cpp='$CPP $CPPFLAGS'
101271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
101280 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
101282 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
101284 for ac_func in hypotf
101286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101287 echo "$as_me:$LINENO: checking for $ac_func" >&5
101288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101289 if eval "test \"\${$as_ac_var+set}\" = set"; then
101290 echo $ECHO_N "(cached) $ECHO_C" >&6
101292 if test x$gcc_no_link = xyes; then
101293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101295 { (exit 1); exit 1; }; }
101297 cat >conftest.$ac_ext <<_ACEOF
101298 /* confdefs.h. */
101299 _ACEOF
101300 cat confdefs.h >>conftest.$ac_ext
101301 cat >>conftest.$ac_ext <<_ACEOF
101302 /* end confdefs.h. */
101303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101305 #define $ac_func innocuous_$ac_func
101307 /* System header to define __stub macros and hopefully few prototypes,
101308 which can conflict with char $ac_func (); below.
101309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101310 <limits.h> exists even on freestanding compilers. */
101312 #ifdef __STDC__
101313 # include <limits.h>
101314 #else
101315 # include <assert.h>
101316 #endif
101318 #undef $ac_func
101320 /* Override any gcc2 internal prototype to avoid an error. */
101321 #ifdef __cplusplus
101322 extern "C"
101324 #endif
101325 /* We use char because int might match the return type of a gcc2
101326 builtin and then its argument prototype would still apply. */
101327 char $ac_func ();
101328 /* The GNU C library defines this for functions which it implements
101329 to always fail with ENOSYS. Some functions are actually named
101330 something starting with __ and the normal name is an alias. */
101331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101332 choke me
101333 #else
101334 char (*f) () = $ac_func;
101335 #endif
101336 #ifdef __cplusplus
101338 #endif
101341 main ()
101343 return f != $ac_func;
101345 return 0;
101347 _ACEOF
101348 rm -f conftest.$ac_objext conftest$ac_exeext
101349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101350 (eval $ac_link) 2>conftest.er1
101351 ac_status=$?
101352 grep -v '^ *+' conftest.er1 >conftest.err
101353 rm -f conftest.er1
101354 cat conftest.err >&5
101355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101356 (exit $ac_status); } &&
101357 { ac_try='test -z "$ac_c_werror_flag"
101358 || test ! -s conftest.err'
101359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101360 (eval $ac_try) 2>&5
101361 ac_status=$?
101362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101363 (exit $ac_status); }; } &&
101364 { ac_try='test -s conftest$ac_exeext'
101365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101366 (eval $ac_try) 2>&5
101367 ac_status=$?
101368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101369 (exit $ac_status); }; }; then
101370 eval "$as_ac_var=yes"
101372 echo "$as_me: failed program was:" >&5
101373 sed 's/^/| /' conftest.$ac_ext >&5
101375 eval "$as_ac_var=no"
101377 rm -f conftest.err conftest.$ac_objext \
101378 conftest$ac_exeext conftest.$ac_ext
101380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101382 if test `eval echo '${'$as_ac_var'}'` = yes; then
101383 cat >>confdefs.h <<_ACEOF
101384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101385 _ACEOF
101392 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
101393 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
101394 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
101395 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
101396 echo $ECHO_N "(cached) $ECHO_C" >&6
101401 ac_ext=cc
101402 ac_cpp='$CXXCPP $CPPFLAGS'
101403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101407 cat >conftest.$ac_ext <<_ACEOF
101408 /* confdefs.h. */
101409 _ACEOF
101410 cat confdefs.h >>conftest.$ac_ext
101411 cat >>conftest.$ac_ext <<_ACEOF
101412 /* end confdefs.h. */
101413 #include <math.h>
101415 main ()
101417 _hypotf(0, 0);
101419 return 0;
101421 _ACEOF
101422 rm -f conftest.$ac_objext
101423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101424 (eval $ac_compile) 2>conftest.er1
101425 ac_status=$?
101426 grep -v '^ *+' conftest.er1 >conftest.err
101427 rm -f conftest.er1
101428 cat conftest.err >&5
101429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101430 (exit $ac_status); } &&
101431 { ac_try='test -z "$ac_cxx_werror_flag"
101432 || test ! -s conftest.err'
101433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101434 (eval $ac_try) 2>&5
101435 ac_status=$?
101436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101437 (exit $ac_status); }; } &&
101438 { ac_try='test -s conftest.$ac_objext'
101439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101440 (eval $ac_try) 2>&5
101441 ac_status=$?
101442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101443 (exit $ac_status); }; }; then
101444 glibcxx_cv_func__hypotf_use=yes
101446 echo "$as_me: failed program was:" >&5
101447 sed 's/^/| /' conftest.$ac_ext >&5
101449 glibcxx_cv_func__hypotf_use=no
101451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101452 ac_ext=c
101453 ac_cpp='$CPP $CPPFLAGS'
101454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101462 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
101463 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
101465 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
101467 for ac_func in _hypotf
101469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101470 echo "$as_me:$LINENO: checking for $ac_func" >&5
101471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101472 if eval "test \"\${$as_ac_var+set}\" = set"; then
101473 echo $ECHO_N "(cached) $ECHO_C" >&6
101475 if test x$gcc_no_link = xyes; then
101476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101478 { (exit 1); exit 1; }; }
101480 cat >conftest.$ac_ext <<_ACEOF
101481 /* confdefs.h. */
101482 _ACEOF
101483 cat confdefs.h >>conftest.$ac_ext
101484 cat >>conftest.$ac_ext <<_ACEOF
101485 /* end confdefs.h. */
101486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101488 #define $ac_func innocuous_$ac_func
101490 /* System header to define __stub macros and hopefully few prototypes,
101491 which can conflict with char $ac_func (); below.
101492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101493 <limits.h> exists even on freestanding compilers. */
101495 #ifdef __STDC__
101496 # include <limits.h>
101497 #else
101498 # include <assert.h>
101499 #endif
101501 #undef $ac_func
101503 /* Override any gcc2 internal prototype to avoid an error. */
101504 #ifdef __cplusplus
101505 extern "C"
101507 #endif
101508 /* We use char because int might match the return type of a gcc2
101509 builtin and then its argument prototype would still apply. */
101510 char $ac_func ();
101511 /* The GNU C library defines this for functions which it implements
101512 to always fail with ENOSYS. Some functions are actually named
101513 something starting with __ and the normal name is an alias. */
101514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101515 choke me
101516 #else
101517 char (*f) () = $ac_func;
101518 #endif
101519 #ifdef __cplusplus
101521 #endif
101524 main ()
101526 return f != $ac_func;
101528 return 0;
101530 _ACEOF
101531 rm -f conftest.$ac_objext conftest$ac_exeext
101532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101533 (eval $ac_link) 2>conftest.er1
101534 ac_status=$?
101535 grep -v '^ *+' conftest.er1 >conftest.err
101536 rm -f conftest.er1
101537 cat conftest.err >&5
101538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101539 (exit $ac_status); } &&
101540 { ac_try='test -z "$ac_c_werror_flag"
101541 || test ! -s conftest.err'
101542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101543 (eval $ac_try) 2>&5
101544 ac_status=$?
101545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101546 (exit $ac_status); }; } &&
101547 { ac_try='test -s conftest$ac_exeext'
101548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101549 (eval $ac_try) 2>&5
101550 ac_status=$?
101551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101552 (exit $ac_status); }; }; then
101553 eval "$as_ac_var=yes"
101555 echo "$as_me: failed program was:" >&5
101556 sed 's/^/| /' conftest.$ac_ext >&5
101558 eval "$as_ac_var=no"
101560 rm -f conftest.err conftest.$ac_objext \
101561 conftest$ac_exeext conftest.$ac_ext
101563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101565 if test `eval echo '${'$as_ac_var'}'` = yes; then
101566 cat >>confdefs.h <<_ACEOF
101567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101568 _ACEOF
101581 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
101582 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
101583 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
101584 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
101585 echo $ECHO_N "(cached) $ECHO_C" >&6
101590 ac_ext=cc
101591 ac_cpp='$CXXCPP $CPPFLAGS'
101592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101596 cat >conftest.$ac_ext <<_ACEOF
101597 /* confdefs.h. */
101598 _ACEOF
101599 cat confdefs.h >>conftest.$ac_ext
101600 cat >>conftest.$ac_ext <<_ACEOF
101601 /* end confdefs.h. */
101602 #include <math.h>
101604 main ()
101606 ldexpf(0, 0);
101608 return 0;
101610 _ACEOF
101611 rm -f conftest.$ac_objext
101612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101613 (eval $ac_compile) 2>conftest.er1
101614 ac_status=$?
101615 grep -v '^ *+' conftest.er1 >conftest.err
101616 rm -f conftest.er1
101617 cat conftest.err >&5
101618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101619 (exit $ac_status); } &&
101620 { ac_try='test -z "$ac_cxx_werror_flag"
101621 || test ! -s conftest.err'
101622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101623 (eval $ac_try) 2>&5
101624 ac_status=$?
101625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101626 (exit $ac_status); }; } &&
101627 { ac_try='test -s conftest.$ac_objext'
101628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101629 (eval $ac_try) 2>&5
101630 ac_status=$?
101631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101632 (exit $ac_status); }; }; then
101633 glibcxx_cv_func_ldexpf_use=yes
101635 echo "$as_me: failed program was:" >&5
101636 sed 's/^/| /' conftest.$ac_ext >&5
101638 glibcxx_cv_func_ldexpf_use=no
101640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101641 ac_ext=c
101642 ac_cpp='$CPP $CPPFLAGS'
101643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101651 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
101652 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
101654 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
101656 for ac_func in ldexpf
101658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101659 echo "$as_me:$LINENO: checking for $ac_func" >&5
101660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101661 if eval "test \"\${$as_ac_var+set}\" = set"; then
101662 echo $ECHO_N "(cached) $ECHO_C" >&6
101664 if test x$gcc_no_link = xyes; then
101665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101667 { (exit 1); exit 1; }; }
101669 cat >conftest.$ac_ext <<_ACEOF
101670 /* confdefs.h. */
101671 _ACEOF
101672 cat confdefs.h >>conftest.$ac_ext
101673 cat >>conftest.$ac_ext <<_ACEOF
101674 /* end confdefs.h. */
101675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101677 #define $ac_func innocuous_$ac_func
101679 /* System header to define __stub macros and hopefully few prototypes,
101680 which can conflict with char $ac_func (); below.
101681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101682 <limits.h> exists even on freestanding compilers. */
101684 #ifdef __STDC__
101685 # include <limits.h>
101686 #else
101687 # include <assert.h>
101688 #endif
101690 #undef $ac_func
101692 /* Override any gcc2 internal prototype to avoid an error. */
101693 #ifdef __cplusplus
101694 extern "C"
101696 #endif
101697 /* We use char because int might match the return type of a gcc2
101698 builtin and then its argument prototype would still apply. */
101699 char $ac_func ();
101700 /* The GNU C library defines this for functions which it implements
101701 to always fail with ENOSYS. Some functions are actually named
101702 something starting with __ and the normal name is an alias. */
101703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101704 choke me
101705 #else
101706 char (*f) () = $ac_func;
101707 #endif
101708 #ifdef __cplusplus
101710 #endif
101713 main ()
101715 return f != $ac_func;
101717 return 0;
101719 _ACEOF
101720 rm -f conftest.$ac_objext conftest$ac_exeext
101721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101722 (eval $ac_link) 2>conftest.er1
101723 ac_status=$?
101724 grep -v '^ *+' conftest.er1 >conftest.err
101725 rm -f conftest.er1
101726 cat conftest.err >&5
101727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101728 (exit $ac_status); } &&
101729 { ac_try='test -z "$ac_c_werror_flag"
101730 || test ! -s conftest.err'
101731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101732 (eval $ac_try) 2>&5
101733 ac_status=$?
101734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101735 (exit $ac_status); }; } &&
101736 { ac_try='test -s conftest$ac_exeext'
101737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101738 (eval $ac_try) 2>&5
101739 ac_status=$?
101740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101741 (exit $ac_status); }; }; then
101742 eval "$as_ac_var=yes"
101744 echo "$as_me: failed program was:" >&5
101745 sed 's/^/| /' conftest.$ac_ext >&5
101747 eval "$as_ac_var=no"
101749 rm -f conftest.err conftest.$ac_objext \
101750 conftest$ac_exeext conftest.$ac_ext
101752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101754 if test `eval echo '${'$as_ac_var'}'` = yes; then
101755 cat >>confdefs.h <<_ACEOF
101756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101757 _ACEOF
101764 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
101765 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
101766 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
101767 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
101768 echo $ECHO_N "(cached) $ECHO_C" >&6
101773 ac_ext=cc
101774 ac_cpp='$CXXCPP $CPPFLAGS'
101775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101779 cat >conftest.$ac_ext <<_ACEOF
101780 /* confdefs.h. */
101781 _ACEOF
101782 cat confdefs.h >>conftest.$ac_ext
101783 cat >>conftest.$ac_ext <<_ACEOF
101784 /* end confdefs.h. */
101785 #include <math.h>
101787 main ()
101789 _ldexpf(0, 0);
101791 return 0;
101793 _ACEOF
101794 rm -f conftest.$ac_objext
101795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101796 (eval $ac_compile) 2>conftest.er1
101797 ac_status=$?
101798 grep -v '^ *+' conftest.er1 >conftest.err
101799 rm -f conftest.er1
101800 cat conftest.err >&5
101801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101802 (exit $ac_status); } &&
101803 { ac_try='test -z "$ac_cxx_werror_flag"
101804 || test ! -s conftest.err'
101805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101806 (eval $ac_try) 2>&5
101807 ac_status=$?
101808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101809 (exit $ac_status); }; } &&
101810 { ac_try='test -s conftest.$ac_objext'
101811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101812 (eval $ac_try) 2>&5
101813 ac_status=$?
101814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101815 (exit $ac_status); }; }; then
101816 glibcxx_cv_func__ldexpf_use=yes
101818 echo "$as_me: failed program was:" >&5
101819 sed 's/^/| /' conftest.$ac_ext >&5
101821 glibcxx_cv_func__ldexpf_use=no
101823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101824 ac_ext=c
101825 ac_cpp='$CPP $CPPFLAGS'
101826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
101835 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
101837 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
101839 for ac_func in _ldexpf
101841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101842 echo "$as_me:$LINENO: checking for $ac_func" >&5
101843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101844 if eval "test \"\${$as_ac_var+set}\" = set"; then
101845 echo $ECHO_N "(cached) $ECHO_C" >&6
101847 if test x$gcc_no_link = xyes; then
101848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101850 { (exit 1); exit 1; }; }
101852 cat >conftest.$ac_ext <<_ACEOF
101853 /* confdefs.h. */
101854 _ACEOF
101855 cat confdefs.h >>conftest.$ac_ext
101856 cat >>conftest.$ac_ext <<_ACEOF
101857 /* end confdefs.h. */
101858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101860 #define $ac_func innocuous_$ac_func
101862 /* System header to define __stub macros and hopefully few prototypes,
101863 which can conflict with char $ac_func (); below.
101864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101865 <limits.h> exists even on freestanding compilers. */
101867 #ifdef __STDC__
101868 # include <limits.h>
101869 #else
101870 # include <assert.h>
101871 #endif
101873 #undef $ac_func
101875 /* Override any gcc2 internal prototype to avoid an error. */
101876 #ifdef __cplusplus
101877 extern "C"
101879 #endif
101880 /* We use char because int might match the return type of a gcc2
101881 builtin and then its argument prototype would still apply. */
101882 char $ac_func ();
101883 /* The GNU C library defines this for functions which it implements
101884 to always fail with ENOSYS. Some functions are actually named
101885 something starting with __ and the normal name is an alias. */
101886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101887 choke me
101888 #else
101889 char (*f) () = $ac_func;
101890 #endif
101891 #ifdef __cplusplus
101893 #endif
101896 main ()
101898 return f != $ac_func;
101900 return 0;
101902 _ACEOF
101903 rm -f conftest.$ac_objext conftest$ac_exeext
101904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101905 (eval $ac_link) 2>conftest.er1
101906 ac_status=$?
101907 grep -v '^ *+' conftest.er1 >conftest.err
101908 rm -f conftest.er1
101909 cat conftest.err >&5
101910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101911 (exit $ac_status); } &&
101912 { ac_try='test -z "$ac_c_werror_flag"
101913 || test ! -s conftest.err'
101914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101915 (eval $ac_try) 2>&5
101916 ac_status=$?
101917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101918 (exit $ac_status); }; } &&
101919 { ac_try='test -s conftest$ac_exeext'
101920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101921 (eval $ac_try) 2>&5
101922 ac_status=$?
101923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101924 (exit $ac_status); }; }; then
101925 eval "$as_ac_var=yes"
101927 echo "$as_me: failed program was:" >&5
101928 sed 's/^/| /' conftest.$ac_ext >&5
101930 eval "$as_ac_var=no"
101932 rm -f conftest.err conftest.$ac_objext \
101933 conftest$ac_exeext conftest.$ac_ext
101935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101937 if test `eval echo '${'$as_ac_var'}'` = yes; then
101938 cat >>confdefs.h <<_ACEOF
101939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101940 _ACEOF
101953 echo "$as_me:$LINENO: checking for logf declaration" >&5
101954 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
101955 if test x${glibcxx_cv_func_logf_use+set} != xset; then
101956 if test "${glibcxx_cv_func_logf_use+set}" = set; then
101957 echo $ECHO_N "(cached) $ECHO_C" >&6
101962 ac_ext=cc
101963 ac_cpp='$CXXCPP $CPPFLAGS'
101964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101968 cat >conftest.$ac_ext <<_ACEOF
101969 /* confdefs.h. */
101970 _ACEOF
101971 cat confdefs.h >>conftest.$ac_ext
101972 cat >>conftest.$ac_ext <<_ACEOF
101973 /* end confdefs.h. */
101974 #include <math.h>
101975 #ifdef HAVE_IEEEFP_H
101976 #include <ieeefp.h>
101977 #endif
101980 main ()
101982 logf(0);
101984 return 0;
101986 _ACEOF
101987 rm -f conftest.$ac_objext
101988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101989 (eval $ac_compile) 2>conftest.er1
101990 ac_status=$?
101991 grep -v '^ *+' conftest.er1 >conftest.err
101992 rm -f conftest.er1
101993 cat conftest.err >&5
101994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101995 (exit $ac_status); } &&
101996 { ac_try='test -z "$ac_cxx_werror_flag"
101997 || test ! -s conftest.err'
101998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101999 (eval $ac_try) 2>&5
102000 ac_status=$?
102001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102002 (exit $ac_status); }; } &&
102003 { ac_try='test -s conftest.$ac_objext'
102004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102005 (eval $ac_try) 2>&5
102006 ac_status=$?
102007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102008 (exit $ac_status); }; }; then
102009 glibcxx_cv_func_logf_use=yes
102011 echo "$as_me: failed program was:" >&5
102012 sed 's/^/| /' conftest.$ac_ext >&5
102014 glibcxx_cv_func_logf_use=no
102016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102017 ac_ext=c
102018 ac_cpp='$CPP $CPPFLAGS'
102019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
102028 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
102030 if test x$glibcxx_cv_func_logf_use = x"yes"; then
102032 for ac_func in logf
102034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102035 echo "$as_me:$LINENO: checking for $ac_func" >&5
102036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102037 if eval "test \"\${$as_ac_var+set}\" = set"; then
102038 echo $ECHO_N "(cached) $ECHO_C" >&6
102040 if test x$gcc_no_link = xyes; then
102041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102043 { (exit 1); exit 1; }; }
102045 cat >conftest.$ac_ext <<_ACEOF
102046 /* confdefs.h. */
102047 _ACEOF
102048 cat confdefs.h >>conftest.$ac_ext
102049 cat >>conftest.$ac_ext <<_ACEOF
102050 /* end confdefs.h. */
102051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102053 #define $ac_func innocuous_$ac_func
102055 /* System header to define __stub macros and hopefully few prototypes,
102056 which can conflict with char $ac_func (); below.
102057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102058 <limits.h> exists even on freestanding compilers. */
102060 #ifdef __STDC__
102061 # include <limits.h>
102062 #else
102063 # include <assert.h>
102064 #endif
102066 #undef $ac_func
102068 /* Override any gcc2 internal prototype to avoid an error. */
102069 #ifdef __cplusplus
102070 extern "C"
102072 #endif
102073 /* We use char because int might match the return type of a gcc2
102074 builtin and then its argument prototype would still apply. */
102075 char $ac_func ();
102076 /* The GNU C library defines this for functions which it implements
102077 to always fail with ENOSYS. Some functions are actually named
102078 something starting with __ and the normal name is an alias. */
102079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102080 choke me
102081 #else
102082 char (*f) () = $ac_func;
102083 #endif
102084 #ifdef __cplusplus
102086 #endif
102089 main ()
102091 return f != $ac_func;
102093 return 0;
102095 _ACEOF
102096 rm -f conftest.$ac_objext conftest$ac_exeext
102097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102098 (eval $ac_link) 2>conftest.er1
102099 ac_status=$?
102100 grep -v '^ *+' conftest.er1 >conftest.err
102101 rm -f conftest.er1
102102 cat conftest.err >&5
102103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102104 (exit $ac_status); } &&
102105 { ac_try='test -z "$ac_c_werror_flag"
102106 || test ! -s conftest.err'
102107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102108 (eval $ac_try) 2>&5
102109 ac_status=$?
102110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102111 (exit $ac_status); }; } &&
102112 { ac_try='test -s conftest$ac_exeext'
102113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102114 (eval $ac_try) 2>&5
102115 ac_status=$?
102116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102117 (exit $ac_status); }; }; then
102118 eval "$as_ac_var=yes"
102120 echo "$as_me: failed program was:" >&5
102121 sed 's/^/| /' conftest.$ac_ext >&5
102123 eval "$as_ac_var=no"
102125 rm -f conftest.err conftest.$ac_objext \
102126 conftest$ac_exeext conftest.$ac_ext
102128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102130 if test `eval echo '${'$as_ac_var'}'` = yes; then
102131 cat >>confdefs.h <<_ACEOF
102132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102133 _ACEOF
102140 echo "$as_me:$LINENO: checking for _logf declaration" >&5
102141 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
102142 if test x${glibcxx_cv_func__logf_use+set} != xset; then
102143 if test "${glibcxx_cv_func__logf_use+set}" = set; then
102144 echo $ECHO_N "(cached) $ECHO_C" >&6
102149 ac_ext=cc
102150 ac_cpp='$CXXCPP $CPPFLAGS'
102151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102155 cat >conftest.$ac_ext <<_ACEOF
102156 /* confdefs.h. */
102157 _ACEOF
102158 cat confdefs.h >>conftest.$ac_ext
102159 cat >>conftest.$ac_ext <<_ACEOF
102160 /* end confdefs.h. */
102161 #include <math.h>
102162 #ifdef HAVE_IEEEFP_H
102163 #include <ieeefp.h>
102164 #endif
102167 main ()
102169 _logf(0);
102171 return 0;
102173 _ACEOF
102174 rm -f conftest.$ac_objext
102175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102176 (eval $ac_compile) 2>conftest.er1
102177 ac_status=$?
102178 grep -v '^ *+' conftest.er1 >conftest.err
102179 rm -f conftest.er1
102180 cat conftest.err >&5
102181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102182 (exit $ac_status); } &&
102183 { ac_try='test -z "$ac_cxx_werror_flag"
102184 || test ! -s conftest.err'
102185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102186 (eval $ac_try) 2>&5
102187 ac_status=$?
102188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102189 (exit $ac_status); }; } &&
102190 { ac_try='test -s conftest.$ac_objext'
102191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102192 (eval $ac_try) 2>&5
102193 ac_status=$?
102194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102195 (exit $ac_status); }; }; then
102196 glibcxx_cv_func__logf_use=yes
102198 echo "$as_me: failed program was:" >&5
102199 sed 's/^/| /' conftest.$ac_ext >&5
102201 glibcxx_cv_func__logf_use=no
102203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102204 ac_ext=c
102205 ac_cpp='$CPP $CPPFLAGS'
102206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
102215 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
102217 if test x$glibcxx_cv_func__logf_use = x"yes"; then
102219 for ac_func in _logf
102221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102222 echo "$as_me:$LINENO: checking for $ac_func" >&5
102223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102224 if eval "test \"\${$as_ac_var+set}\" = set"; then
102225 echo $ECHO_N "(cached) $ECHO_C" >&6
102227 if test x$gcc_no_link = xyes; then
102228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102230 { (exit 1); exit 1; }; }
102232 cat >conftest.$ac_ext <<_ACEOF
102233 /* confdefs.h. */
102234 _ACEOF
102235 cat confdefs.h >>conftest.$ac_ext
102236 cat >>conftest.$ac_ext <<_ACEOF
102237 /* end confdefs.h. */
102238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102240 #define $ac_func innocuous_$ac_func
102242 /* System header to define __stub macros and hopefully few prototypes,
102243 which can conflict with char $ac_func (); below.
102244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102245 <limits.h> exists even on freestanding compilers. */
102247 #ifdef __STDC__
102248 # include <limits.h>
102249 #else
102250 # include <assert.h>
102251 #endif
102253 #undef $ac_func
102255 /* Override any gcc2 internal prototype to avoid an error. */
102256 #ifdef __cplusplus
102257 extern "C"
102259 #endif
102260 /* We use char because int might match the return type of a gcc2
102261 builtin and then its argument prototype would still apply. */
102262 char $ac_func ();
102263 /* The GNU C library defines this for functions which it implements
102264 to always fail with ENOSYS. Some functions are actually named
102265 something starting with __ and the normal name is an alias. */
102266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102267 choke me
102268 #else
102269 char (*f) () = $ac_func;
102270 #endif
102271 #ifdef __cplusplus
102273 #endif
102276 main ()
102278 return f != $ac_func;
102280 return 0;
102282 _ACEOF
102283 rm -f conftest.$ac_objext conftest$ac_exeext
102284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102285 (eval $ac_link) 2>conftest.er1
102286 ac_status=$?
102287 grep -v '^ *+' conftest.er1 >conftest.err
102288 rm -f conftest.er1
102289 cat conftest.err >&5
102290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102291 (exit $ac_status); } &&
102292 { ac_try='test -z "$ac_c_werror_flag"
102293 || test ! -s conftest.err'
102294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102295 (eval $ac_try) 2>&5
102296 ac_status=$?
102297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102298 (exit $ac_status); }; } &&
102299 { ac_try='test -s conftest$ac_exeext'
102300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102301 (eval $ac_try) 2>&5
102302 ac_status=$?
102303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102304 (exit $ac_status); }; }; then
102305 eval "$as_ac_var=yes"
102307 echo "$as_me: failed program was:" >&5
102308 sed 's/^/| /' conftest.$ac_ext >&5
102310 eval "$as_ac_var=no"
102312 rm -f conftest.err conftest.$ac_objext \
102313 conftest$ac_exeext conftest.$ac_ext
102315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102317 if test `eval echo '${'$as_ac_var'}'` = yes; then
102318 cat >>confdefs.h <<_ACEOF
102319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102320 _ACEOF
102333 echo "$as_me:$LINENO: checking for log10f declaration" >&5
102334 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
102335 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
102336 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
102337 echo $ECHO_N "(cached) $ECHO_C" >&6
102342 ac_ext=cc
102343 ac_cpp='$CXXCPP $CPPFLAGS'
102344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102348 cat >conftest.$ac_ext <<_ACEOF
102349 /* confdefs.h. */
102350 _ACEOF
102351 cat confdefs.h >>conftest.$ac_ext
102352 cat >>conftest.$ac_ext <<_ACEOF
102353 /* end confdefs.h. */
102354 #include <math.h>
102355 #ifdef HAVE_IEEEFP_H
102356 #include <ieeefp.h>
102357 #endif
102360 main ()
102362 log10f(0);
102364 return 0;
102366 _ACEOF
102367 rm -f conftest.$ac_objext
102368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102369 (eval $ac_compile) 2>conftest.er1
102370 ac_status=$?
102371 grep -v '^ *+' conftest.er1 >conftest.err
102372 rm -f conftest.er1
102373 cat conftest.err >&5
102374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102375 (exit $ac_status); } &&
102376 { ac_try='test -z "$ac_cxx_werror_flag"
102377 || test ! -s conftest.err'
102378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102379 (eval $ac_try) 2>&5
102380 ac_status=$?
102381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102382 (exit $ac_status); }; } &&
102383 { ac_try='test -s conftest.$ac_objext'
102384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102385 (eval $ac_try) 2>&5
102386 ac_status=$?
102387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102388 (exit $ac_status); }; }; then
102389 glibcxx_cv_func_log10f_use=yes
102391 echo "$as_me: failed program was:" >&5
102392 sed 's/^/| /' conftest.$ac_ext >&5
102394 glibcxx_cv_func_log10f_use=no
102396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102397 ac_ext=c
102398 ac_cpp='$CPP $CPPFLAGS'
102399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
102408 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
102410 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
102412 for ac_func in log10f
102414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102415 echo "$as_me:$LINENO: checking for $ac_func" >&5
102416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102417 if eval "test \"\${$as_ac_var+set}\" = set"; then
102418 echo $ECHO_N "(cached) $ECHO_C" >&6
102420 if test x$gcc_no_link = xyes; then
102421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102423 { (exit 1); exit 1; }; }
102425 cat >conftest.$ac_ext <<_ACEOF
102426 /* confdefs.h. */
102427 _ACEOF
102428 cat confdefs.h >>conftest.$ac_ext
102429 cat >>conftest.$ac_ext <<_ACEOF
102430 /* end confdefs.h. */
102431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102433 #define $ac_func innocuous_$ac_func
102435 /* System header to define __stub macros and hopefully few prototypes,
102436 which can conflict with char $ac_func (); below.
102437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102438 <limits.h> exists even on freestanding compilers. */
102440 #ifdef __STDC__
102441 # include <limits.h>
102442 #else
102443 # include <assert.h>
102444 #endif
102446 #undef $ac_func
102448 /* Override any gcc2 internal prototype to avoid an error. */
102449 #ifdef __cplusplus
102450 extern "C"
102452 #endif
102453 /* We use char because int might match the return type of a gcc2
102454 builtin and then its argument prototype would still apply. */
102455 char $ac_func ();
102456 /* The GNU C library defines this for functions which it implements
102457 to always fail with ENOSYS. Some functions are actually named
102458 something starting with __ and the normal name is an alias. */
102459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102460 choke me
102461 #else
102462 char (*f) () = $ac_func;
102463 #endif
102464 #ifdef __cplusplus
102466 #endif
102469 main ()
102471 return f != $ac_func;
102473 return 0;
102475 _ACEOF
102476 rm -f conftest.$ac_objext conftest$ac_exeext
102477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102478 (eval $ac_link) 2>conftest.er1
102479 ac_status=$?
102480 grep -v '^ *+' conftest.er1 >conftest.err
102481 rm -f conftest.er1
102482 cat conftest.err >&5
102483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102484 (exit $ac_status); } &&
102485 { ac_try='test -z "$ac_c_werror_flag"
102486 || test ! -s conftest.err'
102487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102488 (eval $ac_try) 2>&5
102489 ac_status=$?
102490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102491 (exit $ac_status); }; } &&
102492 { ac_try='test -s conftest$ac_exeext'
102493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102494 (eval $ac_try) 2>&5
102495 ac_status=$?
102496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102497 (exit $ac_status); }; }; then
102498 eval "$as_ac_var=yes"
102500 echo "$as_me: failed program was:" >&5
102501 sed 's/^/| /' conftest.$ac_ext >&5
102503 eval "$as_ac_var=no"
102505 rm -f conftest.err conftest.$ac_objext \
102506 conftest$ac_exeext conftest.$ac_ext
102508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102510 if test `eval echo '${'$as_ac_var'}'` = yes; then
102511 cat >>confdefs.h <<_ACEOF
102512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102513 _ACEOF
102520 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
102521 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
102522 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
102523 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
102524 echo $ECHO_N "(cached) $ECHO_C" >&6
102529 ac_ext=cc
102530 ac_cpp='$CXXCPP $CPPFLAGS'
102531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102535 cat >conftest.$ac_ext <<_ACEOF
102536 /* confdefs.h. */
102537 _ACEOF
102538 cat confdefs.h >>conftest.$ac_ext
102539 cat >>conftest.$ac_ext <<_ACEOF
102540 /* end confdefs.h. */
102541 #include <math.h>
102542 #ifdef HAVE_IEEEFP_H
102543 #include <ieeefp.h>
102544 #endif
102547 main ()
102549 _log10f(0);
102551 return 0;
102553 _ACEOF
102554 rm -f conftest.$ac_objext
102555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102556 (eval $ac_compile) 2>conftest.er1
102557 ac_status=$?
102558 grep -v '^ *+' conftest.er1 >conftest.err
102559 rm -f conftest.er1
102560 cat conftest.err >&5
102561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102562 (exit $ac_status); } &&
102563 { ac_try='test -z "$ac_cxx_werror_flag"
102564 || test ! -s conftest.err'
102565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102566 (eval $ac_try) 2>&5
102567 ac_status=$?
102568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102569 (exit $ac_status); }; } &&
102570 { ac_try='test -s conftest.$ac_objext'
102571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102572 (eval $ac_try) 2>&5
102573 ac_status=$?
102574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102575 (exit $ac_status); }; }; then
102576 glibcxx_cv_func__log10f_use=yes
102578 echo "$as_me: failed program was:" >&5
102579 sed 's/^/| /' conftest.$ac_ext >&5
102581 glibcxx_cv_func__log10f_use=no
102583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102584 ac_ext=c
102585 ac_cpp='$CPP $CPPFLAGS'
102586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
102595 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
102597 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
102599 for ac_func in _log10f
102601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102602 echo "$as_me:$LINENO: checking for $ac_func" >&5
102603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102604 if eval "test \"\${$as_ac_var+set}\" = set"; then
102605 echo $ECHO_N "(cached) $ECHO_C" >&6
102607 if test x$gcc_no_link = xyes; then
102608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102610 { (exit 1); exit 1; }; }
102612 cat >conftest.$ac_ext <<_ACEOF
102613 /* confdefs.h. */
102614 _ACEOF
102615 cat confdefs.h >>conftest.$ac_ext
102616 cat >>conftest.$ac_ext <<_ACEOF
102617 /* end confdefs.h. */
102618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102620 #define $ac_func innocuous_$ac_func
102622 /* System header to define __stub macros and hopefully few prototypes,
102623 which can conflict with char $ac_func (); below.
102624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102625 <limits.h> exists even on freestanding compilers. */
102627 #ifdef __STDC__
102628 # include <limits.h>
102629 #else
102630 # include <assert.h>
102631 #endif
102633 #undef $ac_func
102635 /* Override any gcc2 internal prototype to avoid an error. */
102636 #ifdef __cplusplus
102637 extern "C"
102639 #endif
102640 /* We use char because int might match the return type of a gcc2
102641 builtin and then its argument prototype would still apply. */
102642 char $ac_func ();
102643 /* The GNU C library defines this for functions which it implements
102644 to always fail with ENOSYS. Some functions are actually named
102645 something starting with __ and the normal name is an alias. */
102646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102647 choke me
102648 #else
102649 char (*f) () = $ac_func;
102650 #endif
102651 #ifdef __cplusplus
102653 #endif
102656 main ()
102658 return f != $ac_func;
102660 return 0;
102662 _ACEOF
102663 rm -f conftest.$ac_objext conftest$ac_exeext
102664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102665 (eval $ac_link) 2>conftest.er1
102666 ac_status=$?
102667 grep -v '^ *+' conftest.er1 >conftest.err
102668 rm -f conftest.er1
102669 cat conftest.err >&5
102670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102671 (exit $ac_status); } &&
102672 { ac_try='test -z "$ac_c_werror_flag"
102673 || test ! -s conftest.err'
102674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102675 (eval $ac_try) 2>&5
102676 ac_status=$?
102677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102678 (exit $ac_status); }; } &&
102679 { ac_try='test -s conftest$ac_exeext'
102680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102681 (eval $ac_try) 2>&5
102682 ac_status=$?
102683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102684 (exit $ac_status); }; }; then
102685 eval "$as_ac_var=yes"
102687 echo "$as_me: failed program was:" >&5
102688 sed 's/^/| /' conftest.$ac_ext >&5
102690 eval "$as_ac_var=no"
102692 rm -f conftest.err conftest.$ac_objext \
102693 conftest$ac_exeext conftest.$ac_ext
102695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102697 if test `eval echo '${'$as_ac_var'}'` = yes; then
102698 cat >>confdefs.h <<_ACEOF
102699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102700 _ACEOF
102713 echo "$as_me:$LINENO: checking for modff declaration" >&5
102714 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
102715 if test x${glibcxx_cv_func_modff_use+set} != xset; then
102716 if test "${glibcxx_cv_func_modff_use+set}" = set; then
102717 echo $ECHO_N "(cached) $ECHO_C" >&6
102722 ac_ext=cc
102723 ac_cpp='$CXXCPP $CPPFLAGS'
102724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102728 cat >conftest.$ac_ext <<_ACEOF
102729 /* confdefs.h. */
102730 _ACEOF
102731 cat confdefs.h >>conftest.$ac_ext
102732 cat >>conftest.$ac_ext <<_ACEOF
102733 /* end confdefs.h. */
102734 #include <math.h>
102736 main ()
102738 modff(0, 0);
102740 return 0;
102742 _ACEOF
102743 rm -f conftest.$ac_objext
102744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102745 (eval $ac_compile) 2>conftest.er1
102746 ac_status=$?
102747 grep -v '^ *+' conftest.er1 >conftest.err
102748 rm -f conftest.er1
102749 cat conftest.err >&5
102750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102751 (exit $ac_status); } &&
102752 { ac_try='test -z "$ac_cxx_werror_flag"
102753 || test ! -s conftest.err'
102754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102755 (eval $ac_try) 2>&5
102756 ac_status=$?
102757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102758 (exit $ac_status); }; } &&
102759 { ac_try='test -s conftest.$ac_objext'
102760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102761 (eval $ac_try) 2>&5
102762 ac_status=$?
102763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102764 (exit $ac_status); }; }; then
102765 glibcxx_cv_func_modff_use=yes
102767 echo "$as_me: failed program was:" >&5
102768 sed 's/^/| /' conftest.$ac_ext >&5
102770 glibcxx_cv_func_modff_use=no
102772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102773 ac_ext=c
102774 ac_cpp='$CPP $CPPFLAGS'
102775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
102784 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
102786 if test x$glibcxx_cv_func_modff_use = x"yes"; then
102788 for ac_func in modff
102790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102791 echo "$as_me:$LINENO: checking for $ac_func" >&5
102792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102793 if eval "test \"\${$as_ac_var+set}\" = set"; then
102794 echo $ECHO_N "(cached) $ECHO_C" >&6
102796 if test x$gcc_no_link = xyes; then
102797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102799 { (exit 1); exit 1; }; }
102801 cat >conftest.$ac_ext <<_ACEOF
102802 /* confdefs.h. */
102803 _ACEOF
102804 cat confdefs.h >>conftest.$ac_ext
102805 cat >>conftest.$ac_ext <<_ACEOF
102806 /* end confdefs.h. */
102807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102809 #define $ac_func innocuous_$ac_func
102811 /* System header to define __stub macros and hopefully few prototypes,
102812 which can conflict with char $ac_func (); below.
102813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102814 <limits.h> exists even on freestanding compilers. */
102816 #ifdef __STDC__
102817 # include <limits.h>
102818 #else
102819 # include <assert.h>
102820 #endif
102822 #undef $ac_func
102824 /* Override any gcc2 internal prototype to avoid an error. */
102825 #ifdef __cplusplus
102826 extern "C"
102828 #endif
102829 /* We use char because int might match the return type of a gcc2
102830 builtin and then its argument prototype would still apply. */
102831 char $ac_func ();
102832 /* The GNU C library defines this for functions which it implements
102833 to always fail with ENOSYS. Some functions are actually named
102834 something starting with __ and the normal name is an alias. */
102835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102836 choke me
102837 #else
102838 char (*f) () = $ac_func;
102839 #endif
102840 #ifdef __cplusplus
102842 #endif
102845 main ()
102847 return f != $ac_func;
102849 return 0;
102851 _ACEOF
102852 rm -f conftest.$ac_objext conftest$ac_exeext
102853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102854 (eval $ac_link) 2>conftest.er1
102855 ac_status=$?
102856 grep -v '^ *+' conftest.er1 >conftest.err
102857 rm -f conftest.er1
102858 cat conftest.err >&5
102859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102860 (exit $ac_status); } &&
102861 { ac_try='test -z "$ac_c_werror_flag"
102862 || test ! -s conftest.err'
102863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102864 (eval $ac_try) 2>&5
102865 ac_status=$?
102866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102867 (exit $ac_status); }; } &&
102868 { ac_try='test -s conftest$ac_exeext'
102869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102870 (eval $ac_try) 2>&5
102871 ac_status=$?
102872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102873 (exit $ac_status); }; }; then
102874 eval "$as_ac_var=yes"
102876 echo "$as_me: failed program was:" >&5
102877 sed 's/^/| /' conftest.$ac_ext >&5
102879 eval "$as_ac_var=no"
102881 rm -f conftest.err conftest.$ac_objext \
102882 conftest$ac_exeext conftest.$ac_ext
102884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102886 if test `eval echo '${'$as_ac_var'}'` = yes; then
102887 cat >>confdefs.h <<_ACEOF
102888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102889 _ACEOF
102896 echo "$as_me:$LINENO: checking for _modff declaration" >&5
102897 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
102898 if test x${glibcxx_cv_func__modff_use+set} != xset; then
102899 if test "${glibcxx_cv_func__modff_use+set}" = set; then
102900 echo $ECHO_N "(cached) $ECHO_C" >&6
102905 ac_ext=cc
102906 ac_cpp='$CXXCPP $CPPFLAGS'
102907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102911 cat >conftest.$ac_ext <<_ACEOF
102912 /* confdefs.h. */
102913 _ACEOF
102914 cat confdefs.h >>conftest.$ac_ext
102915 cat >>conftest.$ac_ext <<_ACEOF
102916 /* end confdefs.h. */
102917 #include <math.h>
102919 main ()
102921 _modff(0, 0);
102923 return 0;
102925 _ACEOF
102926 rm -f conftest.$ac_objext
102927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102928 (eval $ac_compile) 2>conftest.er1
102929 ac_status=$?
102930 grep -v '^ *+' conftest.er1 >conftest.err
102931 rm -f conftest.er1
102932 cat conftest.err >&5
102933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102934 (exit $ac_status); } &&
102935 { ac_try='test -z "$ac_cxx_werror_flag"
102936 || test ! -s conftest.err'
102937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102938 (eval $ac_try) 2>&5
102939 ac_status=$?
102940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102941 (exit $ac_status); }; } &&
102942 { ac_try='test -s conftest.$ac_objext'
102943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102944 (eval $ac_try) 2>&5
102945 ac_status=$?
102946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102947 (exit $ac_status); }; }; then
102948 glibcxx_cv_func__modff_use=yes
102950 echo "$as_me: failed program was:" >&5
102951 sed 's/^/| /' conftest.$ac_ext >&5
102953 glibcxx_cv_func__modff_use=no
102955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102956 ac_ext=c
102957 ac_cpp='$CPP $CPPFLAGS'
102958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
102967 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
102969 if test x$glibcxx_cv_func__modff_use = x"yes"; then
102971 for ac_func in _modff
102973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102974 echo "$as_me:$LINENO: checking for $ac_func" >&5
102975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102976 if eval "test \"\${$as_ac_var+set}\" = set"; then
102977 echo $ECHO_N "(cached) $ECHO_C" >&6
102979 if test x$gcc_no_link = xyes; then
102980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102982 { (exit 1); exit 1; }; }
102984 cat >conftest.$ac_ext <<_ACEOF
102985 /* confdefs.h. */
102986 _ACEOF
102987 cat confdefs.h >>conftest.$ac_ext
102988 cat >>conftest.$ac_ext <<_ACEOF
102989 /* end confdefs.h. */
102990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102992 #define $ac_func innocuous_$ac_func
102994 /* System header to define __stub macros and hopefully few prototypes,
102995 which can conflict with char $ac_func (); below.
102996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102997 <limits.h> exists even on freestanding compilers. */
102999 #ifdef __STDC__
103000 # include <limits.h>
103001 #else
103002 # include <assert.h>
103003 #endif
103005 #undef $ac_func
103007 /* Override any gcc2 internal prototype to avoid an error. */
103008 #ifdef __cplusplus
103009 extern "C"
103011 #endif
103012 /* We use char because int might match the return type of a gcc2
103013 builtin and then its argument prototype would still apply. */
103014 char $ac_func ();
103015 /* The GNU C library defines this for functions which it implements
103016 to always fail with ENOSYS. Some functions are actually named
103017 something starting with __ and the normal name is an alias. */
103018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103019 choke me
103020 #else
103021 char (*f) () = $ac_func;
103022 #endif
103023 #ifdef __cplusplus
103025 #endif
103028 main ()
103030 return f != $ac_func;
103032 return 0;
103034 _ACEOF
103035 rm -f conftest.$ac_objext conftest$ac_exeext
103036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103037 (eval $ac_link) 2>conftest.er1
103038 ac_status=$?
103039 grep -v '^ *+' conftest.er1 >conftest.err
103040 rm -f conftest.er1
103041 cat conftest.err >&5
103042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103043 (exit $ac_status); } &&
103044 { ac_try='test -z "$ac_c_werror_flag"
103045 || test ! -s conftest.err'
103046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103047 (eval $ac_try) 2>&5
103048 ac_status=$?
103049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103050 (exit $ac_status); }; } &&
103051 { ac_try='test -s conftest$ac_exeext'
103052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103053 (eval $ac_try) 2>&5
103054 ac_status=$?
103055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103056 (exit $ac_status); }; }; then
103057 eval "$as_ac_var=yes"
103059 echo "$as_me: failed program was:" >&5
103060 sed 's/^/| /' conftest.$ac_ext >&5
103062 eval "$as_ac_var=no"
103064 rm -f conftest.err conftest.$ac_objext \
103065 conftest$ac_exeext conftest.$ac_ext
103067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103069 if test `eval echo '${'$as_ac_var'}'` = yes; then
103070 cat >>confdefs.h <<_ACEOF
103071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103072 _ACEOF
103085 echo "$as_me:$LINENO: checking for modf declaration" >&5
103086 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
103087 if test x${glibcxx_cv_func_modf_use+set} != xset; then
103088 if test "${glibcxx_cv_func_modf_use+set}" = set; then
103089 echo $ECHO_N "(cached) $ECHO_C" >&6
103094 ac_ext=cc
103095 ac_cpp='$CXXCPP $CPPFLAGS'
103096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103100 cat >conftest.$ac_ext <<_ACEOF
103101 /* confdefs.h. */
103102 _ACEOF
103103 cat confdefs.h >>conftest.$ac_ext
103104 cat >>conftest.$ac_ext <<_ACEOF
103105 /* end confdefs.h. */
103106 #include <math.h>
103108 main ()
103110 modf(0, 0);
103112 return 0;
103114 _ACEOF
103115 rm -f conftest.$ac_objext
103116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103117 (eval $ac_compile) 2>conftest.er1
103118 ac_status=$?
103119 grep -v '^ *+' conftest.er1 >conftest.err
103120 rm -f conftest.er1
103121 cat conftest.err >&5
103122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103123 (exit $ac_status); } &&
103124 { ac_try='test -z "$ac_cxx_werror_flag"
103125 || test ! -s conftest.err'
103126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103127 (eval $ac_try) 2>&5
103128 ac_status=$?
103129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103130 (exit $ac_status); }; } &&
103131 { ac_try='test -s conftest.$ac_objext'
103132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103133 (eval $ac_try) 2>&5
103134 ac_status=$?
103135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103136 (exit $ac_status); }; }; then
103137 glibcxx_cv_func_modf_use=yes
103139 echo "$as_me: failed program was:" >&5
103140 sed 's/^/| /' conftest.$ac_ext >&5
103142 glibcxx_cv_func_modf_use=no
103144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103145 ac_ext=c
103146 ac_cpp='$CPP $CPPFLAGS'
103147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
103156 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
103158 if test x$glibcxx_cv_func_modf_use = x"yes"; then
103160 for ac_func in modf
103162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103163 echo "$as_me:$LINENO: checking for $ac_func" >&5
103164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103165 if eval "test \"\${$as_ac_var+set}\" = set"; then
103166 echo $ECHO_N "(cached) $ECHO_C" >&6
103168 if test x$gcc_no_link = xyes; then
103169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103171 { (exit 1); exit 1; }; }
103173 cat >conftest.$ac_ext <<_ACEOF
103174 /* confdefs.h. */
103175 _ACEOF
103176 cat confdefs.h >>conftest.$ac_ext
103177 cat >>conftest.$ac_ext <<_ACEOF
103178 /* end confdefs.h. */
103179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103181 #define $ac_func innocuous_$ac_func
103183 /* System header to define __stub macros and hopefully few prototypes,
103184 which can conflict with char $ac_func (); below.
103185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103186 <limits.h> exists even on freestanding compilers. */
103188 #ifdef __STDC__
103189 # include <limits.h>
103190 #else
103191 # include <assert.h>
103192 #endif
103194 #undef $ac_func
103196 /* Override any gcc2 internal prototype to avoid an error. */
103197 #ifdef __cplusplus
103198 extern "C"
103200 #endif
103201 /* We use char because int might match the return type of a gcc2
103202 builtin and then its argument prototype would still apply. */
103203 char $ac_func ();
103204 /* The GNU C library defines this for functions which it implements
103205 to always fail with ENOSYS. Some functions are actually named
103206 something starting with __ and the normal name is an alias. */
103207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103208 choke me
103209 #else
103210 char (*f) () = $ac_func;
103211 #endif
103212 #ifdef __cplusplus
103214 #endif
103217 main ()
103219 return f != $ac_func;
103221 return 0;
103223 _ACEOF
103224 rm -f conftest.$ac_objext conftest$ac_exeext
103225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103226 (eval $ac_link) 2>conftest.er1
103227 ac_status=$?
103228 grep -v '^ *+' conftest.er1 >conftest.err
103229 rm -f conftest.er1
103230 cat conftest.err >&5
103231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103232 (exit $ac_status); } &&
103233 { ac_try='test -z "$ac_c_werror_flag"
103234 || test ! -s conftest.err'
103235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103236 (eval $ac_try) 2>&5
103237 ac_status=$?
103238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103239 (exit $ac_status); }; } &&
103240 { ac_try='test -s conftest$ac_exeext'
103241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103242 (eval $ac_try) 2>&5
103243 ac_status=$?
103244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103245 (exit $ac_status); }; }; then
103246 eval "$as_ac_var=yes"
103248 echo "$as_me: failed program was:" >&5
103249 sed 's/^/| /' conftest.$ac_ext >&5
103251 eval "$as_ac_var=no"
103253 rm -f conftest.err conftest.$ac_objext \
103254 conftest$ac_exeext conftest.$ac_ext
103256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103258 if test `eval echo '${'$as_ac_var'}'` = yes; then
103259 cat >>confdefs.h <<_ACEOF
103260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103261 _ACEOF
103268 echo "$as_me:$LINENO: checking for _modf declaration" >&5
103269 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
103270 if test x${glibcxx_cv_func__modf_use+set} != xset; then
103271 if test "${glibcxx_cv_func__modf_use+set}" = set; then
103272 echo $ECHO_N "(cached) $ECHO_C" >&6
103277 ac_ext=cc
103278 ac_cpp='$CXXCPP $CPPFLAGS'
103279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103283 cat >conftest.$ac_ext <<_ACEOF
103284 /* confdefs.h. */
103285 _ACEOF
103286 cat confdefs.h >>conftest.$ac_ext
103287 cat >>conftest.$ac_ext <<_ACEOF
103288 /* end confdefs.h. */
103289 #include <math.h>
103291 main ()
103293 _modf(0, 0);
103295 return 0;
103297 _ACEOF
103298 rm -f conftest.$ac_objext
103299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103300 (eval $ac_compile) 2>conftest.er1
103301 ac_status=$?
103302 grep -v '^ *+' conftest.er1 >conftest.err
103303 rm -f conftest.er1
103304 cat conftest.err >&5
103305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103306 (exit $ac_status); } &&
103307 { ac_try='test -z "$ac_cxx_werror_flag"
103308 || test ! -s conftest.err'
103309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103310 (eval $ac_try) 2>&5
103311 ac_status=$?
103312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103313 (exit $ac_status); }; } &&
103314 { ac_try='test -s conftest.$ac_objext'
103315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103316 (eval $ac_try) 2>&5
103317 ac_status=$?
103318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103319 (exit $ac_status); }; }; then
103320 glibcxx_cv_func__modf_use=yes
103322 echo "$as_me: failed program was:" >&5
103323 sed 's/^/| /' conftest.$ac_ext >&5
103325 glibcxx_cv_func__modf_use=no
103327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103328 ac_ext=c
103329 ac_cpp='$CPP $CPPFLAGS'
103330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
103339 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
103341 if test x$glibcxx_cv_func__modf_use = x"yes"; then
103343 for ac_func in _modf
103345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103346 echo "$as_me:$LINENO: checking for $ac_func" >&5
103347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103348 if eval "test \"\${$as_ac_var+set}\" = set"; then
103349 echo $ECHO_N "(cached) $ECHO_C" >&6
103351 if test x$gcc_no_link = xyes; then
103352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103354 { (exit 1); exit 1; }; }
103356 cat >conftest.$ac_ext <<_ACEOF
103357 /* confdefs.h. */
103358 _ACEOF
103359 cat confdefs.h >>conftest.$ac_ext
103360 cat >>conftest.$ac_ext <<_ACEOF
103361 /* end confdefs.h. */
103362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103364 #define $ac_func innocuous_$ac_func
103366 /* System header to define __stub macros and hopefully few prototypes,
103367 which can conflict with char $ac_func (); below.
103368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103369 <limits.h> exists even on freestanding compilers. */
103371 #ifdef __STDC__
103372 # include <limits.h>
103373 #else
103374 # include <assert.h>
103375 #endif
103377 #undef $ac_func
103379 /* Override any gcc2 internal prototype to avoid an error. */
103380 #ifdef __cplusplus
103381 extern "C"
103383 #endif
103384 /* We use char because int might match the return type of a gcc2
103385 builtin and then its argument prototype would still apply. */
103386 char $ac_func ();
103387 /* The GNU C library defines this for functions which it implements
103388 to always fail with ENOSYS. Some functions are actually named
103389 something starting with __ and the normal name is an alias. */
103390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103391 choke me
103392 #else
103393 char (*f) () = $ac_func;
103394 #endif
103395 #ifdef __cplusplus
103397 #endif
103400 main ()
103402 return f != $ac_func;
103404 return 0;
103406 _ACEOF
103407 rm -f conftest.$ac_objext conftest$ac_exeext
103408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103409 (eval $ac_link) 2>conftest.er1
103410 ac_status=$?
103411 grep -v '^ *+' conftest.er1 >conftest.err
103412 rm -f conftest.er1
103413 cat conftest.err >&5
103414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103415 (exit $ac_status); } &&
103416 { ac_try='test -z "$ac_c_werror_flag"
103417 || test ! -s conftest.err'
103418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103419 (eval $ac_try) 2>&5
103420 ac_status=$?
103421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103422 (exit $ac_status); }; } &&
103423 { ac_try='test -s conftest$ac_exeext'
103424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103425 (eval $ac_try) 2>&5
103426 ac_status=$?
103427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103428 (exit $ac_status); }; }; then
103429 eval "$as_ac_var=yes"
103431 echo "$as_me: failed program was:" >&5
103432 sed 's/^/| /' conftest.$ac_ext >&5
103434 eval "$as_ac_var=no"
103436 rm -f conftest.err conftest.$ac_objext \
103437 conftest$ac_exeext conftest.$ac_ext
103439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103441 if test `eval echo '${'$as_ac_var'}'` = yes; then
103442 cat >>confdefs.h <<_ACEOF
103443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103444 _ACEOF
103457 echo "$as_me:$LINENO: checking for powf declaration" >&5
103458 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
103459 if test x${glibcxx_cv_func_powf_use+set} != xset; then
103460 if test "${glibcxx_cv_func_powf_use+set}" = set; then
103461 echo $ECHO_N "(cached) $ECHO_C" >&6
103466 ac_ext=cc
103467 ac_cpp='$CXXCPP $CPPFLAGS'
103468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103472 cat >conftest.$ac_ext <<_ACEOF
103473 /* confdefs.h. */
103474 _ACEOF
103475 cat confdefs.h >>conftest.$ac_ext
103476 cat >>conftest.$ac_ext <<_ACEOF
103477 /* end confdefs.h. */
103478 #include <math.h>
103480 main ()
103482 powf(0, 0);
103484 return 0;
103486 _ACEOF
103487 rm -f conftest.$ac_objext
103488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103489 (eval $ac_compile) 2>conftest.er1
103490 ac_status=$?
103491 grep -v '^ *+' conftest.er1 >conftest.err
103492 rm -f conftest.er1
103493 cat conftest.err >&5
103494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103495 (exit $ac_status); } &&
103496 { ac_try='test -z "$ac_cxx_werror_flag"
103497 || test ! -s conftest.err'
103498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103499 (eval $ac_try) 2>&5
103500 ac_status=$?
103501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103502 (exit $ac_status); }; } &&
103503 { ac_try='test -s conftest.$ac_objext'
103504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103505 (eval $ac_try) 2>&5
103506 ac_status=$?
103507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103508 (exit $ac_status); }; }; then
103509 glibcxx_cv_func_powf_use=yes
103511 echo "$as_me: failed program was:" >&5
103512 sed 's/^/| /' conftest.$ac_ext >&5
103514 glibcxx_cv_func_powf_use=no
103516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103517 ac_ext=c
103518 ac_cpp='$CPP $CPPFLAGS'
103519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
103528 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
103530 if test x$glibcxx_cv_func_powf_use = x"yes"; then
103532 for ac_func in powf
103534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103535 echo "$as_me:$LINENO: checking for $ac_func" >&5
103536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103537 if eval "test \"\${$as_ac_var+set}\" = set"; then
103538 echo $ECHO_N "(cached) $ECHO_C" >&6
103540 if test x$gcc_no_link = xyes; then
103541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103543 { (exit 1); exit 1; }; }
103545 cat >conftest.$ac_ext <<_ACEOF
103546 /* confdefs.h. */
103547 _ACEOF
103548 cat confdefs.h >>conftest.$ac_ext
103549 cat >>conftest.$ac_ext <<_ACEOF
103550 /* end confdefs.h. */
103551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103553 #define $ac_func innocuous_$ac_func
103555 /* System header to define __stub macros and hopefully few prototypes,
103556 which can conflict with char $ac_func (); below.
103557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103558 <limits.h> exists even on freestanding compilers. */
103560 #ifdef __STDC__
103561 # include <limits.h>
103562 #else
103563 # include <assert.h>
103564 #endif
103566 #undef $ac_func
103568 /* Override any gcc2 internal prototype to avoid an error. */
103569 #ifdef __cplusplus
103570 extern "C"
103572 #endif
103573 /* We use char because int might match the return type of a gcc2
103574 builtin and then its argument prototype would still apply. */
103575 char $ac_func ();
103576 /* The GNU C library defines this for functions which it implements
103577 to always fail with ENOSYS. Some functions are actually named
103578 something starting with __ and the normal name is an alias. */
103579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103580 choke me
103581 #else
103582 char (*f) () = $ac_func;
103583 #endif
103584 #ifdef __cplusplus
103586 #endif
103589 main ()
103591 return f != $ac_func;
103593 return 0;
103595 _ACEOF
103596 rm -f conftest.$ac_objext conftest$ac_exeext
103597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103598 (eval $ac_link) 2>conftest.er1
103599 ac_status=$?
103600 grep -v '^ *+' conftest.er1 >conftest.err
103601 rm -f conftest.er1
103602 cat conftest.err >&5
103603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103604 (exit $ac_status); } &&
103605 { ac_try='test -z "$ac_c_werror_flag"
103606 || test ! -s conftest.err'
103607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103608 (eval $ac_try) 2>&5
103609 ac_status=$?
103610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103611 (exit $ac_status); }; } &&
103612 { ac_try='test -s conftest$ac_exeext'
103613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103614 (eval $ac_try) 2>&5
103615 ac_status=$?
103616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103617 (exit $ac_status); }; }; then
103618 eval "$as_ac_var=yes"
103620 echo "$as_me: failed program was:" >&5
103621 sed 's/^/| /' conftest.$ac_ext >&5
103623 eval "$as_ac_var=no"
103625 rm -f conftest.err conftest.$ac_objext \
103626 conftest$ac_exeext conftest.$ac_ext
103628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103630 if test `eval echo '${'$as_ac_var'}'` = yes; then
103631 cat >>confdefs.h <<_ACEOF
103632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103633 _ACEOF
103640 echo "$as_me:$LINENO: checking for _powf declaration" >&5
103641 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
103642 if test x${glibcxx_cv_func__powf_use+set} != xset; then
103643 if test "${glibcxx_cv_func__powf_use+set}" = set; then
103644 echo $ECHO_N "(cached) $ECHO_C" >&6
103649 ac_ext=cc
103650 ac_cpp='$CXXCPP $CPPFLAGS'
103651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103655 cat >conftest.$ac_ext <<_ACEOF
103656 /* confdefs.h. */
103657 _ACEOF
103658 cat confdefs.h >>conftest.$ac_ext
103659 cat >>conftest.$ac_ext <<_ACEOF
103660 /* end confdefs.h. */
103661 #include <math.h>
103663 main ()
103665 _powf(0, 0);
103667 return 0;
103669 _ACEOF
103670 rm -f conftest.$ac_objext
103671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103672 (eval $ac_compile) 2>conftest.er1
103673 ac_status=$?
103674 grep -v '^ *+' conftest.er1 >conftest.err
103675 rm -f conftest.er1
103676 cat conftest.err >&5
103677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103678 (exit $ac_status); } &&
103679 { ac_try='test -z "$ac_cxx_werror_flag"
103680 || test ! -s conftest.err'
103681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103682 (eval $ac_try) 2>&5
103683 ac_status=$?
103684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103685 (exit $ac_status); }; } &&
103686 { ac_try='test -s conftest.$ac_objext'
103687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103688 (eval $ac_try) 2>&5
103689 ac_status=$?
103690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103691 (exit $ac_status); }; }; then
103692 glibcxx_cv_func__powf_use=yes
103694 echo "$as_me: failed program was:" >&5
103695 sed 's/^/| /' conftest.$ac_ext >&5
103697 glibcxx_cv_func__powf_use=no
103699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103700 ac_ext=c
103701 ac_cpp='$CPP $CPPFLAGS'
103702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103710 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
103711 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
103713 if test x$glibcxx_cv_func__powf_use = x"yes"; then
103715 for ac_func in _powf
103717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103718 echo "$as_me:$LINENO: checking for $ac_func" >&5
103719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103720 if eval "test \"\${$as_ac_var+set}\" = set"; then
103721 echo $ECHO_N "(cached) $ECHO_C" >&6
103723 if test x$gcc_no_link = xyes; then
103724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103726 { (exit 1); exit 1; }; }
103728 cat >conftest.$ac_ext <<_ACEOF
103729 /* confdefs.h. */
103730 _ACEOF
103731 cat confdefs.h >>conftest.$ac_ext
103732 cat >>conftest.$ac_ext <<_ACEOF
103733 /* end confdefs.h. */
103734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103736 #define $ac_func innocuous_$ac_func
103738 /* System header to define __stub macros and hopefully few prototypes,
103739 which can conflict with char $ac_func (); below.
103740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103741 <limits.h> exists even on freestanding compilers. */
103743 #ifdef __STDC__
103744 # include <limits.h>
103745 #else
103746 # include <assert.h>
103747 #endif
103749 #undef $ac_func
103751 /* Override any gcc2 internal prototype to avoid an error. */
103752 #ifdef __cplusplus
103753 extern "C"
103755 #endif
103756 /* We use char because int might match the return type of a gcc2
103757 builtin and then its argument prototype would still apply. */
103758 char $ac_func ();
103759 /* The GNU C library defines this for functions which it implements
103760 to always fail with ENOSYS. Some functions are actually named
103761 something starting with __ and the normal name is an alias. */
103762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103763 choke me
103764 #else
103765 char (*f) () = $ac_func;
103766 #endif
103767 #ifdef __cplusplus
103769 #endif
103772 main ()
103774 return f != $ac_func;
103776 return 0;
103778 _ACEOF
103779 rm -f conftest.$ac_objext conftest$ac_exeext
103780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103781 (eval $ac_link) 2>conftest.er1
103782 ac_status=$?
103783 grep -v '^ *+' conftest.er1 >conftest.err
103784 rm -f conftest.er1
103785 cat conftest.err >&5
103786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103787 (exit $ac_status); } &&
103788 { ac_try='test -z "$ac_c_werror_flag"
103789 || test ! -s conftest.err'
103790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103791 (eval $ac_try) 2>&5
103792 ac_status=$?
103793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103794 (exit $ac_status); }; } &&
103795 { ac_try='test -s conftest$ac_exeext'
103796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103797 (eval $ac_try) 2>&5
103798 ac_status=$?
103799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800 (exit $ac_status); }; }; then
103801 eval "$as_ac_var=yes"
103803 echo "$as_me: failed program was:" >&5
103804 sed 's/^/| /' conftest.$ac_ext >&5
103806 eval "$as_ac_var=no"
103808 rm -f conftest.err conftest.$ac_objext \
103809 conftest$ac_exeext conftest.$ac_ext
103811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103813 if test `eval echo '${'$as_ac_var'}'` = yes; then
103814 cat >>confdefs.h <<_ACEOF
103815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103816 _ACEOF
103829 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
103830 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
103831 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
103832 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
103833 echo $ECHO_N "(cached) $ECHO_C" >&6
103838 ac_ext=cc
103839 ac_cpp='$CXXCPP $CPPFLAGS'
103840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103844 cat >conftest.$ac_ext <<_ACEOF
103845 /* confdefs.h. */
103846 _ACEOF
103847 cat confdefs.h >>conftest.$ac_ext
103848 cat >>conftest.$ac_ext <<_ACEOF
103849 /* end confdefs.h. */
103850 #include <math.h>
103851 #ifdef HAVE_IEEEFP_H
103852 #include <ieeefp.h>
103853 #endif
103856 main ()
103858 sqrtf(0);
103860 return 0;
103862 _ACEOF
103863 rm -f conftest.$ac_objext
103864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103865 (eval $ac_compile) 2>conftest.er1
103866 ac_status=$?
103867 grep -v '^ *+' conftest.er1 >conftest.err
103868 rm -f conftest.er1
103869 cat conftest.err >&5
103870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103871 (exit $ac_status); } &&
103872 { ac_try='test -z "$ac_cxx_werror_flag"
103873 || test ! -s conftest.err'
103874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103875 (eval $ac_try) 2>&5
103876 ac_status=$?
103877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103878 (exit $ac_status); }; } &&
103879 { ac_try='test -s conftest.$ac_objext'
103880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103881 (eval $ac_try) 2>&5
103882 ac_status=$?
103883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103884 (exit $ac_status); }; }; then
103885 glibcxx_cv_func_sqrtf_use=yes
103887 echo "$as_me: failed program was:" >&5
103888 sed 's/^/| /' conftest.$ac_ext >&5
103890 glibcxx_cv_func_sqrtf_use=no
103892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103893 ac_ext=c
103894 ac_cpp='$CPP $CPPFLAGS'
103895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
103904 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
103906 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
103908 for ac_func in sqrtf
103910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103911 echo "$as_me:$LINENO: checking for $ac_func" >&5
103912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103913 if eval "test \"\${$as_ac_var+set}\" = set"; then
103914 echo $ECHO_N "(cached) $ECHO_C" >&6
103916 if test x$gcc_no_link = xyes; then
103917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103919 { (exit 1); exit 1; }; }
103921 cat >conftest.$ac_ext <<_ACEOF
103922 /* confdefs.h. */
103923 _ACEOF
103924 cat confdefs.h >>conftest.$ac_ext
103925 cat >>conftest.$ac_ext <<_ACEOF
103926 /* end confdefs.h. */
103927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103929 #define $ac_func innocuous_$ac_func
103931 /* System header to define __stub macros and hopefully few prototypes,
103932 which can conflict with char $ac_func (); below.
103933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103934 <limits.h> exists even on freestanding compilers. */
103936 #ifdef __STDC__
103937 # include <limits.h>
103938 #else
103939 # include <assert.h>
103940 #endif
103942 #undef $ac_func
103944 /* Override any gcc2 internal prototype to avoid an error. */
103945 #ifdef __cplusplus
103946 extern "C"
103948 #endif
103949 /* We use char because int might match the return type of a gcc2
103950 builtin and then its argument prototype would still apply. */
103951 char $ac_func ();
103952 /* The GNU C library defines this for functions which it implements
103953 to always fail with ENOSYS. Some functions are actually named
103954 something starting with __ and the normal name is an alias. */
103955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103956 choke me
103957 #else
103958 char (*f) () = $ac_func;
103959 #endif
103960 #ifdef __cplusplus
103962 #endif
103965 main ()
103967 return f != $ac_func;
103969 return 0;
103971 _ACEOF
103972 rm -f conftest.$ac_objext conftest$ac_exeext
103973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103974 (eval $ac_link) 2>conftest.er1
103975 ac_status=$?
103976 grep -v '^ *+' conftest.er1 >conftest.err
103977 rm -f conftest.er1
103978 cat conftest.err >&5
103979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103980 (exit $ac_status); } &&
103981 { ac_try='test -z "$ac_c_werror_flag"
103982 || test ! -s conftest.err'
103983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103984 (eval $ac_try) 2>&5
103985 ac_status=$?
103986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103987 (exit $ac_status); }; } &&
103988 { ac_try='test -s conftest$ac_exeext'
103989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103990 (eval $ac_try) 2>&5
103991 ac_status=$?
103992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103993 (exit $ac_status); }; }; then
103994 eval "$as_ac_var=yes"
103996 echo "$as_me: failed program was:" >&5
103997 sed 's/^/| /' conftest.$ac_ext >&5
103999 eval "$as_ac_var=no"
104001 rm -f conftest.err conftest.$ac_objext \
104002 conftest$ac_exeext conftest.$ac_ext
104004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104006 if test `eval echo '${'$as_ac_var'}'` = yes; then
104007 cat >>confdefs.h <<_ACEOF
104008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104009 _ACEOF
104016 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
104017 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
104018 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
104019 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
104020 echo $ECHO_N "(cached) $ECHO_C" >&6
104025 ac_ext=cc
104026 ac_cpp='$CXXCPP $CPPFLAGS'
104027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104031 cat >conftest.$ac_ext <<_ACEOF
104032 /* confdefs.h. */
104033 _ACEOF
104034 cat confdefs.h >>conftest.$ac_ext
104035 cat >>conftest.$ac_ext <<_ACEOF
104036 /* end confdefs.h. */
104037 #include <math.h>
104038 #ifdef HAVE_IEEEFP_H
104039 #include <ieeefp.h>
104040 #endif
104043 main ()
104045 _sqrtf(0);
104047 return 0;
104049 _ACEOF
104050 rm -f conftest.$ac_objext
104051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104052 (eval $ac_compile) 2>conftest.er1
104053 ac_status=$?
104054 grep -v '^ *+' conftest.er1 >conftest.err
104055 rm -f conftest.er1
104056 cat conftest.err >&5
104057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104058 (exit $ac_status); } &&
104059 { ac_try='test -z "$ac_cxx_werror_flag"
104060 || test ! -s conftest.err'
104061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104062 (eval $ac_try) 2>&5
104063 ac_status=$?
104064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104065 (exit $ac_status); }; } &&
104066 { ac_try='test -s conftest.$ac_objext'
104067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104068 (eval $ac_try) 2>&5
104069 ac_status=$?
104070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104071 (exit $ac_status); }; }; then
104072 glibcxx_cv_func__sqrtf_use=yes
104074 echo "$as_me: failed program was:" >&5
104075 sed 's/^/| /' conftest.$ac_ext >&5
104077 glibcxx_cv_func__sqrtf_use=no
104079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104080 ac_ext=c
104081 ac_cpp='$CPP $CPPFLAGS'
104082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
104091 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
104093 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
104095 for ac_func in _sqrtf
104097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104098 echo "$as_me:$LINENO: checking for $ac_func" >&5
104099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104100 if eval "test \"\${$as_ac_var+set}\" = set"; then
104101 echo $ECHO_N "(cached) $ECHO_C" >&6
104103 if test x$gcc_no_link = xyes; then
104104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104106 { (exit 1); exit 1; }; }
104108 cat >conftest.$ac_ext <<_ACEOF
104109 /* confdefs.h. */
104110 _ACEOF
104111 cat confdefs.h >>conftest.$ac_ext
104112 cat >>conftest.$ac_ext <<_ACEOF
104113 /* end confdefs.h. */
104114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104116 #define $ac_func innocuous_$ac_func
104118 /* System header to define __stub macros and hopefully few prototypes,
104119 which can conflict with char $ac_func (); below.
104120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104121 <limits.h> exists even on freestanding compilers. */
104123 #ifdef __STDC__
104124 # include <limits.h>
104125 #else
104126 # include <assert.h>
104127 #endif
104129 #undef $ac_func
104131 /* Override any gcc2 internal prototype to avoid an error. */
104132 #ifdef __cplusplus
104133 extern "C"
104135 #endif
104136 /* We use char because int might match the return type of a gcc2
104137 builtin and then its argument prototype would still apply. */
104138 char $ac_func ();
104139 /* The GNU C library defines this for functions which it implements
104140 to always fail with ENOSYS. Some functions are actually named
104141 something starting with __ and the normal name is an alias. */
104142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104143 choke me
104144 #else
104145 char (*f) () = $ac_func;
104146 #endif
104147 #ifdef __cplusplus
104149 #endif
104152 main ()
104154 return f != $ac_func;
104156 return 0;
104158 _ACEOF
104159 rm -f conftest.$ac_objext conftest$ac_exeext
104160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104161 (eval $ac_link) 2>conftest.er1
104162 ac_status=$?
104163 grep -v '^ *+' conftest.er1 >conftest.err
104164 rm -f conftest.er1
104165 cat conftest.err >&5
104166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104167 (exit $ac_status); } &&
104168 { ac_try='test -z "$ac_c_werror_flag"
104169 || test ! -s conftest.err'
104170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104171 (eval $ac_try) 2>&5
104172 ac_status=$?
104173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104174 (exit $ac_status); }; } &&
104175 { ac_try='test -s conftest$ac_exeext'
104176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104177 (eval $ac_try) 2>&5
104178 ac_status=$?
104179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104180 (exit $ac_status); }; }; then
104181 eval "$as_ac_var=yes"
104183 echo "$as_me: failed program was:" >&5
104184 sed 's/^/| /' conftest.$ac_ext >&5
104186 eval "$as_ac_var=no"
104188 rm -f conftest.err conftest.$ac_objext \
104189 conftest$ac_exeext conftest.$ac_ext
104191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104193 if test `eval echo '${'$as_ac_var'}'` = yes; then
104194 cat >>confdefs.h <<_ACEOF
104195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104196 _ACEOF
104209 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
104210 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
104211 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
104212 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
104213 echo $ECHO_N "(cached) $ECHO_C" >&6
104218 ac_ext=cc
104219 ac_cpp='$CXXCPP $CPPFLAGS'
104220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104224 cat >conftest.$ac_ext <<_ACEOF
104225 /* confdefs.h. */
104226 _ACEOF
104227 cat confdefs.h >>conftest.$ac_ext
104228 cat >>conftest.$ac_ext <<_ACEOF
104229 /* end confdefs.h. */
104230 #include <math.h>
104232 main ()
104234 sincosf(0, 0, 0);
104236 return 0;
104238 _ACEOF
104239 rm -f conftest.$ac_objext
104240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104241 (eval $ac_compile) 2>conftest.er1
104242 ac_status=$?
104243 grep -v '^ *+' conftest.er1 >conftest.err
104244 rm -f conftest.er1
104245 cat conftest.err >&5
104246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104247 (exit $ac_status); } &&
104248 { ac_try='test -z "$ac_cxx_werror_flag"
104249 || test ! -s conftest.err'
104250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104251 (eval $ac_try) 2>&5
104252 ac_status=$?
104253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104254 (exit $ac_status); }; } &&
104255 { ac_try='test -s conftest.$ac_objext'
104256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104257 (eval $ac_try) 2>&5
104258 ac_status=$?
104259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104260 (exit $ac_status); }; }; then
104261 glibcxx_cv_func_sincosf_use=yes
104263 echo "$as_me: failed program was:" >&5
104264 sed 's/^/| /' conftest.$ac_ext >&5
104266 glibcxx_cv_func_sincosf_use=no
104268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104269 ac_ext=c
104270 ac_cpp='$CPP $CPPFLAGS'
104271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
104280 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
104282 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
104284 for ac_func in sincosf
104286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104287 echo "$as_me:$LINENO: checking for $ac_func" >&5
104288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104289 if eval "test \"\${$as_ac_var+set}\" = set"; then
104290 echo $ECHO_N "(cached) $ECHO_C" >&6
104292 if test x$gcc_no_link = xyes; then
104293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104295 { (exit 1); exit 1; }; }
104297 cat >conftest.$ac_ext <<_ACEOF
104298 /* confdefs.h. */
104299 _ACEOF
104300 cat confdefs.h >>conftest.$ac_ext
104301 cat >>conftest.$ac_ext <<_ACEOF
104302 /* end confdefs.h. */
104303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104305 #define $ac_func innocuous_$ac_func
104307 /* System header to define __stub macros and hopefully few prototypes,
104308 which can conflict with char $ac_func (); below.
104309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104310 <limits.h> exists even on freestanding compilers. */
104312 #ifdef __STDC__
104313 # include <limits.h>
104314 #else
104315 # include <assert.h>
104316 #endif
104318 #undef $ac_func
104320 /* Override any gcc2 internal prototype to avoid an error. */
104321 #ifdef __cplusplus
104322 extern "C"
104324 #endif
104325 /* We use char because int might match the return type of a gcc2
104326 builtin and then its argument prototype would still apply. */
104327 char $ac_func ();
104328 /* The GNU C library defines this for functions which it implements
104329 to always fail with ENOSYS. Some functions are actually named
104330 something starting with __ and the normal name is an alias. */
104331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104332 choke me
104333 #else
104334 char (*f) () = $ac_func;
104335 #endif
104336 #ifdef __cplusplus
104338 #endif
104341 main ()
104343 return f != $ac_func;
104345 return 0;
104347 _ACEOF
104348 rm -f conftest.$ac_objext conftest$ac_exeext
104349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104350 (eval $ac_link) 2>conftest.er1
104351 ac_status=$?
104352 grep -v '^ *+' conftest.er1 >conftest.err
104353 rm -f conftest.er1
104354 cat conftest.err >&5
104355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104356 (exit $ac_status); } &&
104357 { ac_try='test -z "$ac_c_werror_flag"
104358 || test ! -s conftest.err'
104359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104360 (eval $ac_try) 2>&5
104361 ac_status=$?
104362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104363 (exit $ac_status); }; } &&
104364 { ac_try='test -s conftest$ac_exeext'
104365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104366 (eval $ac_try) 2>&5
104367 ac_status=$?
104368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104369 (exit $ac_status); }; }; then
104370 eval "$as_ac_var=yes"
104372 echo "$as_me: failed program was:" >&5
104373 sed 's/^/| /' conftest.$ac_ext >&5
104375 eval "$as_ac_var=no"
104377 rm -f conftest.err conftest.$ac_objext \
104378 conftest$ac_exeext conftest.$ac_ext
104380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104382 if test `eval echo '${'$as_ac_var'}'` = yes; then
104383 cat >>confdefs.h <<_ACEOF
104384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104385 _ACEOF
104392 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
104393 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
104394 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
104395 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
104396 echo $ECHO_N "(cached) $ECHO_C" >&6
104401 ac_ext=cc
104402 ac_cpp='$CXXCPP $CPPFLAGS'
104403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104407 cat >conftest.$ac_ext <<_ACEOF
104408 /* confdefs.h. */
104409 _ACEOF
104410 cat confdefs.h >>conftest.$ac_ext
104411 cat >>conftest.$ac_ext <<_ACEOF
104412 /* end confdefs.h. */
104413 #include <math.h>
104415 main ()
104417 _sincosf(0, 0, 0);
104419 return 0;
104421 _ACEOF
104422 rm -f conftest.$ac_objext
104423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104424 (eval $ac_compile) 2>conftest.er1
104425 ac_status=$?
104426 grep -v '^ *+' conftest.er1 >conftest.err
104427 rm -f conftest.er1
104428 cat conftest.err >&5
104429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104430 (exit $ac_status); } &&
104431 { ac_try='test -z "$ac_cxx_werror_flag"
104432 || test ! -s conftest.err'
104433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104434 (eval $ac_try) 2>&5
104435 ac_status=$?
104436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104437 (exit $ac_status); }; } &&
104438 { ac_try='test -s conftest.$ac_objext'
104439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104440 (eval $ac_try) 2>&5
104441 ac_status=$?
104442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104443 (exit $ac_status); }; }; then
104444 glibcxx_cv_func__sincosf_use=yes
104446 echo "$as_me: failed program was:" >&5
104447 sed 's/^/| /' conftest.$ac_ext >&5
104449 glibcxx_cv_func__sincosf_use=no
104451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104452 ac_ext=c
104453 ac_cpp='$CPP $CPPFLAGS'
104454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104462 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
104463 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
104465 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
104467 for ac_func in _sincosf
104469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104470 echo "$as_me:$LINENO: checking for $ac_func" >&5
104471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104472 if eval "test \"\${$as_ac_var+set}\" = set"; then
104473 echo $ECHO_N "(cached) $ECHO_C" >&6
104475 if test x$gcc_no_link = xyes; then
104476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104478 { (exit 1); exit 1; }; }
104480 cat >conftest.$ac_ext <<_ACEOF
104481 /* confdefs.h. */
104482 _ACEOF
104483 cat confdefs.h >>conftest.$ac_ext
104484 cat >>conftest.$ac_ext <<_ACEOF
104485 /* end confdefs.h. */
104486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104488 #define $ac_func innocuous_$ac_func
104490 /* System header to define __stub macros and hopefully few prototypes,
104491 which can conflict with char $ac_func (); below.
104492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104493 <limits.h> exists even on freestanding compilers. */
104495 #ifdef __STDC__
104496 # include <limits.h>
104497 #else
104498 # include <assert.h>
104499 #endif
104501 #undef $ac_func
104503 /* Override any gcc2 internal prototype to avoid an error. */
104504 #ifdef __cplusplus
104505 extern "C"
104507 #endif
104508 /* We use char because int might match the return type of a gcc2
104509 builtin and then its argument prototype would still apply. */
104510 char $ac_func ();
104511 /* The GNU C library defines this for functions which it implements
104512 to always fail with ENOSYS. Some functions are actually named
104513 something starting with __ and the normal name is an alias. */
104514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104515 choke me
104516 #else
104517 char (*f) () = $ac_func;
104518 #endif
104519 #ifdef __cplusplus
104521 #endif
104524 main ()
104526 return f != $ac_func;
104528 return 0;
104530 _ACEOF
104531 rm -f conftest.$ac_objext conftest$ac_exeext
104532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104533 (eval $ac_link) 2>conftest.er1
104534 ac_status=$?
104535 grep -v '^ *+' conftest.er1 >conftest.err
104536 rm -f conftest.er1
104537 cat conftest.err >&5
104538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104539 (exit $ac_status); } &&
104540 { ac_try='test -z "$ac_c_werror_flag"
104541 || test ! -s conftest.err'
104542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104543 (eval $ac_try) 2>&5
104544 ac_status=$?
104545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104546 (exit $ac_status); }; } &&
104547 { ac_try='test -s conftest$ac_exeext'
104548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104549 (eval $ac_try) 2>&5
104550 ac_status=$?
104551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552 (exit $ac_status); }; }; then
104553 eval "$as_ac_var=yes"
104555 echo "$as_me: failed program was:" >&5
104556 sed 's/^/| /' conftest.$ac_ext >&5
104558 eval "$as_ac_var=no"
104560 rm -f conftest.err conftest.$ac_objext \
104561 conftest$ac_exeext conftest.$ac_ext
104563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104565 if test `eval echo '${'$as_ac_var'}'` = yes; then
104566 cat >>confdefs.h <<_ACEOF
104567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104568 _ACEOF
104581 echo "$as_me:$LINENO: checking for finitef declaration" >&5
104582 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
104583 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
104584 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
104585 echo $ECHO_N "(cached) $ECHO_C" >&6
104590 ac_ext=cc
104591 ac_cpp='$CXXCPP $CPPFLAGS'
104592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104596 cat >conftest.$ac_ext <<_ACEOF
104597 /* confdefs.h. */
104598 _ACEOF
104599 cat confdefs.h >>conftest.$ac_ext
104600 cat >>conftest.$ac_ext <<_ACEOF
104601 /* end confdefs.h. */
104602 #include <math.h>
104603 #ifdef HAVE_IEEEFP_H
104604 #include <ieeefp.h>
104605 #endif
104608 main ()
104610 finitef(0);
104612 return 0;
104614 _ACEOF
104615 rm -f conftest.$ac_objext
104616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104617 (eval $ac_compile) 2>conftest.er1
104618 ac_status=$?
104619 grep -v '^ *+' conftest.er1 >conftest.err
104620 rm -f conftest.er1
104621 cat conftest.err >&5
104622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104623 (exit $ac_status); } &&
104624 { ac_try='test -z "$ac_cxx_werror_flag"
104625 || test ! -s conftest.err'
104626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104627 (eval $ac_try) 2>&5
104628 ac_status=$?
104629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104630 (exit $ac_status); }; } &&
104631 { ac_try='test -s conftest.$ac_objext'
104632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104633 (eval $ac_try) 2>&5
104634 ac_status=$?
104635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104636 (exit $ac_status); }; }; then
104637 glibcxx_cv_func_finitef_use=yes
104639 echo "$as_me: failed program was:" >&5
104640 sed 's/^/| /' conftest.$ac_ext >&5
104642 glibcxx_cv_func_finitef_use=no
104644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104645 ac_ext=c
104646 ac_cpp='$CPP $CPPFLAGS'
104647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
104656 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
104658 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
104660 for ac_func in finitef
104662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104663 echo "$as_me:$LINENO: checking for $ac_func" >&5
104664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104665 if eval "test \"\${$as_ac_var+set}\" = set"; then
104666 echo $ECHO_N "(cached) $ECHO_C" >&6
104668 if test x$gcc_no_link = xyes; then
104669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104671 { (exit 1); exit 1; }; }
104673 cat >conftest.$ac_ext <<_ACEOF
104674 /* confdefs.h. */
104675 _ACEOF
104676 cat confdefs.h >>conftest.$ac_ext
104677 cat >>conftest.$ac_ext <<_ACEOF
104678 /* end confdefs.h. */
104679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104681 #define $ac_func innocuous_$ac_func
104683 /* System header to define __stub macros and hopefully few prototypes,
104684 which can conflict with char $ac_func (); below.
104685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104686 <limits.h> exists even on freestanding compilers. */
104688 #ifdef __STDC__
104689 # include <limits.h>
104690 #else
104691 # include <assert.h>
104692 #endif
104694 #undef $ac_func
104696 /* Override any gcc2 internal prototype to avoid an error. */
104697 #ifdef __cplusplus
104698 extern "C"
104700 #endif
104701 /* We use char because int might match the return type of a gcc2
104702 builtin and then its argument prototype would still apply. */
104703 char $ac_func ();
104704 /* The GNU C library defines this for functions which it implements
104705 to always fail with ENOSYS. Some functions are actually named
104706 something starting with __ and the normal name is an alias. */
104707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104708 choke me
104709 #else
104710 char (*f) () = $ac_func;
104711 #endif
104712 #ifdef __cplusplus
104714 #endif
104717 main ()
104719 return f != $ac_func;
104721 return 0;
104723 _ACEOF
104724 rm -f conftest.$ac_objext conftest$ac_exeext
104725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104726 (eval $ac_link) 2>conftest.er1
104727 ac_status=$?
104728 grep -v '^ *+' conftest.er1 >conftest.err
104729 rm -f conftest.er1
104730 cat conftest.err >&5
104731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104732 (exit $ac_status); } &&
104733 { ac_try='test -z "$ac_c_werror_flag"
104734 || test ! -s conftest.err'
104735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104736 (eval $ac_try) 2>&5
104737 ac_status=$?
104738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104739 (exit $ac_status); }; } &&
104740 { ac_try='test -s conftest$ac_exeext'
104741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104742 (eval $ac_try) 2>&5
104743 ac_status=$?
104744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104745 (exit $ac_status); }; }; then
104746 eval "$as_ac_var=yes"
104748 echo "$as_me: failed program was:" >&5
104749 sed 's/^/| /' conftest.$ac_ext >&5
104751 eval "$as_ac_var=no"
104753 rm -f conftest.err conftest.$ac_objext \
104754 conftest$ac_exeext conftest.$ac_ext
104756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104758 if test `eval echo '${'$as_ac_var'}'` = yes; then
104759 cat >>confdefs.h <<_ACEOF
104760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104761 _ACEOF
104768 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
104769 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
104770 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
104771 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
104772 echo $ECHO_N "(cached) $ECHO_C" >&6
104777 ac_ext=cc
104778 ac_cpp='$CXXCPP $CPPFLAGS'
104779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104783 cat >conftest.$ac_ext <<_ACEOF
104784 /* confdefs.h. */
104785 _ACEOF
104786 cat confdefs.h >>conftest.$ac_ext
104787 cat >>conftest.$ac_ext <<_ACEOF
104788 /* end confdefs.h. */
104789 #include <math.h>
104790 #ifdef HAVE_IEEEFP_H
104791 #include <ieeefp.h>
104792 #endif
104795 main ()
104797 _finitef(0);
104799 return 0;
104801 _ACEOF
104802 rm -f conftest.$ac_objext
104803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104804 (eval $ac_compile) 2>conftest.er1
104805 ac_status=$?
104806 grep -v '^ *+' conftest.er1 >conftest.err
104807 rm -f conftest.er1
104808 cat conftest.err >&5
104809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104810 (exit $ac_status); } &&
104811 { ac_try='test -z "$ac_cxx_werror_flag"
104812 || test ! -s conftest.err'
104813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104814 (eval $ac_try) 2>&5
104815 ac_status=$?
104816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104817 (exit $ac_status); }; } &&
104818 { ac_try='test -s conftest.$ac_objext'
104819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104820 (eval $ac_try) 2>&5
104821 ac_status=$?
104822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104823 (exit $ac_status); }; }; then
104824 glibcxx_cv_func__finitef_use=yes
104826 echo "$as_me: failed program was:" >&5
104827 sed 's/^/| /' conftest.$ac_ext >&5
104829 glibcxx_cv_func__finitef_use=no
104831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104832 ac_ext=c
104833 ac_cpp='$CPP $CPPFLAGS'
104834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
104843 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
104845 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
104847 for ac_func in _finitef
104849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104850 echo "$as_me:$LINENO: checking for $ac_func" >&5
104851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104852 if eval "test \"\${$as_ac_var+set}\" = set"; then
104853 echo $ECHO_N "(cached) $ECHO_C" >&6
104855 if test x$gcc_no_link = xyes; then
104856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104858 { (exit 1); exit 1; }; }
104860 cat >conftest.$ac_ext <<_ACEOF
104861 /* confdefs.h. */
104862 _ACEOF
104863 cat confdefs.h >>conftest.$ac_ext
104864 cat >>conftest.$ac_ext <<_ACEOF
104865 /* end confdefs.h. */
104866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104868 #define $ac_func innocuous_$ac_func
104870 /* System header to define __stub macros and hopefully few prototypes,
104871 which can conflict with char $ac_func (); below.
104872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104873 <limits.h> exists even on freestanding compilers. */
104875 #ifdef __STDC__
104876 # include <limits.h>
104877 #else
104878 # include <assert.h>
104879 #endif
104881 #undef $ac_func
104883 /* Override any gcc2 internal prototype to avoid an error. */
104884 #ifdef __cplusplus
104885 extern "C"
104887 #endif
104888 /* We use char because int might match the return type of a gcc2
104889 builtin and then its argument prototype would still apply. */
104890 char $ac_func ();
104891 /* The GNU C library defines this for functions which it implements
104892 to always fail with ENOSYS. Some functions are actually named
104893 something starting with __ and the normal name is an alias. */
104894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104895 choke me
104896 #else
104897 char (*f) () = $ac_func;
104898 #endif
104899 #ifdef __cplusplus
104901 #endif
104904 main ()
104906 return f != $ac_func;
104908 return 0;
104910 _ACEOF
104911 rm -f conftest.$ac_objext conftest$ac_exeext
104912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104913 (eval $ac_link) 2>conftest.er1
104914 ac_status=$?
104915 grep -v '^ *+' conftest.er1 >conftest.err
104916 rm -f conftest.er1
104917 cat conftest.err >&5
104918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104919 (exit $ac_status); } &&
104920 { ac_try='test -z "$ac_c_werror_flag"
104921 || test ! -s conftest.err'
104922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104923 (eval $ac_try) 2>&5
104924 ac_status=$?
104925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104926 (exit $ac_status); }; } &&
104927 { ac_try='test -s conftest$ac_exeext'
104928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104929 (eval $ac_try) 2>&5
104930 ac_status=$?
104931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104932 (exit $ac_status); }; }; then
104933 eval "$as_ac_var=yes"
104935 echo "$as_me: failed program was:" >&5
104936 sed 's/^/| /' conftest.$ac_ext >&5
104938 eval "$as_ac_var=no"
104940 rm -f conftest.err conftest.$ac_objext \
104941 conftest$ac_exeext conftest.$ac_ext
104943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104945 if test `eval echo '${'$as_ac_var'}'` = yes; then
104946 cat >>confdefs.h <<_ACEOF
104947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104948 _ACEOF
104961 echo "$as_me:$LINENO: checking for long double trig functions" >&5
104962 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
104963 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
104964 echo $ECHO_N "(cached) $ECHO_C" >&6
104969 ac_ext=cc
104970 ac_cpp='$CXXCPP $CPPFLAGS'
104971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104975 cat >conftest.$ac_ext <<_ACEOF
104976 /* confdefs.h. */
104977 _ACEOF
104978 cat confdefs.h >>conftest.$ac_ext
104979 cat >>conftest.$ac_ext <<_ACEOF
104980 /* end confdefs.h. */
104981 #include <math.h>
104983 main ()
104985 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
104987 return 0;
104989 _ACEOF
104990 rm -f conftest.$ac_objext
104991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104992 (eval $ac_compile) 2>conftest.er1
104993 ac_status=$?
104994 grep -v '^ *+' conftest.er1 >conftest.err
104995 rm -f conftest.er1
104996 cat conftest.err >&5
104997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104998 (exit $ac_status); } &&
104999 { ac_try='test -z "$ac_cxx_werror_flag"
105000 || test ! -s conftest.err'
105001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105002 (eval $ac_try) 2>&5
105003 ac_status=$?
105004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105005 (exit $ac_status); }; } &&
105006 { ac_try='test -s conftest.$ac_objext'
105007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105008 (eval $ac_try) 2>&5
105009 ac_status=$?
105010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105011 (exit $ac_status); }; }; then
105012 glibcxx_cv_func_long_double_trig_use=yes
105014 echo "$as_me: failed program was:" >&5
105015 sed 's/^/| /' conftest.$ac_ext >&5
105017 glibcxx_cv_func_long_double_trig_use=no
105019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105020 ac_ext=c
105021 ac_cpp='$CPP $CPPFLAGS'
105022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
105029 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
105030 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
105040 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
105042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105043 echo "$as_me:$LINENO: checking for $ac_func" >&5
105044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105045 if eval "test \"\${$as_ac_var+set}\" = set"; then
105046 echo $ECHO_N "(cached) $ECHO_C" >&6
105048 if test x$gcc_no_link = xyes; then
105049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105051 { (exit 1); exit 1; }; }
105053 cat >conftest.$ac_ext <<_ACEOF
105054 /* confdefs.h. */
105055 _ACEOF
105056 cat confdefs.h >>conftest.$ac_ext
105057 cat >>conftest.$ac_ext <<_ACEOF
105058 /* end confdefs.h. */
105059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105061 #define $ac_func innocuous_$ac_func
105063 /* System header to define __stub macros and hopefully few prototypes,
105064 which can conflict with char $ac_func (); below.
105065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105066 <limits.h> exists even on freestanding compilers. */
105068 #ifdef __STDC__
105069 # include <limits.h>
105070 #else
105071 # include <assert.h>
105072 #endif
105074 #undef $ac_func
105076 /* Override any gcc2 internal prototype to avoid an error. */
105077 #ifdef __cplusplus
105078 extern "C"
105080 #endif
105081 /* We use char because int might match the return type of a gcc2
105082 builtin and then its argument prototype would still apply. */
105083 char $ac_func ();
105084 /* The GNU C library defines this for functions which it implements
105085 to always fail with ENOSYS. Some functions are actually named
105086 something starting with __ and the normal name is an alias. */
105087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105088 choke me
105089 #else
105090 char (*f) () = $ac_func;
105091 #endif
105092 #ifdef __cplusplus
105094 #endif
105097 main ()
105099 return f != $ac_func;
105101 return 0;
105103 _ACEOF
105104 rm -f conftest.$ac_objext conftest$ac_exeext
105105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105106 (eval $ac_link) 2>conftest.er1
105107 ac_status=$?
105108 grep -v '^ *+' conftest.er1 >conftest.err
105109 rm -f conftest.er1
105110 cat conftest.err >&5
105111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105112 (exit $ac_status); } &&
105113 { ac_try='test -z "$ac_c_werror_flag"
105114 || test ! -s conftest.err'
105115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105116 (eval $ac_try) 2>&5
105117 ac_status=$?
105118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105119 (exit $ac_status); }; } &&
105120 { ac_try='test -s conftest$ac_exeext'
105121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105122 (eval $ac_try) 2>&5
105123 ac_status=$?
105124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105125 (exit $ac_status); }; }; then
105126 eval "$as_ac_var=yes"
105128 echo "$as_me: failed program was:" >&5
105129 sed 's/^/| /' conftest.$ac_ext >&5
105131 eval "$as_ac_var=no"
105133 rm -f conftest.err conftest.$ac_objext \
105134 conftest$ac_exeext conftest.$ac_ext
105136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105138 if test `eval echo '${'$as_ac_var'}'` = yes; then
105139 cat >>confdefs.h <<_ACEOF
105140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105141 _ACEOF
105147 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
105148 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
105149 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
105150 echo $ECHO_N "(cached) $ECHO_C" >&6
105155 ac_ext=cc
105156 ac_cpp='$CXXCPP $CPPFLAGS'
105157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105161 cat >conftest.$ac_ext <<_ACEOF
105162 /* confdefs.h. */
105163 _ACEOF
105164 cat confdefs.h >>conftest.$ac_ext
105165 cat >>conftest.$ac_ext <<_ACEOF
105166 /* end confdefs.h. */
105167 #include <math.h>
105169 main ()
105171 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
105173 return 0;
105175 _ACEOF
105176 rm -f conftest.$ac_objext
105177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105178 (eval $ac_compile) 2>conftest.er1
105179 ac_status=$?
105180 grep -v '^ *+' conftest.er1 >conftest.err
105181 rm -f conftest.er1
105182 cat conftest.err >&5
105183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105184 (exit $ac_status); } &&
105185 { ac_try='test -z "$ac_cxx_werror_flag"
105186 || test ! -s conftest.err'
105187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105188 (eval $ac_try) 2>&5
105189 ac_status=$?
105190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105191 (exit $ac_status); }; } &&
105192 { ac_try='test -s conftest.$ac_objext'
105193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105194 (eval $ac_try) 2>&5
105195 ac_status=$?
105196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105197 (exit $ac_status); }; }; then
105198 glibcxx_cv_func__long_double_trig_use=yes
105200 echo "$as_me: failed program was:" >&5
105201 sed 's/^/| /' conftest.$ac_ext >&5
105203 glibcxx_cv_func__long_double_trig_use=no
105205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105206 ac_ext=c
105207 ac_cpp='$CPP $CPPFLAGS'
105208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
105215 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
105216 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
105226 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
105228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105229 echo "$as_me:$LINENO: checking for $ac_func" >&5
105230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105231 if eval "test \"\${$as_ac_var+set}\" = set"; then
105232 echo $ECHO_N "(cached) $ECHO_C" >&6
105234 if test x$gcc_no_link = xyes; then
105235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105237 { (exit 1); exit 1; }; }
105239 cat >conftest.$ac_ext <<_ACEOF
105240 /* confdefs.h. */
105241 _ACEOF
105242 cat confdefs.h >>conftest.$ac_ext
105243 cat >>conftest.$ac_ext <<_ACEOF
105244 /* end confdefs.h. */
105245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105247 #define $ac_func innocuous_$ac_func
105249 /* System header to define __stub macros and hopefully few prototypes,
105250 which can conflict with char $ac_func (); below.
105251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105252 <limits.h> exists even on freestanding compilers. */
105254 #ifdef __STDC__
105255 # include <limits.h>
105256 #else
105257 # include <assert.h>
105258 #endif
105260 #undef $ac_func
105262 /* Override any gcc2 internal prototype to avoid an error. */
105263 #ifdef __cplusplus
105264 extern "C"
105266 #endif
105267 /* We use char because int might match the return type of a gcc2
105268 builtin and then its argument prototype would still apply. */
105269 char $ac_func ();
105270 /* The GNU C library defines this for functions which it implements
105271 to always fail with ENOSYS. Some functions are actually named
105272 something starting with __ and the normal name is an alias. */
105273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105274 choke me
105275 #else
105276 char (*f) () = $ac_func;
105277 #endif
105278 #ifdef __cplusplus
105280 #endif
105283 main ()
105285 return f != $ac_func;
105287 return 0;
105289 _ACEOF
105290 rm -f conftest.$ac_objext conftest$ac_exeext
105291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105292 (eval $ac_link) 2>conftest.er1
105293 ac_status=$?
105294 grep -v '^ *+' conftest.er1 >conftest.err
105295 rm -f conftest.er1
105296 cat conftest.err >&5
105297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105298 (exit $ac_status); } &&
105299 { ac_try='test -z "$ac_c_werror_flag"
105300 || test ! -s conftest.err'
105301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105302 (eval $ac_try) 2>&5
105303 ac_status=$?
105304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105305 (exit $ac_status); }; } &&
105306 { ac_try='test -s conftest$ac_exeext'
105307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105308 (eval $ac_try) 2>&5
105309 ac_status=$?
105310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105311 (exit $ac_status); }; }; then
105312 eval "$as_ac_var=yes"
105314 echo "$as_me: failed program was:" >&5
105315 sed 's/^/| /' conftest.$ac_ext >&5
105317 eval "$as_ac_var=no"
105319 rm -f conftest.err conftest.$ac_objext \
105320 conftest$ac_exeext conftest.$ac_ext
105322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105324 if test `eval echo '${'$as_ac_var'}'` = yes; then
105325 cat >>confdefs.h <<_ACEOF
105326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105327 _ACEOF
105348 echo "$as_me:$LINENO: checking for long double round functions" >&5
105349 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
105350 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
105351 echo $ECHO_N "(cached) $ECHO_C" >&6
105356 ac_ext=cc
105357 ac_cpp='$CXXCPP $CPPFLAGS'
105358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105362 cat >conftest.$ac_ext <<_ACEOF
105363 /* confdefs.h. */
105364 _ACEOF
105365 cat confdefs.h >>conftest.$ac_ext
105366 cat >>conftest.$ac_ext <<_ACEOF
105367 /* end confdefs.h. */
105368 #include <math.h>
105370 main ()
105372 ceill (0); floorl (0);
105374 return 0;
105376 _ACEOF
105377 rm -f conftest.$ac_objext
105378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105379 (eval $ac_compile) 2>conftest.er1
105380 ac_status=$?
105381 grep -v '^ *+' conftest.er1 >conftest.err
105382 rm -f conftest.er1
105383 cat conftest.err >&5
105384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105385 (exit $ac_status); } &&
105386 { ac_try='test -z "$ac_cxx_werror_flag"
105387 || test ! -s conftest.err'
105388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105389 (eval $ac_try) 2>&5
105390 ac_status=$?
105391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105392 (exit $ac_status); }; } &&
105393 { ac_try='test -s conftest.$ac_objext'
105394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105395 (eval $ac_try) 2>&5
105396 ac_status=$?
105397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105398 (exit $ac_status); }; }; then
105399 glibcxx_cv_func_long_double_round_use=yes
105401 echo "$as_me: failed program was:" >&5
105402 sed 's/^/| /' conftest.$ac_ext >&5
105404 glibcxx_cv_func_long_double_round_use=no
105406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105407 ac_ext=c
105408 ac_cpp='$CPP $CPPFLAGS'
105409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
105416 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
105417 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
105420 for ac_func in ceill floorl
105422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105423 echo "$as_me:$LINENO: checking for $ac_func" >&5
105424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105425 if eval "test \"\${$as_ac_var+set}\" = set"; then
105426 echo $ECHO_N "(cached) $ECHO_C" >&6
105428 if test x$gcc_no_link = xyes; then
105429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105431 { (exit 1); exit 1; }; }
105433 cat >conftest.$ac_ext <<_ACEOF
105434 /* confdefs.h. */
105435 _ACEOF
105436 cat confdefs.h >>conftest.$ac_ext
105437 cat >>conftest.$ac_ext <<_ACEOF
105438 /* end confdefs.h. */
105439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105441 #define $ac_func innocuous_$ac_func
105443 /* System header to define __stub macros and hopefully few prototypes,
105444 which can conflict with char $ac_func (); below.
105445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105446 <limits.h> exists even on freestanding compilers. */
105448 #ifdef __STDC__
105449 # include <limits.h>
105450 #else
105451 # include <assert.h>
105452 #endif
105454 #undef $ac_func
105456 /* Override any gcc2 internal prototype to avoid an error. */
105457 #ifdef __cplusplus
105458 extern "C"
105460 #endif
105461 /* We use char because int might match the return type of a gcc2
105462 builtin and then its argument prototype would still apply. */
105463 char $ac_func ();
105464 /* The GNU C library defines this for functions which it implements
105465 to always fail with ENOSYS. Some functions are actually named
105466 something starting with __ and the normal name is an alias. */
105467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105468 choke me
105469 #else
105470 char (*f) () = $ac_func;
105471 #endif
105472 #ifdef __cplusplus
105474 #endif
105477 main ()
105479 return f != $ac_func;
105481 return 0;
105483 _ACEOF
105484 rm -f conftest.$ac_objext conftest$ac_exeext
105485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105486 (eval $ac_link) 2>conftest.er1
105487 ac_status=$?
105488 grep -v '^ *+' conftest.er1 >conftest.err
105489 rm -f conftest.er1
105490 cat conftest.err >&5
105491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105492 (exit $ac_status); } &&
105493 { ac_try='test -z "$ac_c_werror_flag"
105494 || test ! -s conftest.err'
105495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105496 (eval $ac_try) 2>&5
105497 ac_status=$?
105498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105499 (exit $ac_status); }; } &&
105500 { ac_try='test -s conftest$ac_exeext'
105501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105502 (eval $ac_try) 2>&5
105503 ac_status=$?
105504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105505 (exit $ac_status); }; }; then
105506 eval "$as_ac_var=yes"
105508 echo "$as_me: failed program was:" >&5
105509 sed 's/^/| /' conftest.$ac_ext >&5
105511 eval "$as_ac_var=no"
105513 rm -f conftest.err conftest.$ac_objext \
105514 conftest$ac_exeext conftest.$ac_ext
105516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105518 if test `eval echo '${'$as_ac_var'}'` = yes; then
105519 cat >>confdefs.h <<_ACEOF
105520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105521 _ACEOF
105527 echo "$as_me:$LINENO: checking for _long double round functions" >&5
105528 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
105529 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
105530 echo $ECHO_N "(cached) $ECHO_C" >&6
105535 ac_ext=cc
105536 ac_cpp='$CXXCPP $CPPFLAGS'
105537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105541 cat >conftest.$ac_ext <<_ACEOF
105542 /* confdefs.h. */
105543 _ACEOF
105544 cat confdefs.h >>conftest.$ac_ext
105545 cat >>conftest.$ac_ext <<_ACEOF
105546 /* end confdefs.h. */
105547 #include <math.h>
105549 main ()
105551 _ceill (0); _floorl (0);
105553 return 0;
105555 _ACEOF
105556 rm -f conftest.$ac_objext
105557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105558 (eval $ac_compile) 2>conftest.er1
105559 ac_status=$?
105560 grep -v '^ *+' conftest.er1 >conftest.err
105561 rm -f conftest.er1
105562 cat conftest.err >&5
105563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105564 (exit $ac_status); } &&
105565 { ac_try='test -z "$ac_cxx_werror_flag"
105566 || test ! -s conftest.err'
105567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105568 (eval $ac_try) 2>&5
105569 ac_status=$?
105570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105571 (exit $ac_status); }; } &&
105572 { ac_try='test -s conftest.$ac_objext'
105573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105574 (eval $ac_try) 2>&5
105575 ac_status=$?
105576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105577 (exit $ac_status); }; }; then
105578 glibcxx_cv_func__long_double_round_use=yes
105580 echo "$as_me: failed program was:" >&5
105581 sed 's/^/| /' conftest.$ac_ext >&5
105583 glibcxx_cv_func__long_double_round_use=no
105585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105586 ac_ext=c
105587 ac_cpp='$CPP $CPPFLAGS'
105588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
105595 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
105596 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
105599 for ac_func in _ceill _floorl
105601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105602 echo "$as_me:$LINENO: checking for $ac_func" >&5
105603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105604 if eval "test \"\${$as_ac_var+set}\" = set"; then
105605 echo $ECHO_N "(cached) $ECHO_C" >&6
105607 if test x$gcc_no_link = xyes; then
105608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105610 { (exit 1); exit 1; }; }
105612 cat >conftest.$ac_ext <<_ACEOF
105613 /* confdefs.h. */
105614 _ACEOF
105615 cat confdefs.h >>conftest.$ac_ext
105616 cat >>conftest.$ac_ext <<_ACEOF
105617 /* end confdefs.h. */
105618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105620 #define $ac_func innocuous_$ac_func
105622 /* System header to define __stub macros and hopefully few prototypes,
105623 which can conflict with char $ac_func (); below.
105624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105625 <limits.h> exists even on freestanding compilers. */
105627 #ifdef __STDC__
105628 # include <limits.h>
105629 #else
105630 # include <assert.h>
105631 #endif
105633 #undef $ac_func
105635 /* Override any gcc2 internal prototype to avoid an error. */
105636 #ifdef __cplusplus
105637 extern "C"
105639 #endif
105640 /* We use char because int might match the return type of a gcc2
105641 builtin and then its argument prototype would still apply. */
105642 char $ac_func ();
105643 /* The GNU C library defines this for functions which it implements
105644 to always fail with ENOSYS. Some functions are actually named
105645 something starting with __ and the normal name is an alias. */
105646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105647 choke me
105648 #else
105649 char (*f) () = $ac_func;
105650 #endif
105651 #ifdef __cplusplus
105653 #endif
105656 main ()
105658 return f != $ac_func;
105660 return 0;
105662 _ACEOF
105663 rm -f conftest.$ac_objext conftest$ac_exeext
105664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105665 (eval $ac_link) 2>conftest.er1
105666 ac_status=$?
105667 grep -v '^ *+' conftest.er1 >conftest.err
105668 rm -f conftest.er1
105669 cat conftest.err >&5
105670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105671 (exit $ac_status); } &&
105672 { ac_try='test -z "$ac_c_werror_flag"
105673 || test ! -s conftest.err'
105674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105675 (eval $ac_try) 2>&5
105676 ac_status=$?
105677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105678 (exit $ac_status); }; } &&
105679 { ac_try='test -s conftest$ac_exeext'
105680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105681 (eval $ac_try) 2>&5
105682 ac_status=$?
105683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105684 (exit $ac_status); }; }; then
105685 eval "$as_ac_var=yes"
105687 echo "$as_me: failed program was:" >&5
105688 sed 's/^/| /' conftest.$ac_ext >&5
105690 eval "$as_ac_var=no"
105692 rm -f conftest.err conftest.$ac_objext \
105693 conftest$ac_exeext conftest.$ac_ext
105695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105697 if test `eval echo '${'$as_ac_var'}'` = yes; then
105698 cat >>confdefs.h <<_ACEOF
105699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105700 _ACEOF
105715 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
105716 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
105717 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
105718 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
105719 echo $ECHO_N "(cached) $ECHO_C" >&6
105724 ac_ext=cc
105725 ac_cpp='$CXXCPP $CPPFLAGS'
105726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105730 cat >conftest.$ac_ext <<_ACEOF
105731 /* confdefs.h. */
105732 _ACEOF
105733 cat confdefs.h >>conftest.$ac_ext
105734 cat >>conftest.$ac_ext <<_ACEOF
105735 /* end confdefs.h. */
105736 #include <math.h>
105737 #ifdef HAVE_IEEEFP_H
105738 #include <ieeefp.h>
105739 #endif
105742 main ()
105744 isnanl(0);
105746 return 0;
105748 _ACEOF
105749 rm -f conftest.$ac_objext
105750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105751 (eval $ac_compile) 2>conftest.er1
105752 ac_status=$?
105753 grep -v '^ *+' conftest.er1 >conftest.err
105754 rm -f conftest.er1
105755 cat conftest.err >&5
105756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105757 (exit $ac_status); } &&
105758 { ac_try='test -z "$ac_cxx_werror_flag"
105759 || test ! -s conftest.err'
105760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105761 (eval $ac_try) 2>&5
105762 ac_status=$?
105763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105764 (exit $ac_status); }; } &&
105765 { ac_try='test -s conftest.$ac_objext'
105766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105767 (eval $ac_try) 2>&5
105768 ac_status=$?
105769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105770 (exit $ac_status); }; }; then
105771 glibcxx_cv_func_isnanl_use=yes
105773 echo "$as_me: failed program was:" >&5
105774 sed 's/^/| /' conftest.$ac_ext >&5
105776 glibcxx_cv_func_isnanl_use=no
105778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105779 ac_ext=c
105780 ac_cpp='$CPP $CPPFLAGS'
105781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
105790 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
105792 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
105794 for ac_func in isnanl
105796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105797 echo "$as_me:$LINENO: checking for $ac_func" >&5
105798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105799 if eval "test \"\${$as_ac_var+set}\" = set"; then
105800 echo $ECHO_N "(cached) $ECHO_C" >&6
105802 if test x$gcc_no_link = xyes; then
105803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105805 { (exit 1); exit 1; }; }
105807 cat >conftest.$ac_ext <<_ACEOF
105808 /* confdefs.h. */
105809 _ACEOF
105810 cat confdefs.h >>conftest.$ac_ext
105811 cat >>conftest.$ac_ext <<_ACEOF
105812 /* end confdefs.h. */
105813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105815 #define $ac_func innocuous_$ac_func
105817 /* System header to define __stub macros and hopefully few prototypes,
105818 which can conflict with char $ac_func (); below.
105819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105820 <limits.h> exists even on freestanding compilers. */
105822 #ifdef __STDC__
105823 # include <limits.h>
105824 #else
105825 # include <assert.h>
105826 #endif
105828 #undef $ac_func
105830 /* Override any gcc2 internal prototype to avoid an error. */
105831 #ifdef __cplusplus
105832 extern "C"
105834 #endif
105835 /* We use char because int might match the return type of a gcc2
105836 builtin and then its argument prototype would still apply. */
105837 char $ac_func ();
105838 /* The GNU C library defines this for functions which it implements
105839 to always fail with ENOSYS. Some functions are actually named
105840 something starting with __ and the normal name is an alias. */
105841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105842 choke me
105843 #else
105844 char (*f) () = $ac_func;
105845 #endif
105846 #ifdef __cplusplus
105848 #endif
105851 main ()
105853 return f != $ac_func;
105855 return 0;
105857 _ACEOF
105858 rm -f conftest.$ac_objext conftest$ac_exeext
105859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105860 (eval $ac_link) 2>conftest.er1
105861 ac_status=$?
105862 grep -v '^ *+' conftest.er1 >conftest.err
105863 rm -f conftest.er1
105864 cat conftest.err >&5
105865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105866 (exit $ac_status); } &&
105867 { ac_try='test -z "$ac_c_werror_flag"
105868 || test ! -s conftest.err'
105869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105870 (eval $ac_try) 2>&5
105871 ac_status=$?
105872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105873 (exit $ac_status); }; } &&
105874 { ac_try='test -s conftest$ac_exeext'
105875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105876 (eval $ac_try) 2>&5
105877 ac_status=$?
105878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105879 (exit $ac_status); }; }; then
105880 eval "$as_ac_var=yes"
105882 echo "$as_me: failed program was:" >&5
105883 sed 's/^/| /' conftest.$ac_ext >&5
105885 eval "$as_ac_var=no"
105887 rm -f conftest.err conftest.$ac_objext \
105888 conftest$ac_exeext conftest.$ac_ext
105890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105892 if test `eval echo '${'$as_ac_var'}'` = yes; then
105893 cat >>confdefs.h <<_ACEOF
105894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105895 _ACEOF
105902 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
105903 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
105904 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
105905 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
105906 echo $ECHO_N "(cached) $ECHO_C" >&6
105911 ac_ext=cc
105912 ac_cpp='$CXXCPP $CPPFLAGS'
105913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105917 cat >conftest.$ac_ext <<_ACEOF
105918 /* confdefs.h. */
105919 _ACEOF
105920 cat confdefs.h >>conftest.$ac_ext
105921 cat >>conftest.$ac_ext <<_ACEOF
105922 /* end confdefs.h. */
105923 #include <math.h>
105924 #ifdef HAVE_IEEEFP_H
105925 #include <ieeefp.h>
105926 #endif
105929 main ()
105931 _isnanl(0);
105933 return 0;
105935 _ACEOF
105936 rm -f conftest.$ac_objext
105937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105938 (eval $ac_compile) 2>conftest.er1
105939 ac_status=$?
105940 grep -v '^ *+' conftest.er1 >conftest.err
105941 rm -f conftest.er1
105942 cat conftest.err >&5
105943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105944 (exit $ac_status); } &&
105945 { ac_try='test -z "$ac_cxx_werror_flag"
105946 || test ! -s conftest.err'
105947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105948 (eval $ac_try) 2>&5
105949 ac_status=$?
105950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105951 (exit $ac_status); }; } &&
105952 { ac_try='test -s conftest.$ac_objext'
105953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105954 (eval $ac_try) 2>&5
105955 ac_status=$?
105956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105957 (exit $ac_status); }; }; then
105958 glibcxx_cv_func__isnanl_use=yes
105960 echo "$as_me: failed program was:" >&5
105961 sed 's/^/| /' conftest.$ac_ext >&5
105963 glibcxx_cv_func__isnanl_use=no
105965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105966 ac_ext=c
105967 ac_cpp='$CPP $CPPFLAGS'
105968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
105977 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
105979 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
105981 for ac_func in _isnanl
105983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105984 echo "$as_me:$LINENO: checking for $ac_func" >&5
105985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105986 if eval "test \"\${$as_ac_var+set}\" = set"; then
105987 echo $ECHO_N "(cached) $ECHO_C" >&6
105989 if test x$gcc_no_link = xyes; then
105990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105992 { (exit 1); exit 1; }; }
105994 cat >conftest.$ac_ext <<_ACEOF
105995 /* confdefs.h. */
105996 _ACEOF
105997 cat confdefs.h >>conftest.$ac_ext
105998 cat >>conftest.$ac_ext <<_ACEOF
105999 /* end confdefs.h. */
106000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106002 #define $ac_func innocuous_$ac_func
106004 /* System header to define __stub macros and hopefully few prototypes,
106005 which can conflict with char $ac_func (); below.
106006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106007 <limits.h> exists even on freestanding compilers. */
106009 #ifdef __STDC__
106010 # include <limits.h>
106011 #else
106012 # include <assert.h>
106013 #endif
106015 #undef $ac_func
106017 /* Override any gcc2 internal prototype to avoid an error. */
106018 #ifdef __cplusplus
106019 extern "C"
106021 #endif
106022 /* We use char because int might match the return type of a gcc2
106023 builtin and then its argument prototype would still apply. */
106024 char $ac_func ();
106025 /* The GNU C library defines this for functions which it implements
106026 to always fail with ENOSYS. Some functions are actually named
106027 something starting with __ and the normal name is an alias. */
106028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106029 choke me
106030 #else
106031 char (*f) () = $ac_func;
106032 #endif
106033 #ifdef __cplusplus
106035 #endif
106038 main ()
106040 return f != $ac_func;
106042 return 0;
106044 _ACEOF
106045 rm -f conftest.$ac_objext conftest$ac_exeext
106046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106047 (eval $ac_link) 2>conftest.er1
106048 ac_status=$?
106049 grep -v '^ *+' conftest.er1 >conftest.err
106050 rm -f conftest.er1
106051 cat conftest.err >&5
106052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106053 (exit $ac_status); } &&
106054 { ac_try='test -z "$ac_c_werror_flag"
106055 || test ! -s conftest.err'
106056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106057 (eval $ac_try) 2>&5
106058 ac_status=$?
106059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106060 (exit $ac_status); }; } &&
106061 { ac_try='test -s conftest$ac_exeext'
106062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106063 (eval $ac_try) 2>&5
106064 ac_status=$?
106065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106066 (exit $ac_status); }; }; then
106067 eval "$as_ac_var=yes"
106069 echo "$as_me: failed program was:" >&5
106070 sed 's/^/| /' conftest.$ac_ext >&5
106072 eval "$as_ac_var=no"
106074 rm -f conftest.err conftest.$ac_objext \
106075 conftest$ac_exeext conftest.$ac_ext
106077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106079 if test `eval echo '${'$as_ac_var'}'` = yes; then
106080 cat >>confdefs.h <<_ACEOF
106081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106082 _ACEOF
106095 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
106096 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
106097 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
106098 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
106099 echo $ECHO_N "(cached) $ECHO_C" >&6
106104 ac_ext=cc
106105 ac_cpp='$CXXCPP $CPPFLAGS'
106106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106110 cat >conftest.$ac_ext <<_ACEOF
106111 /* confdefs.h. */
106112 _ACEOF
106113 cat confdefs.h >>conftest.$ac_ext
106114 cat >>conftest.$ac_ext <<_ACEOF
106115 /* end confdefs.h. */
106116 #include <math.h>
106117 #ifdef HAVE_IEEEFP_H
106118 #include <ieeefp.h>
106119 #endif
106122 main ()
106124 isinfl(0);
106126 return 0;
106128 _ACEOF
106129 rm -f conftest.$ac_objext
106130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106131 (eval $ac_compile) 2>conftest.er1
106132 ac_status=$?
106133 grep -v '^ *+' conftest.er1 >conftest.err
106134 rm -f conftest.er1
106135 cat conftest.err >&5
106136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106137 (exit $ac_status); } &&
106138 { ac_try='test -z "$ac_cxx_werror_flag"
106139 || test ! -s conftest.err'
106140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106141 (eval $ac_try) 2>&5
106142 ac_status=$?
106143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106144 (exit $ac_status); }; } &&
106145 { ac_try='test -s conftest.$ac_objext'
106146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106147 (eval $ac_try) 2>&5
106148 ac_status=$?
106149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106150 (exit $ac_status); }; }; then
106151 glibcxx_cv_func_isinfl_use=yes
106153 echo "$as_me: failed program was:" >&5
106154 sed 's/^/| /' conftest.$ac_ext >&5
106156 glibcxx_cv_func_isinfl_use=no
106158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106159 ac_ext=c
106160 ac_cpp='$CPP $CPPFLAGS'
106161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
106170 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
106172 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
106174 for ac_func in isinfl
106176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106177 echo "$as_me:$LINENO: checking for $ac_func" >&5
106178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106179 if eval "test \"\${$as_ac_var+set}\" = set"; then
106180 echo $ECHO_N "(cached) $ECHO_C" >&6
106182 if test x$gcc_no_link = xyes; then
106183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106185 { (exit 1); exit 1; }; }
106187 cat >conftest.$ac_ext <<_ACEOF
106188 /* confdefs.h. */
106189 _ACEOF
106190 cat confdefs.h >>conftest.$ac_ext
106191 cat >>conftest.$ac_ext <<_ACEOF
106192 /* end confdefs.h. */
106193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106195 #define $ac_func innocuous_$ac_func
106197 /* System header to define __stub macros and hopefully few prototypes,
106198 which can conflict with char $ac_func (); below.
106199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106200 <limits.h> exists even on freestanding compilers. */
106202 #ifdef __STDC__
106203 # include <limits.h>
106204 #else
106205 # include <assert.h>
106206 #endif
106208 #undef $ac_func
106210 /* Override any gcc2 internal prototype to avoid an error. */
106211 #ifdef __cplusplus
106212 extern "C"
106214 #endif
106215 /* We use char because int might match the return type of a gcc2
106216 builtin and then its argument prototype would still apply. */
106217 char $ac_func ();
106218 /* The GNU C library defines this for functions which it implements
106219 to always fail with ENOSYS. Some functions are actually named
106220 something starting with __ and the normal name is an alias. */
106221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106222 choke me
106223 #else
106224 char (*f) () = $ac_func;
106225 #endif
106226 #ifdef __cplusplus
106228 #endif
106231 main ()
106233 return f != $ac_func;
106235 return 0;
106237 _ACEOF
106238 rm -f conftest.$ac_objext conftest$ac_exeext
106239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106240 (eval $ac_link) 2>conftest.er1
106241 ac_status=$?
106242 grep -v '^ *+' conftest.er1 >conftest.err
106243 rm -f conftest.er1
106244 cat conftest.err >&5
106245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106246 (exit $ac_status); } &&
106247 { ac_try='test -z "$ac_c_werror_flag"
106248 || test ! -s conftest.err'
106249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106250 (eval $ac_try) 2>&5
106251 ac_status=$?
106252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106253 (exit $ac_status); }; } &&
106254 { ac_try='test -s conftest$ac_exeext'
106255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106256 (eval $ac_try) 2>&5
106257 ac_status=$?
106258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106259 (exit $ac_status); }; }; then
106260 eval "$as_ac_var=yes"
106262 echo "$as_me: failed program was:" >&5
106263 sed 's/^/| /' conftest.$ac_ext >&5
106265 eval "$as_ac_var=no"
106267 rm -f conftest.err conftest.$ac_objext \
106268 conftest$ac_exeext conftest.$ac_ext
106270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106272 if test `eval echo '${'$as_ac_var'}'` = yes; then
106273 cat >>confdefs.h <<_ACEOF
106274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106275 _ACEOF
106282 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
106283 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
106284 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
106285 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
106286 echo $ECHO_N "(cached) $ECHO_C" >&6
106291 ac_ext=cc
106292 ac_cpp='$CXXCPP $CPPFLAGS'
106293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106297 cat >conftest.$ac_ext <<_ACEOF
106298 /* confdefs.h. */
106299 _ACEOF
106300 cat confdefs.h >>conftest.$ac_ext
106301 cat >>conftest.$ac_ext <<_ACEOF
106302 /* end confdefs.h. */
106303 #include <math.h>
106304 #ifdef HAVE_IEEEFP_H
106305 #include <ieeefp.h>
106306 #endif
106309 main ()
106311 _isinfl(0);
106313 return 0;
106315 _ACEOF
106316 rm -f conftest.$ac_objext
106317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106318 (eval $ac_compile) 2>conftest.er1
106319 ac_status=$?
106320 grep -v '^ *+' conftest.er1 >conftest.err
106321 rm -f conftest.er1
106322 cat conftest.err >&5
106323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106324 (exit $ac_status); } &&
106325 { ac_try='test -z "$ac_cxx_werror_flag"
106326 || test ! -s conftest.err'
106327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106328 (eval $ac_try) 2>&5
106329 ac_status=$?
106330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106331 (exit $ac_status); }; } &&
106332 { ac_try='test -s conftest.$ac_objext'
106333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106334 (eval $ac_try) 2>&5
106335 ac_status=$?
106336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106337 (exit $ac_status); }; }; then
106338 glibcxx_cv_func__isinfl_use=yes
106340 echo "$as_me: failed program was:" >&5
106341 sed 's/^/| /' conftest.$ac_ext >&5
106343 glibcxx_cv_func__isinfl_use=no
106345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106346 ac_ext=c
106347 ac_cpp='$CPP $CPPFLAGS'
106348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
106357 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
106359 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
106361 for ac_func in _isinfl
106363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106364 echo "$as_me:$LINENO: checking for $ac_func" >&5
106365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106366 if eval "test \"\${$as_ac_var+set}\" = set"; then
106367 echo $ECHO_N "(cached) $ECHO_C" >&6
106369 if test x$gcc_no_link = xyes; then
106370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106372 { (exit 1); exit 1; }; }
106374 cat >conftest.$ac_ext <<_ACEOF
106375 /* confdefs.h. */
106376 _ACEOF
106377 cat confdefs.h >>conftest.$ac_ext
106378 cat >>conftest.$ac_ext <<_ACEOF
106379 /* end confdefs.h. */
106380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106382 #define $ac_func innocuous_$ac_func
106384 /* System header to define __stub macros and hopefully few prototypes,
106385 which can conflict with char $ac_func (); below.
106386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106387 <limits.h> exists even on freestanding compilers. */
106389 #ifdef __STDC__
106390 # include <limits.h>
106391 #else
106392 # include <assert.h>
106393 #endif
106395 #undef $ac_func
106397 /* Override any gcc2 internal prototype to avoid an error. */
106398 #ifdef __cplusplus
106399 extern "C"
106401 #endif
106402 /* We use char because int might match the return type of a gcc2
106403 builtin and then its argument prototype would still apply. */
106404 char $ac_func ();
106405 /* The GNU C library defines this for functions which it implements
106406 to always fail with ENOSYS. Some functions are actually named
106407 something starting with __ and the normal name is an alias. */
106408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106409 choke me
106410 #else
106411 char (*f) () = $ac_func;
106412 #endif
106413 #ifdef __cplusplus
106415 #endif
106418 main ()
106420 return f != $ac_func;
106422 return 0;
106424 _ACEOF
106425 rm -f conftest.$ac_objext conftest$ac_exeext
106426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106427 (eval $ac_link) 2>conftest.er1
106428 ac_status=$?
106429 grep -v '^ *+' conftest.er1 >conftest.err
106430 rm -f conftest.er1
106431 cat conftest.err >&5
106432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106433 (exit $ac_status); } &&
106434 { ac_try='test -z "$ac_c_werror_flag"
106435 || test ! -s conftest.err'
106436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106437 (eval $ac_try) 2>&5
106438 ac_status=$?
106439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106440 (exit $ac_status); }; } &&
106441 { ac_try='test -s conftest$ac_exeext'
106442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106443 (eval $ac_try) 2>&5
106444 ac_status=$?
106445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106446 (exit $ac_status); }; }; then
106447 eval "$as_ac_var=yes"
106449 echo "$as_me: failed program was:" >&5
106450 sed 's/^/| /' conftest.$ac_ext >&5
106452 eval "$as_ac_var=no"
106454 rm -f conftest.err conftest.$ac_objext \
106455 conftest$ac_exeext conftest.$ac_ext
106457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106459 if test `eval echo '${'$as_ac_var'}'` = yes; then
106460 cat >>confdefs.h <<_ACEOF
106461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106462 _ACEOF
106475 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
106476 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
106477 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
106478 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
106479 echo $ECHO_N "(cached) $ECHO_C" >&6
106484 ac_ext=cc
106485 ac_cpp='$CXXCPP $CPPFLAGS'
106486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106490 cat >conftest.$ac_ext <<_ACEOF
106491 /* confdefs.h. */
106492 _ACEOF
106493 cat confdefs.h >>conftest.$ac_ext
106494 cat >>conftest.$ac_ext <<_ACEOF
106495 /* end confdefs.h. */
106496 #include <math.h>
106498 main ()
106500 atan2l(0, 0);
106502 return 0;
106504 _ACEOF
106505 rm -f conftest.$ac_objext
106506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106507 (eval $ac_compile) 2>conftest.er1
106508 ac_status=$?
106509 grep -v '^ *+' conftest.er1 >conftest.err
106510 rm -f conftest.er1
106511 cat conftest.err >&5
106512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106513 (exit $ac_status); } &&
106514 { ac_try='test -z "$ac_cxx_werror_flag"
106515 || test ! -s conftest.err'
106516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106517 (eval $ac_try) 2>&5
106518 ac_status=$?
106519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106520 (exit $ac_status); }; } &&
106521 { ac_try='test -s conftest.$ac_objext'
106522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106523 (eval $ac_try) 2>&5
106524 ac_status=$?
106525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106526 (exit $ac_status); }; }; then
106527 glibcxx_cv_func_atan2l_use=yes
106529 echo "$as_me: failed program was:" >&5
106530 sed 's/^/| /' conftest.$ac_ext >&5
106532 glibcxx_cv_func_atan2l_use=no
106534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106535 ac_ext=c
106536 ac_cpp='$CPP $CPPFLAGS'
106537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
106546 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
106548 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
106550 for ac_func in atan2l
106552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106553 echo "$as_me:$LINENO: checking for $ac_func" >&5
106554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106555 if eval "test \"\${$as_ac_var+set}\" = set"; then
106556 echo $ECHO_N "(cached) $ECHO_C" >&6
106558 if test x$gcc_no_link = xyes; then
106559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106561 { (exit 1); exit 1; }; }
106563 cat >conftest.$ac_ext <<_ACEOF
106564 /* confdefs.h. */
106565 _ACEOF
106566 cat confdefs.h >>conftest.$ac_ext
106567 cat >>conftest.$ac_ext <<_ACEOF
106568 /* end confdefs.h. */
106569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106571 #define $ac_func innocuous_$ac_func
106573 /* System header to define __stub macros and hopefully few prototypes,
106574 which can conflict with char $ac_func (); below.
106575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106576 <limits.h> exists even on freestanding compilers. */
106578 #ifdef __STDC__
106579 # include <limits.h>
106580 #else
106581 # include <assert.h>
106582 #endif
106584 #undef $ac_func
106586 /* Override any gcc2 internal prototype to avoid an error. */
106587 #ifdef __cplusplus
106588 extern "C"
106590 #endif
106591 /* We use char because int might match the return type of a gcc2
106592 builtin and then its argument prototype would still apply. */
106593 char $ac_func ();
106594 /* The GNU C library defines this for functions which it implements
106595 to always fail with ENOSYS. Some functions are actually named
106596 something starting with __ and the normal name is an alias. */
106597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106598 choke me
106599 #else
106600 char (*f) () = $ac_func;
106601 #endif
106602 #ifdef __cplusplus
106604 #endif
106607 main ()
106609 return f != $ac_func;
106611 return 0;
106613 _ACEOF
106614 rm -f conftest.$ac_objext conftest$ac_exeext
106615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106616 (eval $ac_link) 2>conftest.er1
106617 ac_status=$?
106618 grep -v '^ *+' conftest.er1 >conftest.err
106619 rm -f conftest.er1
106620 cat conftest.err >&5
106621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106622 (exit $ac_status); } &&
106623 { ac_try='test -z "$ac_c_werror_flag"
106624 || test ! -s conftest.err'
106625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106626 (eval $ac_try) 2>&5
106627 ac_status=$?
106628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106629 (exit $ac_status); }; } &&
106630 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
106636 eval "$as_ac_var=yes"
106638 echo "$as_me: failed program was:" >&5
106639 sed 's/^/| /' conftest.$ac_ext >&5
106641 eval "$as_ac_var=no"
106643 rm -f conftest.err conftest.$ac_objext \
106644 conftest$ac_exeext conftest.$ac_ext
106646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106648 if test `eval echo '${'$as_ac_var'}'` = yes; then
106649 cat >>confdefs.h <<_ACEOF
106650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106651 _ACEOF
106658 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
106659 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
106660 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
106661 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
106662 echo $ECHO_N "(cached) $ECHO_C" >&6
106667 ac_ext=cc
106668 ac_cpp='$CXXCPP $CPPFLAGS'
106669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106673 cat >conftest.$ac_ext <<_ACEOF
106674 /* confdefs.h. */
106675 _ACEOF
106676 cat confdefs.h >>conftest.$ac_ext
106677 cat >>conftest.$ac_ext <<_ACEOF
106678 /* end confdefs.h. */
106679 #include <math.h>
106681 main ()
106683 _atan2l(0, 0);
106685 return 0;
106687 _ACEOF
106688 rm -f conftest.$ac_objext
106689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106690 (eval $ac_compile) 2>conftest.er1
106691 ac_status=$?
106692 grep -v '^ *+' conftest.er1 >conftest.err
106693 rm -f conftest.er1
106694 cat conftest.err >&5
106695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106696 (exit $ac_status); } &&
106697 { ac_try='test -z "$ac_cxx_werror_flag"
106698 || test ! -s conftest.err'
106699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106700 (eval $ac_try) 2>&5
106701 ac_status=$?
106702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106703 (exit $ac_status); }; } &&
106704 { ac_try='test -s conftest.$ac_objext'
106705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106706 (eval $ac_try) 2>&5
106707 ac_status=$?
106708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106709 (exit $ac_status); }; }; then
106710 glibcxx_cv_func__atan2l_use=yes
106712 echo "$as_me: failed program was:" >&5
106713 sed 's/^/| /' conftest.$ac_ext >&5
106715 glibcxx_cv_func__atan2l_use=no
106717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106718 ac_ext=c
106719 ac_cpp='$CPP $CPPFLAGS'
106720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106728 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
106729 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
106731 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
106733 for ac_func in _atan2l
106735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106736 echo "$as_me:$LINENO: checking for $ac_func" >&5
106737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106738 if eval "test \"\${$as_ac_var+set}\" = set"; then
106739 echo $ECHO_N "(cached) $ECHO_C" >&6
106741 if test x$gcc_no_link = xyes; then
106742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106744 { (exit 1); exit 1; }; }
106746 cat >conftest.$ac_ext <<_ACEOF
106747 /* confdefs.h. */
106748 _ACEOF
106749 cat confdefs.h >>conftest.$ac_ext
106750 cat >>conftest.$ac_ext <<_ACEOF
106751 /* end confdefs.h. */
106752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106754 #define $ac_func innocuous_$ac_func
106756 /* System header to define __stub macros and hopefully few prototypes,
106757 which can conflict with char $ac_func (); below.
106758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106759 <limits.h> exists even on freestanding compilers. */
106761 #ifdef __STDC__
106762 # include <limits.h>
106763 #else
106764 # include <assert.h>
106765 #endif
106767 #undef $ac_func
106769 /* Override any gcc2 internal prototype to avoid an error. */
106770 #ifdef __cplusplus
106771 extern "C"
106773 #endif
106774 /* We use char because int might match the return type of a gcc2
106775 builtin and then its argument prototype would still apply. */
106776 char $ac_func ();
106777 /* The GNU C library defines this for functions which it implements
106778 to always fail with ENOSYS. Some functions are actually named
106779 something starting with __ and the normal name is an alias. */
106780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106781 choke me
106782 #else
106783 char (*f) () = $ac_func;
106784 #endif
106785 #ifdef __cplusplus
106787 #endif
106790 main ()
106792 return f != $ac_func;
106794 return 0;
106796 _ACEOF
106797 rm -f conftest.$ac_objext conftest$ac_exeext
106798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106799 (eval $ac_link) 2>conftest.er1
106800 ac_status=$?
106801 grep -v '^ *+' conftest.er1 >conftest.err
106802 rm -f conftest.er1
106803 cat conftest.err >&5
106804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106805 (exit $ac_status); } &&
106806 { ac_try='test -z "$ac_c_werror_flag"
106807 || test ! -s conftest.err'
106808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106809 (eval $ac_try) 2>&5
106810 ac_status=$?
106811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106812 (exit $ac_status); }; } &&
106813 { ac_try='test -s conftest$ac_exeext'
106814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106815 (eval $ac_try) 2>&5
106816 ac_status=$?
106817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106818 (exit $ac_status); }; }; then
106819 eval "$as_ac_var=yes"
106821 echo "$as_me: failed program was:" >&5
106822 sed 's/^/| /' conftest.$ac_ext >&5
106824 eval "$as_ac_var=no"
106826 rm -f conftest.err conftest.$ac_objext \
106827 conftest$ac_exeext conftest.$ac_ext
106829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106831 if test `eval echo '${'$as_ac_var'}'` = yes; then
106832 cat >>confdefs.h <<_ACEOF
106833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106834 _ACEOF
106847 echo "$as_me:$LINENO: checking for expl declaration" >&5
106848 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
106849 if test x${glibcxx_cv_func_expl_use+set} != xset; then
106850 if test "${glibcxx_cv_func_expl_use+set}" = set; then
106851 echo $ECHO_N "(cached) $ECHO_C" >&6
106856 ac_ext=cc
106857 ac_cpp='$CXXCPP $CPPFLAGS'
106858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106862 cat >conftest.$ac_ext <<_ACEOF
106863 /* confdefs.h. */
106864 _ACEOF
106865 cat confdefs.h >>conftest.$ac_ext
106866 cat >>conftest.$ac_ext <<_ACEOF
106867 /* end confdefs.h. */
106868 #include <math.h>
106869 #ifdef HAVE_IEEEFP_H
106870 #include <ieeefp.h>
106871 #endif
106874 main ()
106876 expl(0);
106878 return 0;
106880 _ACEOF
106881 rm -f conftest.$ac_objext
106882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106883 (eval $ac_compile) 2>conftest.er1
106884 ac_status=$?
106885 grep -v '^ *+' conftest.er1 >conftest.err
106886 rm -f conftest.er1
106887 cat conftest.err >&5
106888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106889 (exit $ac_status); } &&
106890 { ac_try='test -z "$ac_cxx_werror_flag"
106891 || test ! -s conftest.err'
106892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106893 (eval $ac_try) 2>&5
106894 ac_status=$?
106895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106896 (exit $ac_status); }; } &&
106897 { ac_try='test -s conftest.$ac_objext'
106898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106899 (eval $ac_try) 2>&5
106900 ac_status=$?
106901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106902 (exit $ac_status); }; }; then
106903 glibcxx_cv_func_expl_use=yes
106905 echo "$as_me: failed program was:" >&5
106906 sed 's/^/| /' conftest.$ac_ext >&5
106908 glibcxx_cv_func_expl_use=no
106910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106911 ac_ext=c
106912 ac_cpp='$CPP $CPPFLAGS'
106913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
106922 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
106924 if test x$glibcxx_cv_func_expl_use = x"yes"; then
106926 for ac_func in expl
106928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106929 echo "$as_me:$LINENO: checking for $ac_func" >&5
106930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106931 if eval "test \"\${$as_ac_var+set}\" = set"; then
106932 echo $ECHO_N "(cached) $ECHO_C" >&6
106934 if test x$gcc_no_link = xyes; then
106935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106937 { (exit 1); exit 1; }; }
106939 cat >conftest.$ac_ext <<_ACEOF
106940 /* confdefs.h. */
106941 _ACEOF
106942 cat confdefs.h >>conftest.$ac_ext
106943 cat >>conftest.$ac_ext <<_ACEOF
106944 /* end confdefs.h. */
106945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106947 #define $ac_func innocuous_$ac_func
106949 /* System header to define __stub macros and hopefully few prototypes,
106950 which can conflict with char $ac_func (); below.
106951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106952 <limits.h> exists even on freestanding compilers. */
106954 #ifdef __STDC__
106955 # include <limits.h>
106956 #else
106957 # include <assert.h>
106958 #endif
106960 #undef $ac_func
106962 /* Override any gcc2 internal prototype to avoid an error. */
106963 #ifdef __cplusplus
106964 extern "C"
106966 #endif
106967 /* We use char because int might match the return type of a gcc2
106968 builtin and then its argument prototype would still apply. */
106969 char $ac_func ();
106970 /* The GNU C library defines this for functions which it implements
106971 to always fail with ENOSYS. Some functions are actually named
106972 something starting with __ and the normal name is an alias. */
106973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106974 choke me
106975 #else
106976 char (*f) () = $ac_func;
106977 #endif
106978 #ifdef __cplusplus
106980 #endif
106983 main ()
106985 return f != $ac_func;
106987 return 0;
106989 _ACEOF
106990 rm -f conftest.$ac_objext conftest$ac_exeext
106991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106992 (eval $ac_link) 2>conftest.er1
106993 ac_status=$?
106994 grep -v '^ *+' conftest.er1 >conftest.err
106995 rm -f conftest.er1
106996 cat conftest.err >&5
106997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106998 (exit $ac_status); } &&
106999 { ac_try='test -z "$ac_c_werror_flag"
107000 || test ! -s conftest.err'
107001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107002 (eval $ac_try) 2>&5
107003 ac_status=$?
107004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107005 (exit $ac_status); }; } &&
107006 { ac_try='test -s conftest$ac_exeext'
107007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107008 (eval $ac_try) 2>&5
107009 ac_status=$?
107010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107011 (exit $ac_status); }; }; then
107012 eval "$as_ac_var=yes"
107014 echo "$as_me: failed program was:" >&5
107015 sed 's/^/| /' conftest.$ac_ext >&5
107017 eval "$as_ac_var=no"
107019 rm -f conftest.err conftest.$ac_objext \
107020 conftest$ac_exeext conftest.$ac_ext
107022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107024 if test `eval echo '${'$as_ac_var'}'` = yes; then
107025 cat >>confdefs.h <<_ACEOF
107026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107027 _ACEOF
107034 echo "$as_me:$LINENO: checking for _expl declaration" >&5
107035 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
107036 if test x${glibcxx_cv_func__expl_use+set} != xset; then
107037 if test "${glibcxx_cv_func__expl_use+set}" = set; then
107038 echo $ECHO_N "(cached) $ECHO_C" >&6
107043 ac_ext=cc
107044 ac_cpp='$CXXCPP $CPPFLAGS'
107045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107049 cat >conftest.$ac_ext <<_ACEOF
107050 /* confdefs.h. */
107051 _ACEOF
107052 cat confdefs.h >>conftest.$ac_ext
107053 cat >>conftest.$ac_ext <<_ACEOF
107054 /* end confdefs.h. */
107055 #include <math.h>
107056 #ifdef HAVE_IEEEFP_H
107057 #include <ieeefp.h>
107058 #endif
107061 main ()
107063 _expl(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__expl_use=yes
107092 echo "$as_me: failed program was:" >&5
107093 sed 's/^/| /' conftest.$ac_ext >&5
107095 glibcxx_cv_func__expl_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__expl_use" >&5
107109 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
107111 if test x$glibcxx_cv_func__expl_use = x"yes"; then
107113 for ac_func in _expl
107115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107116 echo "$as_me:$LINENO: checking for $ac_func" >&5
107117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107118 if eval "test \"\${$as_ac_var+set}\" = set"; then
107119 echo $ECHO_N "(cached) $ECHO_C" >&6
107121 if test x$gcc_no_link = xyes; then
107122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107124 { (exit 1); exit 1; }; }
107126 cat >conftest.$ac_ext <<_ACEOF
107127 /* confdefs.h. */
107128 _ACEOF
107129 cat confdefs.h >>conftest.$ac_ext
107130 cat >>conftest.$ac_ext <<_ACEOF
107131 /* end confdefs.h. */
107132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107134 #define $ac_func innocuous_$ac_func
107136 /* System header to define __stub macros and hopefully few prototypes,
107137 which can conflict with char $ac_func (); below.
107138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107139 <limits.h> exists even on freestanding compilers. */
107141 #ifdef __STDC__
107142 # include <limits.h>
107143 #else
107144 # include <assert.h>
107145 #endif
107147 #undef $ac_func
107149 /* Override any gcc2 internal prototype to avoid an error. */
107150 #ifdef __cplusplus
107151 extern "C"
107153 #endif
107154 /* We use char because int might match the return type of a gcc2
107155 builtin and then its argument prototype would still apply. */
107156 char $ac_func ();
107157 /* The GNU C library defines this for functions which it implements
107158 to always fail with ENOSYS. Some functions are actually named
107159 something starting with __ and the normal name is an alias. */
107160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107161 choke me
107162 #else
107163 char (*f) () = $ac_func;
107164 #endif
107165 #ifdef __cplusplus
107167 #endif
107170 main ()
107172 return f != $ac_func;
107174 return 0;
107176 _ACEOF
107177 rm -f conftest.$ac_objext conftest$ac_exeext
107178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107179 (eval $ac_link) 2>conftest.er1
107180 ac_status=$?
107181 grep -v '^ *+' conftest.er1 >conftest.err
107182 rm -f conftest.er1
107183 cat conftest.err >&5
107184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107185 (exit $ac_status); } &&
107186 { ac_try='test -z "$ac_c_werror_flag"
107187 || test ! -s conftest.err'
107188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107189 (eval $ac_try) 2>&5
107190 ac_status=$?
107191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107192 (exit $ac_status); }; } &&
107193 { ac_try='test -s conftest$ac_exeext'
107194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107195 (eval $ac_try) 2>&5
107196 ac_status=$?
107197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107198 (exit $ac_status); }; }; then
107199 eval "$as_ac_var=yes"
107201 echo "$as_me: failed program was:" >&5
107202 sed 's/^/| /' conftest.$ac_ext >&5
107204 eval "$as_ac_var=no"
107206 rm -f conftest.err conftest.$ac_objext \
107207 conftest$ac_exeext conftest.$ac_ext
107209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107211 if test `eval echo '${'$as_ac_var'}'` = yes; then
107212 cat >>confdefs.h <<_ACEOF
107213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107214 _ACEOF
107227 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
107228 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
107229 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
107230 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
107231 echo $ECHO_N "(cached) $ECHO_C" >&6
107236 ac_ext=cc
107237 ac_cpp='$CXXCPP $CPPFLAGS'
107238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107242 cat >conftest.$ac_ext <<_ACEOF
107243 /* confdefs.h. */
107244 _ACEOF
107245 cat confdefs.h >>conftest.$ac_ext
107246 cat >>conftest.$ac_ext <<_ACEOF
107247 /* end confdefs.h. */
107248 #include <math.h>
107249 #ifdef HAVE_IEEEFP_H
107250 #include <ieeefp.h>
107251 #endif
107254 main ()
107256 fabsl(0);
107258 return 0;
107260 _ACEOF
107261 rm -f conftest.$ac_objext
107262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107263 (eval $ac_compile) 2>conftest.er1
107264 ac_status=$?
107265 grep -v '^ *+' conftest.er1 >conftest.err
107266 rm -f conftest.er1
107267 cat conftest.err >&5
107268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107269 (exit $ac_status); } &&
107270 { ac_try='test -z "$ac_cxx_werror_flag"
107271 || test ! -s conftest.err'
107272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107273 (eval $ac_try) 2>&5
107274 ac_status=$?
107275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107276 (exit $ac_status); }; } &&
107277 { ac_try='test -s conftest.$ac_objext'
107278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107279 (eval $ac_try) 2>&5
107280 ac_status=$?
107281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107282 (exit $ac_status); }; }; then
107283 glibcxx_cv_func_fabsl_use=yes
107285 echo "$as_me: failed program was:" >&5
107286 sed 's/^/| /' conftest.$ac_ext >&5
107288 glibcxx_cv_func_fabsl_use=no
107290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107291 ac_ext=c
107292 ac_cpp='$CPP $CPPFLAGS'
107293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
107302 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
107304 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
107306 for ac_func in fabsl
107308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107309 echo "$as_me:$LINENO: checking for $ac_func" >&5
107310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107311 if eval "test \"\${$as_ac_var+set}\" = set"; then
107312 echo $ECHO_N "(cached) $ECHO_C" >&6
107314 if test x$gcc_no_link = xyes; then
107315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107317 { (exit 1); exit 1; }; }
107319 cat >conftest.$ac_ext <<_ACEOF
107320 /* confdefs.h. */
107321 _ACEOF
107322 cat confdefs.h >>conftest.$ac_ext
107323 cat >>conftest.$ac_ext <<_ACEOF
107324 /* end confdefs.h. */
107325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107327 #define $ac_func innocuous_$ac_func
107329 /* System header to define __stub macros and hopefully few prototypes,
107330 which can conflict with char $ac_func (); below.
107331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107332 <limits.h> exists even on freestanding compilers. */
107334 #ifdef __STDC__
107335 # include <limits.h>
107336 #else
107337 # include <assert.h>
107338 #endif
107340 #undef $ac_func
107342 /* Override any gcc2 internal prototype to avoid an error. */
107343 #ifdef __cplusplus
107344 extern "C"
107346 #endif
107347 /* We use char because int might match the return type of a gcc2
107348 builtin and then its argument prototype would still apply. */
107349 char $ac_func ();
107350 /* The GNU C library defines this for functions which it implements
107351 to always fail with ENOSYS. Some functions are actually named
107352 something starting with __ and the normal name is an alias. */
107353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107354 choke me
107355 #else
107356 char (*f) () = $ac_func;
107357 #endif
107358 #ifdef __cplusplus
107360 #endif
107363 main ()
107365 return f != $ac_func;
107367 return 0;
107369 _ACEOF
107370 rm -f conftest.$ac_objext conftest$ac_exeext
107371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107372 (eval $ac_link) 2>conftest.er1
107373 ac_status=$?
107374 grep -v '^ *+' conftest.er1 >conftest.err
107375 rm -f conftest.er1
107376 cat conftest.err >&5
107377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107378 (exit $ac_status); } &&
107379 { ac_try='test -z "$ac_c_werror_flag"
107380 || test ! -s conftest.err'
107381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107382 (eval $ac_try) 2>&5
107383 ac_status=$?
107384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107385 (exit $ac_status); }; } &&
107386 { ac_try='test -s conftest$ac_exeext'
107387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107388 (eval $ac_try) 2>&5
107389 ac_status=$?
107390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107391 (exit $ac_status); }; }; then
107392 eval "$as_ac_var=yes"
107394 echo "$as_me: failed program was:" >&5
107395 sed 's/^/| /' conftest.$ac_ext >&5
107397 eval "$as_ac_var=no"
107399 rm -f conftest.err conftest.$ac_objext \
107400 conftest$ac_exeext conftest.$ac_ext
107402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107404 if test `eval echo '${'$as_ac_var'}'` = yes; then
107405 cat >>confdefs.h <<_ACEOF
107406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107407 _ACEOF
107414 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
107415 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
107416 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
107417 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
107418 echo $ECHO_N "(cached) $ECHO_C" >&6
107423 ac_ext=cc
107424 ac_cpp='$CXXCPP $CPPFLAGS'
107425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107429 cat >conftest.$ac_ext <<_ACEOF
107430 /* confdefs.h. */
107431 _ACEOF
107432 cat confdefs.h >>conftest.$ac_ext
107433 cat >>conftest.$ac_ext <<_ACEOF
107434 /* end confdefs.h. */
107435 #include <math.h>
107436 #ifdef HAVE_IEEEFP_H
107437 #include <ieeefp.h>
107438 #endif
107441 main ()
107443 _fabsl(0);
107445 return 0;
107447 _ACEOF
107448 rm -f conftest.$ac_objext
107449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107450 (eval $ac_compile) 2>conftest.er1
107451 ac_status=$?
107452 grep -v '^ *+' conftest.er1 >conftest.err
107453 rm -f conftest.er1
107454 cat conftest.err >&5
107455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107456 (exit $ac_status); } &&
107457 { ac_try='test -z "$ac_cxx_werror_flag"
107458 || test ! -s conftest.err'
107459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107460 (eval $ac_try) 2>&5
107461 ac_status=$?
107462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107463 (exit $ac_status); }; } &&
107464 { ac_try='test -s conftest.$ac_objext'
107465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107466 (eval $ac_try) 2>&5
107467 ac_status=$?
107468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107469 (exit $ac_status); }; }; then
107470 glibcxx_cv_func__fabsl_use=yes
107472 echo "$as_me: failed program was:" >&5
107473 sed 's/^/| /' conftest.$ac_ext >&5
107475 glibcxx_cv_func__fabsl_use=no
107477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107478 ac_ext=c
107479 ac_cpp='$CPP $CPPFLAGS'
107480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
107489 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
107491 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
107493 for ac_func in _fabsl
107495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107496 echo "$as_me:$LINENO: checking for $ac_func" >&5
107497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107498 if eval "test \"\${$as_ac_var+set}\" = set"; then
107499 echo $ECHO_N "(cached) $ECHO_C" >&6
107501 if test x$gcc_no_link = xyes; then
107502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107504 { (exit 1); exit 1; }; }
107506 cat >conftest.$ac_ext <<_ACEOF
107507 /* confdefs.h. */
107508 _ACEOF
107509 cat confdefs.h >>conftest.$ac_ext
107510 cat >>conftest.$ac_ext <<_ACEOF
107511 /* end confdefs.h. */
107512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107514 #define $ac_func innocuous_$ac_func
107516 /* System header to define __stub macros and hopefully few prototypes,
107517 which can conflict with char $ac_func (); below.
107518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107519 <limits.h> exists even on freestanding compilers. */
107521 #ifdef __STDC__
107522 # include <limits.h>
107523 #else
107524 # include <assert.h>
107525 #endif
107527 #undef $ac_func
107529 /* Override any gcc2 internal prototype to avoid an error. */
107530 #ifdef __cplusplus
107531 extern "C"
107533 #endif
107534 /* We use char because int might match the return type of a gcc2
107535 builtin and then its argument prototype would still apply. */
107536 char $ac_func ();
107537 /* The GNU C library defines this for functions which it implements
107538 to always fail with ENOSYS. Some functions are actually named
107539 something starting with __ and the normal name is an alias. */
107540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107541 choke me
107542 #else
107543 char (*f) () = $ac_func;
107544 #endif
107545 #ifdef __cplusplus
107547 #endif
107550 main ()
107552 return f != $ac_func;
107554 return 0;
107556 _ACEOF
107557 rm -f conftest.$ac_objext conftest$ac_exeext
107558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107559 (eval $ac_link) 2>conftest.er1
107560 ac_status=$?
107561 grep -v '^ *+' conftest.er1 >conftest.err
107562 rm -f conftest.er1
107563 cat conftest.err >&5
107564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107565 (exit $ac_status); } &&
107566 { ac_try='test -z "$ac_c_werror_flag"
107567 || test ! -s conftest.err'
107568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107569 (eval $ac_try) 2>&5
107570 ac_status=$?
107571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107572 (exit $ac_status); }; } &&
107573 { ac_try='test -s conftest$ac_exeext'
107574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107575 (eval $ac_try) 2>&5
107576 ac_status=$?
107577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107578 (exit $ac_status); }; }; then
107579 eval "$as_ac_var=yes"
107581 echo "$as_me: failed program was:" >&5
107582 sed 's/^/| /' conftest.$ac_ext >&5
107584 eval "$as_ac_var=no"
107586 rm -f conftest.err conftest.$ac_objext \
107587 conftest$ac_exeext conftest.$ac_ext
107589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107591 if test `eval echo '${'$as_ac_var'}'` = yes; then
107592 cat >>confdefs.h <<_ACEOF
107593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107594 _ACEOF
107607 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
107608 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
107609 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
107610 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
107611 echo $ECHO_N "(cached) $ECHO_C" >&6
107616 ac_ext=cc
107617 ac_cpp='$CXXCPP $CPPFLAGS'
107618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107622 cat >conftest.$ac_ext <<_ACEOF
107623 /* confdefs.h. */
107624 _ACEOF
107625 cat confdefs.h >>conftest.$ac_ext
107626 cat >>conftest.$ac_ext <<_ACEOF
107627 /* end confdefs.h. */
107628 #include <math.h>
107630 main ()
107632 fmodl(0, 0);
107634 return 0;
107636 _ACEOF
107637 rm -f conftest.$ac_objext
107638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107639 (eval $ac_compile) 2>conftest.er1
107640 ac_status=$?
107641 grep -v '^ *+' conftest.er1 >conftest.err
107642 rm -f conftest.er1
107643 cat conftest.err >&5
107644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107645 (exit $ac_status); } &&
107646 { ac_try='test -z "$ac_cxx_werror_flag"
107647 || test ! -s conftest.err'
107648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107649 (eval $ac_try) 2>&5
107650 ac_status=$?
107651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107652 (exit $ac_status); }; } &&
107653 { ac_try='test -s conftest.$ac_objext'
107654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107655 (eval $ac_try) 2>&5
107656 ac_status=$?
107657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107658 (exit $ac_status); }; }; then
107659 glibcxx_cv_func_fmodl_use=yes
107661 echo "$as_me: failed program was:" >&5
107662 sed 's/^/| /' conftest.$ac_ext >&5
107664 glibcxx_cv_func_fmodl_use=no
107666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107667 ac_ext=c
107668 ac_cpp='$CPP $CPPFLAGS'
107669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
107678 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
107680 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
107682 for ac_func in fmodl
107684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107685 echo "$as_me:$LINENO: checking for $ac_func" >&5
107686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107687 if eval "test \"\${$as_ac_var+set}\" = set"; then
107688 echo $ECHO_N "(cached) $ECHO_C" >&6
107690 if test x$gcc_no_link = xyes; then
107691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107693 { (exit 1); exit 1; }; }
107695 cat >conftest.$ac_ext <<_ACEOF
107696 /* confdefs.h. */
107697 _ACEOF
107698 cat confdefs.h >>conftest.$ac_ext
107699 cat >>conftest.$ac_ext <<_ACEOF
107700 /* end confdefs.h. */
107701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107703 #define $ac_func innocuous_$ac_func
107705 /* System header to define __stub macros and hopefully few prototypes,
107706 which can conflict with char $ac_func (); below.
107707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107708 <limits.h> exists even on freestanding compilers. */
107710 #ifdef __STDC__
107711 # include <limits.h>
107712 #else
107713 # include <assert.h>
107714 #endif
107716 #undef $ac_func
107718 /* Override any gcc2 internal prototype to avoid an error. */
107719 #ifdef __cplusplus
107720 extern "C"
107722 #endif
107723 /* We use char because int might match the return type of a gcc2
107724 builtin and then its argument prototype would still apply. */
107725 char $ac_func ();
107726 /* The GNU C library defines this for functions which it implements
107727 to always fail with ENOSYS. Some functions are actually named
107728 something starting with __ and the normal name is an alias. */
107729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107730 choke me
107731 #else
107732 char (*f) () = $ac_func;
107733 #endif
107734 #ifdef __cplusplus
107736 #endif
107739 main ()
107741 return f != $ac_func;
107743 return 0;
107745 _ACEOF
107746 rm -f conftest.$ac_objext conftest$ac_exeext
107747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107748 (eval $ac_link) 2>conftest.er1
107749 ac_status=$?
107750 grep -v '^ *+' conftest.er1 >conftest.err
107751 rm -f conftest.er1
107752 cat conftest.err >&5
107753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107754 (exit $ac_status); } &&
107755 { ac_try='test -z "$ac_c_werror_flag"
107756 || test ! -s conftest.err'
107757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107758 (eval $ac_try) 2>&5
107759 ac_status=$?
107760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107761 (exit $ac_status); }; } &&
107762 { ac_try='test -s conftest$ac_exeext'
107763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107764 (eval $ac_try) 2>&5
107765 ac_status=$?
107766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107767 (exit $ac_status); }; }; then
107768 eval "$as_ac_var=yes"
107770 echo "$as_me: failed program was:" >&5
107771 sed 's/^/| /' conftest.$ac_ext >&5
107773 eval "$as_ac_var=no"
107775 rm -f conftest.err conftest.$ac_objext \
107776 conftest$ac_exeext conftest.$ac_ext
107778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107780 if test `eval echo '${'$as_ac_var'}'` = yes; then
107781 cat >>confdefs.h <<_ACEOF
107782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107783 _ACEOF
107790 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
107791 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
107792 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
107793 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
107794 echo $ECHO_N "(cached) $ECHO_C" >&6
107799 ac_ext=cc
107800 ac_cpp='$CXXCPP $CPPFLAGS'
107801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107805 cat >conftest.$ac_ext <<_ACEOF
107806 /* confdefs.h. */
107807 _ACEOF
107808 cat confdefs.h >>conftest.$ac_ext
107809 cat >>conftest.$ac_ext <<_ACEOF
107810 /* end confdefs.h. */
107811 #include <math.h>
107813 main ()
107815 _fmodl(0, 0);
107817 return 0;
107819 _ACEOF
107820 rm -f conftest.$ac_objext
107821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107822 (eval $ac_compile) 2>conftest.er1
107823 ac_status=$?
107824 grep -v '^ *+' conftest.er1 >conftest.err
107825 rm -f conftest.er1
107826 cat conftest.err >&5
107827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107828 (exit $ac_status); } &&
107829 { ac_try='test -z "$ac_cxx_werror_flag"
107830 || test ! -s conftest.err'
107831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107832 (eval $ac_try) 2>&5
107833 ac_status=$?
107834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107835 (exit $ac_status); }; } &&
107836 { ac_try='test -s conftest.$ac_objext'
107837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107838 (eval $ac_try) 2>&5
107839 ac_status=$?
107840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107841 (exit $ac_status); }; }; then
107842 glibcxx_cv_func__fmodl_use=yes
107844 echo "$as_me: failed program was:" >&5
107845 sed 's/^/| /' conftest.$ac_ext >&5
107847 glibcxx_cv_func__fmodl_use=no
107849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107850 ac_ext=c
107851 ac_cpp='$CPP $CPPFLAGS'
107852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
107861 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
107863 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
107865 for ac_func in _fmodl
107867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107868 echo "$as_me:$LINENO: checking for $ac_func" >&5
107869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107870 if eval "test \"\${$as_ac_var+set}\" = set"; then
107871 echo $ECHO_N "(cached) $ECHO_C" >&6
107873 if test x$gcc_no_link = xyes; then
107874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107876 { (exit 1); exit 1; }; }
107878 cat >conftest.$ac_ext <<_ACEOF
107879 /* confdefs.h. */
107880 _ACEOF
107881 cat confdefs.h >>conftest.$ac_ext
107882 cat >>conftest.$ac_ext <<_ACEOF
107883 /* end confdefs.h. */
107884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107886 #define $ac_func innocuous_$ac_func
107888 /* System header to define __stub macros and hopefully few prototypes,
107889 which can conflict with char $ac_func (); below.
107890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107891 <limits.h> exists even on freestanding compilers. */
107893 #ifdef __STDC__
107894 # include <limits.h>
107895 #else
107896 # include <assert.h>
107897 #endif
107899 #undef $ac_func
107901 /* Override any gcc2 internal prototype to avoid an error. */
107902 #ifdef __cplusplus
107903 extern "C"
107905 #endif
107906 /* We use char because int might match the return type of a gcc2
107907 builtin and then its argument prototype would still apply. */
107908 char $ac_func ();
107909 /* The GNU C library defines this for functions which it implements
107910 to always fail with ENOSYS. Some functions are actually named
107911 something starting with __ and the normal name is an alias. */
107912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107913 choke me
107914 #else
107915 char (*f) () = $ac_func;
107916 #endif
107917 #ifdef __cplusplus
107919 #endif
107922 main ()
107924 return f != $ac_func;
107926 return 0;
107928 _ACEOF
107929 rm -f conftest.$ac_objext conftest$ac_exeext
107930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107931 (eval $ac_link) 2>conftest.er1
107932 ac_status=$?
107933 grep -v '^ *+' conftest.er1 >conftest.err
107934 rm -f conftest.er1
107935 cat conftest.err >&5
107936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107937 (exit $ac_status); } &&
107938 { ac_try='test -z "$ac_c_werror_flag"
107939 || test ! -s conftest.err'
107940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107941 (eval $ac_try) 2>&5
107942 ac_status=$?
107943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107944 (exit $ac_status); }; } &&
107945 { ac_try='test -s conftest$ac_exeext'
107946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107947 (eval $ac_try) 2>&5
107948 ac_status=$?
107949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107950 (exit $ac_status); }; }; then
107951 eval "$as_ac_var=yes"
107953 echo "$as_me: failed program was:" >&5
107954 sed 's/^/| /' conftest.$ac_ext >&5
107956 eval "$as_ac_var=no"
107958 rm -f conftest.err conftest.$ac_objext \
107959 conftest$ac_exeext conftest.$ac_ext
107961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107963 if test `eval echo '${'$as_ac_var'}'` = yes; then
107964 cat >>confdefs.h <<_ACEOF
107965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107966 _ACEOF
107979 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
107980 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
107981 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
107982 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
107983 echo $ECHO_N "(cached) $ECHO_C" >&6
107988 ac_ext=cc
107989 ac_cpp='$CXXCPP $CPPFLAGS'
107990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107994 cat >conftest.$ac_ext <<_ACEOF
107995 /* confdefs.h. */
107996 _ACEOF
107997 cat confdefs.h >>conftest.$ac_ext
107998 cat >>conftest.$ac_ext <<_ACEOF
107999 /* end confdefs.h. */
108000 #include <math.h>
108002 main ()
108004 frexpl(0, 0);
108006 return 0;
108008 _ACEOF
108009 rm -f conftest.$ac_objext
108010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108011 (eval $ac_compile) 2>conftest.er1
108012 ac_status=$?
108013 grep -v '^ *+' conftest.er1 >conftest.err
108014 rm -f conftest.er1
108015 cat conftest.err >&5
108016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108017 (exit $ac_status); } &&
108018 { ac_try='test -z "$ac_cxx_werror_flag"
108019 || test ! -s conftest.err'
108020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108021 (eval $ac_try) 2>&5
108022 ac_status=$?
108023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108024 (exit $ac_status); }; } &&
108025 { ac_try='test -s conftest.$ac_objext'
108026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108027 (eval $ac_try) 2>&5
108028 ac_status=$?
108029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108030 (exit $ac_status); }; }; then
108031 glibcxx_cv_func_frexpl_use=yes
108033 echo "$as_me: failed program was:" >&5
108034 sed 's/^/| /' conftest.$ac_ext >&5
108036 glibcxx_cv_func_frexpl_use=no
108038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108039 ac_ext=c
108040 ac_cpp='$CPP $CPPFLAGS'
108041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
108050 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
108052 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
108054 for ac_func in frexpl
108056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108057 echo "$as_me:$LINENO: checking for $ac_func" >&5
108058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108059 if eval "test \"\${$as_ac_var+set}\" = set"; then
108060 echo $ECHO_N "(cached) $ECHO_C" >&6
108062 if test x$gcc_no_link = xyes; then
108063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108065 { (exit 1); exit 1; }; }
108067 cat >conftest.$ac_ext <<_ACEOF
108068 /* confdefs.h. */
108069 _ACEOF
108070 cat confdefs.h >>conftest.$ac_ext
108071 cat >>conftest.$ac_ext <<_ACEOF
108072 /* end confdefs.h. */
108073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108075 #define $ac_func innocuous_$ac_func
108077 /* System header to define __stub macros and hopefully few prototypes,
108078 which can conflict with char $ac_func (); below.
108079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108080 <limits.h> exists even on freestanding compilers. */
108082 #ifdef __STDC__
108083 # include <limits.h>
108084 #else
108085 # include <assert.h>
108086 #endif
108088 #undef $ac_func
108090 /* Override any gcc2 internal prototype to avoid an error. */
108091 #ifdef __cplusplus
108092 extern "C"
108094 #endif
108095 /* We use char because int might match the return type of a gcc2
108096 builtin and then its argument prototype would still apply. */
108097 char $ac_func ();
108098 /* The GNU C library defines this for functions which it implements
108099 to always fail with ENOSYS. Some functions are actually named
108100 something starting with __ and the normal name is an alias. */
108101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108102 choke me
108103 #else
108104 char (*f) () = $ac_func;
108105 #endif
108106 #ifdef __cplusplus
108108 #endif
108111 main ()
108113 return f != $ac_func;
108115 return 0;
108117 _ACEOF
108118 rm -f conftest.$ac_objext conftest$ac_exeext
108119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108120 (eval $ac_link) 2>conftest.er1
108121 ac_status=$?
108122 grep -v '^ *+' conftest.er1 >conftest.err
108123 rm -f conftest.er1
108124 cat conftest.err >&5
108125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108126 (exit $ac_status); } &&
108127 { ac_try='test -z "$ac_c_werror_flag"
108128 || test ! -s conftest.err'
108129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108130 (eval $ac_try) 2>&5
108131 ac_status=$?
108132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108133 (exit $ac_status); }; } &&
108134 { ac_try='test -s conftest$ac_exeext'
108135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108136 (eval $ac_try) 2>&5
108137 ac_status=$?
108138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108139 (exit $ac_status); }; }; then
108140 eval "$as_ac_var=yes"
108142 echo "$as_me: failed program was:" >&5
108143 sed 's/^/| /' conftest.$ac_ext >&5
108145 eval "$as_ac_var=no"
108147 rm -f conftest.err conftest.$ac_objext \
108148 conftest$ac_exeext conftest.$ac_ext
108150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108152 if test `eval echo '${'$as_ac_var'}'` = yes; then
108153 cat >>confdefs.h <<_ACEOF
108154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108155 _ACEOF
108162 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
108163 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
108164 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
108165 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
108166 echo $ECHO_N "(cached) $ECHO_C" >&6
108171 ac_ext=cc
108172 ac_cpp='$CXXCPP $CPPFLAGS'
108173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108177 cat >conftest.$ac_ext <<_ACEOF
108178 /* confdefs.h. */
108179 _ACEOF
108180 cat confdefs.h >>conftest.$ac_ext
108181 cat >>conftest.$ac_ext <<_ACEOF
108182 /* end confdefs.h. */
108183 #include <math.h>
108185 main ()
108187 _frexpl(0, 0);
108189 return 0;
108191 _ACEOF
108192 rm -f conftest.$ac_objext
108193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108194 (eval $ac_compile) 2>conftest.er1
108195 ac_status=$?
108196 grep -v '^ *+' conftest.er1 >conftest.err
108197 rm -f conftest.er1
108198 cat conftest.err >&5
108199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108200 (exit $ac_status); } &&
108201 { ac_try='test -z "$ac_cxx_werror_flag"
108202 || test ! -s conftest.err'
108203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108204 (eval $ac_try) 2>&5
108205 ac_status=$?
108206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108207 (exit $ac_status); }; } &&
108208 { ac_try='test -s conftest.$ac_objext'
108209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108210 (eval $ac_try) 2>&5
108211 ac_status=$?
108212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108213 (exit $ac_status); }; }; then
108214 glibcxx_cv_func__frexpl_use=yes
108216 echo "$as_me: failed program was:" >&5
108217 sed 's/^/| /' conftest.$ac_ext >&5
108219 glibcxx_cv_func__frexpl_use=no
108221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108222 ac_ext=c
108223 ac_cpp='$CPP $CPPFLAGS'
108224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
108233 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
108235 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
108237 for ac_func in _frexpl
108239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108240 echo "$as_me:$LINENO: checking for $ac_func" >&5
108241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108242 if eval "test \"\${$as_ac_var+set}\" = set"; then
108243 echo $ECHO_N "(cached) $ECHO_C" >&6
108245 if test x$gcc_no_link = xyes; then
108246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108248 { (exit 1); exit 1; }; }
108250 cat >conftest.$ac_ext <<_ACEOF
108251 /* confdefs.h. */
108252 _ACEOF
108253 cat confdefs.h >>conftest.$ac_ext
108254 cat >>conftest.$ac_ext <<_ACEOF
108255 /* end confdefs.h. */
108256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108258 #define $ac_func innocuous_$ac_func
108260 /* System header to define __stub macros and hopefully few prototypes,
108261 which can conflict with char $ac_func (); below.
108262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108263 <limits.h> exists even on freestanding compilers. */
108265 #ifdef __STDC__
108266 # include <limits.h>
108267 #else
108268 # include <assert.h>
108269 #endif
108271 #undef $ac_func
108273 /* Override any gcc2 internal prototype to avoid an error. */
108274 #ifdef __cplusplus
108275 extern "C"
108277 #endif
108278 /* We use char because int might match the return type of a gcc2
108279 builtin and then its argument prototype would still apply. */
108280 char $ac_func ();
108281 /* The GNU C library defines this for functions which it implements
108282 to always fail with ENOSYS. Some functions are actually named
108283 something starting with __ and the normal name is an alias. */
108284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108285 choke me
108286 #else
108287 char (*f) () = $ac_func;
108288 #endif
108289 #ifdef __cplusplus
108291 #endif
108294 main ()
108296 return f != $ac_func;
108298 return 0;
108300 _ACEOF
108301 rm -f conftest.$ac_objext conftest$ac_exeext
108302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108303 (eval $ac_link) 2>conftest.er1
108304 ac_status=$?
108305 grep -v '^ *+' conftest.er1 >conftest.err
108306 rm -f conftest.er1
108307 cat conftest.err >&5
108308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108309 (exit $ac_status); } &&
108310 { ac_try='test -z "$ac_c_werror_flag"
108311 || test ! -s conftest.err'
108312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108313 (eval $ac_try) 2>&5
108314 ac_status=$?
108315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108316 (exit $ac_status); }; } &&
108317 { ac_try='test -s conftest$ac_exeext'
108318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108319 (eval $ac_try) 2>&5
108320 ac_status=$?
108321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108322 (exit $ac_status); }; }; then
108323 eval "$as_ac_var=yes"
108325 echo "$as_me: failed program was:" >&5
108326 sed 's/^/| /' conftest.$ac_ext >&5
108328 eval "$as_ac_var=no"
108330 rm -f conftest.err conftest.$ac_objext \
108331 conftest$ac_exeext conftest.$ac_ext
108333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108335 if test `eval echo '${'$as_ac_var'}'` = yes; then
108336 cat >>confdefs.h <<_ACEOF
108337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108338 _ACEOF
108351 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
108352 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
108353 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
108354 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
108355 echo $ECHO_N "(cached) $ECHO_C" >&6
108360 ac_ext=cc
108361 ac_cpp='$CXXCPP $CPPFLAGS'
108362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108366 cat >conftest.$ac_ext <<_ACEOF
108367 /* confdefs.h. */
108368 _ACEOF
108369 cat confdefs.h >>conftest.$ac_ext
108370 cat >>conftest.$ac_ext <<_ACEOF
108371 /* end confdefs.h. */
108372 #include <math.h>
108374 main ()
108376 hypotl(0, 0);
108378 return 0;
108380 _ACEOF
108381 rm -f conftest.$ac_objext
108382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108383 (eval $ac_compile) 2>conftest.er1
108384 ac_status=$?
108385 grep -v '^ *+' conftest.er1 >conftest.err
108386 rm -f conftest.er1
108387 cat conftest.err >&5
108388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108389 (exit $ac_status); } &&
108390 { ac_try='test -z "$ac_cxx_werror_flag"
108391 || test ! -s conftest.err'
108392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108393 (eval $ac_try) 2>&5
108394 ac_status=$?
108395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108396 (exit $ac_status); }; } &&
108397 { ac_try='test -s conftest.$ac_objext'
108398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108399 (eval $ac_try) 2>&5
108400 ac_status=$?
108401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108402 (exit $ac_status); }; }; then
108403 glibcxx_cv_func_hypotl_use=yes
108405 echo "$as_me: failed program was:" >&5
108406 sed 's/^/| /' conftest.$ac_ext >&5
108408 glibcxx_cv_func_hypotl_use=no
108410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108411 ac_ext=c
108412 ac_cpp='$CPP $CPPFLAGS'
108413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108421 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
108422 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
108424 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
108426 for ac_func in hypotl
108428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108429 echo "$as_me:$LINENO: checking for $ac_func" >&5
108430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108431 if eval "test \"\${$as_ac_var+set}\" = set"; then
108432 echo $ECHO_N "(cached) $ECHO_C" >&6
108434 if test x$gcc_no_link = xyes; then
108435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108437 { (exit 1); exit 1; }; }
108439 cat >conftest.$ac_ext <<_ACEOF
108440 /* confdefs.h. */
108441 _ACEOF
108442 cat confdefs.h >>conftest.$ac_ext
108443 cat >>conftest.$ac_ext <<_ACEOF
108444 /* end confdefs.h. */
108445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108447 #define $ac_func innocuous_$ac_func
108449 /* System header to define __stub macros and hopefully few prototypes,
108450 which can conflict with char $ac_func (); below.
108451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108452 <limits.h> exists even on freestanding compilers. */
108454 #ifdef __STDC__
108455 # include <limits.h>
108456 #else
108457 # include <assert.h>
108458 #endif
108460 #undef $ac_func
108462 /* Override any gcc2 internal prototype to avoid an error. */
108463 #ifdef __cplusplus
108464 extern "C"
108466 #endif
108467 /* We use char because int might match the return type of a gcc2
108468 builtin and then its argument prototype would still apply. */
108469 char $ac_func ();
108470 /* The GNU C library defines this for functions which it implements
108471 to always fail with ENOSYS. Some functions are actually named
108472 something starting with __ and the normal name is an alias. */
108473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108474 choke me
108475 #else
108476 char (*f) () = $ac_func;
108477 #endif
108478 #ifdef __cplusplus
108480 #endif
108483 main ()
108485 return f != $ac_func;
108487 return 0;
108489 _ACEOF
108490 rm -f conftest.$ac_objext conftest$ac_exeext
108491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108492 (eval $ac_link) 2>conftest.er1
108493 ac_status=$?
108494 grep -v '^ *+' conftest.er1 >conftest.err
108495 rm -f conftest.er1
108496 cat conftest.err >&5
108497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108498 (exit $ac_status); } &&
108499 { ac_try='test -z "$ac_c_werror_flag"
108500 || test ! -s conftest.err'
108501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108502 (eval $ac_try) 2>&5
108503 ac_status=$?
108504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108505 (exit $ac_status); }; } &&
108506 { ac_try='test -s conftest$ac_exeext'
108507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108508 (eval $ac_try) 2>&5
108509 ac_status=$?
108510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108511 (exit $ac_status); }; }; then
108512 eval "$as_ac_var=yes"
108514 echo "$as_me: failed program was:" >&5
108515 sed 's/^/| /' conftest.$ac_ext >&5
108517 eval "$as_ac_var=no"
108519 rm -f conftest.err conftest.$ac_objext \
108520 conftest$ac_exeext conftest.$ac_ext
108522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108524 if test `eval echo '${'$as_ac_var'}'` = yes; then
108525 cat >>confdefs.h <<_ACEOF
108526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108527 _ACEOF
108534 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
108535 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
108536 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
108537 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
108538 echo $ECHO_N "(cached) $ECHO_C" >&6
108543 ac_ext=cc
108544 ac_cpp='$CXXCPP $CPPFLAGS'
108545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108549 cat >conftest.$ac_ext <<_ACEOF
108550 /* confdefs.h. */
108551 _ACEOF
108552 cat confdefs.h >>conftest.$ac_ext
108553 cat >>conftest.$ac_ext <<_ACEOF
108554 /* end confdefs.h. */
108555 #include <math.h>
108557 main ()
108559 _hypotl(0, 0);
108561 return 0;
108563 _ACEOF
108564 rm -f conftest.$ac_objext
108565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108566 (eval $ac_compile) 2>conftest.er1
108567 ac_status=$?
108568 grep -v '^ *+' conftest.er1 >conftest.err
108569 rm -f conftest.er1
108570 cat conftest.err >&5
108571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108572 (exit $ac_status); } &&
108573 { ac_try='test -z "$ac_cxx_werror_flag"
108574 || test ! -s conftest.err'
108575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108576 (eval $ac_try) 2>&5
108577 ac_status=$?
108578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108579 (exit $ac_status); }; } &&
108580 { ac_try='test -s conftest.$ac_objext'
108581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108582 (eval $ac_try) 2>&5
108583 ac_status=$?
108584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108585 (exit $ac_status); }; }; then
108586 glibcxx_cv_func__hypotl_use=yes
108588 echo "$as_me: failed program was:" >&5
108589 sed 's/^/| /' conftest.$ac_ext >&5
108591 glibcxx_cv_func__hypotl_use=no
108593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108594 ac_ext=c
108595 ac_cpp='$CPP $CPPFLAGS'
108596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
108605 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
108607 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
108609 for ac_func in _hypotl
108611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108612 echo "$as_me:$LINENO: checking for $ac_func" >&5
108613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108614 if eval "test \"\${$as_ac_var+set}\" = set"; then
108615 echo $ECHO_N "(cached) $ECHO_C" >&6
108617 if test x$gcc_no_link = xyes; then
108618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108620 { (exit 1); exit 1; }; }
108622 cat >conftest.$ac_ext <<_ACEOF
108623 /* confdefs.h. */
108624 _ACEOF
108625 cat confdefs.h >>conftest.$ac_ext
108626 cat >>conftest.$ac_ext <<_ACEOF
108627 /* end confdefs.h. */
108628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108630 #define $ac_func innocuous_$ac_func
108632 /* System header to define __stub macros and hopefully few prototypes,
108633 which can conflict with char $ac_func (); below.
108634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108635 <limits.h> exists even on freestanding compilers. */
108637 #ifdef __STDC__
108638 # include <limits.h>
108639 #else
108640 # include <assert.h>
108641 #endif
108643 #undef $ac_func
108645 /* Override any gcc2 internal prototype to avoid an error. */
108646 #ifdef __cplusplus
108647 extern "C"
108649 #endif
108650 /* We use char because int might match the return type of a gcc2
108651 builtin and then its argument prototype would still apply. */
108652 char $ac_func ();
108653 /* The GNU C library defines this for functions which it implements
108654 to always fail with ENOSYS. Some functions are actually named
108655 something starting with __ and the normal name is an alias. */
108656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108657 choke me
108658 #else
108659 char (*f) () = $ac_func;
108660 #endif
108661 #ifdef __cplusplus
108663 #endif
108666 main ()
108668 return f != $ac_func;
108670 return 0;
108672 _ACEOF
108673 rm -f conftest.$ac_objext conftest$ac_exeext
108674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108675 (eval $ac_link) 2>conftest.er1
108676 ac_status=$?
108677 grep -v '^ *+' conftest.er1 >conftest.err
108678 rm -f conftest.er1
108679 cat conftest.err >&5
108680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108681 (exit $ac_status); } &&
108682 { ac_try='test -z "$ac_c_werror_flag"
108683 || test ! -s conftest.err'
108684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108685 (eval $ac_try) 2>&5
108686 ac_status=$?
108687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108688 (exit $ac_status); }; } &&
108689 { ac_try='test -s conftest$ac_exeext'
108690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108691 (eval $ac_try) 2>&5
108692 ac_status=$?
108693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108694 (exit $ac_status); }; }; then
108695 eval "$as_ac_var=yes"
108697 echo "$as_me: failed program was:" >&5
108698 sed 's/^/| /' conftest.$ac_ext >&5
108700 eval "$as_ac_var=no"
108702 rm -f conftest.err conftest.$ac_objext \
108703 conftest$ac_exeext conftest.$ac_ext
108705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108707 if test `eval echo '${'$as_ac_var'}'` = yes; then
108708 cat >>confdefs.h <<_ACEOF
108709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108710 _ACEOF
108723 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
108724 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
108725 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
108726 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
108727 echo $ECHO_N "(cached) $ECHO_C" >&6
108732 ac_ext=cc
108733 ac_cpp='$CXXCPP $CPPFLAGS'
108734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108738 cat >conftest.$ac_ext <<_ACEOF
108739 /* confdefs.h. */
108740 _ACEOF
108741 cat confdefs.h >>conftest.$ac_ext
108742 cat >>conftest.$ac_ext <<_ACEOF
108743 /* end confdefs.h. */
108744 #include <math.h>
108746 main ()
108748 ldexpl(0, 0);
108750 return 0;
108752 _ACEOF
108753 rm -f conftest.$ac_objext
108754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108755 (eval $ac_compile) 2>conftest.er1
108756 ac_status=$?
108757 grep -v '^ *+' conftest.er1 >conftest.err
108758 rm -f conftest.er1
108759 cat conftest.err >&5
108760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108761 (exit $ac_status); } &&
108762 { ac_try='test -z "$ac_cxx_werror_flag"
108763 || test ! -s conftest.err'
108764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108765 (eval $ac_try) 2>&5
108766 ac_status=$?
108767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108768 (exit $ac_status); }; } &&
108769 { ac_try='test -s conftest.$ac_objext'
108770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108771 (eval $ac_try) 2>&5
108772 ac_status=$?
108773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108774 (exit $ac_status); }; }; then
108775 glibcxx_cv_func_ldexpl_use=yes
108777 echo "$as_me: failed program was:" >&5
108778 sed 's/^/| /' conftest.$ac_ext >&5
108780 glibcxx_cv_func_ldexpl_use=no
108782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108783 ac_ext=c
108784 ac_cpp='$CPP $CPPFLAGS'
108785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
108794 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
108796 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
108798 for ac_func in ldexpl
108800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108801 echo "$as_me:$LINENO: checking for $ac_func" >&5
108802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108803 if eval "test \"\${$as_ac_var+set}\" = set"; then
108804 echo $ECHO_N "(cached) $ECHO_C" >&6
108806 if test x$gcc_no_link = xyes; then
108807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108809 { (exit 1); exit 1; }; }
108811 cat >conftest.$ac_ext <<_ACEOF
108812 /* confdefs.h. */
108813 _ACEOF
108814 cat confdefs.h >>conftest.$ac_ext
108815 cat >>conftest.$ac_ext <<_ACEOF
108816 /* end confdefs.h. */
108817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108819 #define $ac_func innocuous_$ac_func
108821 /* System header to define __stub macros and hopefully few prototypes,
108822 which can conflict with char $ac_func (); below.
108823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108824 <limits.h> exists even on freestanding compilers. */
108826 #ifdef __STDC__
108827 # include <limits.h>
108828 #else
108829 # include <assert.h>
108830 #endif
108832 #undef $ac_func
108834 /* Override any gcc2 internal prototype to avoid an error. */
108835 #ifdef __cplusplus
108836 extern "C"
108838 #endif
108839 /* We use char because int might match the return type of a gcc2
108840 builtin and then its argument prototype would still apply. */
108841 char $ac_func ();
108842 /* The GNU C library defines this for functions which it implements
108843 to always fail with ENOSYS. Some functions are actually named
108844 something starting with __ and the normal name is an alias. */
108845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108846 choke me
108847 #else
108848 char (*f) () = $ac_func;
108849 #endif
108850 #ifdef __cplusplus
108852 #endif
108855 main ()
108857 return f != $ac_func;
108859 return 0;
108861 _ACEOF
108862 rm -f conftest.$ac_objext conftest$ac_exeext
108863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108864 (eval $ac_link) 2>conftest.er1
108865 ac_status=$?
108866 grep -v '^ *+' conftest.er1 >conftest.err
108867 rm -f conftest.er1
108868 cat conftest.err >&5
108869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108870 (exit $ac_status); } &&
108871 { ac_try='test -z "$ac_c_werror_flag"
108872 || test ! -s conftest.err'
108873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108874 (eval $ac_try) 2>&5
108875 ac_status=$?
108876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108877 (exit $ac_status); }; } &&
108878 { ac_try='test -s conftest$ac_exeext'
108879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108880 (eval $ac_try) 2>&5
108881 ac_status=$?
108882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108883 (exit $ac_status); }; }; then
108884 eval "$as_ac_var=yes"
108886 echo "$as_me: failed program was:" >&5
108887 sed 's/^/| /' conftest.$ac_ext >&5
108889 eval "$as_ac_var=no"
108891 rm -f conftest.err conftest.$ac_objext \
108892 conftest$ac_exeext conftest.$ac_ext
108894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108896 if test `eval echo '${'$as_ac_var'}'` = yes; then
108897 cat >>confdefs.h <<_ACEOF
108898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108899 _ACEOF
108906 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
108907 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
108908 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
108909 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
108910 echo $ECHO_N "(cached) $ECHO_C" >&6
108915 ac_ext=cc
108916 ac_cpp='$CXXCPP $CPPFLAGS'
108917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108921 cat >conftest.$ac_ext <<_ACEOF
108922 /* confdefs.h. */
108923 _ACEOF
108924 cat confdefs.h >>conftest.$ac_ext
108925 cat >>conftest.$ac_ext <<_ACEOF
108926 /* end confdefs.h. */
108927 #include <math.h>
108929 main ()
108931 _ldexpl(0, 0);
108933 return 0;
108935 _ACEOF
108936 rm -f conftest.$ac_objext
108937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108938 (eval $ac_compile) 2>conftest.er1
108939 ac_status=$?
108940 grep -v '^ *+' conftest.er1 >conftest.err
108941 rm -f conftest.er1
108942 cat conftest.err >&5
108943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108944 (exit $ac_status); } &&
108945 { ac_try='test -z "$ac_cxx_werror_flag"
108946 || test ! -s conftest.err'
108947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108948 (eval $ac_try) 2>&5
108949 ac_status=$?
108950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108951 (exit $ac_status); }; } &&
108952 { ac_try='test -s conftest.$ac_objext'
108953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108954 (eval $ac_try) 2>&5
108955 ac_status=$?
108956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108957 (exit $ac_status); }; }; then
108958 glibcxx_cv_func__ldexpl_use=yes
108960 echo "$as_me: failed program was:" >&5
108961 sed 's/^/| /' conftest.$ac_ext >&5
108963 glibcxx_cv_func__ldexpl_use=no
108965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108966 ac_ext=c
108967 ac_cpp='$CPP $CPPFLAGS'
108968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108976 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
108977 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
108979 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
108981 for ac_func in _ldexpl
108983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108984 echo "$as_me:$LINENO: checking for $ac_func" >&5
108985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108986 if eval "test \"\${$as_ac_var+set}\" = set"; then
108987 echo $ECHO_N "(cached) $ECHO_C" >&6
108989 if test x$gcc_no_link = xyes; then
108990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108992 { (exit 1); exit 1; }; }
108994 cat >conftest.$ac_ext <<_ACEOF
108995 /* confdefs.h. */
108996 _ACEOF
108997 cat confdefs.h >>conftest.$ac_ext
108998 cat >>conftest.$ac_ext <<_ACEOF
108999 /* end confdefs.h. */
109000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109002 #define $ac_func innocuous_$ac_func
109004 /* System header to define __stub macros and hopefully few prototypes,
109005 which can conflict with char $ac_func (); below.
109006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109007 <limits.h> exists even on freestanding compilers. */
109009 #ifdef __STDC__
109010 # include <limits.h>
109011 #else
109012 # include <assert.h>
109013 #endif
109015 #undef $ac_func
109017 /* Override any gcc2 internal prototype to avoid an error. */
109018 #ifdef __cplusplus
109019 extern "C"
109021 #endif
109022 /* We use char because int might match the return type of a gcc2
109023 builtin and then its argument prototype would still apply. */
109024 char $ac_func ();
109025 /* The GNU C library defines this for functions which it implements
109026 to always fail with ENOSYS. Some functions are actually named
109027 something starting with __ and the normal name is an alias. */
109028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109029 choke me
109030 #else
109031 char (*f) () = $ac_func;
109032 #endif
109033 #ifdef __cplusplus
109035 #endif
109038 main ()
109040 return f != $ac_func;
109042 return 0;
109044 _ACEOF
109045 rm -f conftest.$ac_objext conftest$ac_exeext
109046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109047 (eval $ac_link) 2>conftest.er1
109048 ac_status=$?
109049 grep -v '^ *+' conftest.er1 >conftest.err
109050 rm -f conftest.er1
109051 cat conftest.err >&5
109052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109053 (exit $ac_status); } &&
109054 { ac_try='test -z "$ac_c_werror_flag"
109055 || test ! -s conftest.err'
109056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109057 (eval $ac_try) 2>&5
109058 ac_status=$?
109059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109060 (exit $ac_status); }; } &&
109061 { ac_try='test -s conftest$ac_exeext'
109062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109063 (eval $ac_try) 2>&5
109064 ac_status=$?
109065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109066 (exit $ac_status); }; }; then
109067 eval "$as_ac_var=yes"
109069 echo "$as_me: failed program was:" >&5
109070 sed 's/^/| /' conftest.$ac_ext >&5
109072 eval "$as_ac_var=no"
109074 rm -f conftest.err conftest.$ac_objext \
109075 conftest$ac_exeext conftest.$ac_ext
109077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109079 if test `eval echo '${'$as_ac_var'}'` = yes; then
109080 cat >>confdefs.h <<_ACEOF
109081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109082 _ACEOF
109095 echo "$as_me:$LINENO: checking for logl declaration" >&5
109096 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
109097 if test x${glibcxx_cv_func_logl_use+set} != xset; then
109098 if test "${glibcxx_cv_func_logl_use+set}" = set; then
109099 echo $ECHO_N "(cached) $ECHO_C" >&6
109104 ac_ext=cc
109105 ac_cpp='$CXXCPP $CPPFLAGS'
109106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109110 cat >conftest.$ac_ext <<_ACEOF
109111 /* confdefs.h. */
109112 _ACEOF
109113 cat confdefs.h >>conftest.$ac_ext
109114 cat >>conftest.$ac_ext <<_ACEOF
109115 /* end confdefs.h. */
109116 #include <math.h>
109117 #ifdef HAVE_IEEEFP_H
109118 #include <ieeefp.h>
109119 #endif
109122 main ()
109124 logl(0);
109126 return 0;
109128 _ACEOF
109129 rm -f conftest.$ac_objext
109130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109131 (eval $ac_compile) 2>conftest.er1
109132 ac_status=$?
109133 grep -v '^ *+' conftest.er1 >conftest.err
109134 rm -f conftest.er1
109135 cat conftest.err >&5
109136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109137 (exit $ac_status); } &&
109138 { ac_try='test -z "$ac_cxx_werror_flag"
109139 || test ! -s conftest.err'
109140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109141 (eval $ac_try) 2>&5
109142 ac_status=$?
109143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109144 (exit $ac_status); }; } &&
109145 { ac_try='test -s conftest.$ac_objext'
109146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109147 (eval $ac_try) 2>&5
109148 ac_status=$?
109149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109150 (exit $ac_status); }; }; then
109151 glibcxx_cv_func_logl_use=yes
109153 echo "$as_me: failed program was:" >&5
109154 sed 's/^/| /' conftest.$ac_ext >&5
109156 glibcxx_cv_func_logl_use=no
109158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109159 ac_ext=c
109160 ac_cpp='$CPP $CPPFLAGS'
109161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109169 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
109170 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
109172 if test x$glibcxx_cv_func_logl_use = x"yes"; then
109174 for ac_func in logl
109176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109177 echo "$as_me:$LINENO: checking for $ac_func" >&5
109178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109179 if eval "test \"\${$as_ac_var+set}\" = set"; then
109180 echo $ECHO_N "(cached) $ECHO_C" >&6
109182 if test x$gcc_no_link = xyes; then
109183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109185 { (exit 1); exit 1; }; }
109187 cat >conftest.$ac_ext <<_ACEOF
109188 /* confdefs.h. */
109189 _ACEOF
109190 cat confdefs.h >>conftest.$ac_ext
109191 cat >>conftest.$ac_ext <<_ACEOF
109192 /* end confdefs.h. */
109193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109195 #define $ac_func innocuous_$ac_func
109197 /* System header to define __stub macros and hopefully few prototypes,
109198 which can conflict with char $ac_func (); below.
109199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109200 <limits.h> exists even on freestanding compilers. */
109202 #ifdef __STDC__
109203 # include <limits.h>
109204 #else
109205 # include <assert.h>
109206 #endif
109208 #undef $ac_func
109210 /* Override any gcc2 internal prototype to avoid an error. */
109211 #ifdef __cplusplus
109212 extern "C"
109214 #endif
109215 /* We use char because int might match the return type of a gcc2
109216 builtin and then its argument prototype would still apply. */
109217 char $ac_func ();
109218 /* The GNU C library defines this for functions which it implements
109219 to always fail with ENOSYS. Some functions are actually named
109220 something starting with __ and the normal name is an alias. */
109221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109222 choke me
109223 #else
109224 char (*f) () = $ac_func;
109225 #endif
109226 #ifdef __cplusplus
109228 #endif
109231 main ()
109233 return f != $ac_func;
109235 return 0;
109237 _ACEOF
109238 rm -f conftest.$ac_objext conftest$ac_exeext
109239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109240 (eval $ac_link) 2>conftest.er1
109241 ac_status=$?
109242 grep -v '^ *+' conftest.er1 >conftest.err
109243 rm -f conftest.er1
109244 cat conftest.err >&5
109245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109246 (exit $ac_status); } &&
109247 { ac_try='test -z "$ac_c_werror_flag"
109248 || test ! -s conftest.err'
109249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109250 (eval $ac_try) 2>&5
109251 ac_status=$?
109252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109253 (exit $ac_status); }; } &&
109254 { ac_try='test -s conftest$ac_exeext'
109255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109256 (eval $ac_try) 2>&5
109257 ac_status=$?
109258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109259 (exit $ac_status); }; }; then
109260 eval "$as_ac_var=yes"
109262 echo "$as_me: failed program was:" >&5
109263 sed 's/^/| /' conftest.$ac_ext >&5
109265 eval "$as_ac_var=no"
109267 rm -f conftest.err conftest.$ac_objext \
109268 conftest$ac_exeext conftest.$ac_ext
109270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109272 if test `eval echo '${'$as_ac_var'}'` = yes; then
109273 cat >>confdefs.h <<_ACEOF
109274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109275 _ACEOF
109282 echo "$as_me:$LINENO: checking for _logl declaration" >&5
109283 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
109284 if test x${glibcxx_cv_func__logl_use+set} != xset; then
109285 if test "${glibcxx_cv_func__logl_use+set}" = set; then
109286 echo $ECHO_N "(cached) $ECHO_C" >&6
109291 ac_ext=cc
109292 ac_cpp='$CXXCPP $CPPFLAGS'
109293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109297 cat >conftest.$ac_ext <<_ACEOF
109298 /* confdefs.h. */
109299 _ACEOF
109300 cat confdefs.h >>conftest.$ac_ext
109301 cat >>conftest.$ac_ext <<_ACEOF
109302 /* end confdefs.h. */
109303 #include <math.h>
109304 #ifdef HAVE_IEEEFP_H
109305 #include <ieeefp.h>
109306 #endif
109309 main ()
109311 _logl(0);
109313 return 0;
109315 _ACEOF
109316 rm -f conftest.$ac_objext
109317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109318 (eval $ac_compile) 2>conftest.er1
109319 ac_status=$?
109320 grep -v '^ *+' conftest.er1 >conftest.err
109321 rm -f conftest.er1
109322 cat conftest.err >&5
109323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109324 (exit $ac_status); } &&
109325 { ac_try='test -z "$ac_cxx_werror_flag"
109326 || test ! -s conftest.err'
109327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109328 (eval $ac_try) 2>&5
109329 ac_status=$?
109330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109331 (exit $ac_status); }; } &&
109332 { ac_try='test -s conftest.$ac_objext'
109333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109334 (eval $ac_try) 2>&5
109335 ac_status=$?
109336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109337 (exit $ac_status); }; }; then
109338 glibcxx_cv_func__logl_use=yes
109340 echo "$as_me: failed program was:" >&5
109341 sed 's/^/| /' conftest.$ac_ext >&5
109343 glibcxx_cv_func__logl_use=no
109345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109346 ac_ext=c
109347 ac_cpp='$CPP $CPPFLAGS'
109348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109356 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
109357 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
109359 if test x$glibcxx_cv_func__logl_use = x"yes"; then
109361 for ac_func in _logl
109363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109364 echo "$as_me:$LINENO: checking for $ac_func" >&5
109365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109366 if eval "test \"\${$as_ac_var+set}\" = set"; then
109367 echo $ECHO_N "(cached) $ECHO_C" >&6
109369 if test x$gcc_no_link = xyes; then
109370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109372 { (exit 1); exit 1; }; }
109374 cat >conftest.$ac_ext <<_ACEOF
109375 /* confdefs.h. */
109376 _ACEOF
109377 cat confdefs.h >>conftest.$ac_ext
109378 cat >>conftest.$ac_ext <<_ACEOF
109379 /* end confdefs.h. */
109380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109382 #define $ac_func innocuous_$ac_func
109384 /* System header to define __stub macros and hopefully few prototypes,
109385 which can conflict with char $ac_func (); below.
109386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109387 <limits.h> exists even on freestanding compilers. */
109389 #ifdef __STDC__
109390 # include <limits.h>
109391 #else
109392 # include <assert.h>
109393 #endif
109395 #undef $ac_func
109397 /* Override any gcc2 internal prototype to avoid an error. */
109398 #ifdef __cplusplus
109399 extern "C"
109401 #endif
109402 /* We use char because int might match the return type of a gcc2
109403 builtin and then its argument prototype would still apply. */
109404 char $ac_func ();
109405 /* The GNU C library defines this for functions which it implements
109406 to always fail with ENOSYS. Some functions are actually named
109407 something starting with __ and the normal name is an alias. */
109408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109409 choke me
109410 #else
109411 char (*f) () = $ac_func;
109412 #endif
109413 #ifdef __cplusplus
109415 #endif
109418 main ()
109420 return f != $ac_func;
109422 return 0;
109424 _ACEOF
109425 rm -f conftest.$ac_objext conftest$ac_exeext
109426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109427 (eval $ac_link) 2>conftest.er1
109428 ac_status=$?
109429 grep -v '^ *+' conftest.er1 >conftest.err
109430 rm -f conftest.er1
109431 cat conftest.err >&5
109432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109433 (exit $ac_status); } &&
109434 { ac_try='test -z "$ac_c_werror_flag"
109435 || test ! -s conftest.err'
109436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109437 (eval $ac_try) 2>&5
109438 ac_status=$?
109439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109440 (exit $ac_status); }; } &&
109441 { ac_try='test -s conftest$ac_exeext'
109442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109443 (eval $ac_try) 2>&5
109444 ac_status=$?
109445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109446 (exit $ac_status); }; }; then
109447 eval "$as_ac_var=yes"
109449 echo "$as_me: failed program was:" >&5
109450 sed 's/^/| /' conftest.$ac_ext >&5
109452 eval "$as_ac_var=no"
109454 rm -f conftest.err conftest.$ac_objext \
109455 conftest$ac_exeext conftest.$ac_ext
109457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109459 if test `eval echo '${'$as_ac_var'}'` = yes; then
109460 cat >>confdefs.h <<_ACEOF
109461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109462 _ACEOF
109475 echo "$as_me:$LINENO: checking for log10l declaration" >&5
109476 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
109477 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
109478 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
109479 echo $ECHO_N "(cached) $ECHO_C" >&6
109484 ac_ext=cc
109485 ac_cpp='$CXXCPP $CPPFLAGS'
109486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109490 cat >conftest.$ac_ext <<_ACEOF
109491 /* confdefs.h. */
109492 _ACEOF
109493 cat confdefs.h >>conftest.$ac_ext
109494 cat >>conftest.$ac_ext <<_ACEOF
109495 /* end confdefs.h. */
109496 #include <math.h>
109497 #ifdef HAVE_IEEEFP_H
109498 #include <ieeefp.h>
109499 #endif
109502 main ()
109504 log10l(0);
109506 return 0;
109508 _ACEOF
109509 rm -f conftest.$ac_objext
109510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109511 (eval $ac_compile) 2>conftest.er1
109512 ac_status=$?
109513 grep -v '^ *+' conftest.er1 >conftest.err
109514 rm -f conftest.er1
109515 cat conftest.err >&5
109516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109517 (exit $ac_status); } &&
109518 { ac_try='test -z "$ac_cxx_werror_flag"
109519 || test ! -s conftest.err'
109520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109521 (eval $ac_try) 2>&5
109522 ac_status=$?
109523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109524 (exit $ac_status); }; } &&
109525 { ac_try='test -s conftest.$ac_objext'
109526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109527 (eval $ac_try) 2>&5
109528 ac_status=$?
109529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109530 (exit $ac_status); }; }; then
109531 glibcxx_cv_func_log10l_use=yes
109533 echo "$as_me: failed program was:" >&5
109534 sed 's/^/| /' conftest.$ac_ext >&5
109536 glibcxx_cv_func_log10l_use=no
109538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109539 ac_ext=c
109540 ac_cpp='$CPP $CPPFLAGS'
109541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
109550 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
109552 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
109554 for ac_func in log10l
109556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109557 echo "$as_me:$LINENO: checking for $ac_func" >&5
109558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109559 if eval "test \"\${$as_ac_var+set}\" = set"; then
109560 echo $ECHO_N "(cached) $ECHO_C" >&6
109562 if test x$gcc_no_link = xyes; then
109563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109565 { (exit 1); exit 1; }; }
109567 cat >conftest.$ac_ext <<_ACEOF
109568 /* confdefs.h. */
109569 _ACEOF
109570 cat confdefs.h >>conftest.$ac_ext
109571 cat >>conftest.$ac_ext <<_ACEOF
109572 /* end confdefs.h. */
109573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109575 #define $ac_func innocuous_$ac_func
109577 /* System header to define __stub macros and hopefully few prototypes,
109578 which can conflict with char $ac_func (); below.
109579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109580 <limits.h> exists even on freestanding compilers. */
109582 #ifdef __STDC__
109583 # include <limits.h>
109584 #else
109585 # include <assert.h>
109586 #endif
109588 #undef $ac_func
109590 /* Override any gcc2 internal prototype to avoid an error. */
109591 #ifdef __cplusplus
109592 extern "C"
109594 #endif
109595 /* We use char because int might match the return type of a gcc2
109596 builtin and then its argument prototype would still apply. */
109597 char $ac_func ();
109598 /* The GNU C library defines this for functions which it implements
109599 to always fail with ENOSYS. Some functions are actually named
109600 something starting with __ and the normal name is an alias. */
109601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109602 choke me
109603 #else
109604 char (*f) () = $ac_func;
109605 #endif
109606 #ifdef __cplusplus
109608 #endif
109611 main ()
109613 return f != $ac_func;
109615 return 0;
109617 _ACEOF
109618 rm -f conftest.$ac_objext conftest$ac_exeext
109619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109620 (eval $ac_link) 2>conftest.er1
109621 ac_status=$?
109622 grep -v '^ *+' conftest.er1 >conftest.err
109623 rm -f conftest.er1
109624 cat conftest.err >&5
109625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109626 (exit $ac_status); } &&
109627 { ac_try='test -z "$ac_c_werror_flag"
109628 || test ! -s conftest.err'
109629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109630 (eval $ac_try) 2>&5
109631 ac_status=$?
109632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109633 (exit $ac_status); }; } &&
109634 { ac_try='test -s conftest$ac_exeext'
109635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109636 (eval $ac_try) 2>&5
109637 ac_status=$?
109638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109639 (exit $ac_status); }; }; then
109640 eval "$as_ac_var=yes"
109642 echo "$as_me: failed program was:" >&5
109643 sed 's/^/| /' conftest.$ac_ext >&5
109645 eval "$as_ac_var=no"
109647 rm -f conftest.err conftest.$ac_objext \
109648 conftest$ac_exeext conftest.$ac_ext
109650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109652 if test `eval echo '${'$as_ac_var'}'` = yes; then
109653 cat >>confdefs.h <<_ACEOF
109654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109655 _ACEOF
109662 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
109663 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
109664 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
109665 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
109666 echo $ECHO_N "(cached) $ECHO_C" >&6
109671 ac_ext=cc
109672 ac_cpp='$CXXCPP $CPPFLAGS'
109673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109677 cat >conftest.$ac_ext <<_ACEOF
109678 /* confdefs.h. */
109679 _ACEOF
109680 cat confdefs.h >>conftest.$ac_ext
109681 cat >>conftest.$ac_ext <<_ACEOF
109682 /* end confdefs.h. */
109683 #include <math.h>
109684 #ifdef HAVE_IEEEFP_H
109685 #include <ieeefp.h>
109686 #endif
109689 main ()
109691 _log10l(0);
109693 return 0;
109695 _ACEOF
109696 rm -f conftest.$ac_objext
109697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109698 (eval $ac_compile) 2>conftest.er1
109699 ac_status=$?
109700 grep -v '^ *+' conftest.er1 >conftest.err
109701 rm -f conftest.er1
109702 cat conftest.err >&5
109703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109704 (exit $ac_status); } &&
109705 { ac_try='test -z "$ac_cxx_werror_flag"
109706 || test ! -s conftest.err'
109707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109708 (eval $ac_try) 2>&5
109709 ac_status=$?
109710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109711 (exit $ac_status); }; } &&
109712 { ac_try='test -s conftest.$ac_objext'
109713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109714 (eval $ac_try) 2>&5
109715 ac_status=$?
109716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109717 (exit $ac_status); }; }; then
109718 glibcxx_cv_func__log10l_use=yes
109720 echo "$as_me: failed program was:" >&5
109721 sed 's/^/| /' conftest.$ac_ext >&5
109723 glibcxx_cv_func__log10l_use=no
109725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109726 ac_ext=c
109727 ac_cpp='$CPP $CPPFLAGS'
109728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
109737 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
109739 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
109741 for ac_func in _log10l
109743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109744 echo "$as_me:$LINENO: checking for $ac_func" >&5
109745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109746 if eval "test \"\${$as_ac_var+set}\" = set"; then
109747 echo $ECHO_N "(cached) $ECHO_C" >&6
109749 if test x$gcc_no_link = xyes; then
109750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109752 { (exit 1); exit 1; }; }
109754 cat >conftest.$ac_ext <<_ACEOF
109755 /* confdefs.h. */
109756 _ACEOF
109757 cat confdefs.h >>conftest.$ac_ext
109758 cat >>conftest.$ac_ext <<_ACEOF
109759 /* end confdefs.h. */
109760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109762 #define $ac_func innocuous_$ac_func
109764 /* System header to define __stub macros and hopefully few prototypes,
109765 which can conflict with char $ac_func (); below.
109766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109767 <limits.h> exists even on freestanding compilers. */
109769 #ifdef __STDC__
109770 # include <limits.h>
109771 #else
109772 # include <assert.h>
109773 #endif
109775 #undef $ac_func
109777 /* Override any gcc2 internal prototype to avoid an error. */
109778 #ifdef __cplusplus
109779 extern "C"
109781 #endif
109782 /* We use char because int might match the return type of a gcc2
109783 builtin and then its argument prototype would still apply. */
109784 char $ac_func ();
109785 /* The GNU C library defines this for functions which it implements
109786 to always fail with ENOSYS. Some functions are actually named
109787 something starting with __ and the normal name is an alias. */
109788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109789 choke me
109790 #else
109791 char (*f) () = $ac_func;
109792 #endif
109793 #ifdef __cplusplus
109795 #endif
109798 main ()
109800 return f != $ac_func;
109802 return 0;
109804 _ACEOF
109805 rm -f conftest.$ac_objext conftest$ac_exeext
109806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109807 (eval $ac_link) 2>conftest.er1
109808 ac_status=$?
109809 grep -v '^ *+' conftest.er1 >conftest.err
109810 rm -f conftest.er1
109811 cat conftest.err >&5
109812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109813 (exit $ac_status); } &&
109814 { ac_try='test -z "$ac_c_werror_flag"
109815 || test ! -s conftest.err'
109816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109817 (eval $ac_try) 2>&5
109818 ac_status=$?
109819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109820 (exit $ac_status); }; } &&
109821 { ac_try='test -s conftest$ac_exeext'
109822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109823 (eval $ac_try) 2>&5
109824 ac_status=$?
109825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109826 (exit $ac_status); }; }; then
109827 eval "$as_ac_var=yes"
109829 echo "$as_me: failed program was:" >&5
109830 sed 's/^/| /' conftest.$ac_ext >&5
109832 eval "$as_ac_var=no"
109834 rm -f conftest.err conftest.$ac_objext \
109835 conftest$ac_exeext conftest.$ac_ext
109837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109839 if test `eval echo '${'$as_ac_var'}'` = yes; then
109840 cat >>confdefs.h <<_ACEOF
109841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109842 _ACEOF
109855 echo "$as_me:$LINENO: checking for modfl declaration" >&5
109856 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
109857 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
109858 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
109859 echo $ECHO_N "(cached) $ECHO_C" >&6
109864 ac_ext=cc
109865 ac_cpp='$CXXCPP $CPPFLAGS'
109866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109870 cat >conftest.$ac_ext <<_ACEOF
109871 /* confdefs.h. */
109872 _ACEOF
109873 cat confdefs.h >>conftest.$ac_ext
109874 cat >>conftest.$ac_ext <<_ACEOF
109875 /* end confdefs.h. */
109876 #include <math.h>
109878 main ()
109880 modfl(0, 0);
109882 return 0;
109884 _ACEOF
109885 rm -f conftest.$ac_objext
109886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109887 (eval $ac_compile) 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); } &&
109894 { ac_try='test -z "$ac_cxx_werror_flag"
109895 || test ! -s conftest.err'
109896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109897 (eval $ac_try) 2>&5
109898 ac_status=$?
109899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109900 (exit $ac_status); }; } &&
109901 { ac_try='test -s conftest.$ac_objext'
109902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109903 (eval $ac_try) 2>&5
109904 ac_status=$?
109905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109906 (exit $ac_status); }; }; then
109907 glibcxx_cv_func_modfl_use=yes
109909 echo "$as_me: failed program was:" >&5
109910 sed 's/^/| /' conftest.$ac_ext >&5
109912 glibcxx_cv_func_modfl_use=no
109914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109915 ac_ext=c
109916 ac_cpp='$CPP $CPPFLAGS'
109917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
109926 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
109928 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
109930 for ac_func in modfl
109932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109933 echo "$as_me:$LINENO: checking for $ac_func" >&5
109934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109935 if eval "test \"\${$as_ac_var+set}\" = set"; then
109936 echo $ECHO_N "(cached) $ECHO_C" >&6
109938 if test x$gcc_no_link = xyes; then
109939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109941 { (exit 1); exit 1; }; }
109943 cat >conftest.$ac_ext <<_ACEOF
109944 /* confdefs.h. */
109945 _ACEOF
109946 cat confdefs.h >>conftest.$ac_ext
109947 cat >>conftest.$ac_ext <<_ACEOF
109948 /* end confdefs.h. */
109949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109951 #define $ac_func innocuous_$ac_func
109953 /* System header to define __stub macros and hopefully few prototypes,
109954 which can conflict with char $ac_func (); below.
109955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109956 <limits.h> exists even on freestanding compilers. */
109958 #ifdef __STDC__
109959 # include <limits.h>
109960 #else
109961 # include <assert.h>
109962 #endif
109964 #undef $ac_func
109966 /* Override any gcc2 internal prototype to avoid an error. */
109967 #ifdef __cplusplus
109968 extern "C"
109970 #endif
109971 /* We use char because int might match the return type of a gcc2
109972 builtin and then its argument prototype would still apply. */
109973 char $ac_func ();
109974 /* The GNU C library defines this for functions which it implements
109975 to always fail with ENOSYS. Some functions are actually named
109976 something starting with __ and the normal name is an alias. */
109977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109978 choke me
109979 #else
109980 char (*f) () = $ac_func;
109981 #endif
109982 #ifdef __cplusplus
109984 #endif
109987 main ()
109989 return f != $ac_func;
109991 return 0;
109993 _ACEOF
109994 rm -f conftest.$ac_objext conftest$ac_exeext
109995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109996 (eval $ac_link) 2>conftest.er1
109997 ac_status=$?
109998 grep -v '^ *+' conftest.er1 >conftest.err
109999 rm -f conftest.er1
110000 cat conftest.err >&5
110001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110002 (exit $ac_status); } &&
110003 { ac_try='test -z "$ac_c_werror_flag"
110004 || test ! -s conftest.err'
110005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110006 (eval $ac_try) 2>&5
110007 ac_status=$?
110008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110009 (exit $ac_status); }; } &&
110010 { ac_try='test -s conftest$ac_exeext'
110011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110012 (eval $ac_try) 2>&5
110013 ac_status=$?
110014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110015 (exit $ac_status); }; }; then
110016 eval "$as_ac_var=yes"
110018 echo "$as_me: failed program was:" >&5
110019 sed 's/^/| /' conftest.$ac_ext >&5
110021 eval "$as_ac_var=no"
110023 rm -f conftest.err conftest.$ac_objext \
110024 conftest$ac_exeext conftest.$ac_ext
110026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110028 if test `eval echo '${'$as_ac_var'}'` = yes; then
110029 cat >>confdefs.h <<_ACEOF
110030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110031 _ACEOF
110038 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
110039 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
110040 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
110041 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
110042 echo $ECHO_N "(cached) $ECHO_C" >&6
110047 ac_ext=cc
110048 ac_cpp='$CXXCPP $CPPFLAGS'
110049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110053 cat >conftest.$ac_ext <<_ACEOF
110054 /* confdefs.h. */
110055 _ACEOF
110056 cat confdefs.h >>conftest.$ac_ext
110057 cat >>conftest.$ac_ext <<_ACEOF
110058 /* end confdefs.h. */
110059 #include <math.h>
110061 main ()
110063 _modfl(0, 0);
110065 return 0;
110067 _ACEOF
110068 rm -f conftest.$ac_objext
110069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110070 (eval $ac_compile) 2>conftest.er1
110071 ac_status=$?
110072 grep -v '^ *+' conftest.er1 >conftest.err
110073 rm -f conftest.er1
110074 cat conftest.err >&5
110075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110076 (exit $ac_status); } &&
110077 { ac_try='test -z "$ac_cxx_werror_flag"
110078 || test ! -s conftest.err'
110079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110080 (eval $ac_try) 2>&5
110081 ac_status=$?
110082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110083 (exit $ac_status); }; } &&
110084 { ac_try='test -s conftest.$ac_objext'
110085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110086 (eval $ac_try) 2>&5
110087 ac_status=$?
110088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110089 (exit $ac_status); }; }; then
110090 glibcxx_cv_func__modfl_use=yes
110092 echo "$as_me: failed program was:" >&5
110093 sed 's/^/| /' conftest.$ac_ext >&5
110095 glibcxx_cv_func__modfl_use=no
110097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110098 ac_ext=c
110099 ac_cpp='$CPP $CPPFLAGS'
110100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
110109 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
110111 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
110113 for ac_func in _modfl
110115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110116 echo "$as_me:$LINENO: checking for $ac_func" >&5
110117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110118 if eval "test \"\${$as_ac_var+set}\" = set"; then
110119 echo $ECHO_N "(cached) $ECHO_C" >&6
110121 if test x$gcc_no_link = xyes; then
110122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110124 { (exit 1); exit 1; }; }
110126 cat >conftest.$ac_ext <<_ACEOF
110127 /* confdefs.h. */
110128 _ACEOF
110129 cat confdefs.h >>conftest.$ac_ext
110130 cat >>conftest.$ac_ext <<_ACEOF
110131 /* end confdefs.h. */
110132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110134 #define $ac_func innocuous_$ac_func
110136 /* System header to define __stub macros and hopefully few prototypes,
110137 which can conflict with char $ac_func (); below.
110138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110139 <limits.h> exists even on freestanding compilers. */
110141 #ifdef __STDC__
110142 # include <limits.h>
110143 #else
110144 # include <assert.h>
110145 #endif
110147 #undef $ac_func
110149 /* Override any gcc2 internal prototype to avoid an error. */
110150 #ifdef __cplusplus
110151 extern "C"
110153 #endif
110154 /* We use char because int might match the return type of a gcc2
110155 builtin and then its argument prototype would still apply. */
110156 char $ac_func ();
110157 /* The GNU C library defines this for functions which it implements
110158 to always fail with ENOSYS. Some functions are actually named
110159 something starting with __ and the normal name is an alias. */
110160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110161 choke me
110162 #else
110163 char (*f) () = $ac_func;
110164 #endif
110165 #ifdef __cplusplus
110167 #endif
110170 main ()
110172 return f != $ac_func;
110174 return 0;
110176 _ACEOF
110177 rm -f conftest.$ac_objext conftest$ac_exeext
110178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110179 (eval $ac_link) 2>conftest.er1
110180 ac_status=$?
110181 grep -v '^ *+' conftest.er1 >conftest.err
110182 rm -f conftest.er1
110183 cat conftest.err >&5
110184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110185 (exit $ac_status); } &&
110186 { ac_try='test -z "$ac_c_werror_flag"
110187 || test ! -s conftest.err'
110188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110189 (eval $ac_try) 2>&5
110190 ac_status=$?
110191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110192 (exit $ac_status); }; } &&
110193 { ac_try='test -s conftest$ac_exeext'
110194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110195 (eval $ac_try) 2>&5
110196 ac_status=$?
110197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110198 (exit $ac_status); }; }; then
110199 eval "$as_ac_var=yes"
110201 echo "$as_me: failed program was:" >&5
110202 sed 's/^/| /' conftest.$ac_ext >&5
110204 eval "$as_ac_var=no"
110206 rm -f conftest.err conftest.$ac_objext \
110207 conftest$ac_exeext conftest.$ac_ext
110209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110211 if test `eval echo '${'$as_ac_var'}'` = yes; then
110212 cat >>confdefs.h <<_ACEOF
110213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110214 _ACEOF
110227 echo "$as_me:$LINENO: checking for powl declaration" >&5
110228 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
110229 if test x${glibcxx_cv_func_powl_use+set} != xset; then
110230 if test "${glibcxx_cv_func_powl_use+set}" = set; then
110231 echo $ECHO_N "(cached) $ECHO_C" >&6
110236 ac_ext=cc
110237 ac_cpp='$CXXCPP $CPPFLAGS'
110238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110242 cat >conftest.$ac_ext <<_ACEOF
110243 /* confdefs.h. */
110244 _ACEOF
110245 cat confdefs.h >>conftest.$ac_ext
110246 cat >>conftest.$ac_ext <<_ACEOF
110247 /* end confdefs.h. */
110248 #include <math.h>
110250 main ()
110252 powl(0, 0);
110254 return 0;
110256 _ACEOF
110257 rm -f conftest.$ac_objext
110258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110259 (eval $ac_compile) 2>conftest.er1
110260 ac_status=$?
110261 grep -v '^ *+' conftest.er1 >conftest.err
110262 rm -f conftest.er1
110263 cat conftest.err >&5
110264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110265 (exit $ac_status); } &&
110266 { ac_try='test -z "$ac_cxx_werror_flag"
110267 || test ! -s conftest.err'
110268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110269 (eval $ac_try) 2>&5
110270 ac_status=$?
110271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110272 (exit $ac_status); }; } &&
110273 { ac_try='test -s conftest.$ac_objext'
110274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110275 (eval $ac_try) 2>&5
110276 ac_status=$?
110277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110278 (exit $ac_status); }; }; then
110279 glibcxx_cv_func_powl_use=yes
110281 echo "$as_me: failed program was:" >&5
110282 sed 's/^/| /' conftest.$ac_ext >&5
110284 glibcxx_cv_func_powl_use=no
110286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110287 ac_ext=c
110288 ac_cpp='$CPP $CPPFLAGS'
110289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
110298 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
110300 if test x$glibcxx_cv_func_powl_use = x"yes"; then
110302 for ac_func in powl
110304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110305 echo "$as_me:$LINENO: checking for $ac_func" >&5
110306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110307 if eval "test \"\${$as_ac_var+set}\" = set"; then
110308 echo $ECHO_N "(cached) $ECHO_C" >&6
110310 if test x$gcc_no_link = xyes; then
110311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110313 { (exit 1); exit 1; }; }
110315 cat >conftest.$ac_ext <<_ACEOF
110316 /* confdefs.h. */
110317 _ACEOF
110318 cat confdefs.h >>conftest.$ac_ext
110319 cat >>conftest.$ac_ext <<_ACEOF
110320 /* end confdefs.h. */
110321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110323 #define $ac_func innocuous_$ac_func
110325 /* System header to define __stub macros and hopefully few prototypes,
110326 which can conflict with char $ac_func (); below.
110327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110328 <limits.h> exists even on freestanding compilers. */
110330 #ifdef __STDC__
110331 # include <limits.h>
110332 #else
110333 # include <assert.h>
110334 #endif
110336 #undef $ac_func
110338 /* Override any gcc2 internal prototype to avoid an error. */
110339 #ifdef __cplusplus
110340 extern "C"
110342 #endif
110343 /* We use char because int might match the return type of a gcc2
110344 builtin and then its argument prototype would still apply. */
110345 char $ac_func ();
110346 /* The GNU C library defines this for functions which it implements
110347 to always fail with ENOSYS. Some functions are actually named
110348 something starting with __ and the normal name is an alias. */
110349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110350 choke me
110351 #else
110352 char (*f) () = $ac_func;
110353 #endif
110354 #ifdef __cplusplus
110356 #endif
110359 main ()
110361 return f != $ac_func;
110363 return 0;
110365 _ACEOF
110366 rm -f conftest.$ac_objext conftest$ac_exeext
110367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110368 (eval $ac_link) 2>conftest.er1
110369 ac_status=$?
110370 grep -v '^ *+' conftest.er1 >conftest.err
110371 rm -f conftest.er1
110372 cat conftest.err >&5
110373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110374 (exit $ac_status); } &&
110375 { ac_try='test -z "$ac_c_werror_flag"
110376 || test ! -s conftest.err'
110377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110378 (eval $ac_try) 2>&5
110379 ac_status=$?
110380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110381 (exit $ac_status); }; } &&
110382 { ac_try='test -s conftest$ac_exeext'
110383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110384 (eval $ac_try) 2>&5
110385 ac_status=$?
110386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110387 (exit $ac_status); }; }; then
110388 eval "$as_ac_var=yes"
110390 echo "$as_me: failed program was:" >&5
110391 sed 's/^/| /' conftest.$ac_ext >&5
110393 eval "$as_ac_var=no"
110395 rm -f conftest.err conftest.$ac_objext \
110396 conftest$ac_exeext conftest.$ac_ext
110398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110400 if test `eval echo '${'$as_ac_var'}'` = yes; then
110401 cat >>confdefs.h <<_ACEOF
110402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110403 _ACEOF
110410 echo "$as_me:$LINENO: checking for _powl declaration" >&5
110411 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
110412 if test x${glibcxx_cv_func__powl_use+set} != xset; then
110413 if test "${glibcxx_cv_func__powl_use+set}" = set; then
110414 echo $ECHO_N "(cached) $ECHO_C" >&6
110419 ac_ext=cc
110420 ac_cpp='$CXXCPP $CPPFLAGS'
110421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110425 cat >conftest.$ac_ext <<_ACEOF
110426 /* confdefs.h. */
110427 _ACEOF
110428 cat confdefs.h >>conftest.$ac_ext
110429 cat >>conftest.$ac_ext <<_ACEOF
110430 /* end confdefs.h. */
110431 #include <math.h>
110433 main ()
110435 _powl(0, 0);
110437 return 0;
110439 _ACEOF
110440 rm -f conftest.$ac_objext
110441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110442 (eval $ac_compile) 2>conftest.er1
110443 ac_status=$?
110444 grep -v '^ *+' conftest.er1 >conftest.err
110445 rm -f conftest.er1
110446 cat conftest.err >&5
110447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110448 (exit $ac_status); } &&
110449 { ac_try='test -z "$ac_cxx_werror_flag"
110450 || test ! -s conftest.err'
110451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110452 (eval $ac_try) 2>&5
110453 ac_status=$?
110454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110455 (exit $ac_status); }; } &&
110456 { ac_try='test -s conftest.$ac_objext'
110457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110458 (eval $ac_try) 2>&5
110459 ac_status=$?
110460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110461 (exit $ac_status); }; }; then
110462 glibcxx_cv_func__powl_use=yes
110464 echo "$as_me: failed program was:" >&5
110465 sed 's/^/| /' conftest.$ac_ext >&5
110467 glibcxx_cv_func__powl_use=no
110469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110470 ac_ext=c
110471 ac_cpp='$CPP $CPPFLAGS'
110472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
110481 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
110483 if test x$glibcxx_cv_func__powl_use = x"yes"; then
110485 for ac_func in _powl
110487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110488 echo "$as_me:$LINENO: checking for $ac_func" >&5
110489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110490 if eval "test \"\${$as_ac_var+set}\" = set"; then
110491 echo $ECHO_N "(cached) $ECHO_C" >&6
110493 if test x$gcc_no_link = xyes; then
110494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110496 { (exit 1); exit 1; }; }
110498 cat >conftest.$ac_ext <<_ACEOF
110499 /* confdefs.h. */
110500 _ACEOF
110501 cat confdefs.h >>conftest.$ac_ext
110502 cat >>conftest.$ac_ext <<_ACEOF
110503 /* end confdefs.h. */
110504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110506 #define $ac_func innocuous_$ac_func
110508 /* System header to define __stub macros and hopefully few prototypes,
110509 which can conflict with char $ac_func (); below.
110510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110511 <limits.h> exists even on freestanding compilers. */
110513 #ifdef __STDC__
110514 # include <limits.h>
110515 #else
110516 # include <assert.h>
110517 #endif
110519 #undef $ac_func
110521 /* Override any gcc2 internal prototype to avoid an error. */
110522 #ifdef __cplusplus
110523 extern "C"
110525 #endif
110526 /* We use char because int might match the return type of a gcc2
110527 builtin and then its argument prototype would still apply. */
110528 char $ac_func ();
110529 /* The GNU C library defines this for functions which it implements
110530 to always fail with ENOSYS. Some functions are actually named
110531 something starting with __ and the normal name is an alias. */
110532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110533 choke me
110534 #else
110535 char (*f) () = $ac_func;
110536 #endif
110537 #ifdef __cplusplus
110539 #endif
110542 main ()
110544 return f != $ac_func;
110546 return 0;
110548 _ACEOF
110549 rm -f conftest.$ac_objext conftest$ac_exeext
110550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110551 (eval $ac_link) 2>conftest.er1
110552 ac_status=$?
110553 grep -v '^ *+' conftest.er1 >conftest.err
110554 rm -f conftest.er1
110555 cat conftest.err >&5
110556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110557 (exit $ac_status); } &&
110558 { ac_try='test -z "$ac_c_werror_flag"
110559 || test ! -s conftest.err'
110560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110561 (eval $ac_try) 2>&5
110562 ac_status=$?
110563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110564 (exit $ac_status); }; } &&
110565 { ac_try='test -s conftest$ac_exeext'
110566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110567 (eval $ac_try) 2>&5
110568 ac_status=$?
110569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110570 (exit $ac_status); }; }; then
110571 eval "$as_ac_var=yes"
110573 echo "$as_me: failed program was:" >&5
110574 sed 's/^/| /' conftest.$ac_ext >&5
110576 eval "$as_ac_var=no"
110578 rm -f conftest.err conftest.$ac_objext \
110579 conftest$ac_exeext conftest.$ac_ext
110581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110583 if test `eval echo '${'$as_ac_var'}'` = yes; then
110584 cat >>confdefs.h <<_ACEOF
110585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110586 _ACEOF
110599 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
110600 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
110601 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
110602 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
110603 echo $ECHO_N "(cached) $ECHO_C" >&6
110608 ac_ext=cc
110609 ac_cpp='$CXXCPP $CPPFLAGS'
110610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110614 cat >conftest.$ac_ext <<_ACEOF
110615 /* confdefs.h. */
110616 _ACEOF
110617 cat confdefs.h >>conftest.$ac_ext
110618 cat >>conftest.$ac_ext <<_ACEOF
110619 /* end confdefs.h. */
110620 #include <math.h>
110621 #ifdef HAVE_IEEEFP_H
110622 #include <ieeefp.h>
110623 #endif
110626 main ()
110628 sqrtl(0);
110630 return 0;
110632 _ACEOF
110633 rm -f conftest.$ac_objext
110634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110635 (eval $ac_compile) 2>conftest.er1
110636 ac_status=$?
110637 grep -v '^ *+' conftest.er1 >conftest.err
110638 rm -f conftest.er1
110639 cat conftest.err >&5
110640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110641 (exit $ac_status); } &&
110642 { ac_try='test -z "$ac_cxx_werror_flag"
110643 || test ! -s conftest.err'
110644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110645 (eval $ac_try) 2>&5
110646 ac_status=$?
110647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110648 (exit $ac_status); }; } &&
110649 { ac_try='test -s conftest.$ac_objext'
110650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110651 (eval $ac_try) 2>&5
110652 ac_status=$?
110653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110654 (exit $ac_status); }; }; then
110655 glibcxx_cv_func_sqrtl_use=yes
110657 echo "$as_me: failed program was:" >&5
110658 sed 's/^/| /' conftest.$ac_ext >&5
110660 glibcxx_cv_func_sqrtl_use=no
110662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110663 ac_ext=c
110664 ac_cpp='$CPP $CPPFLAGS'
110665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
110674 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
110676 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
110678 for ac_func in sqrtl
110680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110681 echo "$as_me:$LINENO: checking for $ac_func" >&5
110682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110683 if eval "test \"\${$as_ac_var+set}\" = set"; then
110684 echo $ECHO_N "(cached) $ECHO_C" >&6
110686 if test x$gcc_no_link = xyes; then
110687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110689 { (exit 1); exit 1; }; }
110691 cat >conftest.$ac_ext <<_ACEOF
110692 /* confdefs.h. */
110693 _ACEOF
110694 cat confdefs.h >>conftest.$ac_ext
110695 cat >>conftest.$ac_ext <<_ACEOF
110696 /* end confdefs.h. */
110697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110699 #define $ac_func innocuous_$ac_func
110701 /* System header to define __stub macros and hopefully few prototypes,
110702 which can conflict with char $ac_func (); below.
110703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110704 <limits.h> exists even on freestanding compilers. */
110706 #ifdef __STDC__
110707 # include <limits.h>
110708 #else
110709 # include <assert.h>
110710 #endif
110712 #undef $ac_func
110714 /* Override any gcc2 internal prototype to avoid an error. */
110715 #ifdef __cplusplus
110716 extern "C"
110718 #endif
110719 /* We use char because int might match the return type of a gcc2
110720 builtin and then its argument prototype would still apply. */
110721 char $ac_func ();
110722 /* The GNU C library defines this for functions which it implements
110723 to always fail with ENOSYS. Some functions are actually named
110724 something starting with __ and the normal name is an alias. */
110725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110726 choke me
110727 #else
110728 char (*f) () = $ac_func;
110729 #endif
110730 #ifdef __cplusplus
110732 #endif
110735 main ()
110737 return f != $ac_func;
110739 return 0;
110741 _ACEOF
110742 rm -f conftest.$ac_objext conftest$ac_exeext
110743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110744 (eval $ac_link) 2>conftest.er1
110745 ac_status=$?
110746 grep -v '^ *+' conftest.er1 >conftest.err
110747 rm -f conftest.er1
110748 cat conftest.err >&5
110749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110750 (exit $ac_status); } &&
110751 { ac_try='test -z "$ac_c_werror_flag"
110752 || test ! -s conftest.err'
110753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110754 (eval $ac_try) 2>&5
110755 ac_status=$?
110756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110757 (exit $ac_status); }; } &&
110758 { ac_try='test -s conftest$ac_exeext'
110759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110760 (eval $ac_try) 2>&5
110761 ac_status=$?
110762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110763 (exit $ac_status); }; }; then
110764 eval "$as_ac_var=yes"
110766 echo "$as_me: failed program was:" >&5
110767 sed 's/^/| /' conftest.$ac_ext >&5
110769 eval "$as_ac_var=no"
110771 rm -f conftest.err conftest.$ac_objext \
110772 conftest$ac_exeext conftest.$ac_ext
110774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110776 if test `eval echo '${'$as_ac_var'}'` = yes; then
110777 cat >>confdefs.h <<_ACEOF
110778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110779 _ACEOF
110786 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
110787 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
110788 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
110789 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
110790 echo $ECHO_N "(cached) $ECHO_C" >&6
110795 ac_ext=cc
110796 ac_cpp='$CXXCPP $CPPFLAGS'
110797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110801 cat >conftest.$ac_ext <<_ACEOF
110802 /* confdefs.h. */
110803 _ACEOF
110804 cat confdefs.h >>conftest.$ac_ext
110805 cat >>conftest.$ac_ext <<_ACEOF
110806 /* end confdefs.h. */
110807 #include <math.h>
110808 #ifdef HAVE_IEEEFP_H
110809 #include <ieeefp.h>
110810 #endif
110813 main ()
110815 _sqrtl(0);
110817 return 0;
110819 _ACEOF
110820 rm -f conftest.$ac_objext
110821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110822 (eval $ac_compile) 2>conftest.er1
110823 ac_status=$?
110824 grep -v '^ *+' conftest.er1 >conftest.err
110825 rm -f conftest.er1
110826 cat conftest.err >&5
110827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110828 (exit $ac_status); } &&
110829 { ac_try='test -z "$ac_cxx_werror_flag"
110830 || test ! -s conftest.err'
110831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110832 (eval $ac_try) 2>&5
110833 ac_status=$?
110834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110835 (exit $ac_status); }; } &&
110836 { ac_try='test -s conftest.$ac_objext'
110837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110838 (eval $ac_try) 2>&5
110839 ac_status=$?
110840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110841 (exit $ac_status); }; }; then
110842 glibcxx_cv_func__sqrtl_use=yes
110844 echo "$as_me: failed program was:" >&5
110845 sed 's/^/| /' conftest.$ac_ext >&5
110847 glibcxx_cv_func__sqrtl_use=no
110849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110850 ac_ext=c
110851 ac_cpp='$CPP $CPPFLAGS'
110852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
110861 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
110863 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
110865 for ac_func in _sqrtl
110867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110868 echo "$as_me:$LINENO: checking for $ac_func" >&5
110869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110870 if eval "test \"\${$as_ac_var+set}\" = set"; then
110871 echo $ECHO_N "(cached) $ECHO_C" >&6
110873 if test x$gcc_no_link = xyes; then
110874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110876 { (exit 1); exit 1; }; }
110878 cat >conftest.$ac_ext <<_ACEOF
110879 /* confdefs.h. */
110880 _ACEOF
110881 cat confdefs.h >>conftest.$ac_ext
110882 cat >>conftest.$ac_ext <<_ACEOF
110883 /* end confdefs.h. */
110884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110886 #define $ac_func innocuous_$ac_func
110888 /* System header to define __stub macros and hopefully few prototypes,
110889 which can conflict with char $ac_func (); below.
110890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110891 <limits.h> exists even on freestanding compilers. */
110893 #ifdef __STDC__
110894 # include <limits.h>
110895 #else
110896 # include <assert.h>
110897 #endif
110899 #undef $ac_func
110901 /* Override any gcc2 internal prototype to avoid an error. */
110902 #ifdef __cplusplus
110903 extern "C"
110905 #endif
110906 /* We use char because int might match the return type of a gcc2
110907 builtin and then its argument prototype would still apply. */
110908 char $ac_func ();
110909 /* The GNU C library defines this for functions which it implements
110910 to always fail with ENOSYS. Some functions are actually named
110911 something starting with __ and the normal name is an alias. */
110912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110913 choke me
110914 #else
110915 char (*f) () = $ac_func;
110916 #endif
110917 #ifdef __cplusplus
110919 #endif
110922 main ()
110924 return f != $ac_func;
110926 return 0;
110928 _ACEOF
110929 rm -f conftest.$ac_objext conftest$ac_exeext
110930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110931 (eval $ac_link) 2>conftest.er1
110932 ac_status=$?
110933 grep -v '^ *+' conftest.er1 >conftest.err
110934 rm -f conftest.er1
110935 cat conftest.err >&5
110936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110937 (exit $ac_status); } &&
110938 { ac_try='test -z "$ac_c_werror_flag"
110939 || test ! -s conftest.err'
110940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110941 (eval $ac_try) 2>&5
110942 ac_status=$?
110943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110944 (exit $ac_status); }; } &&
110945 { ac_try='test -s conftest$ac_exeext'
110946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110947 (eval $ac_try) 2>&5
110948 ac_status=$?
110949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110950 (exit $ac_status); }; }; then
110951 eval "$as_ac_var=yes"
110953 echo "$as_me: failed program was:" >&5
110954 sed 's/^/| /' conftest.$ac_ext >&5
110956 eval "$as_ac_var=no"
110958 rm -f conftest.err conftest.$ac_objext \
110959 conftest$ac_exeext conftest.$ac_ext
110961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110963 if test `eval echo '${'$as_ac_var'}'` = yes; then
110964 cat >>confdefs.h <<_ACEOF
110965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110966 _ACEOF
110979 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
110980 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
110981 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
110982 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
110983 echo $ECHO_N "(cached) $ECHO_C" >&6
110988 ac_ext=cc
110989 ac_cpp='$CXXCPP $CPPFLAGS'
110990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110994 cat >conftest.$ac_ext <<_ACEOF
110995 /* confdefs.h. */
110996 _ACEOF
110997 cat confdefs.h >>conftest.$ac_ext
110998 cat >>conftest.$ac_ext <<_ACEOF
110999 /* end confdefs.h. */
111000 #include <math.h>
111002 main ()
111004 sincosl(0, 0, 0);
111006 return 0;
111008 _ACEOF
111009 rm -f conftest.$ac_objext
111010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111011 (eval $ac_compile) 2>conftest.er1
111012 ac_status=$?
111013 grep -v '^ *+' conftest.er1 >conftest.err
111014 rm -f conftest.er1
111015 cat conftest.err >&5
111016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111017 (exit $ac_status); } &&
111018 { ac_try='test -z "$ac_cxx_werror_flag"
111019 || test ! -s conftest.err'
111020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111021 (eval $ac_try) 2>&5
111022 ac_status=$?
111023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111024 (exit $ac_status); }; } &&
111025 { ac_try='test -s conftest.$ac_objext'
111026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111027 (eval $ac_try) 2>&5
111028 ac_status=$?
111029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111030 (exit $ac_status); }; }; then
111031 glibcxx_cv_func_sincosl_use=yes
111033 echo "$as_me: failed program was:" >&5
111034 sed 's/^/| /' conftest.$ac_ext >&5
111036 glibcxx_cv_func_sincosl_use=no
111038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111039 ac_ext=c
111040 ac_cpp='$CPP $CPPFLAGS'
111041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
111050 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
111052 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
111054 for ac_func in sincosl
111056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111057 echo "$as_me:$LINENO: checking for $ac_func" >&5
111058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111059 if eval "test \"\${$as_ac_var+set}\" = set"; then
111060 echo $ECHO_N "(cached) $ECHO_C" >&6
111062 if test x$gcc_no_link = xyes; then
111063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111065 { (exit 1); exit 1; }; }
111067 cat >conftest.$ac_ext <<_ACEOF
111068 /* confdefs.h. */
111069 _ACEOF
111070 cat confdefs.h >>conftest.$ac_ext
111071 cat >>conftest.$ac_ext <<_ACEOF
111072 /* end confdefs.h. */
111073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111075 #define $ac_func innocuous_$ac_func
111077 /* System header to define __stub macros and hopefully few prototypes,
111078 which can conflict with char $ac_func (); below.
111079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111080 <limits.h> exists even on freestanding compilers. */
111082 #ifdef __STDC__
111083 # include <limits.h>
111084 #else
111085 # include <assert.h>
111086 #endif
111088 #undef $ac_func
111090 /* Override any gcc2 internal prototype to avoid an error. */
111091 #ifdef __cplusplus
111092 extern "C"
111094 #endif
111095 /* We use char because int might match the return type of a gcc2
111096 builtin and then its argument prototype would still apply. */
111097 char $ac_func ();
111098 /* The GNU C library defines this for functions which it implements
111099 to always fail with ENOSYS. Some functions are actually named
111100 something starting with __ and the normal name is an alias. */
111101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111102 choke me
111103 #else
111104 char (*f) () = $ac_func;
111105 #endif
111106 #ifdef __cplusplus
111108 #endif
111111 main ()
111113 return f != $ac_func;
111115 return 0;
111117 _ACEOF
111118 rm -f conftest.$ac_objext conftest$ac_exeext
111119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111120 (eval $ac_link) 2>conftest.er1
111121 ac_status=$?
111122 grep -v '^ *+' conftest.er1 >conftest.err
111123 rm -f conftest.er1
111124 cat conftest.err >&5
111125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111126 (exit $ac_status); } &&
111127 { ac_try='test -z "$ac_c_werror_flag"
111128 || test ! -s conftest.err'
111129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111130 (eval $ac_try) 2>&5
111131 ac_status=$?
111132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111133 (exit $ac_status); }; } &&
111134 { ac_try='test -s conftest$ac_exeext'
111135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111136 (eval $ac_try) 2>&5
111137 ac_status=$?
111138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111139 (exit $ac_status); }; }; then
111140 eval "$as_ac_var=yes"
111142 echo "$as_me: failed program was:" >&5
111143 sed 's/^/| /' conftest.$ac_ext >&5
111145 eval "$as_ac_var=no"
111147 rm -f conftest.err conftest.$ac_objext \
111148 conftest$ac_exeext conftest.$ac_ext
111150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111152 if test `eval echo '${'$as_ac_var'}'` = yes; then
111153 cat >>confdefs.h <<_ACEOF
111154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111155 _ACEOF
111162 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
111163 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
111164 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
111165 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
111166 echo $ECHO_N "(cached) $ECHO_C" >&6
111171 ac_ext=cc
111172 ac_cpp='$CXXCPP $CPPFLAGS'
111173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111177 cat >conftest.$ac_ext <<_ACEOF
111178 /* confdefs.h. */
111179 _ACEOF
111180 cat confdefs.h >>conftest.$ac_ext
111181 cat >>conftest.$ac_ext <<_ACEOF
111182 /* end confdefs.h. */
111183 #include <math.h>
111185 main ()
111187 _sincosl(0, 0, 0);
111189 return 0;
111191 _ACEOF
111192 rm -f conftest.$ac_objext
111193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111194 (eval $ac_compile) 2>conftest.er1
111195 ac_status=$?
111196 grep -v '^ *+' conftest.er1 >conftest.err
111197 rm -f conftest.er1
111198 cat conftest.err >&5
111199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111200 (exit $ac_status); } &&
111201 { ac_try='test -z "$ac_cxx_werror_flag"
111202 || test ! -s conftest.err'
111203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111204 (eval $ac_try) 2>&5
111205 ac_status=$?
111206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111207 (exit $ac_status); }; } &&
111208 { ac_try='test -s conftest.$ac_objext'
111209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111210 (eval $ac_try) 2>&5
111211 ac_status=$?
111212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111213 (exit $ac_status); }; }; then
111214 glibcxx_cv_func__sincosl_use=yes
111216 echo "$as_me: failed program was:" >&5
111217 sed 's/^/| /' conftest.$ac_ext >&5
111219 glibcxx_cv_func__sincosl_use=no
111221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111222 ac_ext=c
111223 ac_cpp='$CPP $CPPFLAGS'
111224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
111233 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
111235 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
111237 for ac_func in _sincosl
111239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111240 echo "$as_me:$LINENO: checking for $ac_func" >&5
111241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111242 if eval "test \"\${$as_ac_var+set}\" = set"; then
111243 echo $ECHO_N "(cached) $ECHO_C" >&6
111245 if test x$gcc_no_link = xyes; then
111246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111248 { (exit 1); exit 1; }; }
111250 cat >conftest.$ac_ext <<_ACEOF
111251 /* confdefs.h. */
111252 _ACEOF
111253 cat confdefs.h >>conftest.$ac_ext
111254 cat >>conftest.$ac_ext <<_ACEOF
111255 /* end confdefs.h. */
111256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111258 #define $ac_func innocuous_$ac_func
111260 /* System header to define __stub macros and hopefully few prototypes,
111261 which can conflict with char $ac_func (); below.
111262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111263 <limits.h> exists even on freestanding compilers. */
111265 #ifdef __STDC__
111266 # include <limits.h>
111267 #else
111268 # include <assert.h>
111269 #endif
111271 #undef $ac_func
111273 /* Override any gcc2 internal prototype to avoid an error. */
111274 #ifdef __cplusplus
111275 extern "C"
111277 #endif
111278 /* We use char because int might match the return type of a gcc2
111279 builtin and then its argument prototype would still apply. */
111280 char $ac_func ();
111281 /* The GNU C library defines this for functions which it implements
111282 to always fail with ENOSYS. Some functions are actually named
111283 something starting with __ and the normal name is an alias. */
111284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111285 choke me
111286 #else
111287 char (*f) () = $ac_func;
111288 #endif
111289 #ifdef __cplusplus
111291 #endif
111294 main ()
111296 return f != $ac_func;
111298 return 0;
111300 _ACEOF
111301 rm -f conftest.$ac_objext conftest$ac_exeext
111302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111303 (eval $ac_link) 2>conftest.er1
111304 ac_status=$?
111305 grep -v '^ *+' conftest.er1 >conftest.err
111306 rm -f conftest.er1
111307 cat conftest.err >&5
111308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111309 (exit $ac_status); } &&
111310 { ac_try='test -z "$ac_c_werror_flag"
111311 || test ! -s conftest.err'
111312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111313 (eval $ac_try) 2>&5
111314 ac_status=$?
111315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111316 (exit $ac_status); }; } &&
111317 { ac_try='test -s conftest$ac_exeext'
111318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111319 (eval $ac_try) 2>&5
111320 ac_status=$?
111321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111322 (exit $ac_status); }; }; then
111323 eval "$as_ac_var=yes"
111325 echo "$as_me: failed program was:" >&5
111326 sed 's/^/| /' conftest.$ac_ext >&5
111328 eval "$as_ac_var=no"
111330 rm -f conftest.err conftest.$ac_objext \
111331 conftest$ac_exeext conftest.$ac_ext
111333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111335 if test `eval echo '${'$as_ac_var'}'` = yes; then
111336 cat >>confdefs.h <<_ACEOF
111337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111338 _ACEOF
111351 echo "$as_me:$LINENO: checking for finitel declaration" >&5
111352 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
111353 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
111354 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
111355 echo $ECHO_N "(cached) $ECHO_C" >&6
111360 ac_ext=cc
111361 ac_cpp='$CXXCPP $CPPFLAGS'
111362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111366 cat >conftest.$ac_ext <<_ACEOF
111367 /* confdefs.h. */
111368 _ACEOF
111369 cat confdefs.h >>conftest.$ac_ext
111370 cat >>conftest.$ac_ext <<_ACEOF
111371 /* end confdefs.h. */
111372 #include <math.h>
111373 #ifdef HAVE_IEEEFP_H
111374 #include <ieeefp.h>
111375 #endif
111378 main ()
111380 finitel(0);
111382 return 0;
111384 _ACEOF
111385 rm -f conftest.$ac_objext
111386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111387 (eval $ac_compile) 2>conftest.er1
111388 ac_status=$?
111389 grep -v '^ *+' conftest.er1 >conftest.err
111390 rm -f conftest.er1
111391 cat conftest.err >&5
111392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111393 (exit $ac_status); } &&
111394 { ac_try='test -z "$ac_cxx_werror_flag"
111395 || test ! -s conftest.err'
111396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111397 (eval $ac_try) 2>&5
111398 ac_status=$?
111399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111400 (exit $ac_status); }; } &&
111401 { ac_try='test -s conftest.$ac_objext'
111402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111403 (eval $ac_try) 2>&5
111404 ac_status=$?
111405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111406 (exit $ac_status); }; }; then
111407 glibcxx_cv_func_finitel_use=yes
111409 echo "$as_me: failed program was:" >&5
111410 sed 's/^/| /' conftest.$ac_ext >&5
111412 glibcxx_cv_func_finitel_use=no
111414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111415 ac_ext=c
111416 ac_cpp='$CPP $CPPFLAGS'
111417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111425 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
111426 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
111428 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
111430 for ac_func in finitel
111432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111433 echo "$as_me:$LINENO: checking for $ac_func" >&5
111434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111435 if eval "test \"\${$as_ac_var+set}\" = set"; then
111436 echo $ECHO_N "(cached) $ECHO_C" >&6
111438 if test x$gcc_no_link = xyes; then
111439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111441 { (exit 1); exit 1; }; }
111443 cat >conftest.$ac_ext <<_ACEOF
111444 /* confdefs.h. */
111445 _ACEOF
111446 cat confdefs.h >>conftest.$ac_ext
111447 cat >>conftest.$ac_ext <<_ACEOF
111448 /* end confdefs.h. */
111449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111451 #define $ac_func innocuous_$ac_func
111453 /* System header to define __stub macros and hopefully few prototypes,
111454 which can conflict with char $ac_func (); below.
111455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111456 <limits.h> exists even on freestanding compilers. */
111458 #ifdef __STDC__
111459 # include <limits.h>
111460 #else
111461 # include <assert.h>
111462 #endif
111464 #undef $ac_func
111466 /* Override any gcc2 internal prototype to avoid an error. */
111467 #ifdef __cplusplus
111468 extern "C"
111470 #endif
111471 /* We use char because int might match the return type of a gcc2
111472 builtin and then its argument prototype would still apply. */
111473 char $ac_func ();
111474 /* The GNU C library defines this for functions which it implements
111475 to always fail with ENOSYS. Some functions are actually named
111476 something starting with __ and the normal name is an alias. */
111477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111478 choke me
111479 #else
111480 char (*f) () = $ac_func;
111481 #endif
111482 #ifdef __cplusplus
111484 #endif
111487 main ()
111489 return f != $ac_func;
111491 return 0;
111493 _ACEOF
111494 rm -f conftest.$ac_objext conftest$ac_exeext
111495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111496 (eval $ac_link) 2>conftest.er1
111497 ac_status=$?
111498 grep -v '^ *+' conftest.er1 >conftest.err
111499 rm -f conftest.er1
111500 cat conftest.err >&5
111501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111502 (exit $ac_status); } &&
111503 { ac_try='test -z "$ac_c_werror_flag"
111504 || test ! -s conftest.err'
111505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111506 (eval $ac_try) 2>&5
111507 ac_status=$?
111508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111509 (exit $ac_status); }; } &&
111510 { ac_try='test -s conftest$ac_exeext'
111511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111512 (eval $ac_try) 2>&5
111513 ac_status=$?
111514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111515 (exit $ac_status); }; }; then
111516 eval "$as_ac_var=yes"
111518 echo "$as_me: failed program was:" >&5
111519 sed 's/^/| /' conftest.$ac_ext >&5
111521 eval "$as_ac_var=no"
111523 rm -f conftest.err conftest.$ac_objext \
111524 conftest$ac_exeext conftest.$ac_ext
111526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111528 if test `eval echo '${'$as_ac_var'}'` = yes; then
111529 cat >>confdefs.h <<_ACEOF
111530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111531 _ACEOF
111538 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
111539 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
111540 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
111541 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
111542 echo $ECHO_N "(cached) $ECHO_C" >&6
111547 ac_ext=cc
111548 ac_cpp='$CXXCPP $CPPFLAGS'
111549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111553 cat >conftest.$ac_ext <<_ACEOF
111554 /* confdefs.h. */
111555 _ACEOF
111556 cat confdefs.h >>conftest.$ac_ext
111557 cat >>conftest.$ac_ext <<_ACEOF
111558 /* end confdefs.h. */
111559 #include <math.h>
111560 #ifdef HAVE_IEEEFP_H
111561 #include <ieeefp.h>
111562 #endif
111565 main ()
111567 _finitel(0);
111569 return 0;
111571 _ACEOF
111572 rm -f conftest.$ac_objext
111573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111574 (eval $ac_compile) 2>conftest.er1
111575 ac_status=$?
111576 grep -v '^ *+' conftest.er1 >conftest.err
111577 rm -f conftest.er1
111578 cat conftest.err >&5
111579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111580 (exit $ac_status); } &&
111581 { ac_try='test -z "$ac_cxx_werror_flag"
111582 || test ! -s conftest.err'
111583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111584 (eval $ac_try) 2>&5
111585 ac_status=$?
111586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111587 (exit $ac_status); }; } &&
111588 { ac_try='test -s conftest.$ac_objext'
111589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111590 (eval $ac_try) 2>&5
111591 ac_status=$?
111592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111593 (exit $ac_status); }; }; then
111594 glibcxx_cv_func__finitel_use=yes
111596 echo "$as_me: failed program was:" >&5
111597 sed 's/^/| /' conftest.$ac_ext >&5
111599 glibcxx_cv_func__finitel_use=no
111601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111602 ac_ext=c
111603 ac_cpp='$CPP $CPPFLAGS'
111604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
111613 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
111615 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
111617 for ac_func in _finitel
111619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111620 echo "$as_me:$LINENO: checking for $ac_func" >&5
111621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111622 if eval "test \"\${$as_ac_var+set}\" = set"; then
111623 echo $ECHO_N "(cached) $ECHO_C" >&6
111625 if test x$gcc_no_link = xyes; then
111626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111628 { (exit 1); exit 1; }; }
111630 cat >conftest.$ac_ext <<_ACEOF
111631 /* confdefs.h. */
111632 _ACEOF
111633 cat confdefs.h >>conftest.$ac_ext
111634 cat >>conftest.$ac_ext <<_ACEOF
111635 /* end confdefs.h. */
111636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111638 #define $ac_func innocuous_$ac_func
111640 /* System header to define __stub macros and hopefully few prototypes,
111641 which can conflict with char $ac_func (); below.
111642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111643 <limits.h> exists even on freestanding compilers. */
111645 #ifdef __STDC__
111646 # include <limits.h>
111647 #else
111648 # include <assert.h>
111649 #endif
111651 #undef $ac_func
111653 /* Override any gcc2 internal prototype to avoid an error. */
111654 #ifdef __cplusplus
111655 extern "C"
111657 #endif
111658 /* We use char because int might match the return type of a gcc2
111659 builtin and then its argument prototype would still apply. */
111660 char $ac_func ();
111661 /* The GNU C library defines this for functions which it implements
111662 to always fail with ENOSYS. Some functions are actually named
111663 something starting with __ and the normal name is an alias. */
111664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111665 choke me
111666 #else
111667 char (*f) () = $ac_func;
111668 #endif
111669 #ifdef __cplusplus
111671 #endif
111674 main ()
111676 return f != $ac_func;
111678 return 0;
111680 _ACEOF
111681 rm -f conftest.$ac_objext conftest$ac_exeext
111682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111683 (eval $ac_link) 2>conftest.er1
111684 ac_status=$?
111685 grep -v '^ *+' conftest.er1 >conftest.err
111686 rm -f conftest.er1
111687 cat conftest.err >&5
111688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111689 (exit $ac_status); } &&
111690 { ac_try='test -z "$ac_c_werror_flag"
111691 || test ! -s conftest.err'
111692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111693 (eval $ac_try) 2>&5
111694 ac_status=$?
111695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111696 (exit $ac_status); }; } &&
111697 { ac_try='test -s conftest$ac_exeext'
111698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111699 (eval $ac_try) 2>&5
111700 ac_status=$?
111701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111702 (exit $ac_status); }; }; then
111703 eval "$as_ac_var=yes"
111705 echo "$as_me: failed program was:" >&5
111706 sed 's/^/| /' conftest.$ac_ext >&5
111708 eval "$as_ac_var=no"
111710 rm -f conftest.err conftest.$ac_objext \
111711 conftest$ac_exeext conftest.$ac_ext
111713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111715 if test `eval echo '${'$as_ac_var'}'` = yes; then
111716 cat >>confdefs.h <<_ACEOF
111717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111718 _ACEOF
111730 LIBS="$ac_save_LIBS"
111731 CXXFLAGS="$ac_save_CXXFLAGS"
111734 ac_test_CXXFLAGS="${CXXFLAGS+set}"
111735 ac_save_CXXFLAGS="$CXXFLAGS"
111736 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
111739 echo "$as_me:$LINENO: checking for strtold declaration" >&5
111740 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
111741 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
111742 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
111743 echo $ECHO_N "(cached) $ECHO_C" >&6
111748 ac_ext=cc
111749 ac_cpp='$CXXCPP $CPPFLAGS'
111750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111754 cat >conftest.$ac_ext <<_ACEOF
111755 /* confdefs.h. */
111756 _ACEOF
111757 cat confdefs.h >>conftest.$ac_ext
111758 cat >>conftest.$ac_ext <<_ACEOF
111759 /* end confdefs.h. */
111760 #include <stdlib.h>
111762 main ()
111764 strtold(0, 0);
111766 return 0;
111768 _ACEOF
111769 rm -f conftest.$ac_objext
111770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111771 (eval $ac_compile) 2>conftest.er1
111772 ac_status=$?
111773 grep -v '^ *+' conftest.er1 >conftest.err
111774 rm -f conftest.er1
111775 cat conftest.err >&5
111776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111777 (exit $ac_status); } &&
111778 { ac_try='test -z "$ac_cxx_werror_flag"
111779 || test ! -s conftest.err'
111780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111781 (eval $ac_try) 2>&5
111782 ac_status=$?
111783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111784 (exit $ac_status); }; } &&
111785 { ac_try='test -s conftest.$ac_objext'
111786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111787 (eval $ac_try) 2>&5
111788 ac_status=$?
111789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111790 (exit $ac_status); }; }; then
111791 glibcxx_cv_func_strtold_use=yes
111793 echo "$as_me: failed program was:" >&5
111794 sed 's/^/| /' conftest.$ac_ext >&5
111796 glibcxx_cv_func_strtold_use=no
111798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111799 ac_ext=c
111800 ac_cpp='$CPP $CPPFLAGS'
111801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
111810 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
111811 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
111813 for ac_func in strtold
111815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111816 echo "$as_me:$LINENO: checking for $ac_func" >&5
111817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111818 if eval "test \"\${$as_ac_var+set}\" = set"; then
111819 echo $ECHO_N "(cached) $ECHO_C" >&6
111821 if test x$gcc_no_link = xyes; then
111822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111824 { (exit 1); exit 1; }; }
111826 cat >conftest.$ac_ext <<_ACEOF
111827 /* confdefs.h. */
111828 _ACEOF
111829 cat confdefs.h >>conftest.$ac_ext
111830 cat >>conftest.$ac_ext <<_ACEOF
111831 /* end confdefs.h. */
111832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111834 #define $ac_func innocuous_$ac_func
111836 /* System header to define __stub macros and hopefully few prototypes,
111837 which can conflict with char $ac_func (); below.
111838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111839 <limits.h> exists even on freestanding compilers. */
111841 #ifdef __STDC__
111842 # include <limits.h>
111843 #else
111844 # include <assert.h>
111845 #endif
111847 #undef $ac_func
111849 /* Override any gcc2 internal prototype to avoid an error. */
111850 #ifdef __cplusplus
111851 extern "C"
111853 #endif
111854 /* We use char because int might match the return type of a gcc2
111855 builtin and then its argument prototype would still apply. */
111856 char $ac_func ();
111857 /* The GNU C library defines this for functions which it implements
111858 to always fail with ENOSYS. Some functions are actually named
111859 something starting with __ and the normal name is an alias. */
111860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111861 choke me
111862 #else
111863 char (*f) () = $ac_func;
111864 #endif
111865 #ifdef __cplusplus
111867 #endif
111870 main ()
111872 return f != $ac_func;
111874 return 0;
111876 _ACEOF
111877 rm -f conftest.$ac_objext conftest$ac_exeext
111878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111879 (eval $ac_link) 2>conftest.er1
111880 ac_status=$?
111881 grep -v '^ *+' conftest.er1 >conftest.err
111882 rm -f conftest.er1
111883 cat conftest.err >&5
111884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111885 (exit $ac_status); } &&
111886 { ac_try='test -z "$ac_c_werror_flag"
111887 || test ! -s conftest.err'
111888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111889 (eval $ac_try) 2>&5
111890 ac_status=$?
111891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111892 (exit $ac_status); }; } &&
111893 { ac_try='test -s conftest$ac_exeext'
111894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111895 (eval $ac_try) 2>&5
111896 ac_status=$?
111897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111898 (exit $ac_status); }; }; then
111899 eval "$as_ac_var=yes"
111901 echo "$as_me: failed program was:" >&5
111902 sed 's/^/| /' conftest.$ac_ext >&5
111904 eval "$as_ac_var=no"
111906 rm -f conftest.err conftest.$ac_objext \
111907 conftest$ac_exeext conftest.$ac_ext
111909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111911 if test `eval echo '${'$as_ac_var'}'` = yes; then
111912 cat >>confdefs.h <<_ACEOF
111913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111914 _ACEOF
111925 echo "$as_me:$LINENO: checking for strtof declaration" >&5
111926 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
111927 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
111928 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
111929 echo $ECHO_N "(cached) $ECHO_C" >&6
111934 ac_ext=cc
111935 ac_cpp='$CXXCPP $CPPFLAGS'
111936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111940 cat >conftest.$ac_ext <<_ACEOF
111941 /* confdefs.h. */
111942 _ACEOF
111943 cat confdefs.h >>conftest.$ac_ext
111944 cat >>conftest.$ac_ext <<_ACEOF
111945 /* end confdefs.h. */
111946 #include <stdlib.h>
111948 main ()
111950 strtof(0, 0);
111952 return 0;
111954 _ACEOF
111955 rm -f conftest.$ac_objext
111956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111957 (eval $ac_compile) 2>conftest.er1
111958 ac_status=$?
111959 grep -v '^ *+' conftest.er1 >conftest.err
111960 rm -f conftest.er1
111961 cat conftest.err >&5
111962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111963 (exit $ac_status); } &&
111964 { ac_try='test -z "$ac_cxx_werror_flag"
111965 || test ! -s conftest.err'
111966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111967 (eval $ac_try) 2>&5
111968 ac_status=$?
111969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111970 (exit $ac_status); }; } &&
111971 { ac_try='test -s conftest.$ac_objext'
111972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111973 (eval $ac_try) 2>&5
111974 ac_status=$?
111975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111976 (exit $ac_status); }; }; then
111977 glibcxx_cv_func_strtof_use=yes
111979 echo "$as_me: failed program was:" >&5
111980 sed 's/^/| /' conftest.$ac_ext >&5
111982 glibcxx_cv_func_strtof_use=no
111984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111985 ac_ext=c
111986 ac_cpp='$CPP $CPPFLAGS'
111987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
111996 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
111997 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
111999 for ac_func in strtof
112001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112002 echo "$as_me:$LINENO: checking for $ac_func" >&5
112003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112004 if eval "test \"\${$as_ac_var+set}\" = set"; then
112005 echo $ECHO_N "(cached) $ECHO_C" >&6
112007 if test x$gcc_no_link = xyes; then
112008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112010 { (exit 1); exit 1; }; }
112012 cat >conftest.$ac_ext <<_ACEOF
112013 /* confdefs.h. */
112014 _ACEOF
112015 cat confdefs.h >>conftest.$ac_ext
112016 cat >>conftest.$ac_ext <<_ACEOF
112017 /* end confdefs.h. */
112018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112020 #define $ac_func innocuous_$ac_func
112022 /* System header to define __stub macros and hopefully few prototypes,
112023 which can conflict with char $ac_func (); below.
112024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112025 <limits.h> exists even on freestanding compilers. */
112027 #ifdef __STDC__
112028 # include <limits.h>
112029 #else
112030 # include <assert.h>
112031 #endif
112033 #undef $ac_func
112035 /* Override any gcc2 internal prototype to avoid an error. */
112036 #ifdef __cplusplus
112037 extern "C"
112039 #endif
112040 /* We use char because int might match the return type of a gcc2
112041 builtin and then its argument prototype would still apply. */
112042 char $ac_func ();
112043 /* The GNU C library defines this for functions which it implements
112044 to always fail with ENOSYS. Some functions are actually named
112045 something starting with __ and the normal name is an alias. */
112046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112047 choke me
112048 #else
112049 char (*f) () = $ac_func;
112050 #endif
112051 #ifdef __cplusplus
112053 #endif
112056 main ()
112058 return f != $ac_func;
112060 return 0;
112062 _ACEOF
112063 rm -f conftest.$ac_objext conftest$ac_exeext
112064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112065 (eval $ac_link) 2>conftest.er1
112066 ac_status=$?
112067 grep -v '^ *+' conftest.er1 >conftest.err
112068 rm -f conftest.er1
112069 cat conftest.err >&5
112070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112071 (exit $ac_status); } &&
112072 { ac_try='test -z "$ac_c_werror_flag"
112073 || test ! -s conftest.err'
112074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112075 (eval $ac_try) 2>&5
112076 ac_status=$?
112077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112078 (exit $ac_status); }; } &&
112079 { ac_try='test -s conftest$ac_exeext'
112080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112081 (eval $ac_try) 2>&5
112082 ac_status=$?
112083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112084 (exit $ac_status); }; }; then
112085 eval "$as_ac_var=yes"
112087 echo "$as_me: failed program was:" >&5
112088 sed 's/^/| /' conftest.$ac_ext >&5
112090 eval "$as_ac_var=no"
112092 rm -f conftest.err conftest.$ac_objext \
112093 conftest$ac_exeext conftest.$ac_ext
112095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112097 if test `eval echo '${'$as_ac_var'}'` = yes; then
112098 cat >>confdefs.h <<_ACEOF
112099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112100 _ACEOF
112111 CXXFLAGS="$ac_save_CXXFLAGS"
112113 cat >>confdefs.h <<\_ACEOF
112114 #define _GLIBCXX_USE_RANDOM_TR1 1
112115 _ACEOF
112119 # Check whether --enable-tls or --disable-tls was given.
112120 if test "${enable_tls+set}" = set; then
112121 enableval="$enable_tls"
112123 case "$enableval" in
112124 yes|no) ;;
112125 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
112126 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
112127 { (exit 1); exit 1; }; } ;;
112131 enable_tls=yes
112134 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
112135 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
112136 if test "${gcc_cv_have_tls+set}" = set; then
112137 echo $ECHO_N "(cached) $ECHO_C" >&6
112140 if test "$cross_compiling" = yes; then
112141 if test x$gcc_no_link = xyes; then
112142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112144 { (exit 1); exit 1; }; }
112146 cat >conftest.$ac_ext <<_ACEOF
112147 __thread int a; int b; int main() { return a = b; }
112148 _ACEOF
112149 rm -f conftest.$ac_objext conftest$ac_exeext
112150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112151 (eval $ac_link) 2>conftest.er1
112152 ac_status=$?
112153 grep -v '^ *+' conftest.er1 >conftest.err
112154 rm -f conftest.er1
112155 cat conftest.err >&5
112156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112157 (exit $ac_status); } &&
112158 { ac_try='test -z "$ac_c_werror_flag"
112159 || test ! -s conftest.err'
112160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112161 (eval $ac_try) 2>&5
112162 ac_status=$?
112163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112164 (exit $ac_status); }; } &&
112165 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
112171 chktls_save_LDFLAGS="$LDFLAGS"
112172 case $host in
112173 *-*-linux*)
112174 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
112177 chktls_save_CFLAGS="$CFLAGS"
112178 CFLAGS="-fPIC $CFLAGS"
112179 if test x$gcc_no_link = xyes; then
112180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112182 { (exit 1); exit 1; }; }
112184 cat >conftest.$ac_ext <<_ACEOF
112185 int f() { return 0; }
112186 _ACEOF
112187 rm -f conftest.$ac_objext conftest$ac_exeext
112188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112189 (eval $ac_link) 2>conftest.er1
112190 ac_status=$?
112191 grep -v '^ *+' conftest.er1 >conftest.err
112192 rm -f conftest.er1
112193 cat conftest.err >&5
112194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112195 (exit $ac_status); } &&
112196 { ac_try='test -z "$ac_c_werror_flag"
112197 || test ! -s conftest.err'
112198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112199 (eval $ac_try) 2>&5
112200 ac_status=$?
112201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112202 (exit $ac_status); }; } &&
112203 { ac_try='test -s conftest$ac_exeext'
112204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112205 (eval $ac_try) 2>&5
112206 ac_status=$?
112207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112208 (exit $ac_status); }; }; then
112209 if test x$gcc_no_link = xyes; then
112210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112212 { (exit 1); exit 1; }; }
112214 cat >conftest.$ac_ext <<_ACEOF
112215 __thread int a; int b; int f() { return a = b; }
112216 _ACEOF
112217 rm -f conftest.$ac_objext conftest$ac_exeext
112218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112219 (eval $ac_link) 2>conftest.er1
112220 ac_status=$?
112221 grep -v '^ *+' conftest.er1 >conftest.err
112222 rm -f conftest.er1
112223 cat conftest.err >&5
112224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112225 (exit $ac_status); } &&
112226 { ac_try='test -z "$ac_c_werror_flag"
112227 || test ! -s conftest.err'
112228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112229 (eval $ac_try) 2>&5
112230 ac_status=$?
112231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112232 (exit $ac_status); }; } &&
112233 { ac_try='test -s conftest$ac_exeext'
112234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112235 (eval $ac_try) 2>&5
112236 ac_status=$?
112237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112238 (exit $ac_status); }; }; then
112239 gcc_cv_have_tls=yes
112241 echo "$as_me: failed program was:" >&5
112242 sed 's/^/| /' conftest.$ac_ext >&5
112244 gcc_cv_have_tls=no
112246 rm -f conftest.err conftest.$ac_objext \
112247 conftest$ac_exeext conftest.$ac_ext
112249 echo "$as_me: failed program was:" >&5
112250 sed 's/^/| /' conftest.$ac_ext >&5
112252 gcc_cv_have_tls=yes
112254 rm -f conftest.err conftest.$ac_objext \
112255 conftest$ac_exeext conftest.$ac_ext
112256 CFLAGS="$chktls_save_CFLAGS"
112257 LDFLAGS="$chktls_save_LDFLAGS"
112259 echo "$as_me: failed program was:" >&5
112260 sed 's/^/| /' conftest.$ac_ext >&5
112262 gcc_cv_have_tls=no
112264 rm -f conftest.err conftest.$ac_objext \
112265 conftest$ac_exeext conftest.$ac_ext
112269 cat >conftest.$ac_ext <<_ACEOF
112270 __thread int a; int b; int main() { return a = b; }
112271 _ACEOF
112272 rm -f conftest$ac_exeext
112273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112274 (eval $ac_link) 2>&5
112275 ac_status=$?
112276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
112278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112279 (eval $ac_try) 2>&5
112280 ac_status=$?
112281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112282 (exit $ac_status); }; }; then
112283 chktls_save_LDFLAGS="$LDFLAGS"
112284 LDFLAGS="-static $LDFLAGS"
112285 if test x$gcc_no_link = xyes; then
112286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112288 { (exit 1); exit 1; }; }
112290 cat >conftest.$ac_ext <<_ACEOF
112291 int main() { return 0; }
112292 _ACEOF
112293 rm -f conftest.$ac_objext conftest$ac_exeext
112294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112295 (eval $ac_link) 2>conftest.er1
112296 ac_status=$?
112297 grep -v '^ *+' conftest.er1 >conftest.err
112298 rm -f conftest.er1
112299 cat conftest.err >&5
112300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112301 (exit $ac_status); } &&
112302 { ac_try='test -z "$ac_c_werror_flag"
112303 || test ! -s conftest.err'
112304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112305 (eval $ac_try) 2>&5
112306 ac_status=$?
112307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112308 (exit $ac_status); }; } &&
112309 { ac_try='test -s conftest$ac_exeext'
112310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112311 (eval $ac_try) 2>&5
112312 ac_status=$?
112313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112314 (exit $ac_status); }; }; then
112315 if test "$cross_compiling" = yes; then
112316 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
112317 echo "$as_me: error: in \`$ac_pwd':" >&2;}
112318 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
112319 See \`config.log' for more details." >&5
112320 echo "$as_me: error: cannot run test program while cross compiling
112321 See \`config.log' for more details." >&2;}
112322 { (exit 1); exit 1; }; }; }
112324 cat >conftest.$ac_ext <<_ACEOF
112325 __thread int a; int b; int main() { return a = b; }
112326 _ACEOF
112327 rm -f conftest$ac_exeext
112328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112329 (eval $ac_link) 2>&5
112330 ac_status=$?
112331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
112333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112334 (eval $ac_try) 2>&5
112335 ac_status=$?
112336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112337 (exit $ac_status); }; }; then
112338 gcc_cv_have_tls=yes
112340 echo "$as_me: program exited with status $ac_status" >&5
112341 echo "$as_me: failed program was:" >&5
112342 sed 's/^/| /' conftest.$ac_ext >&5
112344 ( exit $ac_status )
112345 gcc_cv_have_tls=no
112347 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
112350 echo "$as_me: failed program was:" >&5
112351 sed 's/^/| /' conftest.$ac_ext >&5
112353 gcc_cv_have_tls=yes
112355 rm -f conftest.err conftest.$ac_objext \
112356 conftest$ac_exeext conftest.$ac_ext
112357 LDFLAGS="$chktls_save_LDFLAGS"
112358 if test $gcc_cv_have_tls = yes; then
112359 chktls_save_CFLAGS="$CFLAGS"
112360 thread_CFLAGS=failed
112361 for flag in '' '-pthread' '-lpthread'; do
112362 CFLAGS="$flag $chktls_save_CFLAGS"
112363 if test x$gcc_no_link = xyes; then
112364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112366 { (exit 1); exit 1; }; }
112368 cat >conftest.$ac_ext <<_ACEOF
112369 /* confdefs.h. */
112370 _ACEOF
112371 cat confdefs.h >>conftest.$ac_ext
112372 cat >>conftest.$ac_ext <<_ACEOF
112373 /* end confdefs.h. */
112374 #include <pthread.h>
112375 void *g(void *d) { return NULL; }
112377 main ()
112379 pthread_t t; pthread_create(&t,NULL,g,NULL);
112381 return 0;
112383 _ACEOF
112384 rm -f conftest.$ac_objext conftest$ac_exeext
112385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112386 (eval $ac_link) 2>conftest.er1
112387 ac_status=$?
112388 grep -v '^ *+' conftest.er1 >conftest.err
112389 rm -f conftest.er1
112390 cat conftest.err >&5
112391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112392 (exit $ac_status); } &&
112393 { ac_try='test -z "$ac_c_werror_flag"
112394 || test ! -s conftest.err'
112395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112396 (eval $ac_try) 2>&5
112397 ac_status=$?
112398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112399 (exit $ac_status); }; } &&
112400 { ac_try='test -s conftest$ac_exeext'
112401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112402 (eval $ac_try) 2>&5
112403 ac_status=$?
112404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112405 (exit $ac_status); }; }; then
112406 thread_CFLAGS="$flag"
112408 echo "$as_me: failed program was:" >&5
112409 sed 's/^/| /' conftest.$ac_ext >&5
112412 rm -f conftest.err conftest.$ac_objext \
112413 conftest$ac_exeext conftest.$ac_ext
112414 if test "X$thread_CFLAGS" != Xfailed; then
112415 break
112418 CFLAGS="$chktls_save_CFLAGS"
112419 if test "X$thread_CFLAGS" != Xfailed; then
112420 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
112421 if test "$cross_compiling" = yes; then
112422 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
112423 echo "$as_me: error: in \`$ac_pwd':" >&2;}
112424 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
112425 See \`config.log' for more details." >&5
112426 echo "$as_me: error: cannot run test program while cross compiling
112427 See \`config.log' for more details." >&2;}
112428 { (exit 1); exit 1; }; }; }
112430 cat >conftest.$ac_ext <<_ACEOF
112431 /* confdefs.h. */
112432 _ACEOF
112433 cat confdefs.h >>conftest.$ac_ext
112434 cat >>conftest.$ac_ext <<_ACEOF
112435 /* end confdefs.h. */
112436 #include <pthread.h>
112437 __thread int a;
112438 static int *a_in_other_thread;
112439 static void *
112440 thread_func (void *arg)
112442 a_in_other_thread = &a;
112443 return (void *)0;
112446 main ()
112448 pthread_t thread;
112449 void *thread_retval;
112450 int *a_in_main_thread;
112451 if (pthread_create (&thread, (pthread_attr_t *)0,
112452 thread_func, (void *)0))
112453 return 0;
112454 a_in_main_thread = &a;
112455 if (pthread_join (thread, &thread_retval))
112456 return 0;
112457 return (a_in_other_thread == a_in_main_thread);
112459 return 0;
112461 _ACEOF
112462 rm -f conftest$ac_exeext
112463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112464 (eval $ac_link) 2>&5
112465 ac_status=$?
112466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
112468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112469 (eval $ac_try) 2>&5
112470 ac_status=$?
112471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112472 (exit $ac_status); }; }; then
112473 gcc_cv_have_tls=yes
112475 echo "$as_me: program exited with status $ac_status" >&5
112476 echo "$as_me: failed program was:" >&5
112477 sed 's/^/| /' conftest.$ac_ext >&5
112479 ( exit $ac_status )
112480 gcc_cv_have_tls=no
112482 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
112484 CFLAGS="$chktls_save_CFLAGS"
112488 echo "$as_me: program exited with status $ac_status" >&5
112489 echo "$as_me: failed program was:" >&5
112490 sed 's/^/| /' conftest.$ac_ext >&5
112492 ( exit $ac_status )
112493 gcc_cv_have_tls=no
112495 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
112498 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
112499 echo "${ECHO_T}$gcc_cv_have_tls" >&6
112500 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
112502 cat >>confdefs.h <<\_ACEOF
112503 #define HAVE_TLS 1
112504 _ACEOF
112512 am_save_CPPFLAGS="$CPPFLAGS"
112514 for element in $INCICONV; do
112515 haveit=
112516 for x in $CPPFLAGS; do
112518 acl_save_prefix="$prefix"
112519 prefix="$acl_final_prefix"
112520 acl_save_exec_prefix="$exec_prefix"
112521 exec_prefix="$acl_final_exec_prefix"
112522 eval x=\"$x\"
112523 exec_prefix="$acl_save_exec_prefix"
112524 prefix="$acl_save_prefix"
112526 if test "X$x" = "X$element"; then
112527 haveit=yes
112528 break
112531 if test -z "$haveit"; then
112532 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
112537 echo "$as_me:$LINENO: checking for iconv" >&5
112538 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
112539 if test "${am_cv_func_iconv+set}" = set; then
112540 echo $ECHO_N "(cached) $ECHO_C" >&6
112543 am_cv_func_iconv="no, consider installing GNU libiconv"
112544 am_cv_lib_iconv=no
112545 if test x$gcc_no_link = xyes; then
112546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112548 { (exit 1); exit 1; }; }
112550 cat >conftest.$ac_ext <<_ACEOF
112551 /* confdefs.h. */
112552 _ACEOF
112553 cat confdefs.h >>conftest.$ac_ext
112554 cat >>conftest.$ac_ext <<_ACEOF
112555 /* end confdefs.h. */
112556 #include <stdlib.h>
112557 #include <iconv.h>
112559 main ()
112561 iconv_t cd = iconv_open("","");
112562 iconv(cd,NULL,NULL,NULL,NULL);
112563 iconv_close(cd);
112565 return 0;
112567 _ACEOF
112568 rm -f conftest.$ac_objext conftest$ac_exeext
112569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112570 (eval $ac_link) 2>conftest.er1
112571 ac_status=$?
112572 grep -v '^ *+' conftest.er1 >conftest.err
112573 rm -f conftest.er1
112574 cat conftest.err >&5
112575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112576 (exit $ac_status); } &&
112577 { ac_try='test -z "$ac_c_werror_flag"
112578 || test ! -s conftest.err'
112579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112580 (eval $ac_try) 2>&5
112581 ac_status=$?
112582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112583 (exit $ac_status); }; } &&
112584 { ac_try='test -s conftest$ac_exeext'
112585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112586 (eval $ac_try) 2>&5
112587 ac_status=$?
112588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112589 (exit $ac_status); }; }; then
112590 am_cv_func_iconv=yes
112592 echo "$as_me: failed program was:" >&5
112593 sed 's/^/| /' conftest.$ac_ext >&5
112596 rm -f conftest.err conftest.$ac_objext \
112597 conftest$ac_exeext conftest.$ac_ext
112598 if test "$am_cv_func_iconv" != yes; then
112599 am_save_LIBS="$LIBS"
112600 LIBS="$LIBS $LIBICONV"
112601 if test x$gcc_no_link = xyes; then
112602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112604 { (exit 1); exit 1; }; }
112606 cat >conftest.$ac_ext <<_ACEOF
112607 /* confdefs.h. */
112608 _ACEOF
112609 cat confdefs.h >>conftest.$ac_ext
112610 cat >>conftest.$ac_ext <<_ACEOF
112611 /* end confdefs.h. */
112612 #include <stdlib.h>
112613 #include <iconv.h>
112615 main ()
112617 iconv_t cd = iconv_open("","");
112618 iconv(cd,NULL,NULL,NULL,NULL);
112619 iconv_close(cd);
112621 return 0;
112623 _ACEOF
112624 rm -f conftest.$ac_objext conftest$ac_exeext
112625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112626 (eval $ac_link) 2>conftest.er1
112627 ac_status=$?
112628 grep -v '^ *+' conftest.er1 >conftest.err
112629 rm -f conftest.er1
112630 cat conftest.err >&5
112631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112632 (exit $ac_status); } &&
112633 { ac_try='test -z "$ac_c_werror_flag"
112634 || test ! -s conftest.err'
112635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112636 (eval $ac_try) 2>&5
112637 ac_status=$?
112638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112639 (exit $ac_status); }; } &&
112640 { ac_try='test -s conftest$ac_exeext'
112641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112642 (eval $ac_try) 2>&5
112643 ac_status=$?
112644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112645 (exit $ac_status); }; }; then
112646 am_cv_lib_iconv=yes
112647 am_cv_func_iconv=yes
112649 echo "$as_me: failed program was:" >&5
112650 sed 's/^/| /' conftest.$ac_ext >&5
112653 rm -f conftest.err conftest.$ac_objext \
112654 conftest$ac_exeext conftest.$ac_ext
112655 LIBS="$am_save_LIBS"
112659 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
112660 echo "${ECHO_T}$am_cv_func_iconv" >&6
112661 if test "$am_cv_func_iconv" = yes; then
112663 cat >>confdefs.h <<\_ACEOF
112664 #define HAVE_ICONV 1
112665 _ACEOF
112668 if test "$am_cv_lib_iconv" = yes; then
112669 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
112670 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
112671 echo "$as_me:$LINENO: result: $LIBICONV" >&5
112672 echo "${ECHO_T}$LIBICONV" >&6
112674 CPPFLAGS="$am_save_CPPFLAGS"
112675 LIBICONV=
112676 LTLIBICONV=
112681 if test "$am_cv_func_iconv" = yes; then
112682 echo "$as_me:$LINENO: checking for iconv declaration" >&5
112683 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
112684 if test "${am_cv_proto_iconv+set}" = set; then
112685 echo $ECHO_N "(cached) $ECHO_C" >&6
112688 cat >conftest.$ac_ext <<_ACEOF
112689 /* confdefs.h. */
112690 _ACEOF
112691 cat confdefs.h >>conftest.$ac_ext
112692 cat >>conftest.$ac_ext <<_ACEOF
112693 /* end confdefs.h. */
112695 #include <stdlib.h>
112696 #include <iconv.h>
112697 extern
112698 #ifdef __cplusplus
112700 #endif
112701 #if defined(__STDC__) || defined(__cplusplus)
112702 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
112703 #else
112704 size_t iconv();
112705 #endif
112708 main ()
112712 return 0;
112714 _ACEOF
112715 rm -f conftest.$ac_objext
112716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112717 (eval $ac_compile) 2>conftest.er1
112718 ac_status=$?
112719 grep -v '^ *+' conftest.er1 >conftest.err
112720 rm -f conftest.er1
112721 cat conftest.err >&5
112722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112723 (exit $ac_status); } &&
112724 { ac_try='test -z "$ac_c_werror_flag"
112725 || test ! -s conftest.err'
112726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112727 (eval $ac_try) 2>&5
112728 ac_status=$?
112729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112730 (exit $ac_status); }; } &&
112731 { ac_try='test -s conftest.$ac_objext'
112732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112733 (eval $ac_try) 2>&5
112734 ac_status=$?
112735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112736 (exit $ac_status); }; }; then
112737 am_cv_proto_iconv_arg1=""
112739 echo "$as_me: failed program was:" >&5
112740 sed 's/^/| /' conftest.$ac_ext >&5
112742 am_cv_proto_iconv_arg1="const"
112744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112745 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);"
112748 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
112749 echo "$as_me:$LINENO: result: ${ac_t:-
112750 }$am_cv_proto_iconv" >&5
112751 echo "${ECHO_T}${ac_t:-
112752 }$am_cv_proto_iconv" >&6
112754 cat >>confdefs.h <<_ACEOF
112755 #define ICONV_CONST $am_cv_proto_iconv_arg1
112756 _ACEOF
112761 *-mingw32*)
112763 # If we're not using GNU ld, then there's no point in even trying these
112764 # tests. Check for that first. We should have already tested for gld
112765 # by now (in libtool), but require it now just to be safe...
112766 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112767 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112771 # The name set by libtool depends on the version of libtool. Shame on us
112772 # for depending on an impl detail, but c'est la vie. Older versions used
112773 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112774 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112775 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112776 # set (hence we're using an older libtool), then set it.
112777 if test x${with_gnu_ld+set} != xset; then
112778 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112779 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112780 with_gnu_ld=no
112782 with_gnu_ld=$ac_cv_prog_gnu_ld
112786 # Start by getting the version number. I think the libtool test already
112787 # does some of this, but throws away the result.
112788 glibcxx_ld_is_gold=no
112789 if test x"$with_gnu_ld" = x"yes"; then
112790 echo "$as_me:$LINENO: checking for ld version" >&5
112791 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112793 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112794 glibcxx_ld_is_gold=yes
112796 ldver=`$LD --version 2>/dev/null | head -1 | \
112797 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112799 glibcxx_gnu_ld_version=`echo $ldver | \
112800 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112801 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112802 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112805 # Set --gc-sections.
112806 glibcxx_have_gc_sections=no
112807 if test "$glibcxx_ld_is_gold" = "yes"; then
112808 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112809 glibcxx_have_gc_sections=yes
112812 glibcxx_gcsections_min_ld=21602
112813 if test x"$with_gnu_ld" = x"yes" &&
112814 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112815 glibcxx_have_gc_sections=yes
112818 if test "$glibcxx_have_gc_sections" = "yes"; then
112819 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112820 # NB: This flag only works reliably after 2.16.1. Configure tests
112821 # for this are difficult, so hard wire a value that should work.
112823 ac_test_CFLAGS="${CFLAGS+set}"
112824 ac_save_CFLAGS="$CFLAGS"
112825 CFLAGS='-Wl,--gc-sections'
112827 # Check for -Wl,--gc-sections
112828 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112829 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112830 if test x$gcc_no_link = xyes; then
112831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112833 { (exit 1); exit 1; }; }
112835 cat >conftest.$ac_ext <<_ACEOF
112836 /* confdefs.h. */
112837 _ACEOF
112838 cat confdefs.h >>conftest.$ac_ext
112839 cat >>conftest.$ac_ext <<_ACEOF
112840 /* end confdefs.h. */
112841 int one(void) { return 1; }
112842 int two(void) { return 2; }
112845 main ()
112847 two();
112849 return 0;
112851 _ACEOF
112852 rm -f conftest.$ac_objext conftest$ac_exeext
112853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112854 (eval $ac_link) 2>conftest.er1
112855 ac_status=$?
112856 grep -v '^ *+' conftest.er1 >conftest.err
112857 rm -f conftest.er1
112858 cat conftest.err >&5
112859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112860 (exit $ac_status); } &&
112861 { ac_try='test -z "$ac_c_werror_flag"
112862 || test ! -s conftest.err'
112863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112864 (eval $ac_try) 2>&5
112865 ac_status=$?
112866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112867 (exit $ac_status); }; } &&
112868 { ac_try='test -s conftest$ac_exeext'
112869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112870 (eval $ac_try) 2>&5
112871 ac_status=$?
112872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112873 (exit $ac_status); }; }; then
112874 ac_gcsections=yes
112876 echo "$as_me: failed program was:" >&5
112877 sed 's/^/| /' conftest.$ac_ext >&5
112879 ac_gcsections=no
112881 rm -f conftest.err conftest.$ac_objext \
112882 conftest$ac_exeext conftest.$ac_ext
112883 if test "$ac_gcsections" = "yes"; then
112884 rm -f conftest.c
112885 touch conftest.c
112886 if $CC -c conftest.c; then
112887 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112888 grep "Warning: gc-sections option ignored" > /dev/null; then
112889 ac_gcsections=no
112892 rm -f conftest.c conftest.o conftest
112894 if test "$ac_gcsections" = "yes"; then
112895 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112897 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112898 echo "${ECHO_T}$ac_gcsections" >&6
112900 if test "$ac_test_CFLAGS" = set; then
112901 CFLAGS="$ac_save_CFLAGS"
112903 # this is the suspicious part
112904 CFLAGS=''
112908 # Set -z,relro.
112909 # Note this is only for shared objects.
112910 ac_ld_relro=no
112911 if test x"$with_gnu_ld" = x"yes"; then
112912 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112913 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112914 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112915 if test -n "$cxx_z_relo"; then
112916 OPT_LDFLAGS="-Wl,-z,relro"
112917 ac_ld_relro=yes
112919 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112920 echo "${ECHO_T}$ac_ld_relro" >&6
112923 # Set linker optimization flags.
112924 if test x"$with_gnu_ld" = x"yes"; then
112925 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112932 ac_test_CXXFLAGS="${CXXFLAGS+set}"
112933 ac_save_CXXFLAGS="$CXXFLAGS"
112934 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
112936 echo "$as_me:$LINENO: checking for sin in -lm" >&5
112937 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
112938 if test "${ac_cv_lib_m_sin+set}" = set; then
112939 echo $ECHO_N "(cached) $ECHO_C" >&6
112941 ac_check_lib_save_LIBS=$LIBS
112942 LIBS="-lm $LIBS"
112943 if test x$gcc_no_link = xyes; then
112944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112946 { (exit 1); exit 1; }; }
112948 cat >conftest.$ac_ext <<_ACEOF
112949 /* confdefs.h. */
112950 _ACEOF
112951 cat confdefs.h >>conftest.$ac_ext
112952 cat >>conftest.$ac_ext <<_ACEOF
112953 /* end confdefs.h. */
112955 /* Override any gcc2 internal prototype to avoid an error. */
112956 #ifdef __cplusplus
112957 extern "C"
112958 #endif
112959 /* We use char because int might match the return type of a gcc2
112960 builtin and then its argument prototype would still apply. */
112961 char sin ();
112963 main ()
112965 sin ();
112967 return 0;
112969 _ACEOF
112970 rm -f conftest.$ac_objext conftest$ac_exeext
112971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112972 (eval $ac_link) 2>conftest.er1
112973 ac_status=$?
112974 grep -v '^ *+' conftest.er1 >conftest.err
112975 rm -f conftest.er1
112976 cat conftest.err >&5
112977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112978 (exit $ac_status); } &&
112979 { ac_try='test -z "$ac_c_werror_flag"
112980 || test ! -s conftest.err'
112981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112982 (eval $ac_try) 2>&5
112983 ac_status=$?
112984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112985 (exit $ac_status); }; } &&
112986 { ac_try='test -s conftest$ac_exeext'
112987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112988 (eval $ac_try) 2>&5
112989 ac_status=$?
112990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112991 (exit $ac_status); }; }; then
112992 ac_cv_lib_m_sin=yes
112994 echo "$as_me: failed program was:" >&5
112995 sed 's/^/| /' conftest.$ac_ext >&5
112997 ac_cv_lib_m_sin=no
112999 rm -f conftest.err conftest.$ac_objext \
113000 conftest$ac_exeext conftest.$ac_ext
113001 LIBS=$ac_check_lib_save_LIBS
113003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
113004 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
113005 if test $ac_cv_lib_m_sin = yes; then
113006 libm="-lm"
113009 ac_save_LIBS="$LIBS"
113010 LIBS="$LIBS $libm"
113014 echo "$as_me:$LINENO: checking for isinf declaration" >&5
113015 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
113016 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
113017 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
113018 echo $ECHO_N "(cached) $ECHO_C" >&6
113023 ac_ext=cc
113024 ac_cpp='$CXXCPP $CPPFLAGS'
113025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113029 cat >conftest.$ac_ext <<_ACEOF
113030 /* confdefs.h. */
113031 _ACEOF
113032 cat confdefs.h >>conftest.$ac_ext
113033 cat >>conftest.$ac_ext <<_ACEOF
113034 /* end confdefs.h. */
113035 #include <math.h>
113036 #ifdef HAVE_IEEEFP_H
113037 #include <ieeefp.h>
113038 #endif
113041 main ()
113043 isinf(0);
113045 return 0;
113047 _ACEOF
113048 rm -f conftest.$ac_objext
113049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113050 (eval $ac_compile) 2>conftest.er1
113051 ac_status=$?
113052 grep -v '^ *+' conftest.er1 >conftest.err
113053 rm -f conftest.er1
113054 cat conftest.err >&5
113055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113056 (exit $ac_status); } &&
113057 { ac_try='test -z "$ac_cxx_werror_flag"
113058 || test ! -s conftest.err'
113059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113060 (eval $ac_try) 2>&5
113061 ac_status=$?
113062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113063 (exit $ac_status); }; } &&
113064 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
113070 glibcxx_cv_func_isinf_use=yes
113072 echo "$as_me: failed program was:" >&5
113073 sed 's/^/| /' conftest.$ac_ext >&5
113075 glibcxx_cv_func_isinf_use=no
113077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113078 ac_ext=c
113079 ac_cpp='$CPP $CPPFLAGS'
113080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
113089 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
113091 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
113093 for ac_func in isinf
113095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113096 echo "$as_me:$LINENO: checking for $ac_func" >&5
113097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113098 if eval "test \"\${$as_ac_var+set}\" = set"; then
113099 echo $ECHO_N "(cached) $ECHO_C" >&6
113101 if test x$gcc_no_link = xyes; then
113102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113104 { (exit 1); exit 1; }; }
113106 cat >conftest.$ac_ext <<_ACEOF
113107 /* confdefs.h. */
113108 _ACEOF
113109 cat confdefs.h >>conftest.$ac_ext
113110 cat >>conftest.$ac_ext <<_ACEOF
113111 /* end confdefs.h. */
113112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113114 #define $ac_func innocuous_$ac_func
113116 /* System header to define __stub macros and hopefully few prototypes,
113117 which can conflict with char $ac_func (); below.
113118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113119 <limits.h> exists even on freestanding compilers. */
113121 #ifdef __STDC__
113122 # include <limits.h>
113123 #else
113124 # include <assert.h>
113125 #endif
113127 #undef $ac_func
113129 /* Override any gcc2 internal prototype to avoid an error. */
113130 #ifdef __cplusplus
113131 extern "C"
113133 #endif
113134 /* We use char because int might match the return type of a gcc2
113135 builtin and then its argument prototype would still apply. */
113136 char $ac_func ();
113137 /* The GNU C library defines this for functions which it implements
113138 to always fail with ENOSYS. Some functions are actually named
113139 something starting with __ and the normal name is an alias. */
113140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113141 choke me
113142 #else
113143 char (*f) () = $ac_func;
113144 #endif
113145 #ifdef __cplusplus
113147 #endif
113150 main ()
113152 return f != $ac_func;
113154 return 0;
113156 _ACEOF
113157 rm -f conftest.$ac_objext conftest$ac_exeext
113158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113159 (eval $ac_link) 2>conftest.er1
113160 ac_status=$?
113161 grep -v '^ *+' conftest.er1 >conftest.err
113162 rm -f conftest.er1
113163 cat conftest.err >&5
113164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113165 (exit $ac_status); } &&
113166 { ac_try='test -z "$ac_c_werror_flag"
113167 || test ! -s conftest.err'
113168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113169 (eval $ac_try) 2>&5
113170 ac_status=$?
113171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113172 (exit $ac_status); }; } &&
113173 { ac_try='test -s conftest$ac_exeext'
113174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113175 (eval $ac_try) 2>&5
113176 ac_status=$?
113177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113178 (exit $ac_status); }; }; then
113179 eval "$as_ac_var=yes"
113181 echo "$as_me: failed program was:" >&5
113182 sed 's/^/| /' conftest.$ac_ext >&5
113184 eval "$as_ac_var=no"
113186 rm -f conftest.err conftest.$ac_objext \
113187 conftest$ac_exeext conftest.$ac_ext
113189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113191 if test `eval echo '${'$as_ac_var'}'` = yes; then
113192 cat >>confdefs.h <<_ACEOF
113193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113194 _ACEOF
113201 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
113202 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
113203 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
113204 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
113205 echo $ECHO_N "(cached) $ECHO_C" >&6
113210 ac_ext=cc
113211 ac_cpp='$CXXCPP $CPPFLAGS'
113212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113216 cat >conftest.$ac_ext <<_ACEOF
113217 /* confdefs.h. */
113218 _ACEOF
113219 cat confdefs.h >>conftest.$ac_ext
113220 cat >>conftest.$ac_ext <<_ACEOF
113221 /* end confdefs.h. */
113222 #include <math.h>
113223 #ifdef HAVE_IEEEFP_H
113224 #include <ieeefp.h>
113225 #endif
113228 main ()
113230 _isinf(0);
113232 return 0;
113234 _ACEOF
113235 rm -f conftest.$ac_objext
113236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113237 (eval $ac_compile) 2>conftest.er1
113238 ac_status=$?
113239 grep -v '^ *+' conftest.er1 >conftest.err
113240 rm -f conftest.er1
113241 cat conftest.err >&5
113242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113243 (exit $ac_status); } &&
113244 { ac_try='test -z "$ac_cxx_werror_flag"
113245 || test ! -s conftest.err'
113246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113247 (eval $ac_try) 2>&5
113248 ac_status=$?
113249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113250 (exit $ac_status); }; } &&
113251 { ac_try='test -s conftest.$ac_objext'
113252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113253 (eval $ac_try) 2>&5
113254 ac_status=$?
113255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113256 (exit $ac_status); }; }; then
113257 glibcxx_cv_func__isinf_use=yes
113259 echo "$as_me: failed program was:" >&5
113260 sed 's/^/| /' conftest.$ac_ext >&5
113262 glibcxx_cv_func__isinf_use=no
113264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113265 ac_ext=c
113266 ac_cpp='$CPP $CPPFLAGS'
113267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113275 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
113276 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
113278 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
113280 for ac_func in _isinf
113282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113283 echo "$as_me:$LINENO: checking for $ac_func" >&5
113284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113285 if eval "test \"\${$as_ac_var+set}\" = set"; then
113286 echo $ECHO_N "(cached) $ECHO_C" >&6
113288 if test x$gcc_no_link = xyes; then
113289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113291 { (exit 1); exit 1; }; }
113293 cat >conftest.$ac_ext <<_ACEOF
113294 /* confdefs.h. */
113295 _ACEOF
113296 cat confdefs.h >>conftest.$ac_ext
113297 cat >>conftest.$ac_ext <<_ACEOF
113298 /* end confdefs.h. */
113299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113301 #define $ac_func innocuous_$ac_func
113303 /* System header to define __stub macros and hopefully few prototypes,
113304 which can conflict with char $ac_func (); below.
113305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113306 <limits.h> exists even on freestanding compilers. */
113308 #ifdef __STDC__
113309 # include <limits.h>
113310 #else
113311 # include <assert.h>
113312 #endif
113314 #undef $ac_func
113316 /* Override any gcc2 internal prototype to avoid an error. */
113317 #ifdef __cplusplus
113318 extern "C"
113320 #endif
113321 /* We use char because int might match the return type of a gcc2
113322 builtin and then its argument prototype would still apply. */
113323 char $ac_func ();
113324 /* The GNU C library defines this for functions which it implements
113325 to always fail with ENOSYS. Some functions are actually named
113326 something starting with __ and the normal name is an alias. */
113327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113328 choke me
113329 #else
113330 char (*f) () = $ac_func;
113331 #endif
113332 #ifdef __cplusplus
113334 #endif
113337 main ()
113339 return f != $ac_func;
113341 return 0;
113343 _ACEOF
113344 rm -f conftest.$ac_objext conftest$ac_exeext
113345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113346 (eval $ac_link) 2>conftest.er1
113347 ac_status=$?
113348 grep -v '^ *+' conftest.er1 >conftest.err
113349 rm -f conftest.er1
113350 cat conftest.err >&5
113351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113352 (exit $ac_status); } &&
113353 { ac_try='test -z "$ac_c_werror_flag"
113354 || test ! -s conftest.err'
113355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113356 (eval $ac_try) 2>&5
113357 ac_status=$?
113358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113359 (exit $ac_status); }; } &&
113360 { ac_try='test -s conftest$ac_exeext'
113361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113362 (eval $ac_try) 2>&5
113363 ac_status=$?
113364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113365 (exit $ac_status); }; }; then
113366 eval "$as_ac_var=yes"
113368 echo "$as_me: failed program was:" >&5
113369 sed 's/^/| /' conftest.$ac_ext >&5
113371 eval "$as_ac_var=no"
113373 rm -f conftest.err conftest.$ac_objext \
113374 conftest$ac_exeext conftest.$ac_ext
113376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113378 if test `eval echo '${'$as_ac_var'}'` = yes; then
113379 cat >>confdefs.h <<_ACEOF
113380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113381 _ACEOF
113394 echo "$as_me:$LINENO: checking for isnan declaration" >&5
113395 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
113396 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
113397 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
113398 echo $ECHO_N "(cached) $ECHO_C" >&6
113403 ac_ext=cc
113404 ac_cpp='$CXXCPP $CPPFLAGS'
113405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113409 cat >conftest.$ac_ext <<_ACEOF
113410 /* confdefs.h. */
113411 _ACEOF
113412 cat confdefs.h >>conftest.$ac_ext
113413 cat >>conftest.$ac_ext <<_ACEOF
113414 /* end confdefs.h. */
113415 #include <math.h>
113416 #ifdef HAVE_IEEEFP_H
113417 #include <ieeefp.h>
113418 #endif
113421 main ()
113423 isnan(0);
113425 return 0;
113427 _ACEOF
113428 rm -f conftest.$ac_objext
113429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113430 (eval $ac_compile) 2>conftest.er1
113431 ac_status=$?
113432 grep -v '^ *+' conftest.er1 >conftest.err
113433 rm -f conftest.er1
113434 cat conftest.err >&5
113435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113436 (exit $ac_status); } &&
113437 { ac_try='test -z "$ac_cxx_werror_flag"
113438 || test ! -s conftest.err'
113439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113440 (eval $ac_try) 2>&5
113441 ac_status=$?
113442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113443 (exit $ac_status); }; } &&
113444 { ac_try='test -s conftest.$ac_objext'
113445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113446 (eval $ac_try) 2>&5
113447 ac_status=$?
113448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113449 (exit $ac_status); }; }; then
113450 glibcxx_cv_func_isnan_use=yes
113452 echo "$as_me: failed program was:" >&5
113453 sed 's/^/| /' conftest.$ac_ext >&5
113455 glibcxx_cv_func_isnan_use=no
113457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113458 ac_ext=c
113459 ac_cpp='$CPP $CPPFLAGS'
113460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
113469 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
113471 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
113473 for ac_func in isnan
113475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113476 echo "$as_me:$LINENO: checking for $ac_func" >&5
113477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113478 if eval "test \"\${$as_ac_var+set}\" = set"; then
113479 echo $ECHO_N "(cached) $ECHO_C" >&6
113481 if test x$gcc_no_link = xyes; then
113482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113484 { (exit 1); exit 1; }; }
113486 cat >conftest.$ac_ext <<_ACEOF
113487 /* confdefs.h. */
113488 _ACEOF
113489 cat confdefs.h >>conftest.$ac_ext
113490 cat >>conftest.$ac_ext <<_ACEOF
113491 /* end confdefs.h. */
113492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113494 #define $ac_func innocuous_$ac_func
113496 /* System header to define __stub macros and hopefully few prototypes,
113497 which can conflict with char $ac_func (); below.
113498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113499 <limits.h> exists even on freestanding compilers. */
113501 #ifdef __STDC__
113502 # include <limits.h>
113503 #else
113504 # include <assert.h>
113505 #endif
113507 #undef $ac_func
113509 /* Override any gcc2 internal prototype to avoid an error. */
113510 #ifdef __cplusplus
113511 extern "C"
113513 #endif
113514 /* We use char because int might match the return type of a gcc2
113515 builtin and then its argument prototype would still apply. */
113516 char $ac_func ();
113517 /* The GNU C library defines this for functions which it implements
113518 to always fail with ENOSYS. Some functions are actually named
113519 something starting with __ and the normal name is an alias. */
113520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113521 choke me
113522 #else
113523 char (*f) () = $ac_func;
113524 #endif
113525 #ifdef __cplusplus
113527 #endif
113530 main ()
113532 return f != $ac_func;
113534 return 0;
113536 _ACEOF
113537 rm -f conftest.$ac_objext conftest$ac_exeext
113538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113539 (eval $ac_link) 2>conftest.er1
113540 ac_status=$?
113541 grep -v '^ *+' conftest.er1 >conftest.err
113542 rm -f conftest.er1
113543 cat conftest.err >&5
113544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113545 (exit $ac_status); } &&
113546 { ac_try='test -z "$ac_c_werror_flag"
113547 || test ! -s conftest.err'
113548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113549 (eval $ac_try) 2>&5
113550 ac_status=$?
113551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113552 (exit $ac_status); }; } &&
113553 { ac_try='test -s conftest$ac_exeext'
113554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113555 (eval $ac_try) 2>&5
113556 ac_status=$?
113557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113558 (exit $ac_status); }; }; then
113559 eval "$as_ac_var=yes"
113561 echo "$as_me: failed program was:" >&5
113562 sed 's/^/| /' conftest.$ac_ext >&5
113564 eval "$as_ac_var=no"
113566 rm -f conftest.err conftest.$ac_objext \
113567 conftest$ac_exeext conftest.$ac_ext
113569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113571 if test `eval echo '${'$as_ac_var'}'` = yes; then
113572 cat >>confdefs.h <<_ACEOF
113573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113574 _ACEOF
113581 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
113582 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
113583 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
113584 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
113585 echo $ECHO_N "(cached) $ECHO_C" >&6
113590 ac_ext=cc
113591 ac_cpp='$CXXCPP $CPPFLAGS'
113592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113596 cat >conftest.$ac_ext <<_ACEOF
113597 /* confdefs.h. */
113598 _ACEOF
113599 cat confdefs.h >>conftest.$ac_ext
113600 cat >>conftest.$ac_ext <<_ACEOF
113601 /* end confdefs.h. */
113602 #include <math.h>
113603 #ifdef HAVE_IEEEFP_H
113604 #include <ieeefp.h>
113605 #endif
113608 main ()
113610 _isnan(0);
113612 return 0;
113614 _ACEOF
113615 rm -f conftest.$ac_objext
113616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113617 (eval $ac_compile) 2>conftest.er1
113618 ac_status=$?
113619 grep -v '^ *+' conftest.er1 >conftest.err
113620 rm -f conftest.er1
113621 cat conftest.err >&5
113622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113623 (exit $ac_status); } &&
113624 { ac_try='test -z "$ac_cxx_werror_flag"
113625 || test ! -s conftest.err'
113626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113627 (eval $ac_try) 2>&5
113628 ac_status=$?
113629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113630 (exit $ac_status); }; } &&
113631 { ac_try='test -s conftest.$ac_objext'
113632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113633 (eval $ac_try) 2>&5
113634 ac_status=$?
113635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113636 (exit $ac_status); }; }; then
113637 glibcxx_cv_func__isnan_use=yes
113639 echo "$as_me: failed program was:" >&5
113640 sed 's/^/| /' conftest.$ac_ext >&5
113642 glibcxx_cv_func__isnan_use=no
113644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113645 ac_ext=c
113646 ac_cpp='$CPP $CPPFLAGS'
113647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
113656 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
113658 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
113660 for ac_func in _isnan
113662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113663 echo "$as_me:$LINENO: checking for $ac_func" >&5
113664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113665 if eval "test \"\${$as_ac_var+set}\" = set"; then
113666 echo $ECHO_N "(cached) $ECHO_C" >&6
113668 if test x$gcc_no_link = xyes; then
113669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113671 { (exit 1); exit 1; }; }
113673 cat >conftest.$ac_ext <<_ACEOF
113674 /* confdefs.h. */
113675 _ACEOF
113676 cat confdefs.h >>conftest.$ac_ext
113677 cat >>conftest.$ac_ext <<_ACEOF
113678 /* end confdefs.h. */
113679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113681 #define $ac_func innocuous_$ac_func
113683 /* System header to define __stub macros and hopefully few prototypes,
113684 which can conflict with char $ac_func (); below.
113685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113686 <limits.h> exists even on freestanding compilers. */
113688 #ifdef __STDC__
113689 # include <limits.h>
113690 #else
113691 # include <assert.h>
113692 #endif
113694 #undef $ac_func
113696 /* Override any gcc2 internal prototype to avoid an error. */
113697 #ifdef __cplusplus
113698 extern "C"
113700 #endif
113701 /* We use char because int might match the return type of a gcc2
113702 builtin and then its argument prototype would still apply. */
113703 char $ac_func ();
113704 /* The GNU C library defines this for functions which it implements
113705 to always fail with ENOSYS. Some functions are actually named
113706 something starting with __ and the normal name is an alias. */
113707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113708 choke me
113709 #else
113710 char (*f) () = $ac_func;
113711 #endif
113712 #ifdef __cplusplus
113714 #endif
113717 main ()
113719 return f != $ac_func;
113721 return 0;
113723 _ACEOF
113724 rm -f conftest.$ac_objext conftest$ac_exeext
113725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113726 (eval $ac_link) 2>conftest.er1
113727 ac_status=$?
113728 grep -v '^ *+' conftest.er1 >conftest.err
113729 rm -f conftest.er1
113730 cat conftest.err >&5
113731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113732 (exit $ac_status); } &&
113733 { ac_try='test -z "$ac_c_werror_flag"
113734 || test ! -s conftest.err'
113735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113736 (eval $ac_try) 2>&5
113737 ac_status=$?
113738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113739 (exit $ac_status); }; } &&
113740 { ac_try='test -s conftest$ac_exeext'
113741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113742 (eval $ac_try) 2>&5
113743 ac_status=$?
113744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113745 (exit $ac_status); }; }; then
113746 eval "$as_ac_var=yes"
113748 echo "$as_me: failed program was:" >&5
113749 sed 's/^/| /' conftest.$ac_ext >&5
113751 eval "$as_ac_var=no"
113753 rm -f conftest.err conftest.$ac_objext \
113754 conftest$ac_exeext conftest.$ac_ext
113756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113758 if test `eval echo '${'$as_ac_var'}'` = yes; then
113759 cat >>confdefs.h <<_ACEOF
113760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113761 _ACEOF
113774 echo "$as_me:$LINENO: checking for finite declaration" >&5
113775 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
113776 if test x${glibcxx_cv_func_finite_use+set} != xset; then
113777 if test "${glibcxx_cv_func_finite_use+set}" = set; then
113778 echo $ECHO_N "(cached) $ECHO_C" >&6
113783 ac_ext=cc
113784 ac_cpp='$CXXCPP $CPPFLAGS'
113785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113789 cat >conftest.$ac_ext <<_ACEOF
113790 /* confdefs.h. */
113791 _ACEOF
113792 cat confdefs.h >>conftest.$ac_ext
113793 cat >>conftest.$ac_ext <<_ACEOF
113794 /* end confdefs.h. */
113795 #include <math.h>
113796 #ifdef HAVE_IEEEFP_H
113797 #include <ieeefp.h>
113798 #endif
113801 main ()
113803 finite(0);
113805 return 0;
113807 _ACEOF
113808 rm -f conftest.$ac_objext
113809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113810 (eval $ac_compile) 2>conftest.er1
113811 ac_status=$?
113812 grep -v '^ *+' conftest.er1 >conftest.err
113813 rm -f conftest.er1
113814 cat conftest.err >&5
113815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113816 (exit $ac_status); } &&
113817 { ac_try='test -z "$ac_cxx_werror_flag"
113818 || test ! -s conftest.err'
113819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113820 (eval $ac_try) 2>&5
113821 ac_status=$?
113822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113823 (exit $ac_status); }; } &&
113824 { ac_try='test -s conftest.$ac_objext'
113825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113826 (eval $ac_try) 2>&5
113827 ac_status=$?
113828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113829 (exit $ac_status); }; }; then
113830 glibcxx_cv_func_finite_use=yes
113832 echo "$as_me: failed program was:" >&5
113833 sed 's/^/| /' conftest.$ac_ext >&5
113835 glibcxx_cv_func_finite_use=no
113837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113838 ac_ext=c
113839 ac_cpp='$CPP $CPPFLAGS'
113840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
113848 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
113849 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
113851 if test x$glibcxx_cv_func_finite_use = x"yes"; then
113853 for ac_func in finite
113855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113856 echo "$as_me:$LINENO: checking for $ac_func" >&5
113857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113858 if eval "test \"\${$as_ac_var+set}\" = set"; then
113859 echo $ECHO_N "(cached) $ECHO_C" >&6
113861 if test x$gcc_no_link = xyes; then
113862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113864 { (exit 1); exit 1; }; }
113866 cat >conftest.$ac_ext <<_ACEOF
113867 /* confdefs.h. */
113868 _ACEOF
113869 cat confdefs.h >>conftest.$ac_ext
113870 cat >>conftest.$ac_ext <<_ACEOF
113871 /* end confdefs.h. */
113872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113874 #define $ac_func innocuous_$ac_func
113876 /* System header to define __stub macros and hopefully few prototypes,
113877 which can conflict with char $ac_func (); below.
113878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113879 <limits.h> exists even on freestanding compilers. */
113881 #ifdef __STDC__
113882 # include <limits.h>
113883 #else
113884 # include <assert.h>
113885 #endif
113887 #undef $ac_func
113889 /* Override any gcc2 internal prototype to avoid an error. */
113890 #ifdef __cplusplus
113891 extern "C"
113893 #endif
113894 /* We use char because int might match the return type of a gcc2
113895 builtin and then its argument prototype would still apply. */
113896 char $ac_func ();
113897 /* The GNU C library defines this for functions which it implements
113898 to always fail with ENOSYS. Some functions are actually named
113899 something starting with __ and the normal name is an alias. */
113900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113901 choke me
113902 #else
113903 char (*f) () = $ac_func;
113904 #endif
113905 #ifdef __cplusplus
113907 #endif
113910 main ()
113912 return f != $ac_func;
113914 return 0;
113916 _ACEOF
113917 rm -f conftest.$ac_objext conftest$ac_exeext
113918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113919 (eval $ac_link) 2>conftest.er1
113920 ac_status=$?
113921 grep -v '^ *+' conftest.er1 >conftest.err
113922 rm -f conftest.er1
113923 cat conftest.err >&5
113924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113925 (exit $ac_status); } &&
113926 { ac_try='test -z "$ac_c_werror_flag"
113927 || test ! -s conftest.err'
113928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113929 (eval $ac_try) 2>&5
113930 ac_status=$?
113931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113932 (exit $ac_status); }; } &&
113933 { ac_try='test -s conftest$ac_exeext'
113934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113935 (eval $ac_try) 2>&5
113936 ac_status=$?
113937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113938 (exit $ac_status); }; }; then
113939 eval "$as_ac_var=yes"
113941 echo "$as_me: failed program was:" >&5
113942 sed 's/^/| /' conftest.$ac_ext >&5
113944 eval "$as_ac_var=no"
113946 rm -f conftest.err conftest.$ac_objext \
113947 conftest$ac_exeext conftest.$ac_ext
113949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113951 if test `eval echo '${'$as_ac_var'}'` = yes; then
113952 cat >>confdefs.h <<_ACEOF
113953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113954 _ACEOF
113961 echo "$as_me:$LINENO: checking for _finite declaration" >&5
113962 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
113963 if test x${glibcxx_cv_func__finite_use+set} != xset; then
113964 if test "${glibcxx_cv_func__finite_use+set}" = set; then
113965 echo $ECHO_N "(cached) $ECHO_C" >&6
113970 ac_ext=cc
113971 ac_cpp='$CXXCPP $CPPFLAGS'
113972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
113973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
113974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
113976 cat >conftest.$ac_ext <<_ACEOF
113977 /* confdefs.h. */
113978 _ACEOF
113979 cat confdefs.h >>conftest.$ac_ext
113980 cat >>conftest.$ac_ext <<_ACEOF
113981 /* end confdefs.h. */
113982 #include <math.h>
113983 #ifdef HAVE_IEEEFP_H
113984 #include <ieeefp.h>
113985 #endif
113988 main ()
113990 _finite(0);
113992 return 0;
113994 _ACEOF
113995 rm -f conftest.$ac_objext
113996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113997 (eval $ac_compile) 2>conftest.er1
113998 ac_status=$?
113999 grep -v '^ *+' conftest.er1 >conftest.err
114000 rm -f conftest.er1
114001 cat conftest.err >&5
114002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114003 (exit $ac_status); } &&
114004 { ac_try='test -z "$ac_cxx_werror_flag"
114005 || test ! -s conftest.err'
114006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114007 (eval $ac_try) 2>&5
114008 ac_status=$?
114009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114010 (exit $ac_status); }; } &&
114011 { ac_try='test -s conftest.$ac_objext'
114012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114013 (eval $ac_try) 2>&5
114014 ac_status=$?
114015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114016 (exit $ac_status); }; }; then
114017 glibcxx_cv_func__finite_use=yes
114019 echo "$as_me: failed program was:" >&5
114020 sed 's/^/| /' conftest.$ac_ext >&5
114022 glibcxx_cv_func__finite_use=no
114024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114025 ac_ext=c
114026 ac_cpp='$CPP $CPPFLAGS'
114027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
114036 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
114038 if test x$glibcxx_cv_func__finite_use = x"yes"; then
114040 for ac_func in _finite
114042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114043 echo "$as_me:$LINENO: checking for $ac_func" >&5
114044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114045 if eval "test \"\${$as_ac_var+set}\" = set"; then
114046 echo $ECHO_N "(cached) $ECHO_C" >&6
114048 if test x$gcc_no_link = xyes; then
114049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114051 { (exit 1); exit 1; }; }
114053 cat >conftest.$ac_ext <<_ACEOF
114054 /* confdefs.h. */
114055 _ACEOF
114056 cat confdefs.h >>conftest.$ac_ext
114057 cat >>conftest.$ac_ext <<_ACEOF
114058 /* end confdefs.h. */
114059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114061 #define $ac_func innocuous_$ac_func
114063 /* System header to define __stub macros and hopefully few prototypes,
114064 which can conflict with char $ac_func (); below.
114065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114066 <limits.h> exists even on freestanding compilers. */
114068 #ifdef __STDC__
114069 # include <limits.h>
114070 #else
114071 # include <assert.h>
114072 #endif
114074 #undef $ac_func
114076 /* Override any gcc2 internal prototype to avoid an error. */
114077 #ifdef __cplusplus
114078 extern "C"
114080 #endif
114081 /* We use char because int might match the return type of a gcc2
114082 builtin and then its argument prototype would still apply. */
114083 char $ac_func ();
114084 /* The GNU C library defines this for functions which it implements
114085 to always fail with ENOSYS. Some functions are actually named
114086 something starting with __ and the normal name is an alias. */
114087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114088 choke me
114089 #else
114090 char (*f) () = $ac_func;
114091 #endif
114092 #ifdef __cplusplus
114094 #endif
114097 main ()
114099 return f != $ac_func;
114101 return 0;
114103 _ACEOF
114104 rm -f conftest.$ac_objext conftest$ac_exeext
114105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114106 (eval $ac_link) 2>conftest.er1
114107 ac_status=$?
114108 grep -v '^ *+' conftest.er1 >conftest.err
114109 rm -f conftest.er1
114110 cat conftest.err >&5
114111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114112 (exit $ac_status); } &&
114113 { ac_try='test -z "$ac_c_werror_flag"
114114 || test ! -s conftest.err'
114115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114116 (eval $ac_try) 2>&5
114117 ac_status=$?
114118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114119 (exit $ac_status); }; } &&
114120 { ac_try='test -s conftest$ac_exeext'
114121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114122 (eval $ac_try) 2>&5
114123 ac_status=$?
114124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114125 (exit $ac_status); }; }; then
114126 eval "$as_ac_var=yes"
114128 echo "$as_me: failed program was:" >&5
114129 sed 's/^/| /' conftest.$ac_ext >&5
114131 eval "$as_ac_var=no"
114133 rm -f conftest.err conftest.$ac_objext \
114134 conftest$ac_exeext conftest.$ac_ext
114136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114138 if test `eval echo '${'$as_ac_var'}'` = yes; then
114139 cat >>confdefs.h <<_ACEOF
114140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114141 _ACEOF
114154 echo "$as_me:$LINENO: checking for sincos declaration" >&5
114155 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
114156 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
114157 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
114158 echo $ECHO_N "(cached) $ECHO_C" >&6
114163 ac_ext=cc
114164 ac_cpp='$CXXCPP $CPPFLAGS'
114165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114169 cat >conftest.$ac_ext <<_ACEOF
114170 /* confdefs.h. */
114171 _ACEOF
114172 cat confdefs.h >>conftest.$ac_ext
114173 cat >>conftest.$ac_ext <<_ACEOF
114174 /* end confdefs.h. */
114175 #include <math.h>
114177 main ()
114179 sincos(0, 0, 0);
114181 return 0;
114183 _ACEOF
114184 rm -f conftest.$ac_objext
114185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114186 (eval $ac_compile) 2>conftest.er1
114187 ac_status=$?
114188 grep -v '^ *+' conftest.er1 >conftest.err
114189 rm -f conftest.er1
114190 cat conftest.err >&5
114191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114192 (exit $ac_status); } &&
114193 { ac_try='test -z "$ac_cxx_werror_flag"
114194 || test ! -s conftest.err'
114195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114196 (eval $ac_try) 2>&5
114197 ac_status=$?
114198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114199 (exit $ac_status); }; } &&
114200 { ac_try='test -s conftest.$ac_objext'
114201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114202 (eval $ac_try) 2>&5
114203 ac_status=$?
114204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114205 (exit $ac_status); }; }; then
114206 glibcxx_cv_func_sincos_use=yes
114208 echo "$as_me: failed program was:" >&5
114209 sed 's/^/| /' conftest.$ac_ext >&5
114211 glibcxx_cv_func_sincos_use=no
114213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114214 ac_ext=c
114215 ac_cpp='$CPP $CPPFLAGS'
114216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
114225 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
114227 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
114229 for ac_func in sincos
114231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114232 echo "$as_me:$LINENO: checking for $ac_func" >&5
114233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114234 if eval "test \"\${$as_ac_var+set}\" = set"; then
114235 echo $ECHO_N "(cached) $ECHO_C" >&6
114237 if test x$gcc_no_link = xyes; then
114238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114240 { (exit 1); exit 1; }; }
114242 cat >conftest.$ac_ext <<_ACEOF
114243 /* confdefs.h. */
114244 _ACEOF
114245 cat confdefs.h >>conftest.$ac_ext
114246 cat >>conftest.$ac_ext <<_ACEOF
114247 /* end confdefs.h. */
114248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114250 #define $ac_func innocuous_$ac_func
114252 /* System header to define __stub macros and hopefully few prototypes,
114253 which can conflict with char $ac_func (); below.
114254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114255 <limits.h> exists even on freestanding compilers. */
114257 #ifdef __STDC__
114258 # include <limits.h>
114259 #else
114260 # include <assert.h>
114261 #endif
114263 #undef $ac_func
114265 /* Override any gcc2 internal prototype to avoid an error. */
114266 #ifdef __cplusplus
114267 extern "C"
114269 #endif
114270 /* We use char because int might match the return type of a gcc2
114271 builtin and then its argument prototype would still apply. */
114272 char $ac_func ();
114273 /* The GNU C library defines this for functions which it implements
114274 to always fail with ENOSYS. Some functions are actually named
114275 something starting with __ and the normal name is an alias. */
114276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114277 choke me
114278 #else
114279 char (*f) () = $ac_func;
114280 #endif
114281 #ifdef __cplusplus
114283 #endif
114286 main ()
114288 return f != $ac_func;
114290 return 0;
114292 _ACEOF
114293 rm -f conftest.$ac_objext conftest$ac_exeext
114294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114295 (eval $ac_link) 2>conftest.er1
114296 ac_status=$?
114297 grep -v '^ *+' conftest.er1 >conftest.err
114298 rm -f conftest.er1
114299 cat conftest.err >&5
114300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114301 (exit $ac_status); } &&
114302 { ac_try='test -z "$ac_c_werror_flag"
114303 || test ! -s conftest.err'
114304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114305 (eval $ac_try) 2>&5
114306 ac_status=$?
114307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114308 (exit $ac_status); }; } &&
114309 { ac_try='test -s conftest$ac_exeext'
114310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114311 (eval $ac_try) 2>&5
114312 ac_status=$?
114313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114314 (exit $ac_status); }; }; then
114315 eval "$as_ac_var=yes"
114317 echo "$as_me: failed program was:" >&5
114318 sed 's/^/| /' conftest.$ac_ext >&5
114320 eval "$as_ac_var=no"
114322 rm -f conftest.err conftest.$ac_objext \
114323 conftest$ac_exeext conftest.$ac_ext
114325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114327 if test `eval echo '${'$as_ac_var'}'` = yes; then
114328 cat >>confdefs.h <<_ACEOF
114329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114330 _ACEOF
114337 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
114338 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
114339 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
114340 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
114341 echo $ECHO_N "(cached) $ECHO_C" >&6
114346 ac_ext=cc
114347 ac_cpp='$CXXCPP $CPPFLAGS'
114348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114352 cat >conftest.$ac_ext <<_ACEOF
114353 /* confdefs.h. */
114354 _ACEOF
114355 cat confdefs.h >>conftest.$ac_ext
114356 cat >>conftest.$ac_ext <<_ACEOF
114357 /* end confdefs.h. */
114358 #include <math.h>
114360 main ()
114362 _sincos(0, 0, 0);
114364 return 0;
114366 _ACEOF
114367 rm -f conftest.$ac_objext
114368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114369 (eval $ac_compile) 2>conftest.er1
114370 ac_status=$?
114371 grep -v '^ *+' conftest.er1 >conftest.err
114372 rm -f conftest.er1
114373 cat conftest.err >&5
114374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114375 (exit $ac_status); } &&
114376 { ac_try='test -z "$ac_cxx_werror_flag"
114377 || test ! -s conftest.err'
114378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114379 (eval $ac_try) 2>&5
114380 ac_status=$?
114381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114382 (exit $ac_status); }; } &&
114383 { ac_try='test -s conftest.$ac_objext'
114384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114385 (eval $ac_try) 2>&5
114386 ac_status=$?
114387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114388 (exit $ac_status); }; }; then
114389 glibcxx_cv_func__sincos_use=yes
114391 echo "$as_me: failed program was:" >&5
114392 sed 's/^/| /' conftest.$ac_ext >&5
114394 glibcxx_cv_func__sincos_use=no
114396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114397 ac_ext=c
114398 ac_cpp='$CPP $CPPFLAGS'
114399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
114408 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
114410 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
114412 for ac_func in _sincos
114414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114415 echo "$as_me:$LINENO: checking for $ac_func" >&5
114416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114417 if eval "test \"\${$as_ac_var+set}\" = set"; then
114418 echo $ECHO_N "(cached) $ECHO_C" >&6
114420 if test x$gcc_no_link = xyes; then
114421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114423 { (exit 1); exit 1; }; }
114425 cat >conftest.$ac_ext <<_ACEOF
114426 /* confdefs.h. */
114427 _ACEOF
114428 cat confdefs.h >>conftest.$ac_ext
114429 cat >>conftest.$ac_ext <<_ACEOF
114430 /* end confdefs.h. */
114431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114433 #define $ac_func innocuous_$ac_func
114435 /* System header to define __stub macros and hopefully few prototypes,
114436 which can conflict with char $ac_func (); below.
114437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114438 <limits.h> exists even on freestanding compilers. */
114440 #ifdef __STDC__
114441 # include <limits.h>
114442 #else
114443 # include <assert.h>
114444 #endif
114446 #undef $ac_func
114448 /* Override any gcc2 internal prototype to avoid an error. */
114449 #ifdef __cplusplus
114450 extern "C"
114452 #endif
114453 /* We use char because int might match the return type of a gcc2
114454 builtin and then its argument prototype would still apply. */
114455 char $ac_func ();
114456 /* The GNU C library defines this for functions which it implements
114457 to always fail with ENOSYS. Some functions are actually named
114458 something starting with __ and the normal name is an alias. */
114459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114460 choke me
114461 #else
114462 char (*f) () = $ac_func;
114463 #endif
114464 #ifdef __cplusplus
114466 #endif
114469 main ()
114471 return f != $ac_func;
114473 return 0;
114475 _ACEOF
114476 rm -f conftest.$ac_objext conftest$ac_exeext
114477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114478 (eval $ac_link) 2>conftest.er1
114479 ac_status=$?
114480 grep -v '^ *+' conftest.er1 >conftest.err
114481 rm -f conftest.er1
114482 cat conftest.err >&5
114483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114484 (exit $ac_status); } &&
114485 { ac_try='test -z "$ac_c_werror_flag"
114486 || test ! -s conftest.err'
114487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114488 (eval $ac_try) 2>&5
114489 ac_status=$?
114490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114491 (exit $ac_status); }; } &&
114492 { ac_try='test -s conftest$ac_exeext'
114493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114494 (eval $ac_try) 2>&5
114495 ac_status=$?
114496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114497 (exit $ac_status); }; }; then
114498 eval "$as_ac_var=yes"
114500 echo "$as_me: failed program was:" >&5
114501 sed 's/^/| /' conftest.$ac_ext >&5
114503 eval "$as_ac_var=no"
114505 rm -f conftest.err conftest.$ac_objext \
114506 conftest$ac_exeext conftest.$ac_ext
114508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114510 if test `eval echo '${'$as_ac_var'}'` = yes; then
114511 cat >>confdefs.h <<_ACEOF
114512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114513 _ACEOF
114526 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
114527 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
114528 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
114529 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
114530 echo $ECHO_N "(cached) $ECHO_C" >&6
114535 ac_ext=cc
114536 ac_cpp='$CXXCPP $CPPFLAGS'
114537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114541 cat >conftest.$ac_ext <<_ACEOF
114542 /* confdefs.h. */
114543 _ACEOF
114544 cat confdefs.h >>conftest.$ac_ext
114545 cat >>conftest.$ac_ext <<_ACEOF
114546 /* end confdefs.h. */
114547 #include <math.h>
114548 #ifdef HAVE_IEEEFP_H
114549 #include <ieeefp.h>
114550 #endif
114553 main ()
114555 fpclass(0);
114557 return 0;
114559 _ACEOF
114560 rm -f conftest.$ac_objext
114561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114562 (eval $ac_compile) 2>conftest.er1
114563 ac_status=$?
114564 grep -v '^ *+' conftest.er1 >conftest.err
114565 rm -f conftest.er1
114566 cat conftest.err >&5
114567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114568 (exit $ac_status); } &&
114569 { ac_try='test -z "$ac_cxx_werror_flag"
114570 || test ! -s conftest.err'
114571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114572 (eval $ac_try) 2>&5
114573 ac_status=$?
114574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114575 (exit $ac_status); }; } &&
114576 { ac_try='test -s conftest.$ac_objext'
114577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114578 (eval $ac_try) 2>&5
114579 ac_status=$?
114580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114581 (exit $ac_status); }; }; then
114582 glibcxx_cv_func_fpclass_use=yes
114584 echo "$as_me: failed program was:" >&5
114585 sed 's/^/| /' conftest.$ac_ext >&5
114587 glibcxx_cv_func_fpclass_use=no
114589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114590 ac_ext=c
114591 ac_cpp='$CPP $CPPFLAGS'
114592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
114601 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
114603 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
114605 for ac_func in fpclass
114607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114608 echo "$as_me:$LINENO: checking for $ac_func" >&5
114609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114610 if eval "test \"\${$as_ac_var+set}\" = set"; then
114611 echo $ECHO_N "(cached) $ECHO_C" >&6
114613 if test x$gcc_no_link = xyes; then
114614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114616 { (exit 1); exit 1; }; }
114618 cat >conftest.$ac_ext <<_ACEOF
114619 /* confdefs.h. */
114620 _ACEOF
114621 cat confdefs.h >>conftest.$ac_ext
114622 cat >>conftest.$ac_ext <<_ACEOF
114623 /* end confdefs.h. */
114624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114626 #define $ac_func innocuous_$ac_func
114628 /* System header to define __stub macros and hopefully few prototypes,
114629 which can conflict with char $ac_func (); below.
114630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114631 <limits.h> exists even on freestanding compilers. */
114633 #ifdef __STDC__
114634 # include <limits.h>
114635 #else
114636 # include <assert.h>
114637 #endif
114639 #undef $ac_func
114641 /* Override any gcc2 internal prototype to avoid an error. */
114642 #ifdef __cplusplus
114643 extern "C"
114645 #endif
114646 /* We use char because int might match the return type of a gcc2
114647 builtin and then its argument prototype would still apply. */
114648 char $ac_func ();
114649 /* The GNU C library defines this for functions which it implements
114650 to always fail with ENOSYS. Some functions are actually named
114651 something starting with __ and the normal name is an alias. */
114652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114653 choke me
114654 #else
114655 char (*f) () = $ac_func;
114656 #endif
114657 #ifdef __cplusplus
114659 #endif
114662 main ()
114664 return f != $ac_func;
114666 return 0;
114668 _ACEOF
114669 rm -f conftest.$ac_objext conftest$ac_exeext
114670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114671 (eval $ac_link) 2>conftest.er1
114672 ac_status=$?
114673 grep -v '^ *+' conftest.er1 >conftest.err
114674 rm -f conftest.er1
114675 cat conftest.err >&5
114676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114677 (exit $ac_status); } &&
114678 { ac_try='test -z "$ac_c_werror_flag"
114679 || test ! -s conftest.err'
114680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114681 (eval $ac_try) 2>&5
114682 ac_status=$?
114683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114684 (exit $ac_status); }; } &&
114685 { ac_try='test -s conftest$ac_exeext'
114686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114687 (eval $ac_try) 2>&5
114688 ac_status=$?
114689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114690 (exit $ac_status); }; }; then
114691 eval "$as_ac_var=yes"
114693 echo "$as_me: failed program was:" >&5
114694 sed 's/^/| /' conftest.$ac_ext >&5
114696 eval "$as_ac_var=no"
114698 rm -f conftest.err conftest.$ac_objext \
114699 conftest$ac_exeext conftest.$ac_ext
114701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114703 if test `eval echo '${'$as_ac_var'}'` = yes; then
114704 cat >>confdefs.h <<_ACEOF
114705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114706 _ACEOF
114713 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
114714 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
114715 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
114716 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
114717 echo $ECHO_N "(cached) $ECHO_C" >&6
114722 ac_ext=cc
114723 ac_cpp='$CXXCPP $CPPFLAGS'
114724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114728 cat >conftest.$ac_ext <<_ACEOF
114729 /* confdefs.h. */
114730 _ACEOF
114731 cat confdefs.h >>conftest.$ac_ext
114732 cat >>conftest.$ac_ext <<_ACEOF
114733 /* end confdefs.h. */
114734 #include <math.h>
114735 #ifdef HAVE_IEEEFP_H
114736 #include <ieeefp.h>
114737 #endif
114740 main ()
114742 _fpclass(0);
114744 return 0;
114746 _ACEOF
114747 rm -f conftest.$ac_objext
114748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114749 (eval $ac_compile) 2>conftest.er1
114750 ac_status=$?
114751 grep -v '^ *+' conftest.er1 >conftest.err
114752 rm -f conftest.er1
114753 cat conftest.err >&5
114754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114755 (exit $ac_status); } &&
114756 { ac_try='test -z "$ac_cxx_werror_flag"
114757 || test ! -s conftest.err'
114758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114759 (eval $ac_try) 2>&5
114760 ac_status=$?
114761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114762 (exit $ac_status); }; } &&
114763 { ac_try='test -s conftest.$ac_objext'
114764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114765 (eval $ac_try) 2>&5
114766 ac_status=$?
114767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114768 (exit $ac_status); }; }; then
114769 glibcxx_cv_func__fpclass_use=yes
114771 echo "$as_me: failed program was:" >&5
114772 sed 's/^/| /' conftest.$ac_ext >&5
114774 glibcxx_cv_func__fpclass_use=no
114776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114777 ac_ext=c
114778 ac_cpp='$CPP $CPPFLAGS'
114779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
114788 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
114790 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
114792 for ac_func in _fpclass
114794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114795 echo "$as_me:$LINENO: checking for $ac_func" >&5
114796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114797 if eval "test \"\${$as_ac_var+set}\" = set"; then
114798 echo $ECHO_N "(cached) $ECHO_C" >&6
114800 if test x$gcc_no_link = xyes; then
114801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114803 { (exit 1); exit 1; }; }
114805 cat >conftest.$ac_ext <<_ACEOF
114806 /* confdefs.h. */
114807 _ACEOF
114808 cat confdefs.h >>conftest.$ac_ext
114809 cat >>conftest.$ac_ext <<_ACEOF
114810 /* end confdefs.h. */
114811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114813 #define $ac_func innocuous_$ac_func
114815 /* System header to define __stub macros and hopefully few prototypes,
114816 which can conflict with char $ac_func (); below.
114817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114818 <limits.h> exists even on freestanding compilers. */
114820 #ifdef __STDC__
114821 # include <limits.h>
114822 #else
114823 # include <assert.h>
114824 #endif
114826 #undef $ac_func
114828 /* Override any gcc2 internal prototype to avoid an error. */
114829 #ifdef __cplusplus
114830 extern "C"
114832 #endif
114833 /* We use char because int might match the return type of a gcc2
114834 builtin and then its argument prototype would still apply. */
114835 char $ac_func ();
114836 /* The GNU C library defines this for functions which it implements
114837 to always fail with ENOSYS. Some functions are actually named
114838 something starting with __ and the normal name is an alias. */
114839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114840 choke me
114841 #else
114842 char (*f) () = $ac_func;
114843 #endif
114844 #ifdef __cplusplus
114846 #endif
114849 main ()
114851 return f != $ac_func;
114853 return 0;
114855 _ACEOF
114856 rm -f conftest.$ac_objext conftest$ac_exeext
114857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114858 (eval $ac_link) 2>conftest.er1
114859 ac_status=$?
114860 grep -v '^ *+' conftest.er1 >conftest.err
114861 rm -f conftest.er1
114862 cat conftest.err >&5
114863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114864 (exit $ac_status); } &&
114865 { ac_try='test -z "$ac_c_werror_flag"
114866 || test ! -s conftest.err'
114867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114868 (eval $ac_try) 2>&5
114869 ac_status=$?
114870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114871 (exit $ac_status); }; } &&
114872 { ac_try='test -s conftest$ac_exeext'
114873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114874 (eval $ac_try) 2>&5
114875 ac_status=$?
114876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114877 (exit $ac_status); }; }; then
114878 eval "$as_ac_var=yes"
114880 echo "$as_me: failed program was:" >&5
114881 sed 's/^/| /' conftest.$ac_ext >&5
114883 eval "$as_ac_var=no"
114885 rm -f conftest.err conftest.$ac_objext \
114886 conftest$ac_exeext conftest.$ac_ext
114888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114890 if test `eval echo '${'$as_ac_var'}'` = yes; then
114891 cat >>confdefs.h <<_ACEOF
114892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114893 _ACEOF
114906 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
114907 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
114908 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
114909 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
114910 echo $ECHO_N "(cached) $ECHO_C" >&6
114915 ac_ext=cc
114916 ac_cpp='$CXXCPP $CPPFLAGS'
114917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
114921 cat >conftest.$ac_ext <<_ACEOF
114922 /* confdefs.h. */
114923 _ACEOF
114924 cat confdefs.h >>conftest.$ac_ext
114925 cat >>conftest.$ac_ext <<_ACEOF
114926 /* end confdefs.h. */
114927 #include <math.h>
114928 #ifdef HAVE_IEEEFP_H
114929 #include <ieeefp.h>
114930 #endif
114933 main ()
114935 qfpclass(0);
114937 return 0;
114939 _ACEOF
114940 rm -f conftest.$ac_objext
114941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114942 (eval $ac_compile) 2>conftest.er1
114943 ac_status=$?
114944 grep -v '^ *+' conftest.er1 >conftest.err
114945 rm -f conftest.er1
114946 cat conftest.err >&5
114947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114948 (exit $ac_status); } &&
114949 { ac_try='test -z "$ac_cxx_werror_flag"
114950 || test ! -s conftest.err'
114951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114952 (eval $ac_try) 2>&5
114953 ac_status=$?
114954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114955 (exit $ac_status); }; } &&
114956 { ac_try='test -s conftest.$ac_objext'
114957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114958 (eval $ac_try) 2>&5
114959 ac_status=$?
114960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114961 (exit $ac_status); }; }; then
114962 glibcxx_cv_func_qfpclass_use=yes
114964 echo "$as_me: failed program was:" >&5
114965 sed 's/^/| /' conftest.$ac_ext >&5
114967 glibcxx_cv_func_qfpclass_use=no
114969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114970 ac_ext=c
114971 ac_cpp='$CPP $CPPFLAGS'
114972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
114973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
114974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
114980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
114981 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
114983 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
114985 for ac_func in qfpclass
114987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114988 echo "$as_me:$LINENO: checking for $ac_func" >&5
114989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114990 if eval "test \"\${$as_ac_var+set}\" = set"; then
114991 echo $ECHO_N "(cached) $ECHO_C" >&6
114993 if test x$gcc_no_link = xyes; then
114994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114996 { (exit 1); exit 1; }; }
114998 cat >conftest.$ac_ext <<_ACEOF
114999 /* confdefs.h. */
115000 _ACEOF
115001 cat confdefs.h >>conftest.$ac_ext
115002 cat >>conftest.$ac_ext <<_ACEOF
115003 /* end confdefs.h. */
115004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115006 #define $ac_func innocuous_$ac_func
115008 /* System header to define __stub macros and hopefully few prototypes,
115009 which can conflict with char $ac_func (); below.
115010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115011 <limits.h> exists even on freestanding compilers. */
115013 #ifdef __STDC__
115014 # include <limits.h>
115015 #else
115016 # include <assert.h>
115017 #endif
115019 #undef $ac_func
115021 /* Override any gcc2 internal prototype to avoid an error. */
115022 #ifdef __cplusplus
115023 extern "C"
115025 #endif
115026 /* We use char because int might match the return type of a gcc2
115027 builtin and then its argument prototype would still apply. */
115028 char $ac_func ();
115029 /* The GNU C library defines this for functions which it implements
115030 to always fail with ENOSYS. Some functions are actually named
115031 something starting with __ and the normal name is an alias. */
115032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115033 choke me
115034 #else
115035 char (*f) () = $ac_func;
115036 #endif
115037 #ifdef __cplusplus
115039 #endif
115042 main ()
115044 return f != $ac_func;
115046 return 0;
115048 _ACEOF
115049 rm -f conftest.$ac_objext conftest$ac_exeext
115050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115051 (eval $ac_link) 2>conftest.er1
115052 ac_status=$?
115053 grep -v '^ *+' conftest.er1 >conftest.err
115054 rm -f conftest.er1
115055 cat conftest.err >&5
115056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115057 (exit $ac_status); } &&
115058 { ac_try='test -z "$ac_c_werror_flag"
115059 || test ! -s conftest.err'
115060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115061 (eval $ac_try) 2>&5
115062 ac_status=$?
115063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115064 (exit $ac_status); }; } &&
115065 { ac_try='test -s conftest$ac_exeext'
115066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115067 (eval $ac_try) 2>&5
115068 ac_status=$?
115069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115070 (exit $ac_status); }; }; then
115071 eval "$as_ac_var=yes"
115073 echo "$as_me: failed program was:" >&5
115074 sed 's/^/| /' conftest.$ac_ext >&5
115076 eval "$as_ac_var=no"
115078 rm -f conftest.err conftest.$ac_objext \
115079 conftest$ac_exeext conftest.$ac_ext
115081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115083 if test `eval echo '${'$as_ac_var'}'` = yes; then
115084 cat >>confdefs.h <<_ACEOF
115085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115086 _ACEOF
115093 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
115094 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
115095 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
115096 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
115097 echo $ECHO_N "(cached) $ECHO_C" >&6
115102 ac_ext=cc
115103 ac_cpp='$CXXCPP $CPPFLAGS'
115104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115108 cat >conftest.$ac_ext <<_ACEOF
115109 /* confdefs.h. */
115110 _ACEOF
115111 cat confdefs.h >>conftest.$ac_ext
115112 cat >>conftest.$ac_ext <<_ACEOF
115113 /* end confdefs.h. */
115114 #include <math.h>
115115 #ifdef HAVE_IEEEFP_H
115116 #include <ieeefp.h>
115117 #endif
115120 main ()
115122 _qfpclass(0);
115124 return 0;
115126 _ACEOF
115127 rm -f conftest.$ac_objext
115128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115129 (eval $ac_compile) 2>conftest.er1
115130 ac_status=$?
115131 grep -v '^ *+' conftest.er1 >conftest.err
115132 rm -f conftest.er1
115133 cat conftest.err >&5
115134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115135 (exit $ac_status); } &&
115136 { ac_try='test -z "$ac_cxx_werror_flag"
115137 || test ! -s conftest.err'
115138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115139 (eval $ac_try) 2>&5
115140 ac_status=$?
115141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115142 (exit $ac_status); }; } &&
115143 { ac_try='test -s conftest.$ac_objext'
115144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115145 (eval $ac_try) 2>&5
115146 ac_status=$?
115147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115148 (exit $ac_status); }; }; then
115149 glibcxx_cv_func__qfpclass_use=yes
115151 echo "$as_me: failed program was:" >&5
115152 sed 's/^/| /' conftest.$ac_ext >&5
115154 glibcxx_cv_func__qfpclass_use=no
115156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115157 ac_ext=c
115158 ac_cpp='$CPP $CPPFLAGS'
115159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
115168 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
115170 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
115172 for ac_func in _qfpclass
115174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115175 echo "$as_me:$LINENO: checking for $ac_func" >&5
115176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115177 if eval "test \"\${$as_ac_var+set}\" = set"; then
115178 echo $ECHO_N "(cached) $ECHO_C" >&6
115180 if test x$gcc_no_link = xyes; then
115181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115183 { (exit 1); exit 1; }; }
115185 cat >conftest.$ac_ext <<_ACEOF
115186 /* confdefs.h. */
115187 _ACEOF
115188 cat confdefs.h >>conftest.$ac_ext
115189 cat >>conftest.$ac_ext <<_ACEOF
115190 /* end confdefs.h. */
115191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115193 #define $ac_func innocuous_$ac_func
115195 /* System header to define __stub macros and hopefully few prototypes,
115196 which can conflict with char $ac_func (); below.
115197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115198 <limits.h> exists even on freestanding compilers. */
115200 #ifdef __STDC__
115201 # include <limits.h>
115202 #else
115203 # include <assert.h>
115204 #endif
115206 #undef $ac_func
115208 /* Override any gcc2 internal prototype to avoid an error. */
115209 #ifdef __cplusplus
115210 extern "C"
115212 #endif
115213 /* We use char because int might match the return type of a gcc2
115214 builtin and then its argument prototype would still apply. */
115215 char $ac_func ();
115216 /* The GNU C library defines this for functions which it implements
115217 to always fail with ENOSYS. Some functions are actually named
115218 something starting with __ and the normal name is an alias. */
115219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115220 choke me
115221 #else
115222 char (*f) () = $ac_func;
115223 #endif
115224 #ifdef __cplusplus
115226 #endif
115229 main ()
115231 return f != $ac_func;
115233 return 0;
115235 _ACEOF
115236 rm -f conftest.$ac_objext conftest$ac_exeext
115237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115238 (eval $ac_link) 2>conftest.er1
115239 ac_status=$?
115240 grep -v '^ *+' conftest.er1 >conftest.err
115241 rm -f conftest.er1
115242 cat conftest.err >&5
115243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115244 (exit $ac_status); } &&
115245 { ac_try='test -z "$ac_c_werror_flag"
115246 || test ! -s conftest.err'
115247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115248 (eval $ac_try) 2>&5
115249 ac_status=$?
115250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115251 (exit $ac_status); }; } &&
115252 { ac_try='test -s conftest$ac_exeext'
115253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115254 (eval $ac_try) 2>&5
115255 ac_status=$?
115256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115257 (exit $ac_status); }; }; then
115258 eval "$as_ac_var=yes"
115260 echo "$as_me: failed program was:" >&5
115261 sed 's/^/| /' conftest.$ac_ext >&5
115263 eval "$as_ac_var=no"
115265 rm -f conftest.err conftest.$ac_objext \
115266 conftest$ac_exeext conftest.$ac_ext
115268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115270 if test `eval echo '${'$as_ac_var'}'` = yes; then
115271 cat >>confdefs.h <<_ACEOF
115272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115273 _ACEOF
115286 echo "$as_me:$LINENO: checking for hypot declaration" >&5
115287 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
115288 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
115289 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
115290 echo $ECHO_N "(cached) $ECHO_C" >&6
115295 ac_ext=cc
115296 ac_cpp='$CXXCPP $CPPFLAGS'
115297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115301 cat >conftest.$ac_ext <<_ACEOF
115302 /* confdefs.h. */
115303 _ACEOF
115304 cat confdefs.h >>conftest.$ac_ext
115305 cat >>conftest.$ac_ext <<_ACEOF
115306 /* end confdefs.h. */
115307 #include <math.h>
115309 main ()
115311 hypot(0, 0);
115313 return 0;
115315 _ACEOF
115316 rm -f conftest.$ac_objext
115317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115318 (eval $ac_compile) 2>conftest.er1
115319 ac_status=$?
115320 grep -v '^ *+' conftest.er1 >conftest.err
115321 rm -f conftest.er1
115322 cat conftest.err >&5
115323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115324 (exit $ac_status); } &&
115325 { ac_try='test -z "$ac_cxx_werror_flag"
115326 || test ! -s conftest.err'
115327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115328 (eval $ac_try) 2>&5
115329 ac_status=$?
115330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115331 (exit $ac_status); }; } &&
115332 { ac_try='test -s conftest.$ac_objext'
115333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115334 (eval $ac_try) 2>&5
115335 ac_status=$?
115336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115337 (exit $ac_status); }; }; then
115338 glibcxx_cv_func_hypot_use=yes
115340 echo "$as_me: failed program was:" >&5
115341 sed 's/^/| /' conftest.$ac_ext >&5
115343 glibcxx_cv_func_hypot_use=no
115345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115346 ac_ext=c
115347 ac_cpp='$CPP $CPPFLAGS'
115348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115356 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
115357 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
115359 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
115361 for ac_func in hypot
115363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115364 echo "$as_me:$LINENO: checking for $ac_func" >&5
115365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115366 if eval "test \"\${$as_ac_var+set}\" = set"; then
115367 echo $ECHO_N "(cached) $ECHO_C" >&6
115369 if test x$gcc_no_link = xyes; then
115370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115372 { (exit 1); exit 1; }; }
115374 cat >conftest.$ac_ext <<_ACEOF
115375 /* confdefs.h. */
115376 _ACEOF
115377 cat confdefs.h >>conftest.$ac_ext
115378 cat >>conftest.$ac_ext <<_ACEOF
115379 /* end confdefs.h. */
115380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115382 #define $ac_func innocuous_$ac_func
115384 /* System header to define __stub macros and hopefully few prototypes,
115385 which can conflict with char $ac_func (); below.
115386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115387 <limits.h> exists even on freestanding compilers. */
115389 #ifdef __STDC__
115390 # include <limits.h>
115391 #else
115392 # include <assert.h>
115393 #endif
115395 #undef $ac_func
115397 /* Override any gcc2 internal prototype to avoid an error. */
115398 #ifdef __cplusplus
115399 extern "C"
115401 #endif
115402 /* We use char because int might match the return type of a gcc2
115403 builtin and then its argument prototype would still apply. */
115404 char $ac_func ();
115405 /* The GNU C library defines this for functions which it implements
115406 to always fail with ENOSYS. Some functions are actually named
115407 something starting with __ and the normal name is an alias. */
115408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115409 choke me
115410 #else
115411 char (*f) () = $ac_func;
115412 #endif
115413 #ifdef __cplusplus
115415 #endif
115418 main ()
115420 return f != $ac_func;
115422 return 0;
115424 _ACEOF
115425 rm -f conftest.$ac_objext conftest$ac_exeext
115426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115427 (eval $ac_link) 2>conftest.er1
115428 ac_status=$?
115429 grep -v '^ *+' conftest.er1 >conftest.err
115430 rm -f conftest.er1
115431 cat conftest.err >&5
115432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115433 (exit $ac_status); } &&
115434 { ac_try='test -z "$ac_c_werror_flag"
115435 || test ! -s conftest.err'
115436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115437 (eval $ac_try) 2>&5
115438 ac_status=$?
115439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115440 (exit $ac_status); }; } &&
115441 { ac_try='test -s conftest$ac_exeext'
115442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115443 (eval $ac_try) 2>&5
115444 ac_status=$?
115445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115446 (exit $ac_status); }; }; then
115447 eval "$as_ac_var=yes"
115449 echo "$as_me: failed program was:" >&5
115450 sed 's/^/| /' conftest.$ac_ext >&5
115452 eval "$as_ac_var=no"
115454 rm -f conftest.err conftest.$ac_objext \
115455 conftest$ac_exeext conftest.$ac_ext
115457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115459 if test `eval echo '${'$as_ac_var'}'` = yes; then
115460 cat >>confdefs.h <<_ACEOF
115461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115462 _ACEOF
115469 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
115470 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
115471 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
115472 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
115473 echo $ECHO_N "(cached) $ECHO_C" >&6
115478 ac_ext=cc
115479 ac_cpp='$CXXCPP $CPPFLAGS'
115480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115484 cat >conftest.$ac_ext <<_ACEOF
115485 /* confdefs.h. */
115486 _ACEOF
115487 cat confdefs.h >>conftest.$ac_ext
115488 cat >>conftest.$ac_ext <<_ACEOF
115489 /* end confdefs.h. */
115490 #include <math.h>
115492 main ()
115494 _hypot(0, 0);
115496 return 0;
115498 _ACEOF
115499 rm -f conftest.$ac_objext
115500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115501 (eval $ac_compile) 2>conftest.er1
115502 ac_status=$?
115503 grep -v '^ *+' conftest.er1 >conftest.err
115504 rm -f conftest.er1
115505 cat conftest.err >&5
115506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115507 (exit $ac_status); } &&
115508 { ac_try='test -z "$ac_cxx_werror_flag"
115509 || test ! -s conftest.err'
115510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115511 (eval $ac_try) 2>&5
115512 ac_status=$?
115513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115514 (exit $ac_status); }; } &&
115515 { ac_try='test -s conftest.$ac_objext'
115516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115517 (eval $ac_try) 2>&5
115518 ac_status=$?
115519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115520 (exit $ac_status); }; }; then
115521 glibcxx_cv_func__hypot_use=yes
115523 echo "$as_me: failed program was:" >&5
115524 sed 's/^/| /' conftest.$ac_ext >&5
115526 glibcxx_cv_func__hypot_use=no
115528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115529 ac_ext=c
115530 ac_cpp='$CPP $CPPFLAGS'
115531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
115540 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
115542 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
115544 for ac_func in _hypot
115546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115547 echo "$as_me:$LINENO: checking for $ac_func" >&5
115548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115549 if eval "test \"\${$as_ac_var+set}\" = set"; then
115550 echo $ECHO_N "(cached) $ECHO_C" >&6
115552 if test x$gcc_no_link = xyes; then
115553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115555 { (exit 1); exit 1; }; }
115557 cat >conftest.$ac_ext <<_ACEOF
115558 /* confdefs.h. */
115559 _ACEOF
115560 cat confdefs.h >>conftest.$ac_ext
115561 cat >>conftest.$ac_ext <<_ACEOF
115562 /* end confdefs.h. */
115563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115565 #define $ac_func innocuous_$ac_func
115567 /* System header to define __stub macros and hopefully few prototypes,
115568 which can conflict with char $ac_func (); below.
115569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115570 <limits.h> exists even on freestanding compilers. */
115572 #ifdef __STDC__
115573 # include <limits.h>
115574 #else
115575 # include <assert.h>
115576 #endif
115578 #undef $ac_func
115580 /* Override any gcc2 internal prototype to avoid an error. */
115581 #ifdef __cplusplus
115582 extern "C"
115584 #endif
115585 /* We use char because int might match the return type of a gcc2
115586 builtin and then its argument prototype would still apply. */
115587 char $ac_func ();
115588 /* The GNU C library defines this for functions which it implements
115589 to always fail with ENOSYS. Some functions are actually named
115590 something starting with __ and the normal name is an alias. */
115591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115592 choke me
115593 #else
115594 char (*f) () = $ac_func;
115595 #endif
115596 #ifdef __cplusplus
115598 #endif
115601 main ()
115603 return f != $ac_func;
115605 return 0;
115607 _ACEOF
115608 rm -f conftest.$ac_objext conftest$ac_exeext
115609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115610 (eval $ac_link) 2>conftest.er1
115611 ac_status=$?
115612 grep -v '^ *+' conftest.er1 >conftest.err
115613 rm -f conftest.er1
115614 cat conftest.err >&5
115615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115616 (exit $ac_status); } &&
115617 { ac_try='test -z "$ac_c_werror_flag"
115618 || test ! -s conftest.err'
115619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115620 (eval $ac_try) 2>&5
115621 ac_status=$?
115622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115623 (exit $ac_status); }; } &&
115624 { ac_try='test -s conftest$ac_exeext'
115625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115626 (eval $ac_try) 2>&5
115627 ac_status=$?
115628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115629 (exit $ac_status); }; }; then
115630 eval "$as_ac_var=yes"
115632 echo "$as_me: failed program was:" >&5
115633 sed 's/^/| /' conftest.$ac_ext >&5
115635 eval "$as_ac_var=no"
115637 rm -f conftest.err conftest.$ac_objext \
115638 conftest$ac_exeext conftest.$ac_ext
115640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115642 if test `eval echo '${'$as_ac_var'}'` = yes; then
115643 cat >>confdefs.h <<_ACEOF
115644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115645 _ACEOF
115658 echo "$as_me:$LINENO: checking for float trig functions" >&5
115659 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
115660 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
115661 echo $ECHO_N "(cached) $ECHO_C" >&6
115666 ac_ext=cc
115667 ac_cpp='$CXXCPP $CPPFLAGS'
115668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115672 cat >conftest.$ac_ext <<_ACEOF
115673 /* confdefs.h. */
115674 _ACEOF
115675 cat confdefs.h >>conftest.$ac_ext
115676 cat >>conftest.$ac_ext <<_ACEOF
115677 /* end confdefs.h. */
115678 #include <math.h>
115680 main ()
115682 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
115684 return 0;
115686 _ACEOF
115687 rm -f conftest.$ac_objext
115688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115689 (eval $ac_compile) 2>conftest.er1
115690 ac_status=$?
115691 grep -v '^ *+' conftest.er1 >conftest.err
115692 rm -f conftest.er1
115693 cat conftest.err >&5
115694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115695 (exit $ac_status); } &&
115696 { ac_try='test -z "$ac_cxx_werror_flag"
115697 || test ! -s conftest.err'
115698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115699 (eval $ac_try) 2>&5
115700 ac_status=$?
115701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115702 (exit $ac_status); }; } &&
115703 { ac_try='test -s conftest.$ac_objext'
115704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115705 (eval $ac_try) 2>&5
115706 ac_status=$?
115707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115708 (exit $ac_status); }; }; then
115709 glibcxx_cv_func_float_trig_use=yes
115711 echo "$as_me: failed program was:" >&5
115712 sed 's/^/| /' conftest.$ac_ext >&5
115714 glibcxx_cv_func_float_trig_use=no
115716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115717 ac_ext=c
115718 ac_cpp='$CPP $CPPFLAGS'
115719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
115726 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
115727 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
115737 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
115739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115740 echo "$as_me:$LINENO: checking for $ac_func" >&5
115741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115742 if eval "test \"\${$as_ac_var+set}\" = set"; then
115743 echo $ECHO_N "(cached) $ECHO_C" >&6
115745 if test x$gcc_no_link = xyes; then
115746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115748 { (exit 1); exit 1; }; }
115750 cat >conftest.$ac_ext <<_ACEOF
115751 /* confdefs.h. */
115752 _ACEOF
115753 cat confdefs.h >>conftest.$ac_ext
115754 cat >>conftest.$ac_ext <<_ACEOF
115755 /* end confdefs.h. */
115756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115758 #define $ac_func innocuous_$ac_func
115760 /* System header to define __stub macros and hopefully few prototypes,
115761 which can conflict with char $ac_func (); below.
115762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115763 <limits.h> exists even on freestanding compilers. */
115765 #ifdef __STDC__
115766 # include <limits.h>
115767 #else
115768 # include <assert.h>
115769 #endif
115771 #undef $ac_func
115773 /* Override any gcc2 internal prototype to avoid an error. */
115774 #ifdef __cplusplus
115775 extern "C"
115777 #endif
115778 /* We use char because int might match the return type of a gcc2
115779 builtin and then its argument prototype would still apply. */
115780 char $ac_func ();
115781 /* The GNU C library defines this for functions which it implements
115782 to always fail with ENOSYS. Some functions are actually named
115783 something starting with __ and the normal name is an alias. */
115784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115785 choke me
115786 #else
115787 char (*f) () = $ac_func;
115788 #endif
115789 #ifdef __cplusplus
115791 #endif
115794 main ()
115796 return f != $ac_func;
115798 return 0;
115800 _ACEOF
115801 rm -f conftest.$ac_objext conftest$ac_exeext
115802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115803 (eval $ac_link) 2>conftest.er1
115804 ac_status=$?
115805 grep -v '^ *+' conftest.er1 >conftest.err
115806 rm -f conftest.er1
115807 cat conftest.err >&5
115808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115809 (exit $ac_status); } &&
115810 { ac_try='test -z "$ac_c_werror_flag"
115811 || test ! -s conftest.err'
115812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115813 (eval $ac_try) 2>&5
115814 ac_status=$?
115815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115816 (exit $ac_status); }; } &&
115817 { ac_try='test -s conftest$ac_exeext'
115818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115819 (eval $ac_try) 2>&5
115820 ac_status=$?
115821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115822 (exit $ac_status); }; }; then
115823 eval "$as_ac_var=yes"
115825 echo "$as_me: failed program was:" >&5
115826 sed 's/^/| /' conftest.$ac_ext >&5
115828 eval "$as_ac_var=no"
115830 rm -f conftest.err conftest.$ac_objext \
115831 conftest$ac_exeext conftest.$ac_ext
115833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115835 if test `eval echo '${'$as_ac_var'}'` = yes; then
115836 cat >>confdefs.h <<_ACEOF
115837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115838 _ACEOF
115844 echo "$as_me:$LINENO: checking for _float trig functions" >&5
115845 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
115846 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
115847 echo $ECHO_N "(cached) $ECHO_C" >&6
115852 ac_ext=cc
115853 ac_cpp='$CXXCPP $CPPFLAGS'
115854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115858 cat >conftest.$ac_ext <<_ACEOF
115859 /* confdefs.h. */
115860 _ACEOF
115861 cat confdefs.h >>conftest.$ac_ext
115862 cat >>conftest.$ac_ext <<_ACEOF
115863 /* end confdefs.h. */
115864 #include <math.h>
115866 main ()
115868 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
115870 return 0;
115872 _ACEOF
115873 rm -f conftest.$ac_objext
115874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115875 (eval $ac_compile) 2>conftest.er1
115876 ac_status=$?
115877 grep -v '^ *+' conftest.er1 >conftest.err
115878 rm -f conftest.er1
115879 cat conftest.err >&5
115880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115881 (exit $ac_status); } &&
115882 { ac_try='test -z "$ac_cxx_werror_flag"
115883 || test ! -s conftest.err'
115884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115885 (eval $ac_try) 2>&5
115886 ac_status=$?
115887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115888 (exit $ac_status); }; } &&
115889 { ac_try='test -s conftest.$ac_objext'
115890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115891 (eval $ac_try) 2>&5
115892 ac_status=$?
115893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115894 (exit $ac_status); }; }; then
115895 glibcxx_cv_func__float_trig_use=yes
115897 echo "$as_me: failed program was:" >&5
115898 sed 's/^/| /' conftest.$ac_ext >&5
115900 glibcxx_cv_func__float_trig_use=no
115902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115903 ac_ext=c
115904 ac_cpp='$CPP $CPPFLAGS'
115905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
115912 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
115913 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
115923 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
115925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115926 echo "$as_me:$LINENO: checking for $ac_func" >&5
115927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115928 if eval "test \"\${$as_ac_var+set}\" = set"; then
115929 echo $ECHO_N "(cached) $ECHO_C" >&6
115931 if test x$gcc_no_link = xyes; then
115932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115934 { (exit 1); exit 1; }; }
115936 cat >conftest.$ac_ext <<_ACEOF
115937 /* confdefs.h. */
115938 _ACEOF
115939 cat confdefs.h >>conftest.$ac_ext
115940 cat >>conftest.$ac_ext <<_ACEOF
115941 /* end confdefs.h. */
115942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115944 #define $ac_func innocuous_$ac_func
115946 /* System header to define __stub macros and hopefully few prototypes,
115947 which can conflict with char $ac_func (); below.
115948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115949 <limits.h> exists even on freestanding compilers. */
115951 #ifdef __STDC__
115952 # include <limits.h>
115953 #else
115954 # include <assert.h>
115955 #endif
115957 #undef $ac_func
115959 /* Override any gcc2 internal prototype to avoid an error. */
115960 #ifdef __cplusplus
115961 extern "C"
115963 #endif
115964 /* We use char because int might match the return type of a gcc2
115965 builtin and then its argument prototype would still apply. */
115966 char $ac_func ();
115967 /* The GNU C library defines this for functions which it implements
115968 to always fail with ENOSYS. Some functions are actually named
115969 something starting with __ and the normal name is an alias. */
115970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115971 choke me
115972 #else
115973 char (*f) () = $ac_func;
115974 #endif
115975 #ifdef __cplusplus
115977 #endif
115980 main ()
115982 return f != $ac_func;
115984 return 0;
115986 _ACEOF
115987 rm -f conftest.$ac_objext conftest$ac_exeext
115988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115989 (eval $ac_link) 2>conftest.er1
115990 ac_status=$?
115991 grep -v '^ *+' conftest.er1 >conftest.err
115992 rm -f conftest.er1
115993 cat conftest.err >&5
115994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115995 (exit $ac_status); } &&
115996 { ac_try='test -z "$ac_c_werror_flag"
115997 || test ! -s conftest.err'
115998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115999 (eval $ac_try) 2>&5
116000 ac_status=$?
116001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116002 (exit $ac_status); }; } &&
116003 { ac_try='test -s conftest$ac_exeext'
116004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116005 (eval $ac_try) 2>&5
116006 ac_status=$?
116007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116008 (exit $ac_status); }; }; then
116009 eval "$as_ac_var=yes"
116011 echo "$as_me: failed program was:" >&5
116012 sed 's/^/| /' conftest.$ac_ext >&5
116014 eval "$as_ac_var=no"
116016 rm -f conftest.err conftest.$ac_objext \
116017 conftest$ac_exeext conftest.$ac_ext
116019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116021 if test `eval echo '${'$as_ac_var'}'` = yes; then
116022 cat >>confdefs.h <<_ACEOF
116023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116024 _ACEOF
116045 echo "$as_me:$LINENO: checking for float round functions" >&5
116046 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
116047 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
116048 echo $ECHO_N "(cached) $ECHO_C" >&6
116053 ac_ext=cc
116054 ac_cpp='$CXXCPP $CPPFLAGS'
116055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116059 cat >conftest.$ac_ext <<_ACEOF
116060 /* confdefs.h. */
116061 _ACEOF
116062 cat confdefs.h >>conftest.$ac_ext
116063 cat >>conftest.$ac_ext <<_ACEOF
116064 /* end confdefs.h. */
116065 #include <math.h>
116067 main ()
116069 ceilf (0); floorf (0);
116071 return 0;
116073 _ACEOF
116074 rm -f conftest.$ac_objext
116075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116076 (eval $ac_compile) 2>conftest.er1
116077 ac_status=$?
116078 grep -v '^ *+' conftest.er1 >conftest.err
116079 rm -f conftest.er1
116080 cat conftest.err >&5
116081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116082 (exit $ac_status); } &&
116083 { ac_try='test -z "$ac_cxx_werror_flag"
116084 || test ! -s conftest.err'
116085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116086 (eval $ac_try) 2>&5
116087 ac_status=$?
116088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116089 (exit $ac_status); }; } &&
116090 { ac_try='test -s conftest.$ac_objext'
116091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116092 (eval $ac_try) 2>&5
116093 ac_status=$?
116094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116095 (exit $ac_status); }; }; then
116096 glibcxx_cv_func_float_round_use=yes
116098 echo "$as_me: failed program was:" >&5
116099 sed 's/^/| /' conftest.$ac_ext >&5
116101 glibcxx_cv_func_float_round_use=no
116103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116104 ac_ext=c
116105 ac_cpp='$CPP $CPPFLAGS'
116106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
116113 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
116114 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
116117 for ac_func in ceilf floorf
116119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116120 echo "$as_me:$LINENO: checking for $ac_func" >&5
116121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116122 if eval "test \"\${$as_ac_var+set}\" = set"; then
116123 echo $ECHO_N "(cached) $ECHO_C" >&6
116125 if test x$gcc_no_link = xyes; then
116126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116128 { (exit 1); exit 1; }; }
116130 cat >conftest.$ac_ext <<_ACEOF
116131 /* confdefs.h. */
116132 _ACEOF
116133 cat confdefs.h >>conftest.$ac_ext
116134 cat >>conftest.$ac_ext <<_ACEOF
116135 /* end confdefs.h. */
116136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116138 #define $ac_func innocuous_$ac_func
116140 /* System header to define __stub macros and hopefully few prototypes,
116141 which can conflict with char $ac_func (); below.
116142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116143 <limits.h> exists even on freestanding compilers. */
116145 #ifdef __STDC__
116146 # include <limits.h>
116147 #else
116148 # include <assert.h>
116149 #endif
116151 #undef $ac_func
116153 /* Override any gcc2 internal prototype to avoid an error. */
116154 #ifdef __cplusplus
116155 extern "C"
116157 #endif
116158 /* We use char because int might match the return type of a gcc2
116159 builtin and then its argument prototype would still apply. */
116160 char $ac_func ();
116161 /* The GNU C library defines this for functions which it implements
116162 to always fail with ENOSYS. Some functions are actually named
116163 something starting with __ and the normal name is an alias. */
116164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116165 choke me
116166 #else
116167 char (*f) () = $ac_func;
116168 #endif
116169 #ifdef __cplusplus
116171 #endif
116174 main ()
116176 return f != $ac_func;
116178 return 0;
116180 _ACEOF
116181 rm -f conftest.$ac_objext conftest$ac_exeext
116182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116183 (eval $ac_link) 2>conftest.er1
116184 ac_status=$?
116185 grep -v '^ *+' conftest.er1 >conftest.err
116186 rm -f conftest.er1
116187 cat conftest.err >&5
116188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116189 (exit $ac_status); } &&
116190 { ac_try='test -z "$ac_c_werror_flag"
116191 || test ! -s conftest.err'
116192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116193 (eval $ac_try) 2>&5
116194 ac_status=$?
116195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116196 (exit $ac_status); }; } &&
116197 { ac_try='test -s conftest$ac_exeext'
116198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116199 (eval $ac_try) 2>&5
116200 ac_status=$?
116201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116202 (exit $ac_status); }; }; then
116203 eval "$as_ac_var=yes"
116205 echo "$as_me: failed program was:" >&5
116206 sed 's/^/| /' conftest.$ac_ext >&5
116208 eval "$as_ac_var=no"
116210 rm -f conftest.err conftest.$ac_objext \
116211 conftest$ac_exeext conftest.$ac_ext
116213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116215 if test `eval echo '${'$as_ac_var'}'` = yes; then
116216 cat >>confdefs.h <<_ACEOF
116217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116218 _ACEOF
116224 echo "$as_me:$LINENO: checking for _float round functions" >&5
116225 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
116226 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
116227 echo $ECHO_N "(cached) $ECHO_C" >&6
116232 ac_ext=cc
116233 ac_cpp='$CXXCPP $CPPFLAGS'
116234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116238 cat >conftest.$ac_ext <<_ACEOF
116239 /* confdefs.h. */
116240 _ACEOF
116241 cat confdefs.h >>conftest.$ac_ext
116242 cat >>conftest.$ac_ext <<_ACEOF
116243 /* end confdefs.h. */
116244 #include <math.h>
116246 main ()
116248 _ceilf (0); _floorf (0);
116250 return 0;
116252 _ACEOF
116253 rm -f conftest.$ac_objext
116254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116255 (eval $ac_compile) 2>conftest.er1
116256 ac_status=$?
116257 grep -v '^ *+' conftest.er1 >conftest.err
116258 rm -f conftest.er1
116259 cat conftest.err >&5
116260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116261 (exit $ac_status); } &&
116262 { ac_try='test -z "$ac_cxx_werror_flag"
116263 || test ! -s conftest.err'
116264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116265 (eval $ac_try) 2>&5
116266 ac_status=$?
116267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116268 (exit $ac_status); }; } &&
116269 { ac_try='test -s conftest.$ac_objext'
116270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116271 (eval $ac_try) 2>&5
116272 ac_status=$?
116273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116274 (exit $ac_status); }; }; then
116275 glibcxx_cv_func__float_round_use=yes
116277 echo "$as_me: failed program was:" >&5
116278 sed 's/^/| /' conftest.$ac_ext >&5
116280 glibcxx_cv_func__float_round_use=no
116282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116283 ac_ext=c
116284 ac_cpp='$CPP $CPPFLAGS'
116285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
116292 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
116293 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
116296 for ac_func in _ceilf _floorf
116298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116299 echo "$as_me:$LINENO: checking for $ac_func" >&5
116300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116301 if eval "test \"\${$as_ac_var+set}\" = set"; then
116302 echo $ECHO_N "(cached) $ECHO_C" >&6
116304 if test x$gcc_no_link = xyes; then
116305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116307 { (exit 1); exit 1; }; }
116309 cat >conftest.$ac_ext <<_ACEOF
116310 /* confdefs.h. */
116311 _ACEOF
116312 cat confdefs.h >>conftest.$ac_ext
116313 cat >>conftest.$ac_ext <<_ACEOF
116314 /* end confdefs.h. */
116315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116317 #define $ac_func innocuous_$ac_func
116319 /* System header to define __stub macros and hopefully few prototypes,
116320 which can conflict with char $ac_func (); below.
116321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116322 <limits.h> exists even on freestanding compilers. */
116324 #ifdef __STDC__
116325 # include <limits.h>
116326 #else
116327 # include <assert.h>
116328 #endif
116330 #undef $ac_func
116332 /* Override any gcc2 internal prototype to avoid an error. */
116333 #ifdef __cplusplus
116334 extern "C"
116336 #endif
116337 /* We use char because int might match the return type of a gcc2
116338 builtin and then its argument prototype would still apply. */
116339 char $ac_func ();
116340 /* The GNU C library defines this for functions which it implements
116341 to always fail with ENOSYS. Some functions are actually named
116342 something starting with __ and the normal name is an alias. */
116343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116344 choke me
116345 #else
116346 char (*f) () = $ac_func;
116347 #endif
116348 #ifdef __cplusplus
116350 #endif
116353 main ()
116355 return f != $ac_func;
116357 return 0;
116359 _ACEOF
116360 rm -f conftest.$ac_objext conftest$ac_exeext
116361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116362 (eval $ac_link) 2>conftest.er1
116363 ac_status=$?
116364 grep -v '^ *+' conftest.er1 >conftest.err
116365 rm -f conftest.er1
116366 cat conftest.err >&5
116367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116368 (exit $ac_status); } &&
116369 { ac_try='test -z "$ac_c_werror_flag"
116370 || test ! -s conftest.err'
116371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116372 (eval $ac_try) 2>&5
116373 ac_status=$?
116374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116375 (exit $ac_status); }; } &&
116376 { ac_try='test -s conftest$ac_exeext'
116377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116378 (eval $ac_try) 2>&5
116379 ac_status=$?
116380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116381 (exit $ac_status); }; }; then
116382 eval "$as_ac_var=yes"
116384 echo "$as_me: failed program was:" >&5
116385 sed 's/^/| /' conftest.$ac_ext >&5
116387 eval "$as_ac_var=no"
116389 rm -f conftest.err conftest.$ac_objext \
116390 conftest$ac_exeext conftest.$ac_ext
116392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116394 if test `eval echo '${'$as_ac_var'}'` = yes; then
116395 cat >>confdefs.h <<_ACEOF
116396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116397 _ACEOF
116412 echo "$as_me:$LINENO: checking for expf declaration" >&5
116413 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
116414 if test x${glibcxx_cv_func_expf_use+set} != xset; then
116415 if test "${glibcxx_cv_func_expf_use+set}" = set; then
116416 echo $ECHO_N "(cached) $ECHO_C" >&6
116421 ac_ext=cc
116422 ac_cpp='$CXXCPP $CPPFLAGS'
116423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116427 cat >conftest.$ac_ext <<_ACEOF
116428 /* confdefs.h. */
116429 _ACEOF
116430 cat confdefs.h >>conftest.$ac_ext
116431 cat >>conftest.$ac_ext <<_ACEOF
116432 /* end confdefs.h. */
116433 #include <math.h>
116434 #ifdef HAVE_IEEEFP_H
116435 #include <ieeefp.h>
116436 #endif
116439 main ()
116441 expf(0);
116443 return 0;
116445 _ACEOF
116446 rm -f conftest.$ac_objext
116447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116448 (eval $ac_compile) 2>conftest.er1
116449 ac_status=$?
116450 grep -v '^ *+' conftest.er1 >conftest.err
116451 rm -f conftest.er1
116452 cat conftest.err >&5
116453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116454 (exit $ac_status); } &&
116455 { ac_try='test -z "$ac_cxx_werror_flag"
116456 || test ! -s conftest.err'
116457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116458 (eval $ac_try) 2>&5
116459 ac_status=$?
116460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116461 (exit $ac_status); }; } &&
116462 { ac_try='test -s conftest.$ac_objext'
116463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116464 (eval $ac_try) 2>&5
116465 ac_status=$?
116466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116467 (exit $ac_status); }; }; then
116468 glibcxx_cv_func_expf_use=yes
116470 echo "$as_me: failed program was:" >&5
116471 sed 's/^/| /' conftest.$ac_ext >&5
116473 glibcxx_cv_func_expf_use=no
116475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116476 ac_ext=c
116477 ac_cpp='$CPP $CPPFLAGS'
116478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
116487 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
116489 if test x$glibcxx_cv_func_expf_use = x"yes"; then
116491 for ac_func in expf
116493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116494 echo "$as_me:$LINENO: checking for $ac_func" >&5
116495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116496 if eval "test \"\${$as_ac_var+set}\" = set"; then
116497 echo $ECHO_N "(cached) $ECHO_C" >&6
116499 if test x$gcc_no_link = xyes; then
116500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116502 { (exit 1); exit 1; }; }
116504 cat >conftest.$ac_ext <<_ACEOF
116505 /* confdefs.h. */
116506 _ACEOF
116507 cat confdefs.h >>conftest.$ac_ext
116508 cat >>conftest.$ac_ext <<_ACEOF
116509 /* end confdefs.h. */
116510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116512 #define $ac_func innocuous_$ac_func
116514 /* System header to define __stub macros and hopefully few prototypes,
116515 which can conflict with char $ac_func (); below.
116516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116517 <limits.h> exists even on freestanding compilers. */
116519 #ifdef __STDC__
116520 # include <limits.h>
116521 #else
116522 # include <assert.h>
116523 #endif
116525 #undef $ac_func
116527 /* Override any gcc2 internal prototype to avoid an error. */
116528 #ifdef __cplusplus
116529 extern "C"
116531 #endif
116532 /* We use char because int might match the return type of a gcc2
116533 builtin and then its argument prototype would still apply. */
116534 char $ac_func ();
116535 /* The GNU C library defines this for functions which it implements
116536 to always fail with ENOSYS. Some functions are actually named
116537 something starting with __ and the normal name is an alias. */
116538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116539 choke me
116540 #else
116541 char (*f) () = $ac_func;
116542 #endif
116543 #ifdef __cplusplus
116545 #endif
116548 main ()
116550 return f != $ac_func;
116552 return 0;
116554 _ACEOF
116555 rm -f conftest.$ac_objext conftest$ac_exeext
116556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116557 (eval $ac_link) 2>conftest.er1
116558 ac_status=$?
116559 grep -v '^ *+' conftest.er1 >conftest.err
116560 rm -f conftest.er1
116561 cat conftest.err >&5
116562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116563 (exit $ac_status); } &&
116564 { ac_try='test -z "$ac_c_werror_flag"
116565 || test ! -s conftest.err'
116566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116567 (eval $ac_try) 2>&5
116568 ac_status=$?
116569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116570 (exit $ac_status); }; } &&
116571 { ac_try='test -s conftest$ac_exeext'
116572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116573 (eval $ac_try) 2>&5
116574 ac_status=$?
116575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116576 (exit $ac_status); }; }; then
116577 eval "$as_ac_var=yes"
116579 echo "$as_me: failed program was:" >&5
116580 sed 's/^/| /' conftest.$ac_ext >&5
116582 eval "$as_ac_var=no"
116584 rm -f conftest.err conftest.$ac_objext \
116585 conftest$ac_exeext conftest.$ac_ext
116587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116589 if test `eval echo '${'$as_ac_var'}'` = yes; then
116590 cat >>confdefs.h <<_ACEOF
116591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116592 _ACEOF
116599 echo "$as_me:$LINENO: checking for _expf declaration" >&5
116600 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
116601 if test x${glibcxx_cv_func__expf_use+set} != xset; then
116602 if test "${glibcxx_cv_func__expf_use+set}" = set; then
116603 echo $ECHO_N "(cached) $ECHO_C" >&6
116608 ac_ext=cc
116609 ac_cpp='$CXXCPP $CPPFLAGS'
116610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116614 cat >conftest.$ac_ext <<_ACEOF
116615 /* confdefs.h. */
116616 _ACEOF
116617 cat confdefs.h >>conftest.$ac_ext
116618 cat >>conftest.$ac_ext <<_ACEOF
116619 /* end confdefs.h. */
116620 #include <math.h>
116621 #ifdef HAVE_IEEEFP_H
116622 #include <ieeefp.h>
116623 #endif
116626 main ()
116628 _expf(0);
116630 return 0;
116632 _ACEOF
116633 rm -f conftest.$ac_objext
116634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116635 (eval $ac_compile) 2>conftest.er1
116636 ac_status=$?
116637 grep -v '^ *+' conftest.er1 >conftest.err
116638 rm -f conftest.er1
116639 cat conftest.err >&5
116640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116641 (exit $ac_status); } &&
116642 { ac_try='test -z "$ac_cxx_werror_flag"
116643 || test ! -s conftest.err'
116644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116645 (eval $ac_try) 2>&5
116646 ac_status=$?
116647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116648 (exit $ac_status); }; } &&
116649 { ac_try='test -s conftest.$ac_objext'
116650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116651 (eval $ac_try) 2>&5
116652 ac_status=$?
116653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116654 (exit $ac_status); }; }; then
116655 glibcxx_cv_func__expf_use=yes
116657 echo "$as_me: failed program was:" >&5
116658 sed 's/^/| /' conftest.$ac_ext >&5
116660 glibcxx_cv_func__expf_use=no
116662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116663 ac_ext=c
116664 ac_cpp='$CPP $CPPFLAGS'
116665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
116674 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
116676 if test x$glibcxx_cv_func__expf_use = x"yes"; then
116678 for ac_func in _expf
116680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116681 echo "$as_me:$LINENO: checking for $ac_func" >&5
116682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116683 if eval "test \"\${$as_ac_var+set}\" = set"; then
116684 echo $ECHO_N "(cached) $ECHO_C" >&6
116686 if test x$gcc_no_link = xyes; then
116687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116689 { (exit 1); exit 1; }; }
116691 cat >conftest.$ac_ext <<_ACEOF
116692 /* confdefs.h. */
116693 _ACEOF
116694 cat confdefs.h >>conftest.$ac_ext
116695 cat >>conftest.$ac_ext <<_ACEOF
116696 /* end confdefs.h. */
116697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116699 #define $ac_func innocuous_$ac_func
116701 /* System header to define __stub macros and hopefully few prototypes,
116702 which can conflict with char $ac_func (); below.
116703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116704 <limits.h> exists even on freestanding compilers. */
116706 #ifdef __STDC__
116707 # include <limits.h>
116708 #else
116709 # include <assert.h>
116710 #endif
116712 #undef $ac_func
116714 /* Override any gcc2 internal prototype to avoid an error. */
116715 #ifdef __cplusplus
116716 extern "C"
116718 #endif
116719 /* We use char because int might match the return type of a gcc2
116720 builtin and then its argument prototype would still apply. */
116721 char $ac_func ();
116722 /* The GNU C library defines this for functions which it implements
116723 to always fail with ENOSYS. Some functions are actually named
116724 something starting with __ and the normal name is an alias. */
116725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116726 choke me
116727 #else
116728 char (*f) () = $ac_func;
116729 #endif
116730 #ifdef __cplusplus
116732 #endif
116735 main ()
116737 return f != $ac_func;
116739 return 0;
116741 _ACEOF
116742 rm -f conftest.$ac_objext conftest$ac_exeext
116743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116744 (eval $ac_link) 2>conftest.er1
116745 ac_status=$?
116746 grep -v '^ *+' conftest.er1 >conftest.err
116747 rm -f conftest.er1
116748 cat conftest.err >&5
116749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116750 (exit $ac_status); } &&
116751 { ac_try='test -z "$ac_c_werror_flag"
116752 || test ! -s conftest.err'
116753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116754 (eval $ac_try) 2>&5
116755 ac_status=$?
116756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116757 (exit $ac_status); }; } &&
116758 { ac_try='test -s conftest$ac_exeext'
116759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116760 (eval $ac_try) 2>&5
116761 ac_status=$?
116762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116763 (exit $ac_status); }; }; then
116764 eval "$as_ac_var=yes"
116766 echo "$as_me: failed program was:" >&5
116767 sed 's/^/| /' conftest.$ac_ext >&5
116769 eval "$as_ac_var=no"
116771 rm -f conftest.err conftest.$ac_objext \
116772 conftest$ac_exeext conftest.$ac_ext
116774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116776 if test `eval echo '${'$as_ac_var'}'` = yes; then
116777 cat >>confdefs.h <<_ACEOF
116778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116779 _ACEOF
116792 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
116793 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
116794 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
116795 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
116796 echo $ECHO_N "(cached) $ECHO_C" >&6
116801 ac_ext=cc
116802 ac_cpp='$CXXCPP $CPPFLAGS'
116803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116807 cat >conftest.$ac_ext <<_ACEOF
116808 /* confdefs.h. */
116809 _ACEOF
116810 cat confdefs.h >>conftest.$ac_ext
116811 cat >>conftest.$ac_ext <<_ACEOF
116812 /* end confdefs.h. */
116813 #include <math.h>
116814 #ifdef HAVE_IEEEFP_H
116815 #include <ieeefp.h>
116816 #endif
116819 main ()
116821 isnanf(0);
116823 return 0;
116825 _ACEOF
116826 rm -f conftest.$ac_objext
116827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116828 (eval $ac_compile) 2>conftest.er1
116829 ac_status=$?
116830 grep -v '^ *+' conftest.er1 >conftest.err
116831 rm -f conftest.er1
116832 cat conftest.err >&5
116833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116834 (exit $ac_status); } &&
116835 { ac_try='test -z "$ac_cxx_werror_flag"
116836 || test ! -s conftest.err'
116837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116838 (eval $ac_try) 2>&5
116839 ac_status=$?
116840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116841 (exit $ac_status); }; } &&
116842 { ac_try='test -s conftest.$ac_objext'
116843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116844 (eval $ac_try) 2>&5
116845 ac_status=$?
116846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116847 (exit $ac_status); }; }; then
116848 glibcxx_cv_func_isnanf_use=yes
116850 echo "$as_me: failed program was:" >&5
116851 sed 's/^/| /' conftest.$ac_ext >&5
116853 glibcxx_cv_func_isnanf_use=no
116855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116856 ac_ext=c
116857 ac_cpp='$CPP $CPPFLAGS'
116858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
116867 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
116869 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
116871 for ac_func in isnanf
116873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116874 echo "$as_me:$LINENO: checking for $ac_func" >&5
116875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116876 if eval "test \"\${$as_ac_var+set}\" = set"; then
116877 echo $ECHO_N "(cached) $ECHO_C" >&6
116879 if test x$gcc_no_link = xyes; then
116880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116882 { (exit 1); exit 1; }; }
116884 cat >conftest.$ac_ext <<_ACEOF
116885 /* confdefs.h. */
116886 _ACEOF
116887 cat confdefs.h >>conftest.$ac_ext
116888 cat >>conftest.$ac_ext <<_ACEOF
116889 /* end confdefs.h. */
116890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116892 #define $ac_func innocuous_$ac_func
116894 /* System header to define __stub macros and hopefully few prototypes,
116895 which can conflict with char $ac_func (); below.
116896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116897 <limits.h> exists even on freestanding compilers. */
116899 #ifdef __STDC__
116900 # include <limits.h>
116901 #else
116902 # include <assert.h>
116903 #endif
116905 #undef $ac_func
116907 /* Override any gcc2 internal prototype to avoid an error. */
116908 #ifdef __cplusplus
116909 extern "C"
116911 #endif
116912 /* We use char because int might match the return type of a gcc2
116913 builtin and then its argument prototype would still apply. */
116914 char $ac_func ();
116915 /* The GNU C library defines this for functions which it implements
116916 to always fail with ENOSYS. Some functions are actually named
116917 something starting with __ and the normal name is an alias. */
116918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116919 choke me
116920 #else
116921 char (*f) () = $ac_func;
116922 #endif
116923 #ifdef __cplusplus
116925 #endif
116928 main ()
116930 return f != $ac_func;
116932 return 0;
116934 _ACEOF
116935 rm -f conftest.$ac_objext conftest$ac_exeext
116936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116937 (eval $ac_link) 2>conftest.er1
116938 ac_status=$?
116939 grep -v '^ *+' conftest.er1 >conftest.err
116940 rm -f conftest.er1
116941 cat conftest.err >&5
116942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116943 (exit $ac_status); } &&
116944 { ac_try='test -z "$ac_c_werror_flag"
116945 || test ! -s conftest.err'
116946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116947 (eval $ac_try) 2>&5
116948 ac_status=$?
116949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116950 (exit $ac_status); }; } &&
116951 { ac_try='test -s conftest$ac_exeext'
116952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116953 (eval $ac_try) 2>&5
116954 ac_status=$?
116955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116956 (exit $ac_status); }; }; then
116957 eval "$as_ac_var=yes"
116959 echo "$as_me: failed program was:" >&5
116960 sed 's/^/| /' conftest.$ac_ext >&5
116962 eval "$as_ac_var=no"
116964 rm -f conftest.err conftest.$ac_objext \
116965 conftest$ac_exeext conftest.$ac_ext
116967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116969 if test `eval echo '${'$as_ac_var'}'` = yes; then
116970 cat >>confdefs.h <<_ACEOF
116971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116972 _ACEOF
116979 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
116980 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
116981 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
116982 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
116983 echo $ECHO_N "(cached) $ECHO_C" >&6
116988 ac_ext=cc
116989 ac_cpp='$CXXCPP $CPPFLAGS'
116990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116994 cat >conftest.$ac_ext <<_ACEOF
116995 /* confdefs.h. */
116996 _ACEOF
116997 cat confdefs.h >>conftest.$ac_ext
116998 cat >>conftest.$ac_ext <<_ACEOF
116999 /* end confdefs.h. */
117000 #include <math.h>
117001 #ifdef HAVE_IEEEFP_H
117002 #include <ieeefp.h>
117003 #endif
117006 main ()
117008 _isnanf(0);
117010 return 0;
117012 _ACEOF
117013 rm -f conftest.$ac_objext
117014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117015 (eval $ac_compile) 2>conftest.er1
117016 ac_status=$?
117017 grep -v '^ *+' conftest.er1 >conftest.err
117018 rm -f conftest.er1
117019 cat conftest.err >&5
117020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117021 (exit $ac_status); } &&
117022 { ac_try='test -z "$ac_cxx_werror_flag"
117023 || test ! -s conftest.err'
117024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117025 (eval $ac_try) 2>&5
117026 ac_status=$?
117027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117028 (exit $ac_status); }; } &&
117029 { ac_try='test -s conftest.$ac_objext'
117030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117031 (eval $ac_try) 2>&5
117032 ac_status=$?
117033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117034 (exit $ac_status); }; }; then
117035 glibcxx_cv_func__isnanf_use=yes
117037 echo "$as_me: failed program was:" >&5
117038 sed 's/^/| /' conftest.$ac_ext >&5
117040 glibcxx_cv_func__isnanf_use=no
117042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117043 ac_ext=c
117044 ac_cpp='$CPP $CPPFLAGS'
117045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
117054 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
117056 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
117058 for ac_func in _isnanf
117060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117061 echo "$as_me:$LINENO: checking for $ac_func" >&5
117062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117063 if eval "test \"\${$as_ac_var+set}\" = set"; then
117064 echo $ECHO_N "(cached) $ECHO_C" >&6
117066 if test x$gcc_no_link = xyes; then
117067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117069 { (exit 1); exit 1; }; }
117071 cat >conftest.$ac_ext <<_ACEOF
117072 /* confdefs.h. */
117073 _ACEOF
117074 cat confdefs.h >>conftest.$ac_ext
117075 cat >>conftest.$ac_ext <<_ACEOF
117076 /* end confdefs.h. */
117077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117079 #define $ac_func innocuous_$ac_func
117081 /* System header to define __stub macros and hopefully few prototypes,
117082 which can conflict with char $ac_func (); below.
117083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117084 <limits.h> exists even on freestanding compilers. */
117086 #ifdef __STDC__
117087 # include <limits.h>
117088 #else
117089 # include <assert.h>
117090 #endif
117092 #undef $ac_func
117094 /* Override any gcc2 internal prototype to avoid an error. */
117095 #ifdef __cplusplus
117096 extern "C"
117098 #endif
117099 /* We use char because int might match the return type of a gcc2
117100 builtin and then its argument prototype would still apply. */
117101 char $ac_func ();
117102 /* The GNU C library defines this for functions which it implements
117103 to always fail with ENOSYS. Some functions are actually named
117104 something starting with __ and the normal name is an alias. */
117105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117106 choke me
117107 #else
117108 char (*f) () = $ac_func;
117109 #endif
117110 #ifdef __cplusplus
117112 #endif
117115 main ()
117117 return f != $ac_func;
117119 return 0;
117121 _ACEOF
117122 rm -f conftest.$ac_objext conftest$ac_exeext
117123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117124 (eval $ac_link) 2>conftest.er1
117125 ac_status=$?
117126 grep -v '^ *+' conftest.er1 >conftest.err
117127 rm -f conftest.er1
117128 cat conftest.err >&5
117129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117130 (exit $ac_status); } &&
117131 { ac_try='test -z "$ac_c_werror_flag"
117132 || test ! -s conftest.err'
117133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117134 (eval $ac_try) 2>&5
117135 ac_status=$?
117136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117137 (exit $ac_status); }; } &&
117138 { ac_try='test -s conftest$ac_exeext'
117139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117140 (eval $ac_try) 2>&5
117141 ac_status=$?
117142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117143 (exit $ac_status); }; }; then
117144 eval "$as_ac_var=yes"
117146 echo "$as_me: failed program was:" >&5
117147 sed 's/^/| /' conftest.$ac_ext >&5
117149 eval "$as_ac_var=no"
117151 rm -f conftest.err conftest.$ac_objext \
117152 conftest$ac_exeext conftest.$ac_ext
117154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117156 if test `eval echo '${'$as_ac_var'}'` = yes; then
117157 cat >>confdefs.h <<_ACEOF
117158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117159 _ACEOF
117172 echo "$as_me:$LINENO: checking for isinff declaration" >&5
117173 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
117174 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
117175 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
117176 echo $ECHO_N "(cached) $ECHO_C" >&6
117181 ac_ext=cc
117182 ac_cpp='$CXXCPP $CPPFLAGS'
117183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117187 cat >conftest.$ac_ext <<_ACEOF
117188 /* confdefs.h. */
117189 _ACEOF
117190 cat confdefs.h >>conftest.$ac_ext
117191 cat >>conftest.$ac_ext <<_ACEOF
117192 /* end confdefs.h. */
117193 #include <math.h>
117194 #ifdef HAVE_IEEEFP_H
117195 #include <ieeefp.h>
117196 #endif
117199 main ()
117201 isinff(0);
117203 return 0;
117205 _ACEOF
117206 rm -f conftest.$ac_objext
117207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117208 (eval $ac_compile) 2>conftest.er1
117209 ac_status=$?
117210 grep -v '^ *+' conftest.er1 >conftest.err
117211 rm -f conftest.er1
117212 cat conftest.err >&5
117213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117214 (exit $ac_status); } &&
117215 { ac_try='test -z "$ac_cxx_werror_flag"
117216 || test ! -s conftest.err'
117217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117218 (eval $ac_try) 2>&5
117219 ac_status=$?
117220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117221 (exit $ac_status); }; } &&
117222 { ac_try='test -s conftest.$ac_objext'
117223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117224 (eval $ac_try) 2>&5
117225 ac_status=$?
117226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117227 (exit $ac_status); }; }; then
117228 glibcxx_cv_func_isinff_use=yes
117230 echo "$as_me: failed program was:" >&5
117231 sed 's/^/| /' conftest.$ac_ext >&5
117233 glibcxx_cv_func_isinff_use=no
117235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117236 ac_ext=c
117237 ac_cpp='$CPP $CPPFLAGS'
117238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
117247 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
117249 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
117251 for ac_func in isinff
117253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117254 echo "$as_me:$LINENO: checking for $ac_func" >&5
117255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117256 if eval "test \"\${$as_ac_var+set}\" = set"; then
117257 echo $ECHO_N "(cached) $ECHO_C" >&6
117259 if test x$gcc_no_link = xyes; then
117260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117262 { (exit 1); exit 1; }; }
117264 cat >conftest.$ac_ext <<_ACEOF
117265 /* confdefs.h. */
117266 _ACEOF
117267 cat confdefs.h >>conftest.$ac_ext
117268 cat >>conftest.$ac_ext <<_ACEOF
117269 /* end confdefs.h. */
117270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117272 #define $ac_func innocuous_$ac_func
117274 /* System header to define __stub macros and hopefully few prototypes,
117275 which can conflict with char $ac_func (); below.
117276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117277 <limits.h> exists even on freestanding compilers. */
117279 #ifdef __STDC__
117280 # include <limits.h>
117281 #else
117282 # include <assert.h>
117283 #endif
117285 #undef $ac_func
117287 /* Override any gcc2 internal prototype to avoid an error. */
117288 #ifdef __cplusplus
117289 extern "C"
117291 #endif
117292 /* We use char because int might match the return type of a gcc2
117293 builtin and then its argument prototype would still apply. */
117294 char $ac_func ();
117295 /* The GNU C library defines this for functions which it implements
117296 to always fail with ENOSYS. Some functions are actually named
117297 something starting with __ and the normal name is an alias. */
117298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117299 choke me
117300 #else
117301 char (*f) () = $ac_func;
117302 #endif
117303 #ifdef __cplusplus
117305 #endif
117308 main ()
117310 return f != $ac_func;
117312 return 0;
117314 _ACEOF
117315 rm -f conftest.$ac_objext conftest$ac_exeext
117316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117317 (eval $ac_link) 2>conftest.er1
117318 ac_status=$?
117319 grep -v '^ *+' conftest.er1 >conftest.err
117320 rm -f conftest.er1
117321 cat conftest.err >&5
117322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117323 (exit $ac_status); } &&
117324 { ac_try='test -z "$ac_c_werror_flag"
117325 || test ! -s conftest.err'
117326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117327 (eval $ac_try) 2>&5
117328 ac_status=$?
117329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117330 (exit $ac_status); }; } &&
117331 { ac_try='test -s conftest$ac_exeext'
117332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117333 (eval $ac_try) 2>&5
117334 ac_status=$?
117335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117336 (exit $ac_status); }; }; then
117337 eval "$as_ac_var=yes"
117339 echo "$as_me: failed program was:" >&5
117340 sed 's/^/| /' conftest.$ac_ext >&5
117342 eval "$as_ac_var=no"
117344 rm -f conftest.err conftest.$ac_objext \
117345 conftest$ac_exeext conftest.$ac_ext
117347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117349 if test `eval echo '${'$as_ac_var'}'` = yes; then
117350 cat >>confdefs.h <<_ACEOF
117351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117352 _ACEOF
117359 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
117360 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
117361 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
117362 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
117363 echo $ECHO_N "(cached) $ECHO_C" >&6
117368 ac_ext=cc
117369 ac_cpp='$CXXCPP $CPPFLAGS'
117370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117374 cat >conftest.$ac_ext <<_ACEOF
117375 /* confdefs.h. */
117376 _ACEOF
117377 cat confdefs.h >>conftest.$ac_ext
117378 cat >>conftest.$ac_ext <<_ACEOF
117379 /* end confdefs.h. */
117380 #include <math.h>
117381 #ifdef HAVE_IEEEFP_H
117382 #include <ieeefp.h>
117383 #endif
117386 main ()
117388 _isinff(0);
117390 return 0;
117392 _ACEOF
117393 rm -f conftest.$ac_objext
117394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117395 (eval $ac_compile) 2>conftest.er1
117396 ac_status=$?
117397 grep -v '^ *+' conftest.er1 >conftest.err
117398 rm -f conftest.er1
117399 cat conftest.err >&5
117400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117401 (exit $ac_status); } &&
117402 { ac_try='test -z "$ac_cxx_werror_flag"
117403 || test ! -s conftest.err'
117404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117405 (eval $ac_try) 2>&5
117406 ac_status=$?
117407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117408 (exit $ac_status); }; } &&
117409 { ac_try='test -s conftest.$ac_objext'
117410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117411 (eval $ac_try) 2>&5
117412 ac_status=$?
117413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117414 (exit $ac_status); }; }; then
117415 glibcxx_cv_func__isinff_use=yes
117417 echo "$as_me: failed program was:" >&5
117418 sed 's/^/| /' conftest.$ac_ext >&5
117420 glibcxx_cv_func__isinff_use=no
117422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117423 ac_ext=c
117424 ac_cpp='$CPP $CPPFLAGS'
117425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
117434 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
117436 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
117438 for ac_func in _isinff
117440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117441 echo "$as_me:$LINENO: checking for $ac_func" >&5
117442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117443 if eval "test \"\${$as_ac_var+set}\" = set"; then
117444 echo $ECHO_N "(cached) $ECHO_C" >&6
117446 if test x$gcc_no_link = xyes; then
117447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117449 { (exit 1); exit 1; }; }
117451 cat >conftest.$ac_ext <<_ACEOF
117452 /* confdefs.h. */
117453 _ACEOF
117454 cat confdefs.h >>conftest.$ac_ext
117455 cat >>conftest.$ac_ext <<_ACEOF
117456 /* end confdefs.h. */
117457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117459 #define $ac_func innocuous_$ac_func
117461 /* System header to define __stub macros and hopefully few prototypes,
117462 which can conflict with char $ac_func (); below.
117463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117464 <limits.h> exists even on freestanding compilers. */
117466 #ifdef __STDC__
117467 # include <limits.h>
117468 #else
117469 # include <assert.h>
117470 #endif
117472 #undef $ac_func
117474 /* Override any gcc2 internal prototype to avoid an error. */
117475 #ifdef __cplusplus
117476 extern "C"
117478 #endif
117479 /* We use char because int might match the return type of a gcc2
117480 builtin and then its argument prototype would still apply. */
117481 char $ac_func ();
117482 /* The GNU C library defines this for functions which it implements
117483 to always fail with ENOSYS. Some functions are actually named
117484 something starting with __ and the normal name is an alias. */
117485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117486 choke me
117487 #else
117488 char (*f) () = $ac_func;
117489 #endif
117490 #ifdef __cplusplus
117492 #endif
117495 main ()
117497 return f != $ac_func;
117499 return 0;
117501 _ACEOF
117502 rm -f conftest.$ac_objext conftest$ac_exeext
117503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117504 (eval $ac_link) 2>conftest.er1
117505 ac_status=$?
117506 grep -v '^ *+' conftest.er1 >conftest.err
117507 rm -f conftest.er1
117508 cat conftest.err >&5
117509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117510 (exit $ac_status); } &&
117511 { ac_try='test -z "$ac_c_werror_flag"
117512 || test ! -s conftest.err'
117513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117514 (eval $ac_try) 2>&5
117515 ac_status=$?
117516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117517 (exit $ac_status); }; } &&
117518 { ac_try='test -s conftest$ac_exeext'
117519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117520 (eval $ac_try) 2>&5
117521 ac_status=$?
117522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117523 (exit $ac_status); }; }; then
117524 eval "$as_ac_var=yes"
117526 echo "$as_me: failed program was:" >&5
117527 sed 's/^/| /' conftest.$ac_ext >&5
117529 eval "$as_ac_var=no"
117531 rm -f conftest.err conftest.$ac_objext \
117532 conftest$ac_exeext conftest.$ac_ext
117534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117536 if test `eval echo '${'$as_ac_var'}'` = yes; then
117537 cat >>confdefs.h <<_ACEOF
117538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117539 _ACEOF
117552 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
117553 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
117554 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
117555 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
117556 echo $ECHO_N "(cached) $ECHO_C" >&6
117561 ac_ext=cc
117562 ac_cpp='$CXXCPP $CPPFLAGS'
117563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117567 cat >conftest.$ac_ext <<_ACEOF
117568 /* confdefs.h. */
117569 _ACEOF
117570 cat confdefs.h >>conftest.$ac_ext
117571 cat >>conftest.$ac_ext <<_ACEOF
117572 /* end confdefs.h. */
117573 #include <math.h>
117575 main ()
117577 atan2f(0, 0);
117579 return 0;
117581 _ACEOF
117582 rm -f conftest.$ac_objext
117583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117584 (eval $ac_compile) 2>conftest.er1
117585 ac_status=$?
117586 grep -v '^ *+' conftest.er1 >conftest.err
117587 rm -f conftest.er1
117588 cat conftest.err >&5
117589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117590 (exit $ac_status); } &&
117591 { ac_try='test -z "$ac_cxx_werror_flag"
117592 || test ! -s conftest.err'
117593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117594 (eval $ac_try) 2>&5
117595 ac_status=$?
117596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117597 (exit $ac_status); }; } &&
117598 { ac_try='test -s conftest.$ac_objext'
117599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117600 (eval $ac_try) 2>&5
117601 ac_status=$?
117602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117603 (exit $ac_status); }; }; then
117604 glibcxx_cv_func_atan2f_use=yes
117606 echo "$as_me: failed program was:" >&5
117607 sed 's/^/| /' conftest.$ac_ext >&5
117609 glibcxx_cv_func_atan2f_use=no
117611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117612 ac_ext=c
117613 ac_cpp='$CPP $CPPFLAGS'
117614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
117623 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
117625 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
117627 for ac_func in atan2f
117629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117630 echo "$as_me:$LINENO: checking for $ac_func" >&5
117631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117632 if eval "test \"\${$as_ac_var+set}\" = set"; then
117633 echo $ECHO_N "(cached) $ECHO_C" >&6
117635 if test x$gcc_no_link = xyes; then
117636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117638 { (exit 1); exit 1; }; }
117640 cat >conftest.$ac_ext <<_ACEOF
117641 /* confdefs.h. */
117642 _ACEOF
117643 cat confdefs.h >>conftest.$ac_ext
117644 cat >>conftest.$ac_ext <<_ACEOF
117645 /* end confdefs.h. */
117646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117648 #define $ac_func innocuous_$ac_func
117650 /* System header to define __stub macros and hopefully few prototypes,
117651 which can conflict with char $ac_func (); below.
117652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117653 <limits.h> exists even on freestanding compilers. */
117655 #ifdef __STDC__
117656 # include <limits.h>
117657 #else
117658 # include <assert.h>
117659 #endif
117661 #undef $ac_func
117663 /* Override any gcc2 internal prototype to avoid an error. */
117664 #ifdef __cplusplus
117665 extern "C"
117667 #endif
117668 /* We use char because int might match the return type of a gcc2
117669 builtin and then its argument prototype would still apply. */
117670 char $ac_func ();
117671 /* The GNU C library defines this for functions which it implements
117672 to always fail with ENOSYS. Some functions are actually named
117673 something starting with __ and the normal name is an alias. */
117674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117675 choke me
117676 #else
117677 char (*f) () = $ac_func;
117678 #endif
117679 #ifdef __cplusplus
117681 #endif
117684 main ()
117686 return f != $ac_func;
117688 return 0;
117690 _ACEOF
117691 rm -f conftest.$ac_objext conftest$ac_exeext
117692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117693 (eval $ac_link) 2>conftest.er1
117694 ac_status=$?
117695 grep -v '^ *+' conftest.er1 >conftest.err
117696 rm -f conftest.er1
117697 cat conftest.err >&5
117698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117699 (exit $ac_status); } &&
117700 { ac_try='test -z "$ac_c_werror_flag"
117701 || test ! -s conftest.err'
117702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117703 (eval $ac_try) 2>&5
117704 ac_status=$?
117705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117706 (exit $ac_status); }; } &&
117707 { ac_try='test -s conftest$ac_exeext'
117708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117709 (eval $ac_try) 2>&5
117710 ac_status=$?
117711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117712 (exit $ac_status); }; }; then
117713 eval "$as_ac_var=yes"
117715 echo "$as_me: failed program was:" >&5
117716 sed 's/^/| /' conftest.$ac_ext >&5
117718 eval "$as_ac_var=no"
117720 rm -f conftest.err conftest.$ac_objext \
117721 conftest$ac_exeext conftest.$ac_ext
117723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117725 if test `eval echo '${'$as_ac_var'}'` = yes; then
117726 cat >>confdefs.h <<_ACEOF
117727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117728 _ACEOF
117735 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
117736 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
117737 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
117738 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
117739 echo $ECHO_N "(cached) $ECHO_C" >&6
117744 ac_ext=cc
117745 ac_cpp='$CXXCPP $CPPFLAGS'
117746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117750 cat >conftest.$ac_ext <<_ACEOF
117751 /* confdefs.h. */
117752 _ACEOF
117753 cat confdefs.h >>conftest.$ac_ext
117754 cat >>conftest.$ac_ext <<_ACEOF
117755 /* end confdefs.h. */
117756 #include <math.h>
117758 main ()
117760 _atan2f(0, 0);
117762 return 0;
117764 _ACEOF
117765 rm -f conftest.$ac_objext
117766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117767 (eval $ac_compile) 2>conftest.er1
117768 ac_status=$?
117769 grep -v '^ *+' conftest.er1 >conftest.err
117770 rm -f conftest.er1
117771 cat conftest.err >&5
117772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117773 (exit $ac_status); } &&
117774 { ac_try='test -z "$ac_cxx_werror_flag"
117775 || test ! -s conftest.err'
117776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117777 (eval $ac_try) 2>&5
117778 ac_status=$?
117779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117780 (exit $ac_status); }; } &&
117781 { ac_try='test -s conftest.$ac_objext'
117782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117783 (eval $ac_try) 2>&5
117784 ac_status=$?
117785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117786 (exit $ac_status); }; }; then
117787 glibcxx_cv_func__atan2f_use=yes
117789 echo "$as_me: failed program was:" >&5
117790 sed 's/^/| /' conftest.$ac_ext >&5
117792 glibcxx_cv_func__atan2f_use=no
117794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117795 ac_ext=c
117796 ac_cpp='$CPP $CPPFLAGS'
117797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
117806 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
117808 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
117810 for ac_func in _atan2f
117812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117813 echo "$as_me:$LINENO: checking for $ac_func" >&5
117814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117815 if eval "test \"\${$as_ac_var+set}\" = set"; then
117816 echo $ECHO_N "(cached) $ECHO_C" >&6
117818 if test x$gcc_no_link = xyes; then
117819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117821 { (exit 1); exit 1; }; }
117823 cat >conftest.$ac_ext <<_ACEOF
117824 /* confdefs.h. */
117825 _ACEOF
117826 cat confdefs.h >>conftest.$ac_ext
117827 cat >>conftest.$ac_ext <<_ACEOF
117828 /* end confdefs.h. */
117829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
117831 #define $ac_func innocuous_$ac_func
117833 /* System header to define __stub macros and hopefully few prototypes,
117834 which can conflict with char $ac_func (); below.
117835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117836 <limits.h> exists even on freestanding compilers. */
117838 #ifdef __STDC__
117839 # include <limits.h>
117840 #else
117841 # include <assert.h>
117842 #endif
117844 #undef $ac_func
117846 /* Override any gcc2 internal prototype to avoid an error. */
117847 #ifdef __cplusplus
117848 extern "C"
117850 #endif
117851 /* We use char because int might match the return type of a gcc2
117852 builtin and then its argument prototype would still apply. */
117853 char $ac_func ();
117854 /* The GNU C library defines this for functions which it implements
117855 to always fail with ENOSYS. Some functions are actually named
117856 something starting with __ and the normal name is an alias. */
117857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117858 choke me
117859 #else
117860 char (*f) () = $ac_func;
117861 #endif
117862 #ifdef __cplusplus
117864 #endif
117867 main ()
117869 return f != $ac_func;
117871 return 0;
117873 _ACEOF
117874 rm -f conftest.$ac_objext conftest$ac_exeext
117875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117876 (eval $ac_link) 2>conftest.er1
117877 ac_status=$?
117878 grep -v '^ *+' conftest.er1 >conftest.err
117879 rm -f conftest.er1
117880 cat conftest.err >&5
117881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117882 (exit $ac_status); } &&
117883 { ac_try='test -z "$ac_c_werror_flag"
117884 || test ! -s conftest.err'
117885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117886 (eval $ac_try) 2>&5
117887 ac_status=$?
117888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117889 (exit $ac_status); }; } &&
117890 { ac_try='test -s conftest$ac_exeext'
117891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117892 (eval $ac_try) 2>&5
117893 ac_status=$?
117894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117895 (exit $ac_status); }; }; then
117896 eval "$as_ac_var=yes"
117898 echo "$as_me: failed program was:" >&5
117899 sed 's/^/| /' conftest.$ac_ext >&5
117901 eval "$as_ac_var=no"
117903 rm -f conftest.err conftest.$ac_objext \
117904 conftest$ac_exeext conftest.$ac_ext
117906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117908 if test `eval echo '${'$as_ac_var'}'` = yes; then
117909 cat >>confdefs.h <<_ACEOF
117910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117911 _ACEOF
117924 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
117925 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
117926 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
117927 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
117928 echo $ECHO_N "(cached) $ECHO_C" >&6
117933 ac_ext=cc
117934 ac_cpp='$CXXCPP $CPPFLAGS'
117935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
117939 cat >conftest.$ac_ext <<_ACEOF
117940 /* confdefs.h. */
117941 _ACEOF
117942 cat confdefs.h >>conftest.$ac_ext
117943 cat >>conftest.$ac_ext <<_ACEOF
117944 /* end confdefs.h. */
117945 #include <math.h>
117946 #ifdef HAVE_IEEEFP_H
117947 #include <ieeefp.h>
117948 #endif
117951 main ()
117953 fabsf(0);
117955 return 0;
117957 _ACEOF
117958 rm -f conftest.$ac_objext
117959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117960 (eval $ac_compile) 2>conftest.er1
117961 ac_status=$?
117962 grep -v '^ *+' conftest.er1 >conftest.err
117963 rm -f conftest.er1
117964 cat conftest.err >&5
117965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117966 (exit $ac_status); } &&
117967 { ac_try='test -z "$ac_cxx_werror_flag"
117968 || test ! -s conftest.err'
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); }; } &&
117974 { ac_try='test -s conftest.$ac_objext'
117975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117976 (eval $ac_try) 2>&5
117977 ac_status=$?
117978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117979 (exit $ac_status); }; }; then
117980 glibcxx_cv_func_fabsf_use=yes
117982 echo "$as_me: failed program was:" >&5
117983 sed 's/^/| /' conftest.$ac_ext >&5
117985 glibcxx_cv_func_fabsf_use=no
117987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117988 ac_ext=c
117989 ac_cpp='$CPP $CPPFLAGS'
117990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
117999 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
118001 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
118003 for ac_func in fabsf
118005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118006 echo "$as_me:$LINENO: checking for $ac_func" >&5
118007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118008 if eval "test \"\${$as_ac_var+set}\" = set"; then
118009 echo $ECHO_N "(cached) $ECHO_C" >&6
118011 if test x$gcc_no_link = xyes; then
118012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118014 { (exit 1); exit 1; }; }
118016 cat >conftest.$ac_ext <<_ACEOF
118017 /* confdefs.h. */
118018 _ACEOF
118019 cat confdefs.h >>conftest.$ac_ext
118020 cat >>conftest.$ac_ext <<_ACEOF
118021 /* end confdefs.h. */
118022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118024 #define $ac_func innocuous_$ac_func
118026 /* System header to define __stub macros and hopefully few prototypes,
118027 which can conflict with char $ac_func (); below.
118028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118029 <limits.h> exists even on freestanding compilers. */
118031 #ifdef __STDC__
118032 # include <limits.h>
118033 #else
118034 # include <assert.h>
118035 #endif
118037 #undef $ac_func
118039 /* Override any gcc2 internal prototype to avoid an error. */
118040 #ifdef __cplusplus
118041 extern "C"
118043 #endif
118044 /* We use char because int might match the return type of a gcc2
118045 builtin and then its argument prototype would still apply. */
118046 char $ac_func ();
118047 /* The GNU C library defines this for functions which it implements
118048 to always fail with ENOSYS. Some functions are actually named
118049 something starting with __ and the normal name is an alias. */
118050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118051 choke me
118052 #else
118053 char (*f) () = $ac_func;
118054 #endif
118055 #ifdef __cplusplus
118057 #endif
118060 main ()
118062 return f != $ac_func;
118064 return 0;
118066 _ACEOF
118067 rm -f conftest.$ac_objext conftest$ac_exeext
118068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118069 (eval $ac_link) 2>conftest.er1
118070 ac_status=$?
118071 grep -v '^ *+' conftest.er1 >conftest.err
118072 rm -f conftest.er1
118073 cat conftest.err >&5
118074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118075 (exit $ac_status); } &&
118076 { ac_try='test -z "$ac_c_werror_flag"
118077 || test ! -s conftest.err'
118078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118079 (eval $ac_try) 2>&5
118080 ac_status=$?
118081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118082 (exit $ac_status); }; } &&
118083 { ac_try='test -s conftest$ac_exeext'
118084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118085 (eval $ac_try) 2>&5
118086 ac_status=$?
118087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118088 (exit $ac_status); }; }; then
118089 eval "$as_ac_var=yes"
118091 echo "$as_me: failed program was:" >&5
118092 sed 's/^/| /' conftest.$ac_ext >&5
118094 eval "$as_ac_var=no"
118096 rm -f conftest.err conftest.$ac_objext \
118097 conftest$ac_exeext conftest.$ac_ext
118099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118101 if test `eval echo '${'$as_ac_var'}'` = yes; then
118102 cat >>confdefs.h <<_ACEOF
118103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118104 _ACEOF
118111 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
118112 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
118113 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
118114 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
118115 echo $ECHO_N "(cached) $ECHO_C" >&6
118120 ac_ext=cc
118121 ac_cpp='$CXXCPP $CPPFLAGS'
118122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118126 cat >conftest.$ac_ext <<_ACEOF
118127 /* confdefs.h. */
118128 _ACEOF
118129 cat confdefs.h >>conftest.$ac_ext
118130 cat >>conftest.$ac_ext <<_ACEOF
118131 /* end confdefs.h. */
118132 #include <math.h>
118133 #ifdef HAVE_IEEEFP_H
118134 #include <ieeefp.h>
118135 #endif
118138 main ()
118140 _fabsf(0);
118142 return 0;
118144 _ACEOF
118145 rm -f conftest.$ac_objext
118146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118147 (eval $ac_compile) 2>conftest.er1
118148 ac_status=$?
118149 grep -v '^ *+' conftest.er1 >conftest.err
118150 rm -f conftest.er1
118151 cat conftest.err >&5
118152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118153 (exit $ac_status); } &&
118154 { ac_try='test -z "$ac_cxx_werror_flag"
118155 || test ! -s conftest.err'
118156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118157 (eval $ac_try) 2>&5
118158 ac_status=$?
118159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118160 (exit $ac_status); }; } &&
118161 { ac_try='test -s conftest.$ac_objext'
118162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118163 (eval $ac_try) 2>&5
118164 ac_status=$?
118165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118166 (exit $ac_status); }; }; then
118167 glibcxx_cv_func__fabsf_use=yes
118169 echo "$as_me: failed program was:" >&5
118170 sed 's/^/| /' conftest.$ac_ext >&5
118172 glibcxx_cv_func__fabsf_use=no
118174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118175 ac_ext=c
118176 ac_cpp='$CPP $CPPFLAGS'
118177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
118186 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
118188 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
118190 for ac_func in _fabsf
118192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118193 echo "$as_me:$LINENO: checking for $ac_func" >&5
118194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118195 if eval "test \"\${$as_ac_var+set}\" = set"; then
118196 echo $ECHO_N "(cached) $ECHO_C" >&6
118198 if test x$gcc_no_link = xyes; then
118199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118201 { (exit 1); exit 1; }; }
118203 cat >conftest.$ac_ext <<_ACEOF
118204 /* confdefs.h. */
118205 _ACEOF
118206 cat confdefs.h >>conftest.$ac_ext
118207 cat >>conftest.$ac_ext <<_ACEOF
118208 /* end confdefs.h. */
118209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118211 #define $ac_func innocuous_$ac_func
118213 /* System header to define __stub macros and hopefully few prototypes,
118214 which can conflict with char $ac_func (); below.
118215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118216 <limits.h> exists even on freestanding compilers. */
118218 #ifdef __STDC__
118219 # include <limits.h>
118220 #else
118221 # include <assert.h>
118222 #endif
118224 #undef $ac_func
118226 /* Override any gcc2 internal prototype to avoid an error. */
118227 #ifdef __cplusplus
118228 extern "C"
118230 #endif
118231 /* We use char because int might match the return type of a gcc2
118232 builtin and then its argument prototype would still apply. */
118233 char $ac_func ();
118234 /* The GNU C library defines this for functions which it implements
118235 to always fail with ENOSYS. Some functions are actually named
118236 something starting with __ and the normal name is an alias. */
118237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118238 choke me
118239 #else
118240 char (*f) () = $ac_func;
118241 #endif
118242 #ifdef __cplusplus
118244 #endif
118247 main ()
118249 return f != $ac_func;
118251 return 0;
118253 _ACEOF
118254 rm -f conftest.$ac_objext conftest$ac_exeext
118255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118256 (eval $ac_link) 2>conftest.er1
118257 ac_status=$?
118258 grep -v '^ *+' conftest.er1 >conftest.err
118259 rm -f conftest.er1
118260 cat conftest.err >&5
118261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118262 (exit $ac_status); } &&
118263 { ac_try='test -z "$ac_c_werror_flag"
118264 || test ! -s conftest.err'
118265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118266 (eval $ac_try) 2>&5
118267 ac_status=$?
118268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118269 (exit $ac_status); }; } &&
118270 { ac_try='test -s conftest$ac_exeext'
118271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118272 (eval $ac_try) 2>&5
118273 ac_status=$?
118274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118275 (exit $ac_status); }; }; then
118276 eval "$as_ac_var=yes"
118278 echo "$as_me: failed program was:" >&5
118279 sed 's/^/| /' conftest.$ac_ext >&5
118281 eval "$as_ac_var=no"
118283 rm -f conftest.err conftest.$ac_objext \
118284 conftest$ac_exeext conftest.$ac_ext
118286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118288 if test `eval echo '${'$as_ac_var'}'` = yes; then
118289 cat >>confdefs.h <<_ACEOF
118290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118291 _ACEOF
118304 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
118305 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
118306 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
118307 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
118308 echo $ECHO_N "(cached) $ECHO_C" >&6
118313 ac_ext=cc
118314 ac_cpp='$CXXCPP $CPPFLAGS'
118315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118319 cat >conftest.$ac_ext <<_ACEOF
118320 /* confdefs.h. */
118321 _ACEOF
118322 cat confdefs.h >>conftest.$ac_ext
118323 cat >>conftest.$ac_ext <<_ACEOF
118324 /* end confdefs.h. */
118325 #include <math.h>
118327 main ()
118329 fmodf(0, 0);
118331 return 0;
118333 _ACEOF
118334 rm -f conftest.$ac_objext
118335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118336 (eval $ac_compile) 2>conftest.er1
118337 ac_status=$?
118338 grep -v '^ *+' conftest.er1 >conftest.err
118339 rm -f conftest.er1
118340 cat conftest.err >&5
118341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118342 (exit $ac_status); } &&
118343 { ac_try='test -z "$ac_cxx_werror_flag"
118344 || test ! -s conftest.err'
118345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118346 (eval $ac_try) 2>&5
118347 ac_status=$?
118348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118349 (exit $ac_status); }; } &&
118350 { ac_try='test -s conftest.$ac_objext'
118351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118352 (eval $ac_try) 2>&5
118353 ac_status=$?
118354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118355 (exit $ac_status); }; }; then
118356 glibcxx_cv_func_fmodf_use=yes
118358 echo "$as_me: failed program was:" >&5
118359 sed 's/^/| /' conftest.$ac_ext >&5
118361 glibcxx_cv_func_fmodf_use=no
118363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118364 ac_ext=c
118365 ac_cpp='$CPP $CPPFLAGS'
118366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
118375 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
118377 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
118379 for ac_func in fmodf
118381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118382 echo "$as_me:$LINENO: checking for $ac_func" >&5
118383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118384 if eval "test \"\${$as_ac_var+set}\" = set"; then
118385 echo $ECHO_N "(cached) $ECHO_C" >&6
118387 if test x$gcc_no_link = xyes; then
118388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118390 { (exit 1); exit 1; }; }
118392 cat >conftest.$ac_ext <<_ACEOF
118393 /* confdefs.h. */
118394 _ACEOF
118395 cat confdefs.h >>conftest.$ac_ext
118396 cat >>conftest.$ac_ext <<_ACEOF
118397 /* end confdefs.h. */
118398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118400 #define $ac_func innocuous_$ac_func
118402 /* System header to define __stub macros and hopefully few prototypes,
118403 which can conflict with char $ac_func (); below.
118404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118405 <limits.h> exists even on freestanding compilers. */
118407 #ifdef __STDC__
118408 # include <limits.h>
118409 #else
118410 # include <assert.h>
118411 #endif
118413 #undef $ac_func
118415 /* Override any gcc2 internal prototype to avoid an error. */
118416 #ifdef __cplusplus
118417 extern "C"
118419 #endif
118420 /* We use char because int might match the return type of a gcc2
118421 builtin and then its argument prototype would still apply. */
118422 char $ac_func ();
118423 /* The GNU C library defines this for functions which it implements
118424 to always fail with ENOSYS. Some functions are actually named
118425 something starting with __ and the normal name is an alias. */
118426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118427 choke me
118428 #else
118429 char (*f) () = $ac_func;
118430 #endif
118431 #ifdef __cplusplus
118433 #endif
118436 main ()
118438 return f != $ac_func;
118440 return 0;
118442 _ACEOF
118443 rm -f conftest.$ac_objext conftest$ac_exeext
118444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118445 (eval $ac_link) 2>conftest.er1
118446 ac_status=$?
118447 grep -v '^ *+' conftest.er1 >conftest.err
118448 rm -f conftest.er1
118449 cat conftest.err >&5
118450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118451 (exit $ac_status); } &&
118452 { ac_try='test -z "$ac_c_werror_flag"
118453 || test ! -s conftest.err'
118454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118455 (eval $ac_try) 2>&5
118456 ac_status=$?
118457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118458 (exit $ac_status); }; } &&
118459 { ac_try='test -s conftest$ac_exeext'
118460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118461 (eval $ac_try) 2>&5
118462 ac_status=$?
118463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118464 (exit $ac_status); }; }; then
118465 eval "$as_ac_var=yes"
118467 echo "$as_me: failed program was:" >&5
118468 sed 's/^/| /' conftest.$ac_ext >&5
118470 eval "$as_ac_var=no"
118472 rm -f conftest.err conftest.$ac_objext \
118473 conftest$ac_exeext conftest.$ac_ext
118475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118477 if test `eval echo '${'$as_ac_var'}'` = yes; then
118478 cat >>confdefs.h <<_ACEOF
118479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118480 _ACEOF
118487 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
118488 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
118489 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
118490 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
118491 echo $ECHO_N "(cached) $ECHO_C" >&6
118496 ac_ext=cc
118497 ac_cpp='$CXXCPP $CPPFLAGS'
118498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118502 cat >conftest.$ac_ext <<_ACEOF
118503 /* confdefs.h. */
118504 _ACEOF
118505 cat confdefs.h >>conftest.$ac_ext
118506 cat >>conftest.$ac_ext <<_ACEOF
118507 /* end confdefs.h. */
118508 #include <math.h>
118510 main ()
118512 _fmodf(0, 0);
118514 return 0;
118516 _ACEOF
118517 rm -f conftest.$ac_objext
118518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118519 (eval $ac_compile) 2>conftest.er1
118520 ac_status=$?
118521 grep -v '^ *+' conftest.er1 >conftest.err
118522 rm -f conftest.er1
118523 cat conftest.err >&5
118524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118525 (exit $ac_status); } &&
118526 { ac_try='test -z "$ac_cxx_werror_flag"
118527 || test ! -s conftest.err'
118528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118529 (eval $ac_try) 2>&5
118530 ac_status=$?
118531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118532 (exit $ac_status); }; } &&
118533 { ac_try='test -s conftest.$ac_objext'
118534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118535 (eval $ac_try) 2>&5
118536 ac_status=$?
118537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118538 (exit $ac_status); }; }; then
118539 glibcxx_cv_func__fmodf_use=yes
118541 echo "$as_me: failed program was:" >&5
118542 sed 's/^/| /' conftest.$ac_ext >&5
118544 glibcxx_cv_func__fmodf_use=no
118546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118547 ac_ext=c
118548 ac_cpp='$CPP $CPPFLAGS'
118549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
118558 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
118560 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
118562 for ac_func in _fmodf
118564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118565 echo "$as_me:$LINENO: checking for $ac_func" >&5
118566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118567 if eval "test \"\${$as_ac_var+set}\" = set"; then
118568 echo $ECHO_N "(cached) $ECHO_C" >&6
118570 if test x$gcc_no_link = xyes; then
118571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118573 { (exit 1); exit 1; }; }
118575 cat >conftest.$ac_ext <<_ACEOF
118576 /* confdefs.h. */
118577 _ACEOF
118578 cat confdefs.h >>conftest.$ac_ext
118579 cat >>conftest.$ac_ext <<_ACEOF
118580 /* end confdefs.h. */
118581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118583 #define $ac_func innocuous_$ac_func
118585 /* System header to define __stub macros and hopefully few prototypes,
118586 which can conflict with char $ac_func (); below.
118587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118588 <limits.h> exists even on freestanding compilers. */
118590 #ifdef __STDC__
118591 # include <limits.h>
118592 #else
118593 # include <assert.h>
118594 #endif
118596 #undef $ac_func
118598 /* Override any gcc2 internal prototype to avoid an error. */
118599 #ifdef __cplusplus
118600 extern "C"
118602 #endif
118603 /* We use char because int might match the return type of a gcc2
118604 builtin and then its argument prototype would still apply. */
118605 char $ac_func ();
118606 /* The GNU C library defines this for functions which it implements
118607 to always fail with ENOSYS. Some functions are actually named
118608 something starting with __ and the normal name is an alias. */
118609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118610 choke me
118611 #else
118612 char (*f) () = $ac_func;
118613 #endif
118614 #ifdef __cplusplus
118616 #endif
118619 main ()
118621 return f != $ac_func;
118623 return 0;
118625 _ACEOF
118626 rm -f conftest.$ac_objext conftest$ac_exeext
118627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118628 (eval $ac_link) 2>conftest.er1
118629 ac_status=$?
118630 grep -v '^ *+' conftest.er1 >conftest.err
118631 rm -f conftest.er1
118632 cat conftest.err >&5
118633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118634 (exit $ac_status); } &&
118635 { ac_try='test -z "$ac_c_werror_flag"
118636 || test ! -s conftest.err'
118637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118638 (eval $ac_try) 2>&5
118639 ac_status=$?
118640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118641 (exit $ac_status); }; } &&
118642 { ac_try='test -s conftest$ac_exeext'
118643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118644 (eval $ac_try) 2>&5
118645 ac_status=$?
118646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118647 (exit $ac_status); }; }; then
118648 eval "$as_ac_var=yes"
118650 echo "$as_me: failed program was:" >&5
118651 sed 's/^/| /' conftest.$ac_ext >&5
118653 eval "$as_ac_var=no"
118655 rm -f conftest.err conftest.$ac_objext \
118656 conftest$ac_exeext conftest.$ac_ext
118658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118660 if test `eval echo '${'$as_ac_var'}'` = yes; then
118661 cat >>confdefs.h <<_ACEOF
118662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118663 _ACEOF
118676 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
118677 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
118678 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
118679 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
118680 echo $ECHO_N "(cached) $ECHO_C" >&6
118685 ac_ext=cc
118686 ac_cpp='$CXXCPP $CPPFLAGS'
118687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118691 cat >conftest.$ac_ext <<_ACEOF
118692 /* confdefs.h. */
118693 _ACEOF
118694 cat confdefs.h >>conftest.$ac_ext
118695 cat >>conftest.$ac_ext <<_ACEOF
118696 /* end confdefs.h. */
118697 #include <math.h>
118699 main ()
118701 frexpf(0, 0);
118703 return 0;
118705 _ACEOF
118706 rm -f conftest.$ac_objext
118707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118708 (eval $ac_compile) 2>conftest.er1
118709 ac_status=$?
118710 grep -v '^ *+' conftest.er1 >conftest.err
118711 rm -f conftest.er1
118712 cat conftest.err >&5
118713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118714 (exit $ac_status); } &&
118715 { ac_try='test -z "$ac_cxx_werror_flag"
118716 || test ! -s conftest.err'
118717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118718 (eval $ac_try) 2>&5
118719 ac_status=$?
118720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118721 (exit $ac_status); }; } &&
118722 { ac_try='test -s conftest.$ac_objext'
118723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118724 (eval $ac_try) 2>&5
118725 ac_status=$?
118726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118727 (exit $ac_status); }; }; then
118728 glibcxx_cv_func_frexpf_use=yes
118730 echo "$as_me: failed program was:" >&5
118731 sed 's/^/| /' conftest.$ac_ext >&5
118733 glibcxx_cv_func_frexpf_use=no
118735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118736 ac_ext=c
118737 ac_cpp='$CPP $CPPFLAGS'
118738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
118747 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
118749 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
118751 for ac_func in frexpf
118753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118754 echo "$as_me:$LINENO: checking for $ac_func" >&5
118755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118756 if eval "test \"\${$as_ac_var+set}\" = set"; then
118757 echo $ECHO_N "(cached) $ECHO_C" >&6
118759 if test x$gcc_no_link = xyes; then
118760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118762 { (exit 1); exit 1; }; }
118764 cat >conftest.$ac_ext <<_ACEOF
118765 /* confdefs.h. */
118766 _ACEOF
118767 cat confdefs.h >>conftest.$ac_ext
118768 cat >>conftest.$ac_ext <<_ACEOF
118769 /* end confdefs.h. */
118770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118772 #define $ac_func innocuous_$ac_func
118774 /* System header to define __stub macros and hopefully few prototypes,
118775 which can conflict with char $ac_func (); below.
118776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118777 <limits.h> exists even on freestanding compilers. */
118779 #ifdef __STDC__
118780 # include <limits.h>
118781 #else
118782 # include <assert.h>
118783 #endif
118785 #undef $ac_func
118787 /* Override any gcc2 internal prototype to avoid an error. */
118788 #ifdef __cplusplus
118789 extern "C"
118791 #endif
118792 /* We use char because int might match the return type of a gcc2
118793 builtin and then its argument prototype would still apply. */
118794 char $ac_func ();
118795 /* The GNU C library defines this for functions which it implements
118796 to always fail with ENOSYS. Some functions are actually named
118797 something starting with __ and the normal name is an alias. */
118798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118799 choke me
118800 #else
118801 char (*f) () = $ac_func;
118802 #endif
118803 #ifdef __cplusplus
118805 #endif
118808 main ()
118810 return f != $ac_func;
118812 return 0;
118814 _ACEOF
118815 rm -f conftest.$ac_objext conftest$ac_exeext
118816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118817 (eval $ac_link) 2>conftest.er1
118818 ac_status=$?
118819 grep -v '^ *+' conftest.er1 >conftest.err
118820 rm -f conftest.er1
118821 cat conftest.err >&5
118822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118823 (exit $ac_status); } &&
118824 { ac_try='test -z "$ac_c_werror_flag"
118825 || test ! -s conftest.err'
118826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118827 (eval $ac_try) 2>&5
118828 ac_status=$?
118829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118830 (exit $ac_status); }; } &&
118831 { ac_try='test -s conftest$ac_exeext'
118832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118833 (eval $ac_try) 2>&5
118834 ac_status=$?
118835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118836 (exit $ac_status); }; }; then
118837 eval "$as_ac_var=yes"
118839 echo "$as_me: failed program was:" >&5
118840 sed 's/^/| /' conftest.$ac_ext >&5
118842 eval "$as_ac_var=no"
118844 rm -f conftest.err conftest.$ac_objext \
118845 conftest$ac_exeext conftest.$ac_ext
118847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118849 if test `eval echo '${'$as_ac_var'}'` = yes; then
118850 cat >>confdefs.h <<_ACEOF
118851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118852 _ACEOF
118859 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
118860 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
118861 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
118862 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
118863 echo $ECHO_N "(cached) $ECHO_C" >&6
118868 ac_ext=cc
118869 ac_cpp='$CXXCPP $CPPFLAGS'
118870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118874 cat >conftest.$ac_ext <<_ACEOF
118875 /* confdefs.h. */
118876 _ACEOF
118877 cat confdefs.h >>conftest.$ac_ext
118878 cat >>conftest.$ac_ext <<_ACEOF
118879 /* end confdefs.h. */
118880 #include <math.h>
118882 main ()
118884 _frexpf(0, 0);
118886 return 0;
118888 _ACEOF
118889 rm -f conftest.$ac_objext
118890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118891 (eval $ac_compile) 2>conftest.er1
118892 ac_status=$?
118893 grep -v '^ *+' conftest.er1 >conftest.err
118894 rm -f conftest.er1
118895 cat conftest.err >&5
118896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118897 (exit $ac_status); } &&
118898 { ac_try='test -z "$ac_cxx_werror_flag"
118899 || test ! -s conftest.err'
118900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118901 (eval $ac_try) 2>&5
118902 ac_status=$?
118903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118904 (exit $ac_status); }; } &&
118905 { ac_try='test -s conftest.$ac_objext'
118906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118907 (eval $ac_try) 2>&5
118908 ac_status=$?
118909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118910 (exit $ac_status); }; }; then
118911 glibcxx_cv_func__frexpf_use=yes
118913 echo "$as_me: failed program was:" >&5
118914 sed 's/^/| /' conftest.$ac_ext >&5
118916 glibcxx_cv_func__frexpf_use=no
118918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118919 ac_ext=c
118920 ac_cpp='$CPP $CPPFLAGS'
118921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
118930 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
118932 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
118934 for ac_func in _frexpf
118936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118937 echo "$as_me:$LINENO: checking for $ac_func" >&5
118938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118939 if eval "test \"\${$as_ac_var+set}\" = set"; then
118940 echo $ECHO_N "(cached) $ECHO_C" >&6
118942 if test x$gcc_no_link = xyes; then
118943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118945 { (exit 1); exit 1; }; }
118947 cat >conftest.$ac_ext <<_ACEOF
118948 /* confdefs.h. */
118949 _ACEOF
118950 cat confdefs.h >>conftest.$ac_ext
118951 cat >>conftest.$ac_ext <<_ACEOF
118952 /* end confdefs.h. */
118953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118955 #define $ac_func innocuous_$ac_func
118957 /* System header to define __stub macros and hopefully few prototypes,
118958 which can conflict with char $ac_func (); below.
118959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118960 <limits.h> exists even on freestanding compilers. */
118962 #ifdef __STDC__
118963 # include <limits.h>
118964 #else
118965 # include <assert.h>
118966 #endif
118968 #undef $ac_func
118970 /* Override any gcc2 internal prototype to avoid an error. */
118971 #ifdef __cplusplus
118972 extern "C"
118974 #endif
118975 /* We use char because int might match the return type of a gcc2
118976 builtin and then its argument prototype would still apply. */
118977 char $ac_func ();
118978 /* The GNU C library defines this for functions which it implements
118979 to always fail with ENOSYS. Some functions are actually named
118980 something starting with __ and the normal name is an alias. */
118981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118982 choke me
118983 #else
118984 char (*f) () = $ac_func;
118985 #endif
118986 #ifdef __cplusplus
118988 #endif
118991 main ()
118993 return f != $ac_func;
118995 return 0;
118997 _ACEOF
118998 rm -f conftest.$ac_objext conftest$ac_exeext
118999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119000 (eval $ac_link) 2>conftest.er1
119001 ac_status=$?
119002 grep -v '^ *+' conftest.er1 >conftest.err
119003 rm -f conftest.er1
119004 cat conftest.err >&5
119005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119006 (exit $ac_status); } &&
119007 { ac_try='test -z "$ac_c_werror_flag"
119008 || test ! -s conftest.err'
119009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119010 (eval $ac_try) 2>&5
119011 ac_status=$?
119012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119013 (exit $ac_status); }; } &&
119014 { ac_try='test -s conftest$ac_exeext'
119015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119016 (eval $ac_try) 2>&5
119017 ac_status=$?
119018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119019 (exit $ac_status); }; }; then
119020 eval "$as_ac_var=yes"
119022 echo "$as_me: failed program was:" >&5
119023 sed 's/^/| /' conftest.$ac_ext >&5
119025 eval "$as_ac_var=no"
119027 rm -f conftest.err conftest.$ac_objext \
119028 conftest$ac_exeext conftest.$ac_ext
119030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119032 if test `eval echo '${'$as_ac_var'}'` = yes; then
119033 cat >>confdefs.h <<_ACEOF
119034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119035 _ACEOF
119048 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
119049 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
119050 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
119051 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
119052 echo $ECHO_N "(cached) $ECHO_C" >&6
119057 ac_ext=cc
119058 ac_cpp='$CXXCPP $CPPFLAGS'
119059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119063 cat >conftest.$ac_ext <<_ACEOF
119064 /* confdefs.h. */
119065 _ACEOF
119066 cat confdefs.h >>conftest.$ac_ext
119067 cat >>conftest.$ac_ext <<_ACEOF
119068 /* end confdefs.h. */
119069 #include <math.h>
119071 main ()
119073 hypotf(0, 0);
119075 return 0;
119077 _ACEOF
119078 rm -f conftest.$ac_objext
119079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119080 (eval $ac_compile) 2>conftest.er1
119081 ac_status=$?
119082 grep -v '^ *+' conftest.er1 >conftest.err
119083 rm -f conftest.er1
119084 cat conftest.err >&5
119085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119086 (exit $ac_status); } &&
119087 { ac_try='test -z "$ac_cxx_werror_flag"
119088 || test ! -s conftest.err'
119089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119090 (eval $ac_try) 2>&5
119091 ac_status=$?
119092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119093 (exit $ac_status); }; } &&
119094 { ac_try='test -s conftest.$ac_objext'
119095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119096 (eval $ac_try) 2>&5
119097 ac_status=$?
119098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119099 (exit $ac_status); }; }; then
119100 glibcxx_cv_func_hypotf_use=yes
119102 echo "$as_me: failed program was:" >&5
119103 sed 's/^/| /' conftest.$ac_ext >&5
119105 glibcxx_cv_func_hypotf_use=no
119107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119108 ac_ext=c
119109 ac_cpp='$CPP $CPPFLAGS'
119110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
119119 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
119121 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
119123 for ac_func in hypotf
119125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119126 echo "$as_me:$LINENO: checking for $ac_func" >&5
119127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119128 if eval "test \"\${$as_ac_var+set}\" = set"; then
119129 echo $ECHO_N "(cached) $ECHO_C" >&6
119131 if test x$gcc_no_link = xyes; then
119132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119134 { (exit 1); exit 1; }; }
119136 cat >conftest.$ac_ext <<_ACEOF
119137 /* confdefs.h. */
119138 _ACEOF
119139 cat confdefs.h >>conftest.$ac_ext
119140 cat >>conftest.$ac_ext <<_ACEOF
119141 /* end confdefs.h. */
119142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119144 #define $ac_func innocuous_$ac_func
119146 /* System header to define __stub macros and hopefully few prototypes,
119147 which can conflict with char $ac_func (); below.
119148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119149 <limits.h> exists even on freestanding compilers. */
119151 #ifdef __STDC__
119152 # include <limits.h>
119153 #else
119154 # include <assert.h>
119155 #endif
119157 #undef $ac_func
119159 /* Override any gcc2 internal prototype to avoid an error. */
119160 #ifdef __cplusplus
119161 extern "C"
119163 #endif
119164 /* We use char because int might match the return type of a gcc2
119165 builtin and then its argument prototype would still apply. */
119166 char $ac_func ();
119167 /* The GNU C library defines this for functions which it implements
119168 to always fail with ENOSYS. Some functions are actually named
119169 something starting with __ and the normal name is an alias. */
119170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119171 choke me
119172 #else
119173 char (*f) () = $ac_func;
119174 #endif
119175 #ifdef __cplusplus
119177 #endif
119180 main ()
119182 return f != $ac_func;
119184 return 0;
119186 _ACEOF
119187 rm -f conftest.$ac_objext conftest$ac_exeext
119188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119189 (eval $ac_link) 2>conftest.er1
119190 ac_status=$?
119191 grep -v '^ *+' conftest.er1 >conftest.err
119192 rm -f conftest.er1
119193 cat conftest.err >&5
119194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119195 (exit $ac_status); } &&
119196 { ac_try='test -z "$ac_c_werror_flag"
119197 || test ! -s conftest.err'
119198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119199 (eval $ac_try) 2>&5
119200 ac_status=$?
119201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119202 (exit $ac_status); }; } &&
119203 { ac_try='test -s conftest$ac_exeext'
119204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119205 (eval $ac_try) 2>&5
119206 ac_status=$?
119207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119208 (exit $ac_status); }; }; then
119209 eval "$as_ac_var=yes"
119211 echo "$as_me: failed program was:" >&5
119212 sed 's/^/| /' conftest.$ac_ext >&5
119214 eval "$as_ac_var=no"
119216 rm -f conftest.err conftest.$ac_objext \
119217 conftest$ac_exeext conftest.$ac_ext
119219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119221 if test `eval echo '${'$as_ac_var'}'` = yes; then
119222 cat >>confdefs.h <<_ACEOF
119223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119224 _ACEOF
119231 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
119232 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
119233 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
119234 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
119235 echo $ECHO_N "(cached) $ECHO_C" >&6
119240 ac_ext=cc
119241 ac_cpp='$CXXCPP $CPPFLAGS'
119242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119246 cat >conftest.$ac_ext <<_ACEOF
119247 /* confdefs.h. */
119248 _ACEOF
119249 cat confdefs.h >>conftest.$ac_ext
119250 cat >>conftest.$ac_ext <<_ACEOF
119251 /* end confdefs.h. */
119252 #include <math.h>
119254 main ()
119256 _hypotf(0, 0);
119258 return 0;
119260 _ACEOF
119261 rm -f conftest.$ac_objext
119262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119263 (eval $ac_compile) 2>conftest.er1
119264 ac_status=$?
119265 grep -v '^ *+' conftest.er1 >conftest.err
119266 rm -f conftest.er1
119267 cat conftest.err >&5
119268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119269 (exit $ac_status); } &&
119270 { ac_try='test -z "$ac_cxx_werror_flag"
119271 || test ! -s conftest.err'
119272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119273 (eval $ac_try) 2>&5
119274 ac_status=$?
119275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119276 (exit $ac_status); }; } &&
119277 { ac_try='test -s conftest.$ac_objext'
119278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119279 (eval $ac_try) 2>&5
119280 ac_status=$?
119281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119282 (exit $ac_status); }; }; then
119283 glibcxx_cv_func__hypotf_use=yes
119285 echo "$as_me: failed program was:" >&5
119286 sed 's/^/| /' conftest.$ac_ext >&5
119288 glibcxx_cv_func__hypotf_use=no
119290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119291 ac_ext=c
119292 ac_cpp='$CPP $CPPFLAGS'
119293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
119302 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
119304 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
119306 for ac_func in _hypotf
119308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119309 echo "$as_me:$LINENO: checking for $ac_func" >&5
119310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119311 if eval "test \"\${$as_ac_var+set}\" = set"; then
119312 echo $ECHO_N "(cached) $ECHO_C" >&6
119314 if test x$gcc_no_link = xyes; then
119315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119317 { (exit 1); exit 1; }; }
119319 cat >conftest.$ac_ext <<_ACEOF
119320 /* confdefs.h. */
119321 _ACEOF
119322 cat confdefs.h >>conftest.$ac_ext
119323 cat >>conftest.$ac_ext <<_ACEOF
119324 /* end confdefs.h. */
119325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119327 #define $ac_func innocuous_$ac_func
119329 /* System header to define __stub macros and hopefully few prototypes,
119330 which can conflict with char $ac_func (); below.
119331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119332 <limits.h> exists even on freestanding compilers. */
119334 #ifdef __STDC__
119335 # include <limits.h>
119336 #else
119337 # include <assert.h>
119338 #endif
119340 #undef $ac_func
119342 /* Override any gcc2 internal prototype to avoid an error. */
119343 #ifdef __cplusplus
119344 extern "C"
119346 #endif
119347 /* We use char because int might match the return type of a gcc2
119348 builtin and then its argument prototype would still apply. */
119349 char $ac_func ();
119350 /* The GNU C library defines this for functions which it implements
119351 to always fail with ENOSYS. Some functions are actually named
119352 something starting with __ and the normal name is an alias. */
119353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119354 choke me
119355 #else
119356 char (*f) () = $ac_func;
119357 #endif
119358 #ifdef __cplusplus
119360 #endif
119363 main ()
119365 return f != $ac_func;
119367 return 0;
119369 _ACEOF
119370 rm -f conftest.$ac_objext conftest$ac_exeext
119371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119372 (eval $ac_link) 2>conftest.er1
119373 ac_status=$?
119374 grep -v '^ *+' conftest.er1 >conftest.err
119375 rm -f conftest.er1
119376 cat conftest.err >&5
119377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119378 (exit $ac_status); } &&
119379 { ac_try='test -z "$ac_c_werror_flag"
119380 || test ! -s conftest.err'
119381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119382 (eval $ac_try) 2>&5
119383 ac_status=$?
119384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119385 (exit $ac_status); }; } &&
119386 { ac_try='test -s conftest$ac_exeext'
119387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119388 (eval $ac_try) 2>&5
119389 ac_status=$?
119390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119391 (exit $ac_status); }; }; then
119392 eval "$as_ac_var=yes"
119394 echo "$as_me: failed program was:" >&5
119395 sed 's/^/| /' conftest.$ac_ext >&5
119397 eval "$as_ac_var=no"
119399 rm -f conftest.err conftest.$ac_objext \
119400 conftest$ac_exeext conftest.$ac_ext
119402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119404 if test `eval echo '${'$as_ac_var'}'` = yes; then
119405 cat >>confdefs.h <<_ACEOF
119406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119407 _ACEOF
119420 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
119421 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
119422 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
119423 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
119424 echo $ECHO_N "(cached) $ECHO_C" >&6
119429 ac_ext=cc
119430 ac_cpp='$CXXCPP $CPPFLAGS'
119431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119435 cat >conftest.$ac_ext <<_ACEOF
119436 /* confdefs.h. */
119437 _ACEOF
119438 cat confdefs.h >>conftest.$ac_ext
119439 cat >>conftest.$ac_ext <<_ACEOF
119440 /* end confdefs.h. */
119441 #include <math.h>
119443 main ()
119445 ldexpf(0, 0);
119447 return 0;
119449 _ACEOF
119450 rm -f conftest.$ac_objext
119451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119452 (eval $ac_compile) 2>conftest.er1
119453 ac_status=$?
119454 grep -v '^ *+' conftest.er1 >conftest.err
119455 rm -f conftest.er1
119456 cat conftest.err >&5
119457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119458 (exit $ac_status); } &&
119459 { ac_try='test -z "$ac_cxx_werror_flag"
119460 || test ! -s conftest.err'
119461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119462 (eval $ac_try) 2>&5
119463 ac_status=$?
119464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119465 (exit $ac_status); }; } &&
119466 { ac_try='test -s conftest.$ac_objext'
119467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119468 (eval $ac_try) 2>&5
119469 ac_status=$?
119470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119471 (exit $ac_status); }; }; then
119472 glibcxx_cv_func_ldexpf_use=yes
119474 echo "$as_me: failed program was:" >&5
119475 sed 's/^/| /' conftest.$ac_ext >&5
119477 glibcxx_cv_func_ldexpf_use=no
119479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119480 ac_ext=c
119481 ac_cpp='$CPP $CPPFLAGS'
119482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
119491 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
119493 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
119495 for ac_func in ldexpf
119497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119498 echo "$as_me:$LINENO: checking for $ac_func" >&5
119499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119500 if eval "test \"\${$as_ac_var+set}\" = set"; then
119501 echo $ECHO_N "(cached) $ECHO_C" >&6
119503 if test x$gcc_no_link = xyes; then
119504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119506 { (exit 1); exit 1; }; }
119508 cat >conftest.$ac_ext <<_ACEOF
119509 /* confdefs.h. */
119510 _ACEOF
119511 cat confdefs.h >>conftest.$ac_ext
119512 cat >>conftest.$ac_ext <<_ACEOF
119513 /* end confdefs.h. */
119514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119516 #define $ac_func innocuous_$ac_func
119518 /* System header to define __stub macros and hopefully few prototypes,
119519 which can conflict with char $ac_func (); below.
119520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119521 <limits.h> exists even on freestanding compilers. */
119523 #ifdef __STDC__
119524 # include <limits.h>
119525 #else
119526 # include <assert.h>
119527 #endif
119529 #undef $ac_func
119531 /* Override any gcc2 internal prototype to avoid an error. */
119532 #ifdef __cplusplus
119533 extern "C"
119535 #endif
119536 /* We use char because int might match the return type of a gcc2
119537 builtin and then its argument prototype would still apply. */
119538 char $ac_func ();
119539 /* The GNU C library defines this for functions which it implements
119540 to always fail with ENOSYS. Some functions are actually named
119541 something starting with __ and the normal name is an alias. */
119542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119543 choke me
119544 #else
119545 char (*f) () = $ac_func;
119546 #endif
119547 #ifdef __cplusplus
119549 #endif
119552 main ()
119554 return f != $ac_func;
119556 return 0;
119558 _ACEOF
119559 rm -f conftest.$ac_objext conftest$ac_exeext
119560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119561 (eval $ac_link) 2>conftest.er1
119562 ac_status=$?
119563 grep -v '^ *+' conftest.er1 >conftest.err
119564 rm -f conftest.er1
119565 cat conftest.err >&5
119566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119567 (exit $ac_status); } &&
119568 { ac_try='test -z "$ac_c_werror_flag"
119569 || test ! -s conftest.err'
119570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119571 (eval $ac_try) 2>&5
119572 ac_status=$?
119573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119574 (exit $ac_status); }; } &&
119575 { ac_try='test -s conftest$ac_exeext'
119576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119577 (eval $ac_try) 2>&5
119578 ac_status=$?
119579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119580 (exit $ac_status); }; }; then
119581 eval "$as_ac_var=yes"
119583 echo "$as_me: failed program was:" >&5
119584 sed 's/^/| /' conftest.$ac_ext >&5
119586 eval "$as_ac_var=no"
119588 rm -f conftest.err conftest.$ac_objext \
119589 conftest$ac_exeext conftest.$ac_ext
119591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119593 if test `eval echo '${'$as_ac_var'}'` = yes; then
119594 cat >>confdefs.h <<_ACEOF
119595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119596 _ACEOF
119603 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
119604 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
119605 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
119606 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
119607 echo $ECHO_N "(cached) $ECHO_C" >&6
119612 ac_ext=cc
119613 ac_cpp='$CXXCPP $CPPFLAGS'
119614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119618 cat >conftest.$ac_ext <<_ACEOF
119619 /* confdefs.h. */
119620 _ACEOF
119621 cat confdefs.h >>conftest.$ac_ext
119622 cat >>conftest.$ac_ext <<_ACEOF
119623 /* end confdefs.h. */
119624 #include <math.h>
119626 main ()
119628 _ldexpf(0, 0);
119630 return 0;
119632 _ACEOF
119633 rm -f conftest.$ac_objext
119634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119635 (eval $ac_compile) 2>conftest.er1
119636 ac_status=$?
119637 grep -v '^ *+' conftest.er1 >conftest.err
119638 rm -f conftest.er1
119639 cat conftest.err >&5
119640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119641 (exit $ac_status); } &&
119642 { ac_try='test -z "$ac_cxx_werror_flag"
119643 || test ! -s conftest.err'
119644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119645 (eval $ac_try) 2>&5
119646 ac_status=$?
119647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119648 (exit $ac_status); }; } &&
119649 { ac_try='test -s conftest.$ac_objext'
119650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119651 (eval $ac_try) 2>&5
119652 ac_status=$?
119653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119654 (exit $ac_status); }; }; then
119655 glibcxx_cv_func__ldexpf_use=yes
119657 echo "$as_me: failed program was:" >&5
119658 sed 's/^/| /' conftest.$ac_ext >&5
119660 glibcxx_cv_func__ldexpf_use=no
119662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119663 ac_ext=c
119664 ac_cpp='$CPP $CPPFLAGS'
119665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
119674 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
119676 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
119678 for ac_func in _ldexpf
119680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119681 echo "$as_me:$LINENO: checking for $ac_func" >&5
119682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119683 if eval "test \"\${$as_ac_var+set}\" = set"; then
119684 echo $ECHO_N "(cached) $ECHO_C" >&6
119686 if test x$gcc_no_link = xyes; then
119687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119689 { (exit 1); exit 1; }; }
119691 cat >conftest.$ac_ext <<_ACEOF
119692 /* confdefs.h. */
119693 _ACEOF
119694 cat confdefs.h >>conftest.$ac_ext
119695 cat >>conftest.$ac_ext <<_ACEOF
119696 /* end confdefs.h. */
119697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119699 #define $ac_func innocuous_$ac_func
119701 /* System header to define __stub macros and hopefully few prototypes,
119702 which can conflict with char $ac_func (); below.
119703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119704 <limits.h> exists even on freestanding compilers. */
119706 #ifdef __STDC__
119707 # include <limits.h>
119708 #else
119709 # include <assert.h>
119710 #endif
119712 #undef $ac_func
119714 /* Override any gcc2 internal prototype to avoid an error. */
119715 #ifdef __cplusplus
119716 extern "C"
119718 #endif
119719 /* We use char because int might match the return type of a gcc2
119720 builtin and then its argument prototype would still apply. */
119721 char $ac_func ();
119722 /* The GNU C library defines this for functions which it implements
119723 to always fail with ENOSYS. Some functions are actually named
119724 something starting with __ and the normal name is an alias. */
119725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119726 choke me
119727 #else
119728 char (*f) () = $ac_func;
119729 #endif
119730 #ifdef __cplusplus
119732 #endif
119735 main ()
119737 return f != $ac_func;
119739 return 0;
119741 _ACEOF
119742 rm -f conftest.$ac_objext conftest$ac_exeext
119743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119744 (eval $ac_link) 2>conftest.er1
119745 ac_status=$?
119746 grep -v '^ *+' conftest.er1 >conftest.err
119747 rm -f conftest.er1
119748 cat conftest.err >&5
119749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119750 (exit $ac_status); } &&
119751 { ac_try='test -z "$ac_c_werror_flag"
119752 || test ! -s conftest.err'
119753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119754 (eval $ac_try) 2>&5
119755 ac_status=$?
119756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119757 (exit $ac_status); }; } &&
119758 { ac_try='test -s conftest$ac_exeext'
119759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119760 (eval $ac_try) 2>&5
119761 ac_status=$?
119762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119763 (exit $ac_status); }; }; then
119764 eval "$as_ac_var=yes"
119766 echo "$as_me: failed program was:" >&5
119767 sed 's/^/| /' conftest.$ac_ext >&5
119769 eval "$as_ac_var=no"
119771 rm -f conftest.err conftest.$ac_objext \
119772 conftest$ac_exeext conftest.$ac_ext
119774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119776 if test `eval echo '${'$as_ac_var'}'` = yes; then
119777 cat >>confdefs.h <<_ACEOF
119778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119779 _ACEOF
119792 echo "$as_me:$LINENO: checking for logf declaration" >&5
119793 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
119794 if test x${glibcxx_cv_func_logf_use+set} != xset; then
119795 if test "${glibcxx_cv_func_logf_use+set}" = set; then
119796 echo $ECHO_N "(cached) $ECHO_C" >&6
119801 ac_ext=cc
119802 ac_cpp='$CXXCPP $CPPFLAGS'
119803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119807 cat >conftest.$ac_ext <<_ACEOF
119808 /* confdefs.h. */
119809 _ACEOF
119810 cat confdefs.h >>conftest.$ac_ext
119811 cat >>conftest.$ac_ext <<_ACEOF
119812 /* end confdefs.h. */
119813 #include <math.h>
119814 #ifdef HAVE_IEEEFP_H
119815 #include <ieeefp.h>
119816 #endif
119819 main ()
119821 logf(0);
119823 return 0;
119825 _ACEOF
119826 rm -f conftest.$ac_objext
119827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119828 (eval $ac_compile) 2>conftest.er1
119829 ac_status=$?
119830 grep -v '^ *+' conftest.er1 >conftest.err
119831 rm -f conftest.er1
119832 cat conftest.err >&5
119833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119834 (exit $ac_status); } &&
119835 { ac_try='test -z "$ac_cxx_werror_flag"
119836 || test ! -s conftest.err'
119837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119838 (eval $ac_try) 2>&5
119839 ac_status=$?
119840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119841 (exit $ac_status); }; } &&
119842 { ac_try='test -s conftest.$ac_objext'
119843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119844 (eval $ac_try) 2>&5
119845 ac_status=$?
119846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119847 (exit $ac_status); }; }; then
119848 glibcxx_cv_func_logf_use=yes
119850 echo "$as_me: failed program was:" >&5
119851 sed 's/^/| /' conftest.$ac_ext >&5
119853 glibcxx_cv_func_logf_use=no
119855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119856 ac_ext=c
119857 ac_cpp='$CPP $CPPFLAGS'
119858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
119867 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
119869 if test x$glibcxx_cv_func_logf_use = x"yes"; then
119871 for ac_func in logf
119873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119874 echo "$as_me:$LINENO: checking for $ac_func" >&5
119875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119876 if eval "test \"\${$as_ac_var+set}\" = set"; then
119877 echo $ECHO_N "(cached) $ECHO_C" >&6
119879 if test x$gcc_no_link = xyes; then
119880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119882 { (exit 1); exit 1; }; }
119884 cat >conftest.$ac_ext <<_ACEOF
119885 /* confdefs.h. */
119886 _ACEOF
119887 cat confdefs.h >>conftest.$ac_ext
119888 cat >>conftest.$ac_ext <<_ACEOF
119889 /* end confdefs.h. */
119890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119892 #define $ac_func innocuous_$ac_func
119894 /* System header to define __stub macros and hopefully few prototypes,
119895 which can conflict with char $ac_func (); below.
119896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119897 <limits.h> exists even on freestanding compilers. */
119899 #ifdef __STDC__
119900 # include <limits.h>
119901 #else
119902 # include <assert.h>
119903 #endif
119905 #undef $ac_func
119907 /* Override any gcc2 internal prototype to avoid an error. */
119908 #ifdef __cplusplus
119909 extern "C"
119911 #endif
119912 /* We use char because int might match the return type of a gcc2
119913 builtin and then its argument prototype would still apply. */
119914 char $ac_func ();
119915 /* The GNU C library defines this for functions which it implements
119916 to always fail with ENOSYS. Some functions are actually named
119917 something starting with __ and the normal name is an alias. */
119918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119919 choke me
119920 #else
119921 char (*f) () = $ac_func;
119922 #endif
119923 #ifdef __cplusplus
119925 #endif
119928 main ()
119930 return f != $ac_func;
119932 return 0;
119934 _ACEOF
119935 rm -f conftest.$ac_objext conftest$ac_exeext
119936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119937 (eval $ac_link) 2>conftest.er1
119938 ac_status=$?
119939 grep -v '^ *+' conftest.er1 >conftest.err
119940 rm -f conftest.er1
119941 cat conftest.err >&5
119942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119943 (exit $ac_status); } &&
119944 { ac_try='test -z "$ac_c_werror_flag"
119945 || test ! -s conftest.err'
119946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119947 (eval $ac_try) 2>&5
119948 ac_status=$?
119949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119950 (exit $ac_status); }; } &&
119951 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
119957 eval "$as_ac_var=yes"
119959 echo "$as_me: failed program was:" >&5
119960 sed 's/^/| /' conftest.$ac_ext >&5
119962 eval "$as_ac_var=no"
119964 rm -f conftest.err conftest.$ac_objext \
119965 conftest$ac_exeext conftest.$ac_ext
119967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119969 if test `eval echo '${'$as_ac_var'}'` = yes; then
119970 cat >>confdefs.h <<_ACEOF
119971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119972 _ACEOF
119979 echo "$as_me:$LINENO: checking for _logf declaration" >&5
119980 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
119981 if test x${glibcxx_cv_func__logf_use+set} != xset; then
119982 if test "${glibcxx_cv_func__logf_use+set}" = set; then
119983 echo $ECHO_N "(cached) $ECHO_C" >&6
119988 ac_ext=cc
119989 ac_cpp='$CXXCPP $CPPFLAGS'
119990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119994 cat >conftest.$ac_ext <<_ACEOF
119995 /* confdefs.h. */
119996 _ACEOF
119997 cat confdefs.h >>conftest.$ac_ext
119998 cat >>conftest.$ac_ext <<_ACEOF
119999 /* end confdefs.h. */
120000 #include <math.h>
120001 #ifdef HAVE_IEEEFP_H
120002 #include <ieeefp.h>
120003 #endif
120006 main ()
120008 _logf(0);
120010 return 0;
120012 _ACEOF
120013 rm -f conftest.$ac_objext
120014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120015 (eval $ac_compile) 2>conftest.er1
120016 ac_status=$?
120017 grep -v '^ *+' conftest.er1 >conftest.err
120018 rm -f conftest.er1
120019 cat conftest.err >&5
120020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120021 (exit $ac_status); } &&
120022 { ac_try='test -z "$ac_cxx_werror_flag"
120023 || test ! -s conftest.err'
120024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120025 (eval $ac_try) 2>&5
120026 ac_status=$?
120027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120028 (exit $ac_status); }; } &&
120029 { ac_try='test -s conftest.$ac_objext'
120030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120031 (eval $ac_try) 2>&5
120032 ac_status=$?
120033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120034 (exit $ac_status); }; }; then
120035 glibcxx_cv_func__logf_use=yes
120037 echo "$as_me: failed program was:" >&5
120038 sed 's/^/| /' conftest.$ac_ext >&5
120040 glibcxx_cv_func__logf_use=no
120042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120043 ac_ext=c
120044 ac_cpp='$CPP $CPPFLAGS'
120045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
120054 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
120056 if test x$glibcxx_cv_func__logf_use = x"yes"; then
120058 for ac_func in _logf
120060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120061 echo "$as_me:$LINENO: checking for $ac_func" >&5
120062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120063 if eval "test \"\${$as_ac_var+set}\" = set"; then
120064 echo $ECHO_N "(cached) $ECHO_C" >&6
120066 if test x$gcc_no_link = xyes; then
120067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120069 { (exit 1); exit 1; }; }
120071 cat >conftest.$ac_ext <<_ACEOF
120072 /* confdefs.h. */
120073 _ACEOF
120074 cat confdefs.h >>conftest.$ac_ext
120075 cat >>conftest.$ac_ext <<_ACEOF
120076 /* end confdefs.h. */
120077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120079 #define $ac_func innocuous_$ac_func
120081 /* System header to define __stub macros and hopefully few prototypes,
120082 which can conflict with char $ac_func (); below.
120083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120084 <limits.h> exists even on freestanding compilers. */
120086 #ifdef __STDC__
120087 # include <limits.h>
120088 #else
120089 # include <assert.h>
120090 #endif
120092 #undef $ac_func
120094 /* Override any gcc2 internal prototype to avoid an error. */
120095 #ifdef __cplusplus
120096 extern "C"
120098 #endif
120099 /* We use char because int might match the return type of a gcc2
120100 builtin and then its argument prototype would still apply. */
120101 char $ac_func ();
120102 /* The GNU C library defines this for functions which it implements
120103 to always fail with ENOSYS. Some functions are actually named
120104 something starting with __ and the normal name is an alias. */
120105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120106 choke me
120107 #else
120108 char (*f) () = $ac_func;
120109 #endif
120110 #ifdef __cplusplus
120112 #endif
120115 main ()
120117 return f != $ac_func;
120119 return 0;
120121 _ACEOF
120122 rm -f conftest.$ac_objext conftest$ac_exeext
120123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120124 (eval $ac_link) 2>conftest.er1
120125 ac_status=$?
120126 grep -v '^ *+' conftest.er1 >conftest.err
120127 rm -f conftest.er1
120128 cat conftest.err >&5
120129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120130 (exit $ac_status); } &&
120131 { ac_try='test -z "$ac_c_werror_flag"
120132 || test ! -s conftest.err'
120133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120134 (eval $ac_try) 2>&5
120135 ac_status=$?
120136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120137 (exit $ac_status); }; } &&
120138 { ac_try='test -s conftest$ac_exeext'
120139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120140 (eval $ac_try) 2>&5
120141 ac_status=$?
120142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120143 (exit $ac_status); }; }; then
120144 eval "$as_ac_var=yes"
120146 echo "$as_me: failed program was:" >&5
120147 sed 's/^/| /' conftest.$ac_ext >&5
120149 eval "$as_ac_var=no"
120151 rm -f conftest.err conftest.$ac_objext \
120152 conftest$ac_exeext conftest.$ac_ext
120154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120156 if test `eval echo '${'$as_ac_var'}'` = yes; then
120157 cat >>confdefs.h <<_ACEOF
120158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120159 _ACEOF
120172 echo "$as_me:$LINENO: checking for log10f declaration" >&5
120173 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
120174 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
120175 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
120176 echo $ECHO_N "(cached) $ECHO_C" >&6
120181 ac_ext=cc
120182 ac_cpp='$CXXCPP $CPPFLAGS'
120183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120187 cat >conftest.$ac_ext <<_ACEOF
120188 /* confdefs.h. */
120189 _ACEOF
120190 cat confdefs.h >>conftest.$ac_ext
120191 cat >>conftest.$ac_ext <<_ACEOF
120192 /* end confdefs.h. */
120193 #include <math.h>
120194 #ifdef HAVE_IEEEFP_H
120195 #include <ieeefp.h>
120196 #endif
120199 main ()
120201 log10f(0);
120203 return 0;
120205 _ACEOF
120206 rm -f conftest.$ac_objext
120207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120208 (eval $ac_compile) 2>conftest.er1
120209 ac_status=$?
120210 grep -v '^ *+' conftest.er1 >conftest.err
120211 rm -f conftest.er1
120212 cat conftest.err >&5
120213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120214 (exit $ac_status); } &&
120215 { ac_try='test -z "$ac_cxx_werror_flag"
120216 || test ! -s conftest.err'
120217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120218 (eval $ac_try) 2>&5
120219 ac_status=$?
120220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120221 (exit $ac_status); }; } &&
120222 { ac_try='test -s conftest.$ac_objext'
120223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120224 (eval $ac_try) 2>&5
120225 ac_status=$?
120226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120227 (exit $ac_status); }; }; then
120228 glibcxx_cv_func_log10f_use=yes
120230 echo "$as_me: failed program was:" >&5
120231 sed 's/^/| /' conftest.$ac_ext >&5
120233 glibcxx_cv_func_log10f_use=no
120235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120236 ac_ext=c
120237 ac_cpp='$CPP $CPPFLAGS'
120238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
120247 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
120249 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
120251 for ac_func in log10f
120253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120254 echo "$as_me:$LINENO: checking for $ac_func" >&5
120255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120256 if eval "test \"\${$as_ac_var+set}\" = set"; then
120257 echo $ECHO_N "(cached) $ECHO_C" >&6
120259 if test x$gcc_no_link = xyes; then
120260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120262 { (exit 1); exit 1; }; }
120264 cat >conftest.$ac_ext <<_ACEOF
120265 /* confdefs.h. */
120266 _ACEOF
120267 cat confdefs.h >>conftest.$ac_ext
120268 cat >>conftest.$ac_ext <<_ACEOF
120269 /* end confdefs.h. */
120270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120272 #define $ac_func innocuous_$ac_func
120274 /* System header to define __stub macros and hopefully few prototypes,
120275 which can conflict with char $ac_func (); below.
120276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120277 <limits.h> exists even on freestanding compilers. */
120279 #ifdef __STDC__
120280 # include <limits.h>
120281 #else
120282 # include <assert.h>
120283 #endif
120285 #undef $ac_func
120287 /* Override any gcc2 internal prototype to avoid an error. */
120288 #ifdef __cplusplus
120289 extern "C"
120291 #endif
120292 /* We use char because int might match the return type of a gcc2
120293 builtin and then its argument prototype would still apply. */
120294 char $ac_func ();
120295 /* The GNU C library defines this for functions which it implements
120296 to always fail with ENOSYS. Some functions are actually named
120297 something starting with __ and the normal name is an alias. */
120298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120299 choke me
120300 #else
120301 char (*f) () = $ac_func;
120302 #endif
120303 #ifdef __cplusplus
120305 #endif
120308 main ()
120310 return f != $ac_func;
120312 return 0;
120314 _ACEOF
120315 rm -f conftest.$ac_objext conftest$ac_exeext
120316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120317 (eval $ac_link) 2>conftest.er1
120318 ac_status=$?
120319 grep -v '^ *+' conftest.er1 >conftest.err
120320 rm -f conftest.er1
120321 cat conftest.err >&5
120322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120323 (exit $ac_status); } &&
120324 { ac_try='test -z "$ac_c_werror_flag"
120325 || test ! -s conftest.err'
120326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120327 (eval $ac_try) 2>&5
120328 ac_status=$?
120329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120330 (exit $ac_status); }; } &&
120331 { ac_try='test -s conftest$ac_exeext'
120332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120333 (eval $ac_try) 2>&5
120334 ac_status=$?
120335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120336 (exit $ac_status); }; }; then
120337 eval "$as_ac_var=yes"
120339 echo "$as_me: failed program was:" >&5
120340 sed 's/^/| /' conftest.$ac_ext >&5
120342 eval "$as_ac_var=no"
120344 rm -f conftest.err conftest.$ac_objext \
120345 conftest$ac_exeext conftest.$ac_ext
120347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120349 if test `eval echo '${'$as_ac_var'}'` = yes; then
120350 cat >>confdefs.h <<_ACEOF
120351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120352 _ACEOF
120359 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
120360 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
120361 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
120362 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
120363 echo $ECHO_N "(cached) $ECHO_C" >&6
120368 ac_ext=cc
120369 ac_cpp='$CXXCPP $CPPFLAGS'
120370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120374 cat >conftest.$ac_ext <<_ACEOF
120375 /* confdefs.h. */
120376 _ACEOF
120377 cat confdefs.h >>conftest.$ac_ext
120378 cat >>conftest.$ac_ext <<_ACEOF
120379 /* end confdefs.h. */
120380 #include <math.h>
120381 #ifdef HAVE_IEEEFP_H
120382 #include <ieeefp.h>
120383 #endif
120386 main ()
120388 _log10f(0);
120390 return 0;
120392 _ACEOF
120393 rm -f conftest.$ac_objext
120394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120395 (eval $ac_compile) 2>conftest.er1
120396 ac_status=$?
120397 grep -v '^ *+' conftest.er1 >conftest.err
120398 rm -f conftest.er1
120399 cat conftest.err >&5
120400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120401 (exit $ac_status); } &&
120402 { ac_try='test -z "$ac_cxx_werror_flag"
120403 || test ! -s conftest.err'
120404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120405 (eval $ac_try) 2>&5
120406 ac_status=$?
120407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120408 (exit $ac_status); }; } &&
120409 { ac_try='test -s conftest.$ac_objext'
120410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120411 (eval $ac_try) 2>&5
120412 ac_status=$?
120413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120414 (exit $ac_status); }; }; then
120415 glibcxx_cv_func__log10f_use=yes
120417 echo "$as_me: failed program was:" >&5
120418 sed 's/^/| /' conftest.$ac_ext >&5
120420 glibcxx_cv_func__log10f_use=no
120422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120423 ac_ext=c
120424 ac_cpp='$CPP $CPPFLAGS'
120425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
120434 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
120436 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
120438 for ac_func in _log10f
120440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120441 echo "$as_me:$LINENO: checking for $ac_func" >&5
120442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120443 if eval "test \"\${$as_ac_var+set}\" = set"; then
120444 echo $ECHO_N "(cached) $ECHO_C" >&6
120446 if test x$gcc_no_link = xyes; then
120447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120449 { (exit 1); exit 1; }; }
120451 cat >conftest.$ac_ext <<_ACEOF
120452 /* confdefs.h. */
120453 _ACEOF
120454 cat confdefs.h >>conftest.$ac_ext
120455 cat >>conftest.$ac_ext <<_ACEOF
120456 /* end confdefs.h. */
120457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120459 #define $ac_func innocuous_$ac_func
120461 /* System header to define __stub macros and hopefully few prototypes,
120462 which can conflict with char $ac_func (); below.
120463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120464 <limits.h> exists even on freestanding compilers. */
120466 #ifdef __STDC__
120467 # include <limits.h>
120468 #else
120469 # include <assert.h>
120470 #endif
120472 #undef $ac_func
120474 /* Override any gcc2 internal prototype to avoid an error. */
120475 #ifdef __cplusplus
120476 extern "C"
120478 #endif
120479 /* We use char because int might match the return type of a gcc2
120480 builtin and then its argument prototype would still apply. */
120481 char $ac_func ();
120482 /* The GNU C library defines this for functions which it implements
120483 to always fail with ENOSYS. Some functions are actually named
120484 something starting with __ and the normal name is an alias. */
120485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120486 choke me
120487 #else
120488 char (*f) () = $ac_func;
120489 #endif
120490 #ifdef __cplusplus
120492 #endif
120495 main ()
120497 return f != $ac_func;
120499 return 0;
120501 _ACEOF
120502 rm -f conftest.$ac_objext conftest$ac_exeext
120503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120504 (eval $ac_link) 2>conftest.er1
120505 ac_status=$?
120506 grep -v '^ *+' conftest.er1 >conftest.err
120507 rm -f conftest.er1
120508 cat conftest.err >&5
120509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120510 (exit $ac_status); } &&
120511 { ac_try='test -z "$ac_c_werror_flag"
120512 || test ! -s conftest.err'
120513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120514 (eval $ac_try) 2>&5
120515 ac_status=$?
120516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120517 (exit $ac_status); }; } &&
120518 { ac_try='test -s conftest$ac_exeext'
120519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120520 (eval $ac_try) 2>&5
120521 ac_status=$?
120522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120523 (exit $ac_status); }; }; then
120524 eval "$as_ac_var=yes"
120526 echo "$as_me: failed program was:" >&5
120527 sed 's/^/| /' conftest.$ac_ext >&5
120529 eval "$as_ac_var=no"
120531 rm -f conftest.err conftest.$ac_objext \
120532 conftest$ac_exeext conftest.$ac_ext
120534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120536 if test `eval echo '${'$as_ac_var'}'` = yes; then
120537 cat >>confdefs.h <<_ACEOF
120538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120539 _ACEOF
120552 echo "$as_me:$LINENO: checking for modff declaration" >&5
120553 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
120554 if test x${glibcxx_cv_func_modff_use+set} != xset; then
120555 if test "${glibcxx_cv_func_modff_use+set}" = set; then
120556 echo $ECHO_N "(cached) $ECHO_C" >&6
120561 ac_ext=cc
120562 ac_cpp='$CXXCPP $CPPFLAGS'
120563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120567 cat >conftest.$ac_ext <<_ACEOF
120568 /* confdefs.h. */
120569 _ACEOF
120570 cat confdefs.h >>conftest.$ac_ext
120571 cat >>conftest.$ac_ext <<_ACEOF
120572 /* end confdefs.h. */
120573 #include <math.h>
120575 main ()
120577 modff(0, 0);
120579 return 0;
120581 _ACEOF
120582 rm -f conftest.$ac_objext
120583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120584 (eval $ac_compile) 2>conftest.er1
120585 ac_status=$?
120586 grep -v '^ *+' conftest.er1 >conftest.err
120587 rm -f conftest.er1
120588 cat conftest.err >&5
120589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120590 (exit $ac_status); } &&
120591 { ac_try='test -z "$ac_cxx_werror_flag"
120592 || test ! -s conftest.err'
120593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120594 (eval $ac_try) 2>&5
120595 ac_status=$?
120596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120597 (exit $ac_status); }; } &&
120598 { ac_try='test -s conftest.$ac_objext'
120599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120600 (eval $ac_try) 2>&5
120601 ac_status=$?
120602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120603 (exit $ac_status); }; }; then
120604 glibcxx_cv_func_modff_use=yes
120606 echo "$as_me: failed program was:" >&5
120607 sed 's/^/| /' conftest.$ac_ext >&5
120609 glibcxx_cv_func_modff_use=no
120611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120612 ac_ext=c
120613 ac_cpp='$CPP $CPPFLAGS'
120614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
120623 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
120625 if test x$glibcxx_cv_func_modff_use = x"yes"; then
120627 for ac_func in modff
120629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120630 echo "$as_me:$LINENO: checking for $ac_func" >&5
120631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120632 if eval "test \"\${$as_ac_var+set}\" = set"; then
120633 echo $ECHO_N "(cached) $ECHO_C" >&6
120635 if test x$gcc_no_link = xyes; then
120636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120638 { (exit 1); exit 1; }; }
120640 cat >conftest.$ac_ext <<_ACEOF
120641 /* confdefs.h. */
120642 _ACEOF
120643 cat confdefs.h >>conftest.$ac_ext
120644 cat >>conftest.$ac_ext <<_ACEOF
120645 /* end confdefs.h. */
120646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120648 #define $ac_func innocuous_$ac_func
120650 /* System header to define __stub macros and hopefully few prototypes,
120651 which can conflict with char $ac_func (); below.
120652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120653 <limits.h> exists even on freestanding compilers. */
120655 #ifdef __STDC__
120656 # include <limits.h>
120657 #else
120658 # include <assert.h>
120659 #endif
120661 #undef $ac_func
120663 /* Override any gcc2 internal prototype to avoid an error. */
120664 #ifdef __cplusplus
120665 extern "C"
120667 #endif
120668 /* We use char because int might match the return type of a gcc2
120669 builtin and then its argument prototype would still apply. */
120670 char $ac_func ();
120671 /* The GNU C library defines this for functions which it implements
120672 to always fail with ENOSYS. Some functions are actually named
120673 something starting with __ and the normal name is an alias. */
120674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120675 choke me
120676 #else
120677 char (*f) () = $ac_func;
120678 #endif
120679 #ifdef __cplusplus
120681 #endif
120684 main ()
120686 return f != $ac_func;
120688 return 0;
120690 _ACEOF
120691 rm -f conftest.$ac_objext conftest$ac_exeext
120692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120693 (eval $ac_link) 2>conftest.er1
120694 ac_status=$?
120695 grep -v '^ *+' conftest.er1 >conftest.err
120696 rm -f conftest.er1
120697 cat conftest.err >&5
120698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120699 (exit $ac_status); } &&
120700 { ac_try='test -z "$ac_c_werror_flag"
120701 || test ! -s conftest.err'
120702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120703 (eval $ac_try) 2>&5
120704 ac_status=$?
120705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120706 (exit $ac_status); }; } &&
120707 { ac_try='test -s conftest$ac_exeext'
120708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120709 (eval $ac_try) 2>&5
120710 ac_status=$?
120711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120712 (exit $ac_status); }; }; then
120713 eval "$as_ac_var=yes"
120715 echo "$as_me: failed program was:" >&5
120716 sed 's/^/| /' conftest.$ac_ext >&5
120718 eval "$as_ac_var=no"
120720 rm -f conftest.err conftest.$ac_objext \
120721 conftest$ac_exeext conftest.$ac_ext
120723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120725 if test `eval echo '${'$as_ac_var'}'` = yes; then
120726 cat >>confdefs.h <<_ACEOF
120727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120728 _ACEOF
120735 echo "$as_me:$LINENO: checking for _modff declaration" >&5
120736 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
120737 if test x${glibcxx_cv_func__modff_use+set} != xset; then
120738 if test "${glibcxx_cv_func__modff_use+set}" = set; then
120739 echo $ECHO_N "(cached) $ECHO_C" >&6
120744 ac_ext=cc
120745 ac_cpp='$CXXCPP $CPPFLAGS'
120746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120750 cat >conftest.$ac_ext <<_ACEOF
120751 /* confdefs.h. */
120752 _ACEOF
120753 cat confdefs.h >>conftest.$ac_ext
120754 cat >>conftest.$ac_ext <<_ACEOF
120755 /* end confdefs.h. */
120756 #include <math.h>
120758 main ()
120760 _modff(0, 0);
120762 return 0;
120764 _ACEOF
120765 rm -f conftest.$ac_objext
120766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120767 (eval $ac_compile) 2>conftest.er1
120768 ac_status=$?
120769 grep -v '^ *+' conftest.er1 >conftest.err
120770 rm -f conftest.er1
120771 cat conftest.err >&5
120772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120773 (exit $ac_status); } &&
120774 { ac_try='test -z "$ac_cxx_werror_flag"
120775 || test ! -s conftest.err'
120776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120777 (eval $ac_try) 2>&5
120778 ac_status=$?
120779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120780 (exit $ac_status); }; } &&
120781 { ac_try='test -s conftest.$ac_objext'
120782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120783 (eval $ac_try) 2>&5
120784 ac_status=$?
120785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120786 (exit $ac_status); }; }; then
120787 glibcxx_cv_func__modff_use=yes
120789 echo "$as_me: failed program was:" >&5
120790 sed 's/^/| /' conftest.$ac_ext >&5
120792 glibcxx_cv_func__modff_use=no
120794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120795 ac_ext=c
120796 ac_cpp='$CPP $CPPFLAGS'
120797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
120806 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
120808 if test x$glibcxx_cv_func__modff_use = x"yes"; then
120810 for ac_func in _modff
120812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
120813 echo "$as_me:$LINENO: checking for $ac_func" >&5
120814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
120815 if eval "test \"\${$as_ac_var+set}\" = set"; then
120816 echo $ECHO_N "(cached) $ECHO_C" >&6
120818 if test x$gcc_no_link = xyes; then
120819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120821 { (exit 1); exit 1; }; }
120823 cat >conftest.$ac_ext <<_ACEOF
120824 /* confdefs.h. */
120825 _ACEOF
120826 cat confdefs.h >>conftest.$ac_ext
120827 cat >>conftest.$ac_ext <<_ACEOF
120828 /* end confdefs.h. */
120829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
120830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
120831 #define $ac_func innocuous_$ac_func
120833 /* System header to define __stub macros and hopefully few prototypes,
120834 which can conflict with char $ac_func (); below.
120835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
120836 <limits.h> exists even on freestanding compilers. */
120838 #ifdef __STDC__
120839 # include <limits.h>
120840 #else
120841 # include <assert.h>
120842 #endif
120844 #undef $ac_func
120846 /* Override any gcc2 internal prototype to avoid an error. */
120847 #ifdef __cplusplus
120848 extern "C"
120850 #endif
120851 /* We use char because int might match the return type of a gcc2
120852 builtin and then its argument prototype would still apply. */
120853 char $ac_func ();
120854 /* The GNU C library defines this for functions which it implements
120855 to always fail with ENOSYS. Some functions are actually named
120856 something starting with __ and the normal name is an alias. */
120857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
120858 choke me
120859 #else
120860 char (*f) () = $ac_func;
120861 #endif
120862 #ifdef __cplusplus
120864 #endif
120867 main ()
120869 return f != $ac_func;
120871 return 0;
120873 _ACEOF
120874 rm -f conftest.$ac_objext conftest$ac_exeext
120875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120876 (eval $ac_link) 2>conftest.er1
120877 ac_status=$?
120878 grep -v '^ *+' conftest.er1 >conftest.err
120879 rm -f conftest.er1
120880 cat conftest.err >&5
120881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120882 (exit $ac_status); } &&
120883 { ac_try='test -z "$ac_c_werror_flag"
120884 || test ! -s conftest.err'
120885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120886 (eval $ac_try) 2>&5
120887 ac_status=$?
120888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120889 (exit $ac_status); }; } &&
120890 { ac_try='test -s conftest$ac_exeext'
120891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120892 (eval $ac_try) 2>&5
120893 ac_status=$?
120894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120895 (exit $ac_status); }; }; then
120896 eval "$as_ac_var=yes"
120898 echo "$as_me: failed program was:" >&5
120899 sed 's/^/| /' conftest.$ac_ext >&5
120901 eval "$as_ac_var=no"
120903 rm -f conftest.err conftest.$ac_objext \
120904 conftest$ac_exeext conftest.$ac_ext
120906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
120907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
120908 if test `eval echo '${'$as_ac_var'}'` = yes; then
120909 cat >>confdefs.h <<_ACEOF
120910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
120911 _ACEOF
120924 echo "$as_me:$LINENO: checking for modf declaration" >&5
120925 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
120926 if test x${glibcxx_cv_func_modf_use+set} != xset; then
120927 if test "${glibcxx_cv_func_modf_use+set}" = set; then
120928 echo $ECHO_N "(cached) $ECHO_C" >&6
120933 ac_ext=cc
120934 ac_cpp='$CXXCPP $CPPFLAGS'
120935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
120939 cat >conftest.$ac_ext <<_ACEOF
120940 /* confdefs.h. */
120941 _ACEOF
120942 cat confdefs.h >>conftest.$ac_ext
120943 cat >>conftest.$ac_ext <<_ACEOF
120944 /* end confdefs.h. */
120945 #include <math.h>
120947 main ()
120949 modf(0, 0);
120951 return 0;
120953 _ACEOF
120954 rm -f conftest.$ac_objext
120955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120956 (eval $ac_compile) 2>conftest.er1
120957 ac_status=$?
120958 grep -v '^ *+' conftest.er1 >conftest.err
120959 rm -f conftest.er1
120960 cat conftest.err >&5
120961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120962 (exit $ac_status); } &&
120963 { ac_try='test -z "$ac_cxx_werror_flag"
120964 || test ! -s conftest.err'
120965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120966 (eval $ac_try) 2>&5
120967 ac_status=$?
120968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120969 (exit $ac_status); }; } &&
120970 { ac_try='test -s conftest.$ac_objext'
120971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120972 (eval $ac_try) 2>&5
120973 ac_status=$?
120974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120975 (exit $ac_status); }; }; then
120976 glibcxx_cv_func_modf_use=yes
120978 echo "$as_me: failed program was:" >&5
120979 sed 's/^/| /' conftest.$ac_ext >&5
120981 glibcxx_cv_func_modf_use=no
120983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120984 ac_ext=c
120985 ac_cpp='$CPP $CPPFLAGS'
120986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
120987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
120988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
120994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
120995 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
120997 if test x$glibcxx_cv_func_modf_use = x"yes"; then
120999 for ac_func in modf
121001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121002 echo "$as_me:$LINENO: checking for $ac_func" >&5
121003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121004 if eval "test \"\${$as_ac_var+set}\" = set"; then
121005 echo $ECHO_N "(cached) $ECHO_C" >&6
121007 if test x$gcc_no_link = xyes; then
121008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121010 { (exit 1); exit 1; }; }
121012 cat >conftest.$ac_ext <<_ACEOF
121013 /* confdefs.h. */
121014 _ACEOF
121015 cat confdefs.h >>conftest.$ac_ext
121016 cat >>conftest.$ac_ext <<_ACEOF
121017 /* end confdefs.h. */
121018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121020 #define $ac_func innocuous_$ac_func
121022 /* System header to define __stub macros and hopefully few prototypes,
121023 which can conflict with char $ac_func (); below.
121024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121025 <limits.h> exists even on freestanding compilers. */
121027 #ifdef __STDC__
121028 # include <limits.h>
121029 #else
121030 # include <assert.h>
121031 #endif
121033 #undef $ac_func
121035 /* Override any gcc2 internal prototype to avoid an error. */
121036 #ifdef __cplusplus
121037 extern "C"
121039 #endif
121040 /* We use char because int might match the return type of a gcc2
121041 builtin and then its argument prototype would still apply. */
121042 char $ac_func ();
121043 /* The GNU C library defines this for functions which it implements
121044 to always fail with ENOSYS. Some functions are actually named
121045 something starting with __ and the normal name is an alias. */
121046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121047 choke me
121048 #else
121049 char (*f) () = $ac_func;
121050 #endif
121051 #ifdef __cplusplus
121053 #endif
121056 main ()
121058 return f != $ac_func;
121060 return 0;
121062 _ACEOF
121063 rm -f conftest.$ac_objext conftest$ac_exeext
121064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121065 (eval $ac_link) 2>conftest.er1
121066 ac_status=$?
121067 grep -v '^ *+' conftest.er1 >conftest.err
121068 rm -f conftest.er1
121069 cat conftest.err >&5
121070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121071 (exit $ac_status); } &&
121072 { ac_try='test -z "$ac_c_werror_flag"
121073 || test ! -s conftest.err'
121074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121075 (eval $ac_try) 2>&5
121076 ac_status=$?
121077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121078 (exit $ac_status); }; } &&
121079 { ac_try='test -s conftest$ac_exeext'
121080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121081 (eval $ac_try) 2>&5
121082 ac_status=$?
121083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121084 (exit $ac_status); }; }; then
121085 eval "$as_ac_var=yes"
121087 echo "$as_me: failed program was:" >&5
121088 sed 's/^/| /' conftest.$ac_ext >&5
121090 eval "$as_ac_var=no"
121092 rm -f conftest.err conftest.$ac_objext \
121093 conftest$ac_exeext conftest.$ac_ext
121095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121097 if test `eval echo '${'$as_ac_var'}'` = yes; then
121098 cat >>confdefs.h <<_ACEOF
121099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121100 _ACEOF
121107 echo "$as_me:$LINENO: checking for _modf declaration" >&5
121108 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
121109 if test x${glibcxx_cv_func__modf_use+set} != xset; then
121110 if test "${glibcxx_cv_func__modf_use+set}" = set; then
121111 echo $ECHO_N "(cached) $ECHO_C" >&6
121116 ac_ext=cc
121117 ac_cpp='$CXXCPP $CPPFLAGS'
121118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121122 cat >conftest.$ac_ext <<_ACEOF
121123 /* confdefs.h. */
121124 _ACEOF
121125 cat confdefs.h >>conftest.$ac_ext
121126 cat >>conftest.$ac_ext <<_ACEOF
121127 /* end confdefs.h. */
121128 #include <math.h>
121130 main ()
121132 _modf(0, 0);
121134 return 0;
121136 _ACEOF
121137 rm -f conftest.$ac_objext
121138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121139 (eval $ac_compile) 2>conftest.er1
121140 ac_status=$?
121141 grep -v '^ *+' conftest.er1 >conftest.err
121142 rm -f conftest.er1
121143 cat conftest.err >&5
121144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121145 (exit $ac_status); } &&
121146 { ac_try='test -z "$ac_cxx_werror_flag"
121147 || test ! -s conftest.err'
121148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121149 (eval $ac_try) 2>&5
121150 ac_status=$?
121151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121152 (exit $ac_status); }; } &&
121153 { ac_try='test -s conftest.$ac_objext'
121154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121155 (eval $ac_try) 2>&5
121156 ac_status=$?
121157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121158 (exit $ac_status); }; }; then
121159 glibcxx_cv_func__modf_use=yes
121161 echo "$as_me: failed program was:" >&5
121162 sed 's/^/| /' conftest.$ac_ext >&5
121164 glibcxx_cv_func__modf_use=no
121166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121167 ac_ext=c
121168 ac_cpp='$CPP $CPPFLAGS'
121169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
121178 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
121180 if test x$glibcxx_cv_func__modf_use = x"yes"; then
121182 for ac_func in _modf
121184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121185 echo "$as_me:$LINENO: checking for $ac_func" >&5
121186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121187 if eval "test \"\${$as_ac_var+set}\" = set"; then
121188 echo $ECHO_N "(cached) $ECHO_C" >&6
121190 if test x$gcc_no_link = xyes; then
121191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121193 { (exit 1); exit 1; }; }
121195 cat >conftest.$ac_ext <<_ACEOF
121196 /* confdefs.h. */
121197 _ACEOF
121198 cat confdefs.h >>conftest.$ac_ext
121199 cat >>conftest.$ac_ext <<_ACEOF
121200 /* end confdefs.h. */
121201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121203 #define $ac_func innocuous_$ac_func
121205 /* System header to define __stub macros and hopefully few prototypes,
121206 which can conflict with char $ac_func (); below.
121207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121208 <limits.h> exists even on freestanding compilers. */
121210 #ifdef __STDC__
121211 # include <limits.h>
121212 #else
121213 # include <assert.h>
121214 #endif
121216 #undef $ac_func
121218 /* Override any gcc2 internal prototype to avoid an error. */
121219 #ifdef __cplusplus
121220 extern "C"
121222 #endif
121223 /* We use char because int might match the return type of a gcc2
121224 builtin and then its argument prototype would still apply. */
121225 char $ac_func ();
121226 /* The GNU C library defines this for functions which it implements
121227 to always fail with ENOSYS. Some functions are actually named
121228 something starting with __ and the normal name is an alias. */
121229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121230 choke me
121231 #else
121232 char (*f) () = $ac_func;
121233 #endif
121234 #ifdef __cplusplus
121236 #endif
121239 main ()
121241 return f != $ac_func;
121243 return 0;
121245 _ACEOF
121246 rm -f conftest.$ac_objext conftest$ac_exeext
121247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121248 (eval $ac_link) 2>conftest.er1
121249 ac_status=$?
121250 grep -v '^ *+' conftest.er1 >conftest.err
121251 rm -f conftest.er1
121252 cat conftest.err >&5
121253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121254 (exit $ac_status); } &&
121255 { ac_try='test -z "$ac_c_werror_flag"
121256 || test ! -s conftest.err'
121257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121258 (eval $ac_try) 2>&5
121259 ac_status=$?
121260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121261 (exit $ac_status); }; } &&
121262 { ac_try='test -s conftest$ac_exeext'
121263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121264 (eval $ac_try) 2>&5
121265 ac_status=$?
121266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121267 (exit $ac_status); }; }; then
121268 eval "$as_ac_var=yes"
121270 echo "$as_me: failed program was:" >&5
121271 sed 's/^/| /' conftest.$ac_ext >&5
121273 eval "$as_ac_var=no"
121275 rm -f conftest.err conftest.$ac_objext \
121276 conftest$ac_exeext conftest.$ac_ext
121278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121280 if test `eval echo '${'$as_ac_var'}'` = yes; then
121281 cat >>confdefs.h <<_ACEOF
121282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121283 _ACEOF
121296 echo "$as_me:$LINENO: checking for powf declaration" >&5
121297 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
121298 if test x${glibcxx_cv_func_powf_use+set} != xset; then
121299 if test "${glibcxx_cv_func_powf_use+set}" = set; then
121300 echo $ECHO_N "(cached) $ECHO_C" >&6
121305 ac_ext=cc
121306 ac_cpp='$CXXCPP $CPPFLAGS'
121307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121311 cat >conftest.$ac_ext <<_ACEOF
121312 /* confdefs.h. */
121313 _ACEOF
121314 cat confdefs.h >>conftest.$ac_ext
121315 cat >>conftest.$ac_ext <<_ACEOF
121316 /* end confdefs.h. */
121317 #include <math.h>
121319 main ()
121321 powf(0, 0);
121323 return 0;
121325 _ACEOF
121326 rm -f conftest.$ac_objext
121327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121328 (eval $ac_compile) 2>conftest.er1
121329 ac_status=$?
121330 grep -v '^ *+' conftest.er1 >conftest.err
121331 rm -f conftest.er1
121332 cat conftest.err >&5
121333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121334 (exit $ac_status); } &&
121335 { ac_try='test -z "$ac_cxx_werror_flag"
121336 || test ! -s conftest.err'
121337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121338 (eval $ac_try) 2>&5
121339 ac_status=$?
121340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121341 (exit $ac_status); }; } &&
121342 { ac_try='test -s conftest.$ac_objext'
121343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121344 (eval $ac_try) 2>&5
121345 ac_status=$?
121346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121347 (exit $ac_status); }; }; then
121348 glibcxx_cv_func_powf_use=yes
121350 echo "$as_me: failed program was:" >&5
121351 sed 's/^/| /' conftest.$ac_ext >&5
121353 glibcxx_cv_func_powf_use=no
121355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121356 ac_ext=c
121357 ac_cpp='$CPP $CPPFLAGS'
121358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
121367 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
121369 if test x$glibcxx_cv_func_powf_use = x"yes"; then
121371 for ac_func in powf
121373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121374 echo "$as_me:$LINENO: checking for $ac_func" >&5
121375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121376 if eval "test \"\${$as_ac_var+set}\" = set"; then
121377 echo $ECHO_N "(cached) $ECHO_C" >&6
121379 if test x$gcc_no_link = xyes; then
121380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121382 { (exit 1); exit 1; }; }
121384 cat >conftest.$ac_ext <<_ACEOF
121385 /* confdefs.h. */
121386 _ACEOF
121387 cat confdefs.h >>conftest.$ac_ext
121388 cat >>conftest.$ac_ext <<_ACEOF
121389 /* end confdefs.h. */
121390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121392 #define $ac_func innocuous_$ac_func
121394 /* System header to define __stub macros and hopefully few prototypes,
121395 which can conflict with char $ac_func (); below.
121396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121397 <limits.h> exists even on freestanding compilers. */
121399 #ifdef __STDC__
121400 # include <limits.h>
121401 #else
121402 # include <assert.h>
121403 #endif
121405 #undef $ac_func
121407 /* Override any gcc2 internal prototype to avoid an error. */
121408 #ifdef __cplusplus
121409 extern "C"
121411 #endif
121412 /* We use char because int might match the return type of a gcc2
121413 builtin and then its argument prototype would still apply. */
121414 char $ac_func ();
121415 /* The GNU C library defines this for functions which it implements
121416 to always fail with ENOSYS. Some functions are actually named
121417 something starting with __ and the normal name is an alias. */
121418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121419 choke me
121420 #else
121421 char (*f) () = $ac_func;
121422 #endif
121423 #ifdef __cplusplus
121425 #endif
121428 main ()
121430 return f != $ac_func;
121432 return 0;
121434 _ACEOF
121435 rm -f conftest.$ac_objext conftest$ac_exeext
121436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121437 (eval $ac_link) 2>conftest.er1
121438 ac_status=$?
121439 grep -v '^ *+' conftest.er1 >conftest.err
121440 rm -f conftest.er1
121441 cat conftest.err >&5
121442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121443 (exit $ac_status); } &&
121444 { ac_try='test -z "$ac_c_werror_flag"
121445 || test ! -s conftest.err'
121446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121447 (eval $ac_try) 2>&5
121448 ac_status=$?
121449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121450 (exit $ac_status); }; } &&
121451 { ac_try='test -s conftest$ac_exeext'
121452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121453 (eval $ac_try) 2>&5
121454 ac_status=$?
121455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121456 (exit $ac_status); }; }; then
121457 eval "$as_ac_var=yes"
121459 echo "$as_me: failed program was:" >&5
121460 sed 's/^/| /' conftest.$ac_ext >&5
121462 eval "$as_ac_var=no"
121464 rm -f conftest.err conftest.$ac_objext \
121465 conftest$ac_exeext conftest.$ac_ext
121467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121469 if test `eval echo '${'$as_ac_var'}'` = yes; then
121470 cat >>confdefs.h <<_ACEOF
121471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121472 _ACEOF
121479 echo "$as_me:$LINENO: checking for _powf declaration" >&5
121480 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
121481 if test x${glibcxx_cv_func__powf_use+set} != xset; then
121482 if test "${glibcxx_cv_func__powf_use+set}" = set; then
121483 echo $ECHO_N "(cached) $ECHO_C" >&6
121488 ac_ext=cc
121489 ac_cpp='$CXXCPP $CPPFLAGS'
121490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121494 cat >conftest.$ac_ext <<_ACEOF
121495 /* confdefs.h. */
121496 _ACEOF
121497 cat confdefs.h >>conftest.$ac_ext
121498 cat >>conftest.$ac_ext <<_ACEOF
121499 /* end confdefs.h. */
121500 #include <math.h>
121502 main ()
121504 _powf(0, 0);
121506 return 0;
121508 _ACEOF
121509 rm -f conftest.$ac_objext
121510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121511 (eval $ac_compile) 2>conftest.er1
121512 ac_status=$?
121513 grep -v '^ *+' conftest.er1 >conftest.err
121514 rm -f conftest.er1
121515 cat conftest.err >&5
121516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121517 (exit $ac_status); } &&
121518 { ac_try='test -z "$ac_cxx_werror_flag"
121519 || test ! -s conftest.err'
121520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121521 (eval $ac_try) 2>&5
121522 ac_status=$?
121523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121524 (exit $ac_status); }; } &&
121525 { ac_try='test -s conftest.$ac_objext'
121526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121527 (eval $ac_try) 2>&5
121528 ac_status=$?
121529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121530 (exit $ac_status); }; }; then
121531 glibcxx_cv_func__powf_use=yes
121533 echo "$as_me: failed program was:" >&5
121534 sed 's/^/| /' conftest.$ac_ext >&5
121536 glibcxx_cv_func__powf_use=no
121538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121539 ac_ext=c
121540 ac_cpp='$CPP $CPPFLAGS'
121541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
121550 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
121552 if test x$glibcxx_cv_func__powf_use = x"yes"; then
121554 for ac_func in _powf
121556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121557 echo "$as_me:$LINENO: checking for $ac_func" >&5
121558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121559 if eval "test \"\${$as_ac_var+set}\" = set"; then
121560 echo $ECHO_N "(cached) $ECHO_C" >&6
121562 if test x$gcc_no_link = xyes; then
121563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121565 { (exit 1); exit 1; }; }
121567 cat >conftest.$ac_ext <<_ACEOF
121568 /* confdefs.h. */
121569 _ACEOF
121570 cat confdefs.h >>conftest.$ac_ext
121571 cat >>conftest.$ac_ext <<_ACEOF
121572 /* end confdefs.h. */
121573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121575 #define $ac_func innocuous_$ac_func
121577 /* System header to define __stub macros and hopefully few prototypes,
121578 which can conflict with char $ac_func (); below.
121579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121580 <limits.h> exists even on freestanding compilers. */
121582 #ifdef __STDC__
121583 # include <limits.h>
121584 #else
121585 # include <assert.h>
121586 #endif
121588 #undef $ac_func
121590 /* Override any gcc2 internal prototype to avoid an error. */
121591 #ifdef __cplusplus
121592 extern "C"
121594 #endif
121595 /* We use char because int might match the return type of a gcc2
121596 builtin and then its argument prototype would still apply. */
121597 char $ac_func ();
121598 /* The GNU C library defines this for functions which it implements
121599 to always fail with ENOSYS. Some functions are actually named
121600 something starting with __ and the normal name is an alias. */
121601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121602 choke me
121603 #else
121604 char (*f) () = $ac_func;
121605 #endif
121606 #ifdef __cplusplus
121608 #endif
121611 main ()
121613 return f != $ac_func;
121615 return 0;
121617 _ACEOF
121618 rm -f conftest.$ac_objext conftest$ac_exeext
121619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121620 (eval $ac_link) 2>conftest.er1
121621 ac_status=$?
121622 grep -v '^ *+' conftest.er1 >conftest.err
121623 rm -f conftest.er1
121624 cat conftest.err >&5
121625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121626 (exit $ac_status); } &&
121627 { ac_try='test -z "$ac_c_werror_flag"
121628 || test ! -s conftest.err'
121629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121630 (eval $ac_try) 2>&5
121631 ac_status=$?
121632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121633 (exit $ac_status); }; } &&
121634 { ac_try='test -s conftest$ac_exeext'
121635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121636 (eval $ac_try) 2>&5
121637 ac_status=$?
121638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121639 (exit $ac_status); }; }; then
121640 eval "$as_ac_var=yes"
121642 echo "$as_me: failed program was:" >&5
121643 sed 's/^/| /' conftest.$ac_ext >&5
121645 eval "$as_ac_var=no"
121647 rm -f conftest.err conftest.$ac_objext \
121648 conftest$ac_exeext conftest.$ac_ext
121650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121652 if test `eval echo '${'$as_ac_var'}'` = yes; then
121653 cat >>confdefs.h <<_ACEOF
121654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121655 _ACEOF
121668 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
121669 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
121670 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
121671 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
121672 echo $ECHO_N "(cached) $ECHO_C" >&6
121677 ac_ext=cc
121678 ac_cpp='$CXXCPP $CPPFLAGS'
121679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121683 cat >conftest.$ac_ext <<_ACEOF
121684 /* confdefs.h. */
121685 _ACEOF
121686 cat confdefs.h >>conftest.$ac_ext
121687 cat >>conftest.$ac_ext <<_ACEOF
121688 /* end confdefs.h. */
121689 #include <math.h>
121690 #ifdef HAVE_IEEEFP_H
121691 #include <ieeefp.h>
121692 #endif
121695 main ()
121697 sqrtf(0);
121699 return 0;
121701 _ACEOF
121702 rm -f conftest.$ac_objext
121703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121704 (eval $ac_compile) 2>conftest.er1
121705 ac_status=$?
121706 grep -v '^ *+' conftest.er1 >conftest.err
121707 rm -f conftest.er1
121708 cat conftest.err >&5
121709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121710 (exit $ac_status); } &&
121711 { ac_try='test -z "$ac_cxx_werror_flag"
121712 || test ! -s conftest.err'
121713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121714 (eval $ac_try) 2>&5
121715 ac_status=$?
121716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121717 (exit $ac_status); }; } &&
121718 { ac_try='test -s conftest.$ac_objext'
121719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121720 (eval $ac_try) 2>&5
121721 ac_status=$?
121722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121723 (exit $ac_status); }; }; then
121724 glibcxx_cv_func_sqrtf_use=yes
121726 echo "$as_me: failed program was:" >&5
121727 sed 's/^/| /' conftest.$ac_ext >&5
121729 glibcxx_cv_func_sqrtf_use=no
121731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121732 ac_ext=c
121733 ac_cpp='$CPP $CPPFLAGS'
121734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
121743 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
121745 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
121747 for ac_func in sqrtf
121749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121750 echo "$as_me:$LINENO: checking for $ac_func" >&5
121751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121752 if eval "test \"\${$as_ac_var+set}\" = set"; then
121753 echo $ECHO_N "(cached) $ECHO_C" >&6
121755 if test x$gcc_no_link = xyes; then
121756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121758 { (exit 1); exit 1; }; }
121760 cat >conftest.$ac_ext <<_ACEOF
121761 /* confdefs.h. */
121762 _ACEOF
121763 cat confdefs.h >>conftest.$ac_ext
121764 cat >>conftest.$ac_ext <<_ACEOF
121765 /* end confdefs.h. */
121766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121768 #define $ac_func innocuous_$ac_func
121770 /* System header to define __stub macros and hopefully few prototypes,
121771 which can conflict with char $ac_func (); below.
121772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121773 <limits.h> exists even on freestanding compilers. */
121775 #ifdef __STDC__
121776 # include <limits.h>
121777 #else
121778 # include <assert.h>
121779 #endif
121781 #undef $ac_func
121783 /* Override any gcc2 internal prototype to avoid an error. */
121784 #ifdef __cplusplus
121785 extern "C"
121787 #endif
121788 /* We use char because int might match the return type of a gcc2
121789 builtin and then its argument prototype would still apply. */
121790 char $ac_func ();
121791 /* The GNU C library defines this for functions which it implements
121792 to always fail with ENOSYS. Some functions are actually named
121793 something starting with __ and the normal name is an alias. */
121794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121795 choke me
121796 #else
121797 char (*f) () = $ac_func;
121798 #endif
121799 #ifdef __cplusplus
121801 #endif
121804 main ()
121806 return f != $ac_func;
121808 return 0;
121810 _ACEOF
121811 rm -f conftest.$ac_objext conftest$ac_exeext
121812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121813 (eval $ac_link) 2>conftest.er1
121814 ac_status=$?
121815 grep -v '^ *+' conftest.er1 >conftest.err
121816 rm -f conftest.er1
121817 cat conftest.err >&5
121818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121819 (exit $ac_status); } &&
121820 { ac_try='test -z "$ac_c_werror_flag"
121821 || test ! -s conftest.err'
121822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121823 (eval $ac_try) 2>&5
121824 ac_status=$?
121825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121826 (exit $ac_status); }; } &&
121827 { ac_try='test -s conftest$ac_exeext'
121828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121829 (eval $ac_try) 2>&5
121830 ac_status=$?
121831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121832 (exit $ac_status); }; }; then
121833 eval "$as_ac_var=yes"
121835 echo "$as_me: failed program was:" >&5
121836 sed 's/^/| /' conftest.$ac_ext >&5
121838 eval "$as_ac_var=no"
121840 rm -f conftest.err conftest.$ac_objext \
121841 conftest$ac_exeext conftest.$ac_ext
121843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121845 if test `eval echo '${'$as_ac_var'}'` = yes; then
121846 cat >>confdefs.h <<_ACEOF
121847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121848 _ACEOF
121855 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
121856 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
121857 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
121858 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
121859 echo $ECHO_N "(cached) $ECHO_C" >&6
121864 ac_ext=cc
121865 ac_cpp='$CXXCPP $CPPFLAGS'
121866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121870 cat >conftest.$ac_ext <<_ACEOF
121871 /* confdefs.h. */
121872 _ACEOF
121873 cat confdefs.h >>conftest.$ac_ext
121874 cat >>conftest.$ac_ext <<_ACEOF
121875 /* end confdefs.h. */
121876 #include <math.h>
121877 #ifdef HAVE_IEEEFP_H
121878 #include <ieeefp.h>
121879 #endif
121882 main ()
121884 _sqrtf(0);
121886 return 0;
121888 _ACEOF
121889 rm -f conftest.$ac_objext
121890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121891 (eval $ac_compile) 2>conftest.er1
121892 ac_status=$?
121893 grep -v '^ *+' conftest.er1 >conftest.err
121894 rm -f conftest.er1
121895 cat conftest.err >&5
121896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121897 (exit $ac_status); } &&
121898 { ac_try='test -z "$ac_cxx_werror_flag"
121899 || test ! -s conftest.err'
121900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121901 (eval $ac_try) 2>&5
121902 ac_status=$?
121903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121904 (exit $ac_status); }; } &&
121905 { ac_try='test -s conftest.$ac_objext'
121906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121907 (eval $ac_try) 2>&5
121908 ac_status=$?
121909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121910 (exit $ac_status); }; }; then
121911 glibcxx_cv_func__sqrtf_use=yes
121913 echo "$as_me: failed program was:" >&5
121914 sed 's/^/| /' conftest.$ac_ext >&5
121916 glibcxx_cv_func__sqrtf_use=no
121918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121919 ac_ext=c
121920 ac_cpp='$CPP $CPPFLAGS'
121921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
121930 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
121932 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
121934 for ac_func in _sqrtf
121936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121937 echo "$as_me:$LINENO: checking for $ac_func" >&5
121938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121939 if eval "test \"\${$as_ac_var+set}\" = set"; then
121940 echo $ECHO_N "(cached) $ECHO_C" >&6
121942 if test x$gcc_no_link = xyes; then
121943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121945 { (exit 1); exit 1; }; }
121947 cat >conftest.$ac_ext <<_ACEOF
121948 /* confdefs.h. */
121949 _ACEOF
121950 cat confdefs.h >>conftest.$ac_ext
121951 cat >>conftest.$ac_ext <<_ACEOF
121952 /* end confdefs.h. */
121953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121955 #define $ac_func innocuous_$ac_func
121957 /* System header to define __stub macros and hopefully few prototypes,
121958 which can conflict with char $ac_func (); below.
121959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121960 <limits.h> exists even on freestanding compilers. */
121962 #ifdef __STDC__
121963 # include <limits.h>
121964 #else
121965 # include <assert.h>
121966 #endif
121968 #undef $ac_func
121970 /* Override any gcc2 internal prototype to avoid an error. */
121971 #ifdef __cplusplus
121972 extern "C"
121974 #endif
121975 /* We use char because int might match the return type of a gcc2
121976 builtin and then its argument prototype would still apply. */
121977 char $ac_func ();
121978 /* The GNU C library defines this for functions which it implements
121979 to always fail with ENOSYS. Some functions are actually named
121980 something starting with __ and the normal name is an alias. */
121981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121982 choke me
121983 #else
121984 char (*f) () = $ac_func;
121985 #endif
121986 #ifdef __cplusplus
121988 #endif
121991 main ()
121993 return f != $ac_func;
121995 return 0;
121997 _ACEOF
121998 rm -f conftest.$ac_objext conftest$ac_exeext
121999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122000 (eval $ac_link) 2>conftest.er1
122001 ac_status=$?
122002 grep -v '^ *+' conftest.er1 >conftest.err
122003 rm -f conftest.er1
122004 cat conftest.err >&5
122005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122006 (exit $ac_status); } &&
122007 { ac_try='test -z "$ac_c_werror_flag"
122008 || test ! -s conftest.err'
122009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122010 (eval $ac_try) 2>&5
122011 ac_status=$?
122012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122013 (exit $ac_status); }; } &&
122014 { ac_try='test -s conftest$ac_exeext'
122015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122016 (eval $ac_try) 2>&5
122017 ac_status=$?
122018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122019 (exit $ac_status); }; }; then
122020 eval "$as_ac_var=yes"
122022 echo "$as_me: failed program was:" >&5
122023 sed 's/^/| /' conftest.$ac_ext >&5
122025 eval "$as_ac_var=no"
122027 rm -f conftest.err conftest.$ac_objext \
122028 conftest$ac_exeext conftest.$ac_ext
122030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122032 if test `eval echo '${'$as_ac_var'}'` = yes; then
122033 cat >>confdefs.h <<_ACEOF
122034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122035 _ACEOF
122048 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
122049 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
122050 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
122051 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
122052 echo $ECHO_N "(cached) $ECHO_C" >&6
122057 ac_ext=cc
122058 ac_cpp='$CXXCPP $CPPFLAGS'
122059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122063 cat >conftest.$ac_ext <<_ACEOF
122064 /* confdefs.h. */
122065 _ACEOF
122066 cat confdefs.h >>conftest.$ac_ext
122067 cat >>conftest.$ac_ext <<_ACEOF
122068 /* end confdefs.h. */
122069 #include <math.h>
122071 main ()
122073 sincosf(0, 0, 0);
122075 return 0;
122077 _ACEOF
122078 rm -f conftest.$ac_objext
122079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122080 (eval $ac_compile) 2>conftest.er1
122081 ac_status=$?
122082 grep -v '^ *+' conftest.er1 >conftest.err
122083 rm -f conftest.er1
122084 cat conftest.err >&5
122085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122086 (exit $ac_status); } &&
122087 { ac_try='test -z "$ac_cxx_werror_flag"
122088 || test ! -s conftest.err'
122089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122090 (eval $ac_try) 2>&5
122091 ac_status=$?
122092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122093 (exit $ac_status); }; } &&
122094 { ac_try='test -s conftest.$ac_objext'
122095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122096 (eval $ac_try) 2>&5
122097 ac_status=$?
122098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122099 (exit $ac_status); }; }; then
122100 glibcxx_cv_func_sincosf_use=yes
122102 echo "$as_me: failed program was:" >&5
122103 sed 's/^/| /' conftest.$ac_ext >&5
122105 glibcxx_cv_func_sincosf_use=no
122107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122108 ac_ext=c
122109 ac_cpp='$CPP $CPPFLAGS'
122110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
122119 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
122121 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
122123 for ac_func in sincosf
122125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122126 echo "$as_me:$LINENO: checking for $ac_func" >&5
122127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122128 if eval "test \"\${$as_ac_var+set}\" = set"; then
122129 echo $ECHO_N "(cached) $ECHO_C" >&6
122131 if test x$gcc_no_link = xyes; then
122132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122134 { (exit 1); exit 1; }; }
122136 cat >conftest.$ac_ext <<_ACEOF
122137 /* confdefs.h. */
122138 _ACEOF
122139 cat confdefs.h >>conftest.$ac_ext
122140 cat >>conftest.$ac_ext <<_ACEOF
122141 /* end confdefs.h. */
122142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122144 #define $ac_func innocuous_$ac_func
122146 /* System header to define __stub macros and hopefully few prototypes,
122147 which can conflict with char $ac_func (); below.
122148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122149 <limits.h> exists even on freestanding compilers. */
122151 #ifdef __STDC__
122152 # include <limits.h>
122153 #else
122154 # include <assert.h>
122155 #endif
122157 #undef $ac_func
122159 /* Override any gcc2 internal prototype to avoid an error. */
122160 #ifdef __cplusplus
122161 extern "C"
122163 #endif
122164 /* We use char because int might match the return type of a gcc2
122165 builtin and then its argument prototype would still apply. */
122166 char $ac_func ();
122167 /* The GNU C library defines this for functions which it implements
122168 to always fail with ENOSYS. Some functions are actually named
122169 something starting with __ and the normal name is an alias. */
122170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122171 choke me
122172 #else
122173 char (*f) () = $ac_func;
122174 #endif
122175 #ifdef __cplusplus
122177 #endif
122180 main ()
122182 return f != $ac_func;
122184 return 0;
122186 _ACEOF
122187 rm -f conftest.$ac_objext conftest$ac_exeext
122188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122189 (eval $ac_link) 2>conftest.er1
122190 ac_status=$?
122191 grep -v '^ *+' conftest.er1 >conftest.err
122192 rm -f conftest.er1
122193 cat conftest.err >&5
122194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122195 (exit $ac_status); } &&
122196 { ac_try='test -z "$ac_c_werror_flag"
122197 || test ! -s conftest.err'
122198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122199 (eval $ac_try) 2>&5
122200 ac_status=$?
122201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122202 (exit $ac_status); }; } &&
122203 { ac_try='test -s conftest$ac_exeext'
122204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122205 (eval $ac_try) 2>&5
122206 ac_status=$?
122207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122208 (exit $ac_status); }; }; then
122209 eval "$as_ac_var=yes"
122211 echo "$as_me: failed program was:" >&5
122212 sed 's/^/| /' conftest.$ac_ext >&5
122214 eval "$as_ac_var=no"
122216 rm -f conftest.err conftest.$ac_objext \
122217 conftest$ac_exeext conftest.$ac_ext
122219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122221 if test `eval echo '${'$as_ac_var'}'` = yes; then
122222 cat >>confdefs.h <<_ACEOF
122223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122224 _ACEOF
122231 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
122232 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
122233 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
122234 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
122235 echo $ECHO_N "(cached) $ECHO_C" >&6
122240 ac_ext=cc
122241 ac_cpp='$CXXCPP $CPPFLAGS'
122242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122246 cat >conftest.$ac_ext <<_ACEOF
122247 /* confdefs.h. */
122248 _ACEOF
122249 cat confdefs.h >>conftest.$ac_ext
122250 cat >>conftest.$ac_ext <<_ACEOF
122251 /* end confdefs.h. */
122252 #include <math.h>
122254 main ()
122256 _sincosf(0, 0, 0);
122258 return 0;
122260 _ACEOF
122261 rm -f conftest.$ac_objext
122262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122263 (eval $ac_compile) 2>conftest.er1
122264 ac_status=$?
122265 grep -v '^ *+' conftest.er1 >conftest.err
122266 rm -f conftest.er1
122267 cat conftest.err >&5
122268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122269 (exit $ac_status); } &&
122270 { ac_try='test -z "$ac_cxx_werror_flag"
122271 || test ! -s conftest.err'
122272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122273 (eval $ac_try) 2>&5
122274 ac_status=$?
122275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122276 (exit $ac_status); }; } &&
122277 { ac_try='test -s conftest.$ac_objext'
122278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122279 (eval $ac_try) 2>&5
122280 ac_status=$?
122281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122282 (exit $ac_status); }; }; then
122283 glibcxx_cv_func__sincosf_use=yes
122285 echo "$as_me: failed program was:" >&5
122286 sed 's/^/| /' conftest.$ac_ext >&5
122288 glibcxx_cv_func__sincosf_use=no
122290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122291 ac_ext=c
122292 ac_cpp='$CPP $CPPFLAGS'
122293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
122302 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
122304 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
122306 for ac_func in _sincosf
122308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122309 echo "$as_me:$LINENO: checking for $ac_func" >&5
122310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122311 if eval "test \"\${$as_ac_var+set}\" = set"; then
122312 echo $ECHO_N "(cached) $ECHO_C" >&6
122314 if test x$gcc_no_link = xyes; then
122315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122317 { (exit 1); exit 1; }; }
122319 cat >conftest.$ac_ext <<_ACEOF
122320 /* confdefs.h. */
122321 _ACEOF
122322 cat confdefs.h >>conftest.$ac_ext
122323 cat >>conftest.$ac_ext <<_ACEOF
122324 /* end confdefs.h. */
122325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122327 #define $ac_func innocuous_$ac_func
122329 /* System header to define __stub macros and hopefully few prototypes,
122330 which can conflict with char $ac_func (); below.
122331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122332 <limits.h> exists even on freestanding compilers. */
122334 #ifdef __STDC__
122335 # include <limits.h>
122336 #else
122337 # include <assert.h>
122338 #endif
122340 #undef $ac_func
122342 /* Override any gcc2 internal prototype to avoid an error. */
122343 #ifdef __cplusplus
122344 extern "C"
122346 #endif
122347 /* We use char because int might match the return type of a gcc2
122348 builtin and then its argument prototype would still apply. */
122349 char $ac_func ();
122350 /* The GNU C library defines this for functions which it implements
122351 to always fail with ENOSYS. Some functions are actually named
122352 something starting with __ and the normal name is an alias. */
122353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122354 choke me
122355 #else
122356 char (*f) () = $ac_func;
122357 #endif
122358 #ifdef __cplusplus
122360 #endif
122363 main ()
122365 return f != $ac_func;
122367 return 0;
122369 _ACEOF
122370 rm -f conftest.$ac_objext conftest$ac_exeext
122371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122372 (eval $ac_link) 2>conftest.er1
122373 ac_status=$?
122374 grep -v '^ *+' conftest.er1 >conftest.err
122375 rm -f conftest.er1
122376 cat conftest.err >&5
122377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122378 (exit $ac_status); } &&
122379 { ac_try='test -z "$ac_c_werror_flag"
122380 || test ! -s conftest.err'
122381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122382 (eval $ac_try) 2>&5
122383 ac_status=$?
122384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122385 (exit $ac_status); }; } &&
122386 { ac_try='test -s conftest$ac_exeext'
122387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122388 (eval $ac_try) 2>&5
122389 ac_status=$?
122390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122391 (exit $ac_status); }; }; then
122392 eval "$as_ac_var=yes"
122394 echo "$as_me: failed program was:" >&5
122395 sed 's/^/| /' conftest.$ac_ext >&5
122397 eval "$as_ac_var=no"
122399 rm -f conftest.err conftest.$ac_objext \
122400 conftest$ac_exeext conftest.$ac_ext
122402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122404 if test `eval echo '${'$as_ac_var'}'` = yes; then
122405 cat >>confdefs.h <<_ACEOF
122406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122407 _ACEOF
122420 echo "$as_me:$LINENO: checking for finitef declaration" >&5
122421 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
122422 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
122423 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
122424 echo $ECHO_N "(cached) $ECHO_C" >&6
122429 ac_ext=cc
122430 ac_cpp='$CXXCPP $CPPFLAGS'
122431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122435 cat >conftest.$ac_ext <<_ACEOF
122436 /* confdefs.h. */
122437 _ACEOF
122438 cat confdefs.h >>conftest.$ac_ext
122439 cat >>conftest.$ac_ext <<_ACEOF
122440 /* end confdefs.h. */
122441 #include <math.h>
122442 #ifdef HAVE_IEEEFP_H
122443 #include <ieeefp.h>
122444 #endif
122447 main ()
122449 finitef(0);
122451 return 0;
122453 _ACEOF
122454 rm -f conftest.$ac_objext
122455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122456 (eval $ac_compile) 2>conftest.er1
122457 ac_status=$?
122458 grep -v '^ *+' conftest.er1 >conftest.err
122459 rm -f conftest.er1
122460 cat conftest.err >&5
122461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122462 (exit $ac_status); } &&
122463 { ac_try='test -z "$ac_cxx_werror_flag"
122464 || test ! -s conftest.err'
122465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122466 (eval $ac_try) 2>&5
122467 ac_status=$?
122468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122469 (exit $ac_status); }; } &&
122470 { ac_try='test -s conftest.$ac_objext'
122471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122472 (eval $ac_try) 2>&5
122473 ac_status=$?
122474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122475 (exit $ac_status); }; }; then
122476 glibcxx_cv_func_finitef_use=yes
122478 echo "$as_me: failed program was:" >&5
122479 sed 's/^/| /' conftest.$ac_ext >&5
122481 glibcxx_cv_func_finitef_use=no
122483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122484 ac_ext=c
122485 ac_cpp='$CPP $CPPFLAGS'
122486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
122495 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
122497 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
122499 for ac_func in finitef
122501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122502 echo "$as_me:$LINENO: checking for $ac_func" >&5
122503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122504 if eval "test \"\${$as_ac_var+set}\" = set"; then
122505 echo $ECHO_N "(cached) $ECHO_C" >&6
122507 if test x$gcc_no_link = xyes; then
122508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122510 { (exit 1); exit 1; }; }
122512 cat >conftest.$ac_ext <<_ACEOF
122513 /* confdefs.h. */
122514 _ACEOF
122515 cat confdefs.h >>conftest.$ac_ext
122516 cat >>conftest.$ac_ext <<_ACEOF
122517 /* end confdefs.h. */
122518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122520 #define $ac_func innocuous_$ac_func
122522 /* System header to define __stub macros and hopefully few prototypes,
122523 which can conflict with char $ac_func (); below.
122524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122525 <limits.h> exists even on freestanding compilers. */
122527 #ifdef __STDC__
122528 # include <limits.h>
122529 #else
122530 # include <assert.h>
122531 #endif
122533 #undef $ac_func
122535 /* Override any gcc2 internal prototype to avoid an error. */
122536 #ifdef __cplusplus
122537 extern "C"
122539 #endif
122540 /* We use char because int might match the return type of a gcc2
122541 builtin and then its argument prototype would still apply. */
122542 char $ac_func ();
122543 /* The GNU C library defines this for functions which it implements
122544 to always fail with ENOSYS. Some functions are actually named
122545 something starting with __ and the normal name is an alias. */
122546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122547 choke me
122548 #else
122549 char (*f) () = $ac_func;
122550 #endif
122551 #ifdef __cplusplus
122553 #endif
122556 main ()
122558 return f != $ac_func;
122560 return 0;
122562 _ACEOF
122563 rm -f conftest.$ac_objext conftest$ac_exeext
122564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122565 (eval $ac_link) 2>conftest.er1
122566 ac_status=$?
122567 grep -v '^ *+' conftest.er1 >conftest.err
122568 rm -f conftest.er1
122569 cat conftest.err >&5
122570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122571 (exit $ac_status); } &&
122572 { ac_try='test -z "$ac_c_werror_flag"
122573 || test ! -s conftest.err'
122574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122575 (eval $ac_try) 2>&5
122576 ac_status=$?
122577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122578 (exit $ac_status); }; } &&
122579 { ac_try='test -s conftest$ac_exeext'
122580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122581 (eval $ac_try) 2>&5
122582 ac_status=$?
122583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122584 (exit $ac_status); }; }; then
122585 eval "$as_ac_var=yes"
122587 echo "$as_me: failed program was:" >&5
122588 sed 's/^/| /' conftest.$ac_ext >&5
122590 eval "$as_ac_var=no"
122592 rm -f conftest.err conftest.$ac_objext \
122593 conftest$ac_exeext conftest.$ac_ext
122595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122597 if test `eval echo '${'$as_ac_var'}'` = yes; then
122598 cat >>confdefs.h <<_ACEOF
122599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122600 _ACEOF
122607 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
122608 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
122609 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
122610 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
122611 echo $ECHO_N "(cached) $ECHO_C" >&6
122616 ac_ext=cc
122617 ac_cpp='$CXXCPP $CPPFLAGS'
122618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122622 cat >conftest.$ac_ext <<_ACEOF
122623 /* confdefs.h. */
122624 _ACEOF
122625 cat confdefs.h >>conftest.$ac_ext
122626 cat >>conftest.$ac_ext <<_ACEOF
122627 /* end confdefs.h. */
122628 #include <math.h>
122629 #ifdef HAVE_IEEEFP_H
122630 #include <ieeefp.h>
122631 #endif
122634 main ()
122636 _finitef(0);
122638 return 0;
122640 _ACEOF
122641 rm -f conftest.$ac_objext
122642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122643 (eval $ac_compile) 2>conftest.er1
122644 ac_status=$?
122645 grep -v '^ *+' conftest.er1 >conftest.err
122646 rm -f conftest.er1
122647 cat conftest.err >&5
122648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122649 (exit $ac_status); } &&
122650 { ac_try='test -z "$ac_cxx_werror_flag"
122651 || test ! -s conftest.err'
122652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122653 (eval $ac_try) 2>&5
122654 ac_status=$?
122655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122656 (exit $ac_status); }; } &&
122657 { ac_try='test -s conftest.$ac_objext'
122658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122659 (eval $ac_try) 2>&5
122660 ac_status=$?
122661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122662 (exit $ac_status); }; }; then
122663 glibcxx_cv_func__finitef_use=yes
122665 echo "$as_me: failed program was:" >&5
122666 sed 's/^/| /' conftest.$ac_ext >&5
122668 glibcxx_cv_func__finitef_use=no
122670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122671 ac_ext=c
122672 ac_cpp='$CPP $CPPFLAGS'
122673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
122682 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
122684 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
122686 for ac_func in _finitef
122688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122689 echo "$as_me:$LINENO: checking for $ac_func" >&5
122690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122691 if eval "test \"\${$as_ac_var+set}\" = set"; then
122692 echo $ECHO_N "(cached) $ECHO_C" >&6
122694 if test x$gcc_no_link = xyes; then
122695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122697 { (exit 1); exit 1; }; }
122699 cat >conftest.$ac_ext <<_ACEOF
122700 /* confdefs.h. */
122701 _ACEOF
122702 cat confdefs.h >>conftest.$ac_ext
122703 cat >>conftest.$ac_ext <<_ACEOF
122704 /* end confdefs.h. */
122705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122707 #define $ac_func innocuous_$ac_func
122709 /* System header to define __stub macros and hopefully few prototypes,
122710 which can conflict with char $ac_func (); below.
122711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122712 <limits.h> exists even on freestanding compilers. */
122714 #ifdef __STDC__
122715 # include <limits.h>
122716 #else
122717 # include <assert.h>
122718 #endif
122720 #undef $ac_func
122722 /* Override any gcc2 internal prototype to avoid an error. */
122723 #ifdef __cplusplus
122724 extern "C"
122726 #endif
122727 /* We use char because int might match the return type of a gcc2
122728 builtin and then its argument prototype would still apply. */
122729 char $ac_func ();
122730 /* The GNU C library defines this for functions which it implements
122731 to always fail with ENOSYS. Some functions are actually named
122732 something starting with __ and the normal name is an alias. */
122733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122734 choke me
122735 #else
122736 char (*f) () = $ac_func;
122737 #endif
122738 #ifdef __cplusplus
122740 #endif
122743 main ()
122745 return f != $ac_func;
122747 return 0;
122749 _ACEOF
122750 rm -f conftest.$ac_objext conftest$ac_exeext
122751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122752 (eval $ac_link) 2>conftest.er1
122753 ac_status=$?
122754 grep -v '^ *+' conftest.er1 >conftest.err
122755 rm -f conftest.er1
122756 cat conftest.err >&5
122757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122758 (exit $ac_status); } &&
122759 { ac_try='test -z "$ac_c_werror_flag"
122760 || test ! -s conftest.err'
122761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122762 (eval $ac_try) 2>&5
122763 ac_status=$?
122764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122765 (exit $ac_status); }; } &&
122766 { ac_try='test -s conftest$ac_exeext'
122767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122768 (eval $ac_try) 2>&5
122769 ac_status=$?
122770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122771 (exit $ac_status); }; }; then
122772 eval "$as_ac_var=yes"
122774 echo "$as_me: failed program was:" >&5
122775 sed 's/^/| /' conftest.$ac_ext >&5
122777 eval "$as_ac_var=no"
122779 rm -f conftest.err conftest.$ac_objext \
122780 conftest$ac_exeext conftest.$ac_ext
122782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122784 if test `eval echo '${'$as_ac_var'}'` = yes; then
122785 cat >>confdefs.h <<_ACEOF
122786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122787 _ACEOF
122800 echo "$as_me:$LINENO: checking for long double trig functions" >&5
122801 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
122802 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
122803 echo $ECHO_N "(cached) $ECHO_C" >&6
122808 ac_ext=cc
122809 ac_cpp='$CXXCPP $CPPFLAGS'
122810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
122814 cat >conftest.$ac_ext <<_ACEOF
122815 /* confdefs.h. */
122816 _ACEOF
122817 cat confdefs.h >>conftest.$ac_ext
122818 cat >>conftest.$ac_ext <<_ACEOF
122819 /* end confdefs.h. */
122820 #include <math.h>
122822 main ()
122824 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
122826 return 0;
122828 _ACEOF
122829 rm -f conftest.$ac_objext
122830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
122831 (eval $ac_compile) 2>conftest.er1
122832 ac_status=$?
122833 grep -v '^ *+' conftest.er1 >conftest.err
122834 rm -f conftest.er1
122835 cat conftest.err >&5
122836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122837 (exit $ac_status); } &&
122838 { ac_try='test -z "$ac_cxx_werror_flag"
122839 || test ! -s conftest.err'
122840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122841 (eval $ac_try) 2>&5
122842 ac_status=$?
122843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122844 (exit $ac_status); }; } &&
122845 { ac_try='test -s conftest.$ac_objext'
122846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122847 (eval $ac_try) 2>&5
122848 ac_status=$?
122849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122850 (exit $ac_status); }; }; then
122851 glibcxx_cv_func_long_double_trig_use=yes
122853 echo "$as_me: failed program was:" >&5
122854 sed 's/^/| /' conftest.$ac_ext >&5
122856 glibcxx_cv_func_long_double_trig_use=no
122858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
122859 ac_ext=c
122860 ac_cpp='$CPP $CPPFLAGS'
122861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
122867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
122868 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
122869 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
122879 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
122881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
122882 echo "$as_me:$LINENO: checking for $ac_func" >&5
122883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
122884 if eval "test \"\${$as_ac_var+set}\" = set"; then
122885 echo $ECHO_N "(cached) $ECHO_C" >&6
122887 if test x$gcc_no_link = xyes; then
122888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
122889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
122890 { (exit 1); exit 1; }; }
122892 cat >conftest.$ac_ext <<_ACEOF
122893 /* confdefs.h. */
122894 _ACEOF
122895 cat confdefs.h >>conftest.$ac_ext
122896 cat >>conftest.$ac_ext <<_ACEOF
122897 /* end confdefs.h. */
122898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
122899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
122900 #define $ac_func innocuous_$ac_func
122902 /* System header to define __stub macros and hopefully few prototypes,
122903 which can conflict with char $ac_func (); below.
122904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
122905 <limits.h> exists even on freestanding compilers. */
122907 #ifdef __STDC__
122908 # include <limits.h>
122909 #else
122910 # include <assert.h>
122911 #endif
122913 #undef $ac_func
122915 /* Override any gcc2 internal prototype to avoid an error. */
122916 #ifdef __cplusplus
122917 extern "C"
122919 #endif
122920 /* We use char because int might match the return type of a gcc2
122921 builtin and then its argument prototype would still apply. */
122922 char $ac_func ();
122923 /* The GNU C library defines this for functions which it implements
122924 to always fail with ENOSYS. Some functions are actually named
122925 something starting with __ and the normal name is an alias. */
122926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
122927 choke me
122928 #else
122929 char (*f) () = $ac_func;
122930 #endif
122931 #ifdef __cplusplus
122933 #endif
122936 main ()
122938 return f != $ac_func;
122940 return 0;
122942 _ACEOF
122943 rm -f conftest.$ac_objext conftest$ac_exeext
122944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
122945 (eval $ac_link) 2>conftest.er1
122946 ac_status=$?
122947 grep -v '^ *+' conftest.er1 >conftest.err
122948 rm -f conftest.er1
122949 cat conftest.err >&5
122950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122951 (exit $ac_status); } &&
122952 { ac_try='test -z "$ac_c_werror_flag"
122953 || test ! -s conftest.err'
122954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122955 (eval $ac_try) 2>&5
122956 ac_status=$?
122957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122958 (exit $ac_status); }; } &&
122959 { ac_try='test -s conftest$ac_exeext'
122960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
122961 (eval $ac_try) 2>&5
122962 ac_status=$?
122963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
122964 (exit $ac_status); }; }; then
122965 eval "$as_ac_var=yes"
122967 echo "$as_me: failed program was:" >&5
122968 sed 's/^/| /' conftest.$ac_ext >&5
122970 eval "$as_ac_var=no"
122972 rm -f conftest.err conftest.$ac_objext \
122973 conftest$ac_exeext conftest.$ac_ext
122975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
122976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
122977 if test `eval echo '${'$as_ac_var'}'` = yes; then
122978 cat >>confdefs.h <<_ACEOF
122979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
122980 _ACEOF
122986 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
122987 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
122988 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
122989 echo $ECHO_N "(cached) $ECHO_C" >&6
122994 ac_ext=cc
122995 ac_cpp='$CXXCPP $CPPFLAGS'
122996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
122997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
122998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123000 cat >conftest.$ac_ext <<_ACEOF
123001 /* confdefs.h. */
123002 _ACEOF
123003 cat confdefs.h >>conftest.$ac_ext
123004 cat >>conftest.$ac_ext <<_ACEOF
123005 /* end confdefs.h. */
123006 #include <math.h>
123008 main ()
123010 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
123012 return 0;
123014 _ACEOF
123015 rm -f conftest.$ac_objext
123016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123017 (eval $ac_compile) 2>conftest.er1
123018 ac_status=$?
123019 grep -v '^ *+' conftest.er1 >conftest.err
123020 rm -f conftest.er1
123021 cat conftest.err >&5
123022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123023 (exit $ac_status); } &&
123024 { ac_try='test -z "$ac_cxx_werror_flag"
123025 || test ! -s conftest.err'
123026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123027 (eval $ac_try) 2>&5
123028 ac_status=$?
123029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123030 (exit $ac_status); }; } &&
123031 { ac_try='test -s conftest.$ac_objext'
123032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123033 (eval $ac_try) 2>&5
123034 ac_status=$?
123035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123036 (exit $ac_status); }; }; then
123037 glibcxx_cv_func__long_double_trig_use=yes
123039 echo "$as_me: failed program was:" >&5
123040 sed 's/^/| /' conftest.$ac_ext >&5
123042 glibcxx_cv_func__long_double_trig_use=no
123044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123045 ac_ext=c
123046 ac_cpp='$CPP $CPPFLAGS'
123047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
123054 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
123055 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
123065 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
123067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123068 echo "$as_me:$LINENO: checking for $ac_func" >&5
123069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123070 if eval "test \"\${$as_ac_var+set}\" = set"; then
123071 echo $ECHO_N "(cached) $ECHO_C" >&6
123073 if test x$gcc_no_link = xyes; then
123074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123076 { (exit 1); exit 1; }; }
123078 cat >conftest.$ac_ext <<_ACEOF
123079 /* confdefs.h. */
123080 _ACEOF
123081 cat confdefs.h >>conftest.$ac_ext
123082 cat >>conftest.$ac_ext <<_ACEOF
123083 /* end confdefs.h. */
123084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123086 #define $ac_func innocuous_$ac_func
123088 /* System header to define __stub macros and hopefully few prototypes,
123089 which can conflict with char $ac_func (); below.
123090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123091 <limits.h> exists even on freestanding compilers. */
123093 #ifdef __STDC__
123094 # include <limits.h>
123095 #else
123096 # include <assert.h>
123097 #endif
123099 #undef $ac_func
123101 /* Override any gcc2 internal prototype to avoid an error. */
123102 #ifdef __cplusplus
123103 extern "C"
123105 #endif
123106 /* We use char because int might match the return type of a gcc2
123107 builtin and then its argument prototype would still apply. */
123108 char $ac_func ();
123109 /* The GNU C library defines this for functions which it implements
123110 to always fail with ENOSYS. Some functions are actually named
123111 something starting with __ and the normal name is an alias. */
123112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123113 choke me
123114 #else
123115 char (*f) () = $ac_func;
123116 #endif
123117 #ifdef __cplusplus
123119 #endif
123122 main ()
123124 return f != $ac_func;
123126 return 0;
123128 _ACEOF
123129 rm -f conftest.$ac_objext conftest$ac_exeext
123130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123131 (eval $ac_link) 2>conftest.er1
123132 ac_status=$?
123133 grep -v '^ *+' conftest.er1 >conftest.err
123134 rm -f conftest.er1
123135 cat conftest.err >&5
123136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123137 (exit $ac_status); } &&
123138 { ac_try='test -z "$ac_c_werror_flag"
123139 || test ! -s conftest.err'
123140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123141 (eval $ac_try) 2>&5
123142 ac_status=$?
123143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123144 (exit $ac_status); }; } &&
123145 { ac_try='test -s conftest$ac_exeext'
123146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123147 (eval $ac_try) 2>&5
123148 ac_status=$?
123149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123150 (exit $ac_status); }; }; then
123151 eval "$as_ac_var=yes"
123153 echo "$as_me: failed program was:" >&5
123154 sed 's/^/| /' conftest.$ac_ext >&5
123156 eval "$as_ac_var=no"
123158 rm -f conftest.err conftest.$ac_objext \
123159 conftest$ac_exeext conftest.$ac_ext
123161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123163 if test `eval echo '${'$as_ac_var'}'` = yes; then
123164 cat >>confdefs.h <<_ACEOF
123165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123166 _ACEOF
123187 echo "$as_me:$LINENO: checking for long double round functions" >&5
123188 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
123189 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
123190 echo $ECHO_N "(cached) $ECHO_C" >&6
123195 ac_ext=cc
123196 ac_cpp='$CXXCPP $CPPFLAGS'
123197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123201 cat >conftest.$ac_ext <<_ACEOF
123202 /* confdefs.h. */
123203 _ACEOF
123204 cat confdefs.h >>conftest.$ac_ext
123205 cat >>conftest.$ac_ext <<_ACEOF
123206 /* end confdefs.h. */
123207 #include <math.h>
123209 main ()
123211 ceill (0); floorl (0);
123213 return 0;
123215 _ACEOF
123216 rm -f conftest.$ac_objext
123217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123218 (eval $ac_compile) 2>conftest.er1
123219 ac_status=$?
123220 grep -v '^ *+' conftest.er1 >conftest.err
123221 rm -f conftest.er1
123222 cat conftest.err >&5
123223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123224 (exit $ac_status); } &&
123225 { ac_try='test -z "$ac_cxx_werror_flag"
123226 || test ! -s conftest.err'
123227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123228 (eval $ac_try) 2>&5
123229 ac_status=$?
123230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123231 (exit $ac_status); }; } &&
123232 { ac_try='test -s conftest.$ac_objext'
123233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123234 (eval $ac_try) 2>&5
123235 ac_status=$?
123236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123237 (exit $ac_status); }; }; then
123238 glibcxx_cv_func_long_double_round_use=yes
123240 echo "$as_me: failed program was:" >&5
123241 sed 's/^/| /' conftest.$ac_ext >&5
123243 glibcxx_cv_func_long_double_round_use=no
123245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123246 ac_ext=c
123247 ac_cpp='$CPP $CPPFLAGS'
123248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123254 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
123255 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
123256 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
123259 for ac_func in ceill floorl
123261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123262 echo "$as_me:$LINENO: checking for $ac_func" >&5
123263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123264 if eval "test \"\${$as_ac_var+set}\" = set"; then
123265 echo $ECHO_N "(cached) $ECHO_C" >&6
123267 if test x$gcc_no_link = xyes; then
123268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123270 { (exit 1); exit 1; }; }
123272 cat >conftest.$ac_ext <<_ACEOF
123273 /* confdefs.h. */
123274 _ACEOF
123275 cat confdefs.h >>conftest.$ac_ext
123276 cat >>conftest.$ac_ext <<_ACEOF
123277 /* end confdefs.h. */
123278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123280 #define $ac_func innocuous_$ac_func
123282 /* System header to define __stub macros and hopefully few prototypes,
123283 which can conflict with char $ac_func (); below.
123284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123285 <limits.h> exists even on freestanding compilers. */
123287 #ifdef __STDC__
123288 # include <limits.h>
123289 #else
123290 # include <assert.h>
123291 #endif
123293 #undef $ac_func
123295 /* Override any gcc2 internal prototype to avoid an error. */
123296 #ifdef __cplusplus
123297 extern "C"
123299 #endif
123300 /* We use char because int might match the return type of a gcc2
123301 builtin and then its argument prototype would still apply. */
123302 char $ac_func ();
123303 /* The GNU C library defines this for functions which it implements
123304 to always fail with ENOSYS. Some functions are actually named
123305 something starting with __ and the normal name is an alias. */
123306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123307 choke me
123308 #else
123309 char (*f) () = $ac_func;
123310 #endif
123311 #ifdef __cplusplus
123313 #endif
123316 main ()
123318 return f != $ac_func;
123320 return 0;
123322 _ACEOF
123323 rm -f conftest.$ac_objext conftest$ac_exeext
123324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123325 (eval $ac_link) 2>conftest.er1
123326 ac_status=$?
123327 grep -v '^ *+' conftest.er1 >conftest.err
123328 rm -f conftest.er1
123329 cat conftest.err >&5
123330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123331 (exit $ac_status); } &&
123332 { ac_try='test -z "$ac_c_werror_flag"
123333 || test ! -s conftest.err'
123334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123335 (eval $ac_try) 2>&5
123336 ac_status=$?
123337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123338 (exit $ac_status); }; } &&
123339 { ac_try='test -s conftest$ac_exeext'
123340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123341 (eval $ac_try) 2>&5
123342 ac_status=$?
123343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123344 (exit $ac_status); }; }; then
123345 eval "$as_ac_var=yes"
123347 echo "$as_me: failed program was:" >&5
123348 sed 's/^/| /' conftest.$ac_ext >&5
123350 eval "$as_ac_var=no"
123352 rm -f conftest.err conftest.$ac_objext \
123353 conftest$ac_exeext conftest.$ac_ext
123355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123357 if test `eval echo '${'$as_ac_var'}'` = yes; then
123358 cat >>confdefs.h <<_ACEOF
123359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123360 _ACEOF
123366 echo "$as_me:$LINENO: checking for _long double round functions" >&5
123367 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
123368 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
123369 echo $ECHO_N "(cached) $ECHO_C" >&6
123374 ac_ext=cc
123375 ac_cpp='$CXXCPP $CPPFLAGS'
123376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123380 cat >conftest.$ac_ext <<_ACEOF
123381 /* confdefs.h. */
123382 _ACEOF
123383 cat confdefs.h >>conftest.$ac_ext
123384 cat >>conftest.$ac_ext <<_ACEOF
123385 /* end confdefs.h. */
123386 #include <math.h>
123388 main ()
123390 _ceill (0); _floorl (0);
123392 return 0;
123394 _ACEOF
123395 rm -f conftest.$ac_objext
123396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123397 (eval $ac_compile) 2>conftest.er1
123398 ac_status=$?
123399 grep -v '^ *+' conftest.er1 >conftest.err
123400 rm -f conftest.er1
123401 cat conftest.err >&5
123402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123403 (exit $ac_status); } &&
123404 { ac_try='test -z "$ac_cxx_werror_flag"
123405 || test ! -s conftest.err'
123406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123407 (eval $ac_try) 2>&5
123408 ac_status=$?
123409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123410 (exit $ac_status); }; } &&
123411 { ac_try='test -s conftest.$ac_objext'
123412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123413 (eval $ac_try) 2>&5
123414 ac_status=$?
123415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123416 (exit $ac_status); }; }; then
123417 glibcxx_cv_func__long_double_round_use=yes
123419 echo "$as_me: failed program was:" >&5
123420 sed 's/^/| /' conftest.$ac_ext >&5
123422 glibcxx_cv_func__long_double_round_use=no
123424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123425 ac_ext=c
123426 ac_cpp='$CPP $CPPFLAGS'
123427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
123434 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
123435 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
123438 for ac_func in _ceill _floorl
123440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123441 echo "$as_me:$LINENO: checking for $ac_func" >&5
123442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123443 if eval "test \"\${$as_ac_var+set}\" = set"; then
123444 echo $ECHO_N "(cached) $ECHO_C" >&6
123446 if test x$gcc_no_link = xyes; then
123447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123449 { (exit 1); exit 1; }; }
123451 cat >conftest.$ac_ext <<_ACEOF
123452 /* confdefs.h. */
123453 _ACEOF
123454 cat confdefs.h >>conftest.$ac_ext
123455 cat >>conftest.$ac_ext <<_ACEOF
123456 /* end confdefs.h. */
123457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123459 #define $ac_func innocuous_$ac_func
123461 /* System header to define __stub macros and hopefully few prototypes,
123462 which can conflict with char $ac_func (); below.
123463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123464 <limits.h> exists even on freestanding compilers. */
123466 #ifdef __STDC__
123467 # include <limits.h>
123468 #else
123469 # include <assert.h>
123470 #endif
123472 #undef $ac_func
123474 /* Override any gcc2 internal prototype to avoid an error. */
123475 #ifdef __cplusplus
123476 extern "C"
123478 #endif
123479 /* We use char because int might match the return type of a gcc2
123480 builtin and then its argument prototype would still apply. */
123481 char $ac_func ();
123482 /* The GNU C library defines this for functions which it implements
123483 to always fail with ENOSYS. Some functions are actually named
123484 something starting with __ and the normal name is an alias. */
123485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123486 choke me
123487 #else
123488 char (*f) () = $ac_func;
123489 #endif
123490 #ifdef __cplusplus
123492 #endif
123495 main ()
123497 return f != $ac_func;
123499 return 0;
123501 _ACEOF
123502 rm -f conftest.$ac_objext conftest$ac_exeext
123503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123504 (eval $ac_link) 2>conftest.er1
123505 ac_status=$?
123506 grep -v '^ *+' conftest.er1 >conftest.err
123507 rm -f conftest.er1
123508 cat conftest.err >&5
123509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123510 (exit $ac_status); } &&
123511 { ac_try='test -z "$ac_c_werror_flag"
123512 || test ! -s conftest.err'
123513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123514 (eval $ac_try) 2>&5
123515 ac_status=$?
123516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123517 (exit $ac_status); }; } &&
123518 { ac_try='test -s conftest$ac_exeext'
123519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123520 (eval $ac_try) 2>&5
123521 ac_status=$?
123522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123523 (exit $ac_status); }; }; then
123524 eval "$as_ac_var=yes"
123526 echo "$as_me: failed program was:" >&5
123527 sed 's/^/| /' conftest.$ac_ext >&5
123529 eval "$as_ac_var=no"
123531 rm -f conftest.err conftest.$ac_objext \
123532 conftest$ac_exeext conftest.$ac_ext
123534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123536 if test `eval echo '${'$as_ac_var'}'` = yes; then
123537 cat >>confdefs.h <<_ACEOF
123538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123539 _ACEOF
123554 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
123555 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
123556 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
123557 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
123558 echo $ECHO_N "(cached) $ECHO_C" >&6
123563 ac_ext=cc
123564 ac_cpp='$CXXCPP $CPPFLAGS'
123565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123569 cat >conftest.$ac_ext <<_ACEOF
123570 /* confdefs.h. */
123571 _ACEOF
123572 cat confdefs.h >>conftest.$ac_ext
123573 cat >>conftest.$ac_ext <<_ACEOF
123574 /* end confdefs.h. */
123575 #include <math.h>
123576 #ifdef HAVE_IEEEFP_H
123577 #include <ieeefp.h>
123578 #endif
123581 main ()
123583 isnanl(0);
123585 return 0;
123587 _ACEOF
123588 rm -f conftest.$ac_objext
123589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123590 (eval $ac_compile) 2>conftest.er1
123591 ac_status=$?
123592 grep -v '^ *+' conftest.er1 >conftest.err
123593 rm -f conftest.er1
123594 cat conftest.err >&5
123595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123596 (exit $ac_status); } &&
123597 { ac_try='test -z "$ac_cxx_werror_flag"
123598 || test ! -s conftest.err'
123599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123600 (eval $ac_try) 2>&5
123601 ac_status=$?
123602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123603 (exit $ac_status); }; } &&
123604 { ac_try='test -s conftest.$ac_objext'
123605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123606 (eval $ac_try) 2>&5
123607 ac_status=$?
123608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123609 (exit $ac_status); }; }; then
123610 glibcxx_cv_func_isnanl_use=yes
123612 echo "$as_me: failed program was:" >&5
123613 sed 's/^/| /' conftest.$ac_ext >&5
123615 glibcxx_cv_func_isnanl_use=no
123617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123618 ac_ext=c
123619 ac_cpp='$CPP $CPPFLAGS'
123620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
123629 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
123631 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
123633 for ac_func in isnanl
123635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123636 echo "$as_me:$LINENO: checking for $ac_func" >&5
123637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123638 if eval "test \"\${$as_ac_var+set}\" = set"; then
123639 echo $ECHO_N "(cached) $ECHO_C" >&6
123641 if test x$gcc_no_link = xyes; then
123642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123644 { (exit 1); exit 1; }; }
123646 cat >conftest.$ac_ext <<_ACEOF
123647 /* confdefs.h. */
123648 _ACEOF
123649 cat confdefs.h >>conftest.$ac_ext
123650 cat >>conftest.$ac_ext <<_ACEOF
123651 /* end confdefs.h. */
123652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123654 #define $ac_func innocuous_$ac_func
123656 /* System header to define __stub macros and hopefully few prototypes,
123657 which can conflict with char $ac_func (); below.
123658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123659 <limits.h> exists even on freestanding compilers. */
123661 #ifdef __STDC__
123662 # include <limits.h>
123663 #else
123664 # include <assert.h>
123665 #endif
123667 #undef $ac_func
123669 /* Override any gcc2 internal prototype to avoid an error. */
123670 #ifdef __cplusplus
123671 extern "C"
123673 #endif
123674 /* We use char because int might match the return type of a gcc2
123675 builtin and then its argument prototype would still apply. */
123676 char $ac_func ();
123677 /* The GNU C library defines this for functions which it implements
123678 to always fail with ENOSYS. Some functions are actually named
123679 something starting with __ and the normal name is an alias. */
123680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123681 choke me
123682 #else
123683 char (*f) () = $ac_func;
123684 #endif
123685 #ifdef __cplusplus
123687 #endif
123690 main ()
123692 return f != $ac_func;
123694 return 0;
123696 _ACEOF
123697 rm -f conftest.$ac_objext conftest$ac_exeext
123698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123699 (eval $ac_link) 2>conftest.er1
123700 ac_status=$?
123701 grep -v '^ *+' conftest.er1 >conftest.err
123702 rm -f conftest.er1
123703 cat conftest.err >&5
123704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123705 (exit $ac_status); } &&
123706 { ac_try='test -z "$ac_c_werror_flag"
123707 || test ! -s conftest.err'
123708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123709 (eval $ac_try) 2>&5
123710 ac_status=$?
123711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123712 (exit $ac_status); }; } &&
123713 { ac_try='test -s conftest$ac_exeext'
123714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123715 (eval $ac_try) 2>&5
123716 ac_status=$?
123717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123718 (exit $ac_status); }; }; then
123719 eval "$as_ac_var=yes"
123721 echo "$as_me: failed program was:" >&5
123722 sed 's/^/| /' conftest.$ac_ext >&5
123724 eval "$as_ac_var=no"
123726 rm -f conftest.err conftest.$ac_objext \
123727 conftest$ac_exeext conftest.$ac_ext
123729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123731 if test `eval echo '${'$as_ac_var'}'` = yes; then
123732 cat >>confdefs.h <<_ACEOF
123733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123734 _ACEOF
123741 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
123742 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
123743 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
123744 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
123745 echo $ECHO_N "(cached) $ECHO_C" >&6
123750 ac_ext=cc
123751 ac_cpp='$CXXCPP $CPPFLAGS'
123752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123756 cat >conftest.$ac_ext <<_ACEOF
123757 /* confdefs.h. */
123758 _ACEOF
123759 cat confdefs.h >>conftest.$ac_ext
123760 cat >>conftest.$ac_ext <<_ACEOF
123761 /* end confdefs.h. */
123762 #include <math.h>
123763 #ifdef HAVE_IEEEFP_H
123764 #include <ieeefp.h>
123765 #endif
123768 main ()
123770 _isnanl(0);
123772 return 0;
123774 _ACEOF
123775 rm -f conftest.$ac_objext
123776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123777 (eval $ac_compile) 2>conftest.er1
123778 ac_status=$?
123779 grep -v '^ *+' conftest.er1 >conftest.err
123780 rm -f conftest.er1
123781 cat conftest.err >&5
123782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123783 (exit $ac_status); } &&
123784 { ac_try='test -z "$ac_cxx_werror_flag"
123785 || test ! -s conftest.err'
123786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123787 (eval $ac_try) 2>&5
123788 ac_status=$?
123789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123790 (exit $ac_status); }; } &&
123791 { ac_try='test -s conftest.$ac_objext'
123792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123793 (eval $ac_try) 2>&5
123794 ac_status=$?
123795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123796 (exit $ac_status); }; }; then
123797 glibcxx_cv_func__isnanl_use=yes
123799 echo "$as_me: failed program was:" >&5
123800 sed 's/^/| /' conftest.$ac_ext >&5
123802 glibcxx_cv_func__isnanl_use=no
123804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123805 ac_ext=c
123806 ac_cpp='$CPP $CPPFLAGS'
123807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
123815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
123816 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
123818 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
123820 for ac_func in _isnanl
123822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
123823 echo "$as_me:$LINENO: checking for $ac_func" >&5
123824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
123825 if eval "test \"\${$as_ac_var+set}\" = set"; then
123826 echo $ECHO_N "(cached) $ECHO_C" >&6
123828 if test x$gcc_no_link = xyes; then
123829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
123830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
123831 { (exit 1); exit 1; }; }
123833 cat >conftest.$ac_ext <<_ACEOF
123834 /* confdefs.h. */
123835 _ACEOF
123836 cat confdefs.h >>conftest.$ac_ext
123837 cat >>conftest.$ac_ext <<_ACEOF
123838 /* end confdefs.h. */
123839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
123840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
123841 #define $ac_func innocuous_$ac_func
123843 /* System header to define __stub macros and hopefully few prototypes,
123844 which can conflict with char $ac_func (); below.
123845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
123846 <limits.h> exists even on freestanding compilers. */
123848 #ifdef __STDC__
123849 # include <limits.h>
123850 #else
123851 # include <assert.h>
123852 #endif
123854 #undef $ac_func
123856 /* Override any gcc2 internal prototype to avoid an error. */
123857 #ifdef __cplusplus
123858 extern "C"
123860 #endif
123861 /* We use char because int might match the return type of a gcc2
123862 builtin and then its argument prototype would still apply. */
123863 char $ac_func ();
123864 /* The GNU C library defines this for functions which it implements
123865 to always fail with ENOSYS. Some functions are actually named
123866 something starting with __ and the normal name is an alias. */
123867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
123868 choke me
123869 #else
123870 char (*f) () = $ac_func;
123871 #endif
123872 #ifdef __cplusplus
123874 #endif
123877 main ()
123879 return f != $ac_func;
123881 return 0;
123883 _ACEOF
123884 rm -f conftest.$ac_objext conftest$ac_exeext
123885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
123886 (eval $ac_link) 2>conftest.er1
123887 ac_status=$?
123888 grep -v '^ *+' conftest.er1 >conftest.err
123889 rm -f conftest.er1
123890 cat conftest.err >&5
123891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123892 (exit $ac_status); } &&
123893 { ac_try='test -z "$ac_c_werror_flag"
123894 || test ! -s conftest.err'
123895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123896 (eval $ac_try) 2>&5
123897 ac_status=$?
123898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123899 (exit $ac_status); }; } &&
123900 { ac_try='test -s conftest$ac_exeext'
123901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123902 (eval $ac_try) 2>&5
123903 ac_status=$?
123904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123905 (exit $ac_status); }; }; then
123906 eval "$as_ac_var=yes"
123908 echo "$as_me: failed program was:" >&5
123909 sed 's/^/| /' conftest.$ac_ext >&5
123911 eval "$as_ac_var=no"
123913 rm -f conftest.err conftest.$ac_objext \
123914 conftest$ac_exeext conftest.$ac_ext
123916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
123917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
123918 if test `eval echo '${'$as_ac_var'}'` = yes; then
123919 cat >>confdefs.h <<_ACEOF
123920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
123921 _ACEOF
123934 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
123935 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
123936 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
123937 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
123938 echo $ECHO_N "(cached) $ECHO_C" >&6
123943 ac_ext=cc
123944 ac_cpp='$CXXCPP $CPPFLAGS'
123945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
123946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
123947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
123949 cat >conftest.$ac_ext <<_ACEOF
123950 /* confdefs.h. */
123951 _ACEOF
123952 cat confdefs.h >>conftest.$ac_ext
123953 cat >>conftest.$ac_ext <<_ACEOF
123954 /* end confdefs.h. */
123955 #include <math.h>
123956 #ifdef HAVE_IEEEFP_H
123957 #include <ieeefp.h>
123958 #endif
123961 main ()
123963 isinfl(0);
123965 return 0;
123967 _ACEOF
123968 rm -f conftest.$ac_objext
123969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
123970 (eval $ac_compile) 2>conftest.er1
123971 ac_status=$?
123972 grep -v '^ *+' conftest.er1 >conftest.err
123973 rm -f conftest.er1
123974 cat conftest.err >&5
123975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123976 (exit $ac_status); } &&
123977 { ac_try='test -z "$ac_cxx_werror_flag"
123978 || test ! -s conftest.err'
123979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123980 (eval $ac_try) 2>&5
123981 ac_status=$?
123982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123983 (exit $ac_status); }; } &&
123984 { ac_try='test -s conftest.$ac_objext'
123985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
123986 (eval $ac_try) 2>&5
123987 ac_status=$?
123988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
123989 (exit $ac_status); }; }; then
123990 glibcxx_cv_func_isinfl_use=yes
123992 echo "$as_me: failed program was:" >&5
123993 sed 's/^/| /' conftest.$ac_ext >&5
123995 glibcxx_cv_func_isinfl_use=no
123997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
123998 ac_ext=c
123999 ac_cpp='$CPP $CPPFLAGS'
124000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
124009 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
124011 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
124013 for ac_func in isinfl
124015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124016 echo "$as_me:$LINENO: checking for $ac_func" >&5
124017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124018 if eval "test \"\${$as_ac_var+set}\" = set"; then
124019 echo $ECHO_N "(cached) $ECHO_C" >&6
124021 if test x$gcc_no_link = xyes; then
124022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124024 { (exit 1); exit 1; }; }
124026 cat >conftest.$ac_ext <<_ACEOF
124027 /* confdefs.h. */
124028 _ACEOF
124029 cat confdefs.h >>conftest.$ac_ext
124030 cat >>conftest.$ac_ext <<_ACEOF
124031 /* end confdefs.h. */
124032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124034 #define $ac_func innocuous_$ac_func
124036 /* System header to define __stub macros and hopefully few prototypes,
124037 which can conflict with char $ac_func (); below.
124038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124039 <limits.h> exists even on freestanding compilers. */
124041 #ifdef __STDC__
124042 # include <limits.h>
124043 #else
124044 # include <assert.h>
124045 #endif
124047 #undef $ac_func
124049 /* Override any gcc2 internal prototype to avoid an error. */
124050 #ifdef __cplusplus
124051 extern "C"
124053 #endif
124054 /* We use char because int might match the return type of a gcc2
124055 builtin and then its argument prototype would still apply. */
124056 char $ac_func ();
124057 /* The GNU C library defines this for functions which it implements
124058 to always fail with ENOSYS. Some functions are actually named
124059 something starting with __ and the normal name is an alias. */
124060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124061 choke me
124062 #else
124063 char (*f) () = $ac_func;
124064 #endif
124065 #ifdef __cplusplus
124067 #endif
124070 main ()
124072 return f != $ac_func;
124074 return 0;
124076 _ACEOF
124077 rm -f conftest.$ac_objext conftest$ac_exeext
124078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124079 (eval $ac_link) 2>conftest.er1
124080 ac_status=$?
124081 grep -v '^ *+' conftest.er1 >conftest.err
124082 rm -f conftest.er1
124083 cat conftest.err >&5
124084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124085 (exit $ac_status); } &&
124086 { ac_try='test -z "$ac_c_werror_flag"
124087 || test ! -s conftest.err'
124088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124089 (eval $ac_try) 2>&5
124090 ac_status=$?
124091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124092 (exit $ac_status); }; } &&
124093 { ac_try='test -s conftest$ac_exeext'
124094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124095 (eval $ac_try) 2>&5
124096 ac_status=$?
124097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124098 (exit $ac_status); }; }; then
124099 eval "$as_ac_var=yes"
124101 echo "$as_me: failed program was:" >&5
124102 sed 's/^/| /' conftest.$ac_ext >&5
124104 eval "$as_ac_var=no"
124106 rm -f conftest.err conftest.$ac_objext \
124107 conftest$ac_exeext conftest.$ac_ext
124109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124111 if test `eval echo '${'$as_ac_var'}'` = yes; then
124112 cat >>confdefs.h <<_ACEOF
124113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124114 _ACEOF
124121 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
124122 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
124123 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
124124 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
124125 echo $ECHO_N "(cached) $ECHO_C" >&6
124130 ac_ext=cc
124131 ac_cpp='$CXXCPP $CPPFLAGS'
124132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124136 cat >conftest.$ac_ext <<_ACEOF
124137 /* confdefs.h. */
124138 _ACEOF
124139 cat confdefs.h >>conftest.$ac_ext
124140 cat >>conftest.$ac_ext <<_ACEOF
124141 /* end confdefs.h. */
124142 #include <math.h>
124143 #ifdef HAVE_IEEEFP_H
124144 #include <ieeefp.h>
124145 #endif
124148 main ()
124150 _isinfl(0);
124152 return 0;
124154 _ACEOF
124155 rm -f conftest.$ac_objext
124156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124157 (eval $ac_compile) 2>conftest.er1
124158 ac_status=$?
124159 grep -v '^ *+' conftest.er1 >conftest.err
124160 rm -f conftest.er1
124161 cat conftest.err >&5
124162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124163 (exit $ac_status); } &&
124164 { ac_try='test -z "$ac_cxx_werror_flag"
124165 || test ! -s conftest.err'
124166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124167 (eval $ac_try) 2>&5
124168 ac_status=$?
124169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124170 (exit $ac_status); }; } &&
124171 { ac_try='test -s conftest.$ac_objext'
124172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124173 (eval $ac_try) 2>&5
124174 ac_status=$?
124175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124176 (exit $ac_status); }; }; then
124177 glibcxx_cv_func__isinfl_use=yes
124179 echo "$as_me: failed program was:" >&5
124180 sed 's/^/| /' conftest.$ac_ext >&5
124182 glibcxx_cv_func__isinfl_use=no
124184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124185 ac_ext=c
124186 ac_cpp='$CPP $CPPFLAGS'
124187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
124196 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
124198 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
124200 for ac_func in _isinfl
124202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124203 echo "$as_me:$LINENO: checking for $ac_func" >&5
124204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124205 if eval "test \"\${$as_ac_var+set}\" = set"; then
124206 echo $ECHO_N "(cached) $ECHO_C" >&6
124208 if test x$gcc_no_link = xyes; then
124209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124211 { (exit 1); exit 1; }; }
124213 cat >conftest.$ac_ext <<_ACEOF
124214 /* confdefs.h. */
124215 _ACEOF
124216 cat confdefs.h >>conftest.$ac_ext
124217 cat >>conftest.$ac_ext <<_ACEOF
124218 /* end confdefs.h. */
124219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124221 #define $ac_func innocuous_$ac_func
124223 /* System header to define __stub macros and hopefully few prototypes,
124224 which can conflict with char $ac_func (); below.
124225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124226 <limits.h> exists even on freestanding compilers. */
124228 #ifdef __STDC__
124229 # include <limits.h>
124230 #else
124231 # include <assert.h>
124232 #endif
124234 #undef $ac_func
124236 /* Override any gcc2 internal prototype to avoid an error. */
124237 #ifdef __cplusplus
124238 extern "C"
124240 #endif
124241 /* We use char because int might match the return type of a gcc2
124242 builtin and then its argument prototype would still apply. */
124243 char $ac_func ();
124244 /* The GNU C library defines this for functions which it implements
124245 to always fail with ENOSYS. Some functions are actually named
124246 something starting with __ and the normal name is an alias. */
124247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124248 choke me
124249 #else
124250 char (*f) () = $ac_func;
124251 #endif
124252 #ifdef __cplusplus
124254 #endif
124257 main ()
124259 return f != $ac_func;
124261 return 0;
124263 _ACEOF
124264 rm -f conftest.$ac_objext conftest$ac_exeext
124265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124266 (eval $ac_link) 2>conftest.er1
124267 ac_status=$?
124268 grep -v '^ *+' conftest.er1 >conftest.err
124269 rm -f conftest.er1
124270 cat conftest.err >&5
124271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124272 (exit $ac_status); } &&
124273 { ac_try='test -z "$ac_c_werror_flag"
124274 || test ! -s conftest.err'
124275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124276 (eval $ac_try) 2>&5
124277 ac_status=$?
124278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124279 (exit $ac_status); }; } &&
124280 { ac_try='test -s conftest$ac_exeext'
124281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124282 (eval $ac_try) 2>&5
124283 ac_status=$?
124284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124285 (exit $ac_status); }; }; then
124286 eval "$as_ac_var=yes"
124288 echo "$as_me: failed program was:" >&5
124289 sed 's/^/| /' conftest.$ac_ext >&5
124291 eval "$as_ac_var=no"
124293 rm -f conftest.err conftest.$ac_objext \
124294 conftest$ac_exeext conftest.$ac_ext
124296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124298 if test `eval echo '${'$as_ac_var'}'` = yes; then
124299 cat >>confdefs.h <<_ACEOF
124300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124301 _ACEOF
124314 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
124315 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
124316 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
124317 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
124318 echo $ECHO_N "(cached) $ECHO_C" >&6
124323 ac_ext=cc
124324 ac_cpp='$CXXCPP $CPPFLAGS'
124325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124329 cat >conftest.$ac_ext <<_ACEOF
124330 /* confdefs.h. */
124331 _ACEOF
124332 cat confdefs.h >>conftest.$ac_ext
124333 cat >>conftest.$ac_ext <<_ACEOF
124334 /* end confdefs.h. */
124335 #include <math.h>
124337 main ()
124339 atan2l(0, 0);
124341 return 0;
124343 _ACEOF
124344 rm -f conftest.$ac_objext
124345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124346 (eval $ac_compile) 2>conftest.er1
124347 ac_status=$?
124348 grep -v '^ *+' conftest.er1 >conftest.err
124349 rm -f conftest.er1
124350 cat conftest.err >&5
124351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124352 (exit $ac_status); } &&
124353 { ac_try='test -z "$ac_cxx_werror_flag"
124354 || test ! -s conftest.err'
124355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124356 (eval $ac_try) 2>&5
124357 ac_status=$?
124358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124359 (exit $ac_status); }; } &&
124360 { ac_try='test -s conftest.$ac_objext'
124361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124362 (eval $ac_try) 2>&5
124363 ac_status=$?
124364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124365 (exit $ac_status); }; }; then
124366 glibcxx_cv_func_atan2l_use=yes
124368 echo "$as_me: failed program was:" >&5
124369 sed 's/^/| /' conftest.$ac_ext >&5
124371 glibcxx_cv_func_atan2l_use=no
124373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124374 ac_ext=c
124375 ac_cpp='$CPP $CPPFLAGS'
124376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
124385 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
124387 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
124389 for ac_func in atan2l
124391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124392 echo "$as_me:$LINENO: checking for $ac_func" >&5
124393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124394 if eval "test \"\${$as_ac_var+set}\" = set"; then
124395 echo $ECHO_N "(cached) $ECHO_C" >&6
124397 if test x$gcc_no_link = xyes; then
124398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124400 { (exit 1); exit 1; }; }
124402 cat >conftest.$ac_ext <<_ACEOF
124403 /* confdefs.h. */
124404 _ACEOF
124405 cat confdefs.h >>conftest.$ac_ext
124406 cat >>conftest.$ac_ext <<_ACEOF
124407 /* end confdefs.h. */
124408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124410 #define $ac_func innocuous_$ac_func
124412 /* System header to define __stub macros and hopefully few prototypes,
124413 which can conflict with char $ac_func (); below.
124414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124415 <limits.h> exists even on freestanding compilers. */
124417 #ifdef __STDC__
124418 # include <limits.h>
124419 #else
124420 # include <assert.h>
124421 #endif
124423 #undef $ac_func
124425 /* Override any gcc2 internal prototype to avoid an error. */
124426 #ifdef __cplusplus
124427 extern "C"
124429 #endif
124430 /* We use char because int might match the return type of a gcc2
124431 builtin and then its argument prototype would still apply. */
124432 char $ac_func ();
124433 /* The GNU C library defines this for functions which it implements
124434 to always fail with ENOSYS. Some functions are actually named
124435 something starting with __ and the normal name is an alias. */
124436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124437 choke me
124438 #else
124439 char (*f) () = $ac_func;
124440 #endif
124441 #ifdef __cplusplus
124443 #endif
124446 main ()
124448 return f != $ac_func;
124450 return 0;
124452 _ACEOF
124453 rm -f conftest.$ac_objext conftest$ac_exeext
124454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124455 (eval $ac_link) 2>conftest.er1
124456 ac_status=$?
124457 grep -v '^ *+' conftest.er1 >conftest.err
124458 rm -f conftest.er1
124459 cat conftest.err >&5
124460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124461 (exit $ac_status); } &&
124462 { ac_try='test -z "$ac_c_werror_flag"
124463 || test ! -s conftest.err'
124464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124465 (eval $ac_try) 2>&5
124466 ac_status=$?
124467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124468 (exit $ac_status); }; } &&
124469 { ac_try='test -s conftest$ac_exeext'
124470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124471 (eval $ac_try) 2>&5
124472 ac_status=$?
124473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124474 (exit $ac_status); }; }; then
124475 eval "$as_ac_var=yes"
124477 echo "$as_me: failed program was:" >&5
124478 sed 's/^/| /' conftest.$ac_ext >&5
124480 eval "$as_ac_var=no"
124482 rm -f conftest.err conftest.$ac_objext \
124483 conftest$ac_exeext conftest.$ac_ext
124485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124487 if test `eval echo '${'$as_ac_var'}'` = yes; then
124488 cat >>confdefs.h <<_ACEOF
124489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124490 _ACEOF
124497 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
124498 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
124499 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
124500 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
124501 echo $ECHO_N "(cached) $ECHO_C" >&6
124506 ac_ext=cc
124507 ac_cpp='$CXXCPP $CPPFLAGS'
124508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124512 cat >conftest.$ac_ext <<_ACEOF
124513 /* confdefs.h. */
124514 _ACEOF
124515 cat confdefs.h >>conftest.$ac_ext
124516 cat >>conftest.$ac_ext <<_ACEOF
124517 /* end confdefs.h. */
124518 #include <math.h>
124520 main ()
124522 _atan2l(0, 0);
124524 return 0;
124526 _ACEOF
124527 rm -f conftest.$ac_objext
124528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124529 (eval $ac_compile) 2>conftest.er1
124530 ac_status=$?
124531 grep -v '^ *+' conftest.er1 >conftest.err
124532 rm -f conftest.er1
124533 cat conftest.err >&5
124534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124535 (exit $ac_status); } &&
124536 { ac_try='test -z "$ac_cxx_werror_flag"
124537 || test ! -s conftest.err'
124538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124539 (eval $ac_try) 2>&5
124540 ac_status=$?
124541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124542 (exit $ac_status); }; } &&
124543 { ac_try='test -s conftest.$ac_objext'
124544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124545 (eval $ac_try) 2>&5
124546 ac_status=$?
124547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124548 (exit $ac_status); }; }; then
124549 glibcxx_cv_func__atan2l_use=yes
124551 echo "$as_me: failed program was:" >&5
124552 sed 's/^/| /' conftest.$ac_ext >&5
124554 glibcxx_cv_func__atan2l_use=no
124556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124557 ac_ext=c
124558 ac_cpp='$CPP $CPPFLAGS'
124559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
124568 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
124570 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
124572 for ac_func in _atan2l
124574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124575 echo "$as_me:$LINENO: checking for $ac_func" >&5
124576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124577 if eval "test \"\${$as_ac_var+set}\" = set"; then
124578 echo $ECHO_N "(cached) $ECHO_C" >&6
124580 if test x$gcc_no_link = xyes; then
124581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124583 { (exit 1); exit 1; }; }
124585 cat >conftest.$ac_ext <<_ACEOF
124586 /* confdefs.h. */
124587 _ACEOF
124588 cat confdefs.h >>conftest.$ac_ext
124589 cat >>conftest.$ac_ext <<_ACEOF
124590 /* end confdefs.h. */
124591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124593 #define $ac_func innocuous_$ac_func
124595 /* System header to define __stub macros and hopefully few prototypes,
124596 which can conflict with char $ac_func (); below.
124597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124598 <limits.h> exists even on freestanding compilers. */
124600 #ifdef __STDC__
124601 # include <limits.h>
124602 #else
124603 # include <assert.h>
124604 #endif
124606 #undef $ac_func
124608 /* Override any gcc2 internal prototype to avoid an error. */
124609 #ifdef __cplusplus
124610 extern "C"
124612 #endif
124613 /* We use char because int might match the return type of a gcc2
124614 builtin and then its argument prototype would still apply. */
124615 char $ac_func ();
124616 /* The GNU C library defines this for functions which it implements
124617 to always fail with ENOSYS. Some functions are actually named
124618 something starting with __ and the normal name is an alias. */
124619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124620 choke me
124621 #else
124622 char (*f) () = $ac_func;
124623 #endif
124624 #ifdef __cplusplus
124626 #endif
124629 main ()
124631 return f != $ac_func;
124633 return 0;
124635 _ACEOF
124636 rm -f conftest.$ac_objext conftest$ac_exeext
124637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124638 (eval $ac_link) 2>conftest.er1
124639 ac_status=$?
124640 grep -v '^ *+' conftest.er1 >conftest.err
124641 rm -f conftest.er1
124642 cat conftest.err >&5
124643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124644 (exit $ac_status); } &&
124645 { ac_try='test -z "$ac_c_werror_flag"
124646 || test ! -s conftest.err'
124647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124648 (eval $ac_try) 2>&5
124649 ac_status=$?
124650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124651 (exit $ac_status); }; } &&
124652 { ac_try='test -s conftest$ac_exeext'
124653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124654 (eval $ac_try) 2>&5
124655 ac_status=$?
124656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124657 (exit $ac_status); }; }; then
124658 eval "$as_ac_var=yes"
124660 echo "$as_me: failed program was:" >&5
124661 sed 's/^/| /' conftest.$ac_ext >&5
124663 eval "$as_ac_var=no"
124665 rm -f conftest.err conftest.$ac_objext \
124666 conftest$ac_exeext conftest.$ac_ext
124668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124670 if test `eval echo '${'$as_ac_var'}'` = yes; then
124671 cat >>confdefs.h <<_ACEOF
124672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124673 _ACEOF
124686 echo "$as_me:$LINENO: checking for expl declaration" >&5
124687 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
124688 if test x${glibcxx_cv_func_expl_use+set} != xset; then
124689 if test "${glibcxx_cv_func_expl_use+set}" = set; then
124690 echo $ECHO_N "(cached) $ECHO_C" >&6
124695 ac_ext=cc
124696 ac_cpp='$CXXCPP $CPPFLAGS'
124697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124701 cat >conftest.$ac_ext <<_ACEOF
124702 /* confdefs.h. */
124703 _ACEOF
124704 cat confdefs.h >>conftest.$ac_ext
124705 cat >>conftest.$ac_ext <<_ACEOF
124706 /* end confdefs.h. */
124707 #include <math.h>
124708 #ifdef HAVE_IEEEFP_H
124709 #include <ieeefp.h>
124710 #endif
124713 main ()
124715 expl(0);
124717 return 0;
124719 _ACEOF
124720 rm -f conftest.$ac_objext
124721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124722 (eval $ac_compile) 2>conftest.er1
124723 ac_status=$?
124724 grep -v '^ *+' conftest.er1 >conftest.err
124725 rm -f conftest.er1
124726 cat conftest.err >&5
124727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124728 (exit $ac_status); } &&
124729 { ac_try='test -z "$ac_cxx_werror_flag"
124730 || test ! -s conftest.err'
124731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124732 (eval $ac_try) 2>&5
124733 ac_status=$?
124734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124735 (exit $ac_status); }; } &&
124736 { ac_try='test -s conftest.$ac_objext'
124737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124738 (eval $ac_try) 2>&5
124739 ac_status=$?
124740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124741 (exit $ac_status); }; }; then
124742 glibcxx_cv_func_expl_use=yes
124744 echo "$as_me: failed program was:" >&5
124745 sed 's/^/| /' conftest.$ac_ext >&5
124747 glibcxx_cv_func_expl_use=no
124749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124750 ac_ext=c
124751 ac_cpp='$CPP $CPPFLAGS'
124752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
124761 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
124763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
124765 for ac_func in expl
124767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124768 echo "$as_me:$LINENO: checking for $ac_func" >&5
124769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124770 if eval "test \"\${$as_ac_var+set}\" = set"; then
124771 echo $ECHO_N "(cached) $ECHO_C" >&6
124773 if test x$gcc_no_link = xyes; then
124774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124776 { (exit 1); exit 1; }; }
124778 cat >conftest.$ac_ext <<_ACEOF
124779 /* confdefs.h. */
124780 _ACEOF
124781 cat confdefs.h >>conftest.$ac_ext
124782 cat >>conftest.$ac_ext <<_ACEOF
124783 /* end confdefs.h. */
124784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124786 #define $ac_func innocuous_$ac_func
124788 /* System header to define __stub macros and hopefully few prototypes,
124789 which can conflict with char $ac_func (); below.
124790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124791 <limits.h> exists even on freestanding compilers. */
124793 #ifdef __STDC__
124794 # include <limits.h>
124795 #else
124796 # include <assert.h>
124797 #endif
124799 #undef $ac_func
124801 /* Override any gcc2 internal prototype to avoid an error. */
124802 #ifdef __cplusplus
124803 extern "C"
124805 #endif
124806 /* We use char because int might match the return type of a gcc2
124807 builtin and then its argument prototype would still apply. */
124808 char $ac_func ();
124809 /* The GNU C library defines this for functions which it implements
124810 to always fail with ENOSYS. Some functions are actually named
124811 something starting with __ and the normal name is an alias. */
124812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
124813 choke me
124814 #else
124815 char (*f) () = $ac_func;
124816 #endif
124817 #ifdef __cplusplus
124819 #endif
124822 main ()
124824 return f != $ac_func;
124826 return 0;
124828 _ACEOF
124829 rm -f conftest.$ac_objext conftest$ac_exeext
124830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
124831 (eval $ac_link) 2>conftest.er1
124832 ac_status=$?
124833 grep -v '^ *+' conftest.er1 >conftest.err
124834 rm -f conftest.er1
124835 cat conftest.err >&5
124836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124837 (exit $ac_status); } &&
124838 { ac_try='test -z "$ac_c_werror_flag"
124839 || test ! -s conftest.err'
124840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124841 (eval $ac_try) 2>&5
124842 ac_status=$?
124843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124844 (exit $ac_status); }; } &&
124845 { ac_try='test -s conftest$ac_exeext'
124846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124847 (eval $ac_try) 2>&5
124848 ac_status=$?
124849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124850 (exit $ac_status); }; }; then
124851 eval "$as_ac_var=yes"
124853 echo "$as_me: failed program was:" >&5
124854 sed 's/^/| /' conftest.$ac_ext >&5
124856 eval "$as_ac_var=no"
124858 rm -f conftest.err conftest.$ac_objext \
124859 conftest$ac_exeext conftest.$ac_ext
124861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
124862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
124863 if test `eval echo '${'$as_ac_var'}'` = yes; then
124864 cat >>confdefs.h <<_ACEOF
124865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
124866 _ACEOF
124873 echo "$as_me:$LINENO: checking for _expl declaration" >&5
124874 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
124875 if test x${glibcxx_cv_func__expl_use+set} != xset; then
124876 if test "${glibcxx_cv_func__expl_use+set}" = set; then
124877 echo $ECHO_N "(cached) $ECHO_C" >&6
124882 ac_ext=cc
124883 ac_cpp='$CXXCPP $CPPFLAGS'
124884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
124888 cat >conftest.$ac_ext <<_ACEOF
124889 /* confdefs.h. */
124890 _ACEOF
124891 cat confdefs.h >>conftest.$ac_ext
124892 cat >>conftest.$ac_ext <<_ACEOF
124893 /* end confdefs.h. */
124894 #include <math.h>
124895 #ifdef HAVE_IEEEFP_H
124896 #include <ieeefp.h>
124897 #endif
124900 main ()
124902 _expl(0);
124904 return 0;
124906 _ACEOF
124907 rm -f conftest.$ac_objext
124908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
124909 (eval $ac_compile) 2>conftest.er1
124910 ac_status=$?
124911 grep -v '^ *+' conftest.er1 >conftest.err
124912 rm -f conftest.er1
124913 cat conftest.err >&5
124914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124915 (exit $ac_status); } &&
124916 { ac_try='test -z "$ac_cxx_werror_flag"
124917 || test ! -s conftest.err'
124918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124919 (eval $ac_try) 2>&5
124920 ac_status=$?
124921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124922 (exit $ac_status); }; } &&
124923 { ac_try='test -s conftest.$ac_objext'
124924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
124925 (eval $ac_try) 2>&5
124926 ac_status=$?
124927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
124928 (exit $ac_status); }; }; then
124929 glibcxx_cv_func__expl_use=yes
124931 echo "$as_me: failed program was:" >&5
124932 sed 's/^/| /' conftest.$ac_ext >&5
124934 glibcxx_cv_func__expl_use=no
124936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
124937 ac_ext=c
124938 ac_cpp='$CPP $CPPFLAGS'
124939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
124940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
124941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
124947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
124948 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
124950 if test x$glibcxx_cv_func__expl_use = x"yes"; then
124952 for ac_func in _expl
124954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
124955 echo "$as_me:$LINENO: checking for $ac_func" >&5
124956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
124957 if eval "test \"\${$as_ac_var+set}\" = set"; then
124958 echo $ECHO_N "(cached) $ECHO_C" >&6
124960 if test x$gcc_no_link = xyes; then
124961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
124962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
124963 { (exit 1); exit 1; }; }
124965 cat >conftest.$ac_ext <<_ACEOF
124966 /* confdefs.h. */
124967 _ACEOF
124968 cat confdefs.h >>conftest.$ac_ext
124969 cat >>conftest.$ac_ext <<_ACEOF
124970 /* end confdefs.h. */
124971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
124972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
124973 #define $ac_func innocuous_$ac_func
124975 /* System header to define __stub macros and hopefully few prototypes,
124976 which can conflict with char $ac_func (); below.
124977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
124978 <limits.h> exists even on freestanding compilers. */
124980 #ifdef __STDC__
124981 # include <limits.h>
124982 #else
124983 # include <assert.h>
124984 #endif
124986 #undef $ac_func
124988 /* Override any gcc2 internal prototype to avoid an error. */
124989 #ifdef __cplusplus
124990 extern "C"
124992 #endif
124993 /* We use char because int might match the return type of a gcc2
124994 builtin and then its argument prototype would still apply. */
124995 char $ac_func ();
124996 /* The GNU C library defines this for functions which it implements
124997 to always fail with ENOSYS. Some functions are actually named
124998 something starting with __ and the normal name is an alias. */
124999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125000 choke me
125001 #else
125002 char (*f) () = $ac_func;
125003 #endif
125004 #ifdef __cplusplus
125006 #endif
125009 main ()
125011 return f != $ac_func;
125013 return 0;
125015 _ACEOF
125016 rm -f conftest.$ac_objext conftest$ac_exeext
125017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125018 (eval $ac_link) 2>conftest.er1
125019 ac_status=$?
125020 grep -v '^ *+' conftest.er1 >conftest.err
125021 rm -f conftest.er1
125022 cat conftest.err >&5
125023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125024 (exit $ac_status); } &&
125025 { ac_try='test -z "$ac_c_werror_flag"
125026 || test ! -s conftest.err'
125027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125028 (eval $ac_try) 2>&5
125029 ac_status=$?
125030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125031 (exit $ac_status); }; } &&
125032 { ac_try='test -s conftest$ac_exeext'
125033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125034 (eval $ac_try) 2>&5
125035 ac_status=$?
125036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125037 (exit $ac_status); }; }; then
125038 eval "$as_ac_var=yes"
125040 echo "$as_me: failed program was:" >&5
125041 sed 's/^/| /' conftest.$ac_ext >&5
125043 eval "$as_ac_var=no"
125045 rm -f conftest.err conftest.$ac_objext \
125046 conftest$ac_exeext conftest.$ac_ext
125048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125050 if test `eval echo '${'$as_ac_var'}'` = yes; then
125051 cat >>confdefs.h <<_ACEOF
125052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125053 _ACEOF
125066 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
125067 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
125068 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
125069 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
125070 echo $ECHO_N "(cached) $ECHO_C" >&6
125075 ac_ext=cc
125076 ac_cpp='$CXXCPP $CPPFLAGS'
125077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125081 cat >conftest.$ac_ext <<_ACEOF
125082 /* confdefs.h. */
125083 _ACEOF
125084 cat confdefs.h >>conftest.$ac_ext
125085 cat >>conftest.$ac_ext <<_ACEOF
125086 /* end confdefs.h. */
125087 #include <math.h>
125088 #ifdef HAVE_IEEEFP_H
125089 #include <ieeefp.h>
125090 #endif
125093 main ()
125095 fabsl(0);
125097 return 0;
125099 _ACEOF
125100 rm -f conftest.$ac_objext
125101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125102 (eval $ac_compile) 2>conftest.er1
125103 ac_status=$?
125104 grep -v '^ *+' conftest.er1 >conftest.err
125105 rm -f conftest.er1
125106 cat conftest.err >&5
125107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125108 (exit $ac_status); } &&
125109 { ac_try='test -z "$ac_cxx_werror_flag"
125110 || test ! -s conftest.err'
125111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125112 (eval $ac_try) 2>&5
125113 ac_status=$?
125114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125115 (exit $ac_status); }; } &&
125116 { ac_try='test -s conftest.$ac_objext'
125117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125118 (eval $ac_try) 2>&5
125119 ac_status=$?
125120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125121 (exit $ac_status); }; }; then
125122 glibcxx_cv_func_fabsl_use=yes
125124 echo "$as_me: failed program was:" >&5
125125 sed 's/^/| /' conftest.$ac_ext >&5
125127 glibcxx_cv_func_fabsl_use=no
125129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125130 ac_ext=c
125131 ac_cpp='$CPP $CPPFLAGS'
125132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
125141 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
125143 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
125145 for ac_func in fabsl
125147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125148 echo "$as_me:$LINENO: checking for $ac_func" >&5
125149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125150 if eval "test \"\${$as_ac_var+set}\" = set"; then
125151 echo $ECHO_N "(cached) $ECHO_C" >&6
125153 if test x$gcc_no_link = xyes; then
125154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125156 { (exit 1); exit 1; }; }
125158 cat >conftest.$ac_ext <<_ACEOF
125159 /* confdefs.h. */
125160 _ACEOF
125161 cat confdefs.h >>conftest.$ac_ext
125162 cat >>conftest.$ac_ext <<_ACEOF
125163 /* end confdefs.h. */
125164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125166 #define $ac_func innocuous_$ac_func
125168 /* System header to define __stub macros and hopefully few prototypes,
125169 which can conflict with char $ac_func (); below.
125170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125171 <limits.h> exists even on freestanding compilers. */
125173 #ifdef __STDC__
125174 # include <limits.h>
125175 #else
125176 # include <assert.h>
125177 #endif
125179 #undef $ac_func
125181 /* Override any gcc2 internal prototype to avoid an error. */
125182 #ifdef __cplusplus
125183 extern "C"
125185 #endif
125186 /* We use char because int might match the return type of a gcc2
125187 builtin and then its argument prototype would still apply. */
125188 char $ac_func ();
125189 /* The GNU C library defines this for functions which it implements
125190 to always fail with ENOSYS. Some functions are actually named
125191 something starting with __ and the normal name is an alias. */
125192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125193 choke me
125194 #else
125195 char (*f) () = $ac_func;
125196 #endif
125197 #ifdef __cplusplus
125199 #endif
125202 main ()
125204 return f != $ac_func;
125206 return 0;
125208 _ACEOF
125209 rm -f conftest.$ac_objext conftest$ac_exeext
125210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125211 (eval $ac_link) 2>conftest.er1
125212 ac_status=$?
125213 grep -v '^ *+' conftest.er1 >conftest.err
125214 rm -f conftest.er1
125215 cat conftest.err >&5
125216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125217 (exit $ac_status); } &&
125218 { ac_try='test -z "$ac_c_werror_flag"
125219 || test ! -s conftest.err'
125220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125221 (eval $ac_try) 2>&5
125222 ac_status=$?
125223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125224 (exit $ac_status); }; } &&
125225 { ac_try='test -s conftest$ac_exeext'
125226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125227 (eval $ac_try) 2>&5
125228 ac_status=$?
125229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125230 (exit $ac_status); }; }; then
125231 eval "$as_ac_var=yes"
125233 echo "$as_me: failed program was:" >&5
125234 sed 's/^/| /' conftest.$ac_ext >&5
125236 eval "$as_ac_var=no"
125238 rm -f conftest.err conftest.$ac_objext \
125239 conftest$ac_exeext conftest.$ac_ext
125241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125243 if test `eval echo '${'$as_ac_var'}'` = yes; then
125244 cat >>confdefs.h <<_ACEOF
125245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125246 _ACEOF
125253 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
125254 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
125255 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
125256 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
125257 echo $ECHO_N "(cached) $ECHO_C" >&6
125262 ac_ext=cc
125263 ac_cpp='$CXXCPP $CPPFLAGS'
125264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125268 cat >conftest.$ac_ext <<_ACEOF
125269 /* confdefs.h. */
125270 _ACEOF
125271 cat confdefs.h >>conftest.$ac_ext
125272 cat >>conftest.$ac_ext <<_ACEOF
125273 /* end confdefs.h. */
125274 #include <math.h>
125275 #ifdef HAVE_IEEEFP_H
125276 #include <ieeefp.h>
125277 #endif
125280 main ()
125282 _fabsl(0);
125284 return 0;
125286 _ACEOF
125287 rm -f conftest.$ac_objext
125288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125289 (eval $ac_compile) 2>conftest.er1
125290 ac_status=$?
125291 grep -v '^ *+' conftest.er1 >conftest.err
125292 rm -f conftest.er1
125293 cat conftest.err >&5
125294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125295 (exit $ac_status); } &&
125296 { ac_try='test -z "$ac_cxx_werror_flag"
125297 || test ! -s conftest.err'
125298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125299 (eval $ac_try) 2>&5
125300 ac_status=$?
125301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125302 (exit $ac_status); }; } &&
125303 { ac_try='test -s conftest.$ac_objext'
125304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125305 (eval $ac_try) 2>&5
125306 ac_status=$?
125307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125308 (exit $ac_status); }; }; then
125309 glibcxx_cv_func__fabsl_use=yes
125311 echo "$as_me: failed program was:" >&5
125312 sed 's/^/| /' conftest.$ac_ext >&5
125314 glibcxx_cv_func__fabsl_use=no
125316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125317 ac_ext=c
125318 ac_cpp='$CPP $CPPFLAGS'
125319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125327 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
125328 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
125330 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
125332 for ac_func in _fabsl
125334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125335 echo "$as_me:$LINENO: checking for $ac_func" >&5
125336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125337 if eval "test \"\${$as_ac_var+set}\" = set"; then
125338 echo $ECHO_N "(cached) $ECHO_C" >&6
125340 if test x$gcc_no_link = xyes; then
125341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125343 { (exit 1); exit 1; }; }
125345 cat >conftest.$ac_ext <<_ACEOF
125346 /* confdefs.h. */
125347 _ACEOF
125348 cat confdefs.h >>conftest.$ac_ext
125349 cat >>conftest.$ac_ext <<_ACEOF
125350 /* end confdefs.h. */
125351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125353 #define $ac_func innocuous_$ac_func
125355 /* System header to define __stub macros and hopefully few prototypes,
125356 which can conflict with char $ac_func (); below.
125357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125358 <limits.h> exists even on freestanding compilers. */
125360 #ifdef __STDC__
125361 # include <limits.h>
125362 #else
125363 # include <assert.h>
125364 #endif
125366 #undef $ac_func
125368 /* Override any gcc2 internal prototype to avoid an error. */
125369 #ifdef __cplusplus
125370 extern "C"
125372 #endif
125373 /* We use char because int might match the return type of a gcc2
125374 builtin and then its argument prototype would still apply. */
125375 char $ac_func ();
125376 /* The GNU C library defines this for functions which it implements
125377 to always fail with ENOSYS. Some functions are actually named
125378 something starting with __ and the normal name is an alias. */
125379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125380 choke me
125381 #else
125382 char (*f) () = $ac_func;
125383 #endif
125384 #ifdef __cplusplus
125386 #endif
125389 main ()
125391 return f != $ac_func;
125393 return 0;
125395 _ACEOF
125396 rm -f conftest.$ac_objext conftest$ac_exeext
125397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125398 (eval $ac_link) 2>conftest.er1
125399 ac_status=$?
125400 grep -v '^ *+' conftest.er1 >conftest.err
125401 rm -f conftest.er1
125402 cat conftest.err >&5
125403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125404 (exit $ac_status); } &&
125405 { ac_try='test -z "$ac_c_werror_flag"
125406 || test ! -s conftest.err'
125407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125408 (eval $ac_try) 2>&5
125409 ac_status=$?
125410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125411 (exit $ac_status); }; } &&
125412 { ac_try='test -s conftest$ac_exeext'
125413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125414 (eval $ac_try) 2>&5
125415 ac_status=$?
125416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125417 (exit $ac_status); }; }; then
125418 eval "$as_ac_var=yes"
125420 echo "$as_me: failed program was:" >&5
125421 sed 's/^/| /' conftest.$ac_ext >&5
125423 eval "$as_ac_var=no"
125425 rm -f conftest.err conftest.$ac_objext \
125426 conftest$ac_exeext conftest.$ac_ext
125428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125430 if test `eval echo '${'$as_ac_var'}'` = yes; then
125431 cat >>confdefs.h <<_ACEOF
125432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125433 _ACEOF
125446 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
125447 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
125448 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
125449 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
125450 echo $ECHO_N "(cached) $ECHO_C" >&6
125455 ac_ext=cc
125456 ac_cpp='$CXXCPP $CPPFLAGS'
125457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125461 cat >conftest.$ac_ext <<_ACEOF
125462 /* confdefs.h. */
125463 _ACEOF
125464 cat confdefs.h >>conftest.$ac_ext
125465 cat >>conftest.$ac_ext <<_ACEOF
125466 /* end confdefs.h. */
125467 #include <math.h>
125469 main ()
125471 fmodl(0, 0);
125473 return 0;
125475 _ACEOF
125476 rm -f conftest.$ac_objext
125477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125478 (eval $ac_compile) 2>conftest.er1
125479 ac_status=$?
125480 grep -v '^ *+' conftest.er1 >conftest.err
125481 rm -f conftest.er1
125482 cat conftest.err >&5
125483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125484 (exit $ac_status); } &&
125485 { ac_try='test -z "$ac_cxx_werror_flag"
125486 || test ! -s conftest.err'
125487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125488 (eval $ac_try) 2>&5
125489 ac_status=$?
125490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125491 (exit $ac_status); }; } &&
125492 { ac_try='test -s conftest.$ac_objext'
125493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125494 (eval $ac_try) 2>&5
125495 ac_status=$?
125496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125497 (exit $ac_status); }; }; then
125498 glibcxx_cv_func_fmodl_use=yes
125500 echo "$as_me: failed program was:" >&5
125501 sed 's/^/| /' conftest.$ac_ext >&5
125503 glibcxx_cv_func_fmodl_use=no
125505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125506 ac_ext=c
125507 ac_cpp='$CPP $CPPFLAGS'
125508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125516 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
125517 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
125519 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
125521 for ac_func in fmodl
125523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125524 echo "$as_me:$LINENO: checking for $ac_func" >&5
125525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125526 if eval "test \"\${$as_ac_var+set}\" = set"; then
125527 echo $ECHO_N "(cached) $ECHO_C" >&6
125529 if test x$gcc_no_link = xyes; then
125530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125532 { (exit 1); exit 1; }; }
125534 cat >conftest.$ac_ext <<_ACEOF
125535 /* confdefs.h. */
125536 _ACEOF
125537 cat confdefs.h >>conftest.$ac_ext
125538 cat >>conftest.$ac_ext <<_ACEOF
125539 /* end confdefs.h. */
125540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125542 #define $ac_func innocuous_$ac_func
125544 /* System header to define __stub macros and hopefully few prototypes,
125545 which can conflict with char $ac_func (); below.
125546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125547 <limits.h> exists even on freestanding compilers. */
125549 #ifdef __STDC__
125550 # include <limits.h>
125551 #else
125552 # include <assert.h>
125553 #endif
125555 #undef $ac_func
125557 /* Override any gcc2 internal prototype to avoid an error. */
125558 #ifdef __cplusplus
125559 extern "C"
125561 #endif
125562 /* We use char because int might match the return type of a gcc2
125563 builtin and then its argument prototype would still apply. */
125564 char $ac_func ();
125565 /* The GNU C library defines this for functions which it implements
125566 to always fail with ENOSYS. Some functions are actually named
125567 something starting with __ and the normal name is an alias. */
125568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125569 choke me
125570 #else
125571 char (*f) () = $ac_func;
125572 #endif
125573 #ifdef __cplusplus
125575 #endif
125578 main ()
125580 return f != $ac_func;
125582 return 0;
125584 _ACEOF
125585 rm -f conftest.$ac_objext conftest$ac_exeext
125586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125587 (eval $ac_link) 2>conftest.er1
125588 ac_status=$?
125589 grep -v '^ *+' conftest.er1 >conftest.err
125590 rm -f conftest.er1
125591 cat conftest.err >&5
125592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125593 (exit $ac_status); } &&
125594 { ac_try='test -z "$ac_c_werror_flag"
125595 || test ! -s conftest.err'
125596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125597 (eval $ac_try) 2>&5
125598 ac_status=$?
125599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125600 (exit $ac_status); }; } &&
125601 { ac_try='test -s conftest$ac_exeext'
125602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125603 (eval $ac_try) 2>&5
125604 ac_status=$?
125605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125606 (exit $ac_status); }; }; then
125607 eval "$as_ac_var=yes"
125609 echo "$as_me: failed program was:" >&5
125610 sed 's/^/| /' conftest.$ac_ext >&5
125612 eval "$as_ac_var=no"
125614 rm -f conftest.err conftest.$ac_objext \
125615 conftest$ac_exeext conftest.$ac_ext
125617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125619 if test `eval echo '${'$as_ac_var'}'` = yes; then
125620 cat >>confdefs.h <<_ACEOF
125621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125622 _ACEOF
125629 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
125630 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
125631 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
125632 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
125633 echo $ECHO_N "(cached) $ECHO_C" >&6
125638 ac_ext=cc
125639 ac_cpp='$CXXCPP $CPPFLAGS'
125640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125644 cat >conftest.$ac_ext <<_ACEOF
125645 /* confdefs.h. */
125646 _ACEOF
125647 cat confdefs.h >>conftest.$ac_ext
125648 cat >>conftest.$ac_ext <<_ACEOF
125649 /* end confdefs.h. */
125650 #include <math.h>
125652 main ()
125654 _fmodl(0, 0);
125656 return 0;
125658 _ACEOF
125659 rm -f conftest.$ac_objext
125660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125661 (eval $ac_compile) 2>conftest.er1
125662 ac_status=$?
125663 grep -v '^ *+' conftest.er1 >conftest.err
125664 rm -f conftest.er1
125665 cat conftest.err >&5
125666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125667 (exit $ac_status); } &&
125668 { ac_try='test -z "$ac_cxx_werror_flag"
125669 || test ! -s conftest.err'
125670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125671 (eval $ac_try) 2>&5
125672 ac_status=$?
125673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125674 (exit $ac_status); }; } &&
125675 { ac_try='test -s conftest.$ac_objext'
125676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125677 (eval $ac_try) 2>&5
125678 ac_status=$?
125679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125680 (exit $ac_status); }; }; then
125681 glibcxx_cv_func__fmodl_use=yes
125683 echo "$as_me: failed program was:" >&5
125684 sed 's/^/| /' conftest.$ac_ext >&5
125686 glibcxx_cv_func__fmodl_use=no
125688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125689 ac_ext=c
125690 ac_cpp='$CPP $CPPFLAGS'
125691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
125700 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
125702 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
125704 for ac_func in _fmodl
125706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125707 echo "$as_me:$LINENO: checking for $ac_func" >&5
125708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125709 if eval "test \"\${$as_ac_var+set}\" = set"; then
125710 echo $ECHO_N "(cached) $ECHO_C" >&6
125712 if test x$gcc_no_link = xyes; then
125713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125715 { (exit 1); exit 1; }; }
125717 cat >conftest.$ac_ext <<_ACEOF
125718 /* confdefs.h. */
125719 _ACEOF
125720 cat confdefs.h >>conftest.$ac_ext
125721 cat >>conftest.$ac_ext <<_ACEOF
125722 /* end confdefs.h. */
125723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125725 #define $ac_func innocuous_$ac_func
125727 /* System header to define __stub macros and hopefully few prototypes,
125728 which can conflict with char $ac_func (); below.
125729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125730 <limits.h> exists even on freestanding compilers. */
125732 #ifdef __STDC__
125733 # include <limits.h>
125734 #else
125735 # include <assert.h>
125736 #endif
125738 #undef $ac_func
125740 /* Override any gcc2 internal prototype to avoid an error. */
125741 #ifdef __cplusplus
125742 extern "C"
125744 #endif
125745 /* We use char because int might match the return type of a gcc2
125746 builtin and then its argument prototype would still apply. */
125747 char $ac_func ();
125748 /* The GNU C library defines this for functions which it implements
125749 to always fail with ENOSYS. Some functions are actually named
125750 something starting with __ and the normal name is an alias. */
125751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125752 choke me
125753 #else
125754 char (*f) () = $ac_func;
125755 #endif
125756 #ifdef __cplusplus
125758 #endif
125761 main ()
125763 return f != $ac_func;
125765 return 0;
125767 _ACEOF
125768 rm -f conftest.$ac_objext conftest$ac_exeext
125769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125770 (eval $ac_link) 2>conftest.er1
125771 ac_status=$?
125772 grep -v '^ *+' conftest.er1 >conftest.err
125773 rm -f conftest.er1
125774 cat conftest.err >&5
125775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125776 (exit $ac_status); } &&
125777 { ac_try='test -z "$ac_c_werror_flag"
125778 || test ! -s conftest.err'
125779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125780 (eval $ac_try) 2>&5
125781 ac_status=$?
125782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125783 (exit $ac_status); }; } &&
125784 { ac_try='test -s conftest$ac_exeext'
125785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125786 (eval $ac_try) 2>&5
125787 ac_status=$?
125788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125789 (exit $ac_status); }; }; then
125790 eval "$as_ac_var=yes"
125792 echo "$as_me: failed program was:" >&5
125793 sed 's/^/| /' conftest.$ac_ext >&5
125795 eval "$as_ac_var=no"
125797 rm -f conftest.err conftest.$ac_objext \
125798 conftest$ac_exeext conftest.$ac_ext
125800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125802 if test `eval echo '${'$as_ac_var'}'` = yes; then
125803 cat >>confdefs.h <<_ACEOF
125804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125805 _ACEOF
125818 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
125819 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
125820 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
125821 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
125822 echo $ECHO_N "(cached) $ECHO_C" >&6
125827 ac_ext=cc
125828 ac_cpp='$CXXCPP $CPPFLAGS'
125829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
125833 cat >conftest.$ac_ext <<_ACEOF
125834 /* confdefs.h. */
125835 _ACEOF
125836 cat confdefs.h >>conftest.$ac_ext
125837 cat >>conftest.$ac_ext <<_ACEOF
125838 /* end confdefs.h. */
125839 #include <math.h>
125841 main ()
125843 frexpl(0, 0);
125845 return 0;
125847 _ACEOF
125848 rm -f conftest.$ac_objext
125849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
125850 (eval $ac_compile) 2>conftest.er1
125851 ac_status=$?
125852 grep -v '^ *+' conftest.er1 >conftest.err
125853 rm -f conftest.er1
125854 cat conftest.err >&5
125855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125856 (exit $ac_status); } &&
125857 { ac_try='test -z "$ac_cxx_werror_flag"
125858 || test ! -s conftest.err'
125859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125860 (eval $ac_try) 2>&5
125861 ac_status=$?
125862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125863 (exit $ac_status); }; } &&
125864 { ac_try='test -s conftest.$ac_objext'
125865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125866 (eval $ac_try) 2>&5
125867 ac_status=$?
125868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125869 (exit $ac_status); }; }; then
125870 glibcxx_cv_func_frexpl_use=yes
125872 echo "$as_me: failed program was:" >&5
125873 sed 's/^/| /' conftest.$ac_ext >&5
125875 glibcxx_cv_func_frexpl_use=no
125877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
125878 ac_ext=c
125879 ac_cpp='$CPP $CPPFLAGS'
125880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
125881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
125882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
125888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
125889 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
125891 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
125893 for ac_func in frexpl
125895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
125896 echo "$as_me:$LINENO: checking for $ac_func" >&5
125897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
125898 if eval "test \"\${$as_ac_var+set}\" = set"; then
125899 echo $ECHO_N "(cached) $ECHO_C" >&6
125901 if test x$gcc_no_link = xyes; then
125902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
125903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
125904 { (exit 1); exit 1; }; }
125906 cat >conftest.$ac_ext <<_ACEOF
125907 /* confdefs.h. */
125908 _ACEOF
125909 cat confdefs.h >>conftest.$ac_ext
125910 cat >>conftest.$ac_ext <<_ACEOF
125911 /* end confdefs.h. */
125912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
125913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
125914 #define $ac_func innocuous_$ac_func
125916 /* System header to define __stub macros and hopefully few prototypes,
125917 which can conflict with char $ac_func (); below.
125918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
125919 <limits.h> exists even on freestanding compilers. */
125921 #ifdef __STDC__
125922 # include <limits.h>
125923 #else
125924 # include <assert.h>
125925 #endif
125927 #undef $ac_func
125929 /* Override any gcc2 internal prototype to avoid an error. */
125930 #ifdef __cplusplus
125931 extern "C"
125933 #endif
125934 /* We use char because int might match the return type of a gcc2
125935 builtin and then its argument prototype would still apply. */
125936 char $ac_func ();
125937 /* The GNU C library defines this for functions which it implements
125938 to always fail with ENOSYS. Some functions are actually named
125939 something starting with __ and the normal name is an alias. */
125940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
125941 choke me
125942 #else
125943 char (*f) () = $ac_func;
125944 #endif
125945 #ifdef __cplusplus
125947 #endif
125950 main ()
125952 return f != $ac_func;
125954 return 0;
125956 _ACEOF
125957 rm -f conftest.$ac_objext conftest$ac_exeext
125958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
125959 (eval $ac_link) 2>conftest.er1
125960 ac_status=$?
125961 grep -v '^ *+' conftest.er1 >conftest.err
125962 rm -f conftest.er1
125963 cat conftest.err >&5
125964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125965 (exit $ac_status); } &&
125966 { ac_try='test -z "$ac_c_werror_flag"
125967 || test ! -s conftest.err'
125968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125969 (eval $ac_try) 2>&5
125970 ac_status=$?
125971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125972 (exit $ac_status); }; } &&
125973 { ac_try='test -s conftest$ac_exeext'
125974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
125975 (eval $ac_try) 2>&5
125976 ac_status=$?
125977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
125978 (exit $ac_status); }; }; then
125979 eval "$as_ac_var=yes"
125981 echo "$as_me: failed program was:" >&5
125982 sed 's/^/| /' conftest.$ac_ext >&5
125984 eval "$as_ac_var=no"
125986 rm -f conftest.err conftest.$ac_objext \
125987 conftest$ac_exeext conftest.$ac_ext
125989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
125990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
125991 if test `eval echo '${'$as_ac_var'}'` = yes; then
125992 cat >>confdefs.h <<_ACEOF
125993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
125994 _ACEOF
126001 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
126002 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
126003 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
126004 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
126005 echo $ECHO_N "(cached) $ECHO_C" >&6
126010 ac_ext=cc
126011 ac_cpp='$CXXCPP $CPPFLAGS'
126012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126016 cat >conftest.$ac_ext <<_ACEOF
126017 /* confdefs.h. */
126018 _ACEOF
126019 cat confdefs.h >>conftest.$ac_ext
126020 cat >>conftest.$ac_ext <<_ACEOF
126021 /* end confdefs.h. */
126022 #include <math.h>
126024 main ()
126026 _frexpl(0, 0);
126028 return 0;
126030 _ACEOF
126031 rm -f conftest.$ac_objext
126032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126033 (eval $ac_compile) 2>conftest.er1
126034 ac_status=$?
126035 grep -v '^ *+' conftest.er1 >conftest.err
126036 rm -f conftest.er1
126037 cat conftest.err >&5
126038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126039 (exit $ac_status); } &&
126040 { ac_try='test -z "$ac_cxx_werror_flag"
126041 || test ! -s conftest.err'
126042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126043 (eval $ac_try) 2>&5
126044 ac_status=$?
126045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126046 (exit $ac_status); }; } &&
126047 { ac_try='test -s conftest.$ac_objext'
126048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126049 (eval $ac_try) 2>&5
126050 ac_status=$?
126051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126052 (exit $ac_status); }; }; then
126053 glibcxx_cv_func__frexpl_use=yes
126055 echo "$as_me: failed program was:" >&5
126056 sed 's/^/| /' conftest.$ac_ext >&5
126058 glibcxx_cv_func__frexpl_use=no
126060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126061 ac_ext=c
126062 ac_cpp='$CPP $CPPFLAGS'
126063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
126072 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
126074 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
126076 for ac_func in _frexpl
126078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126079 echo "$as_me:$LINENO: checking for $ac_func" >&5
126080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126081 if eval "test \"\${$as_ac_var+set}\" = set"; then
126082 echo $ECHO_N "(cached) $ECHO_C" >&6
126084 if test x$gcc_no_link = xyes; then
126085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126087 { (exit 1); exit 1; }; }
126089 cat >conftest.$ac_ext <<_ACEOF
126090 /* confdefs.h. */
126091 _ACEOF
126092 cat confdefs.h >>conftest.$ac_ext
126093 cat >>conftest.$ac_ext <<_ACEOF
126094 /* end confdefs.h. */
126095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126097 #define $ac_func innocuous_$ac_func
126099 /* System header to define __stub macros and hopefully few prototypes,
126100 which can conflict with char $ac_func (); below.
126101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126102 <limits.h> exists even on freestanding compilers. */
126104 #ifdef __STDC__
126105 # include <limits.h>
126106 #else
126107 # include <assert.h>
126108 #endif
126110 #undef $ac_func
126112 /* Override any gcc2 internal prototype to avoid an error. */
126113 #ifdef __cplusplus
126114 extern "C"
126116 #endif
126117 /* We use char because int might match the return type of a gcc2
126118 builtin and then its argument prototype would still apply. */
126119 char $ac_func ();
126120 /* The GNU C library defines this for functions which it implements
126121 to always fail with ENOSYS. Some functions are actually named
126122 something starting with __ and the normal name is an alias. */
126123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126124 choke me
126125 #else
126126 char (*f) () = $ac_func;
126127 #endif
126128 #ifdef __cplusplus
126130 #endif
126133 main ()
126135 return f != $ac_func;
126137 return 0;
126139 _ACEOF
126140 rm -f conftest.$ac_objext conftest$ac_exeext
126141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126142 (eval $ac_link) 2>conftest.er1
126143 ac_status=$?
126144 grep -v '^ *+' conftest.er1 >conftest.err
126145 rm -f conftest.er1
126146 cat conftest.err >&5
126147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126148 (exit $ac_status); } &&
126149 { ac_try='test -z "$ac_c_werror_flag"
126150 || test ! -s conftest.err'
126151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126152 (eval $ac_try) 2>&5
126153 ac_status=$?
126154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126155 (exit $ac_status); }; } &&
126156 { ac_try='test -s conftest$ac_exeext'
126157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126158 (eval $ac_try) 2>&5
126159 ac_status=$?
126160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126161 (exit $ac_status); }; }; then
126162 eval "$as_ac_var=yes"
126164 echo "$as_me: failed program was:" >&5
126165 sed 's/^/| /' conftest.$ac_ext >&5
126167 eval "$as_ac_var=no"
126169 rm -f conftest.err conftest.$ac_objext \
126170 conftest$ac_exeext conftest.$ac_ext
126172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126174 if test `eval echo '${'$as_ac_var'}'` = yes; then
126175 cat >>confdefs.h <<_ACEOF
126176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126177 _ACEOF
126190 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
126191 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
126192 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
126193 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
126194 echo $ECHO_N "(cached) $ECHO_C" >&6
126199 ac_ext=cc
126200 ac_cpp='$CXXCPP $CPPFLAGS'
126201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126205 cat >conftest.$ac_ext <<_ACEOF
126206 /* confdefs.h. */
126207 _ACEOF
126208 cat confdefs.h >>conftest.$ac_ext
126209 cat >>conftest.$ac_ext <<_ACEOF
126210 /* end confdefs.h. */
126211 #include <math.h>
126213 main ()
126215 hypotl(0, 0);
126217 return 0;
126219 _ACEOF
126220 rm -f conftest.$ac_objext
126221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126222 (eval $ac_compile) 2>conftest.er1
126223 ac_status=$?
126224 grep -v '^ *+' conftest.er1 >conftest.err
126225 rm -f conftest.er1
126226 cat conftest.err >&5
126227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126228 (exit $ac_status); } &&
126229 { ac_try='test -z "$ac_cxx_werror_flag"
126230 || test ! -s conftest.err'
126231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126232 (eval $ac_try) 2>&5
126233 ac_status=$?
126234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126235 (exit $ac_status); }; } &&
126236 { ac_try='test -s conftest.$ac_objext'
126237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126238 (eval $ac_try) 2>&5
126239 ac_status=$?
126240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126241 (exit $ac_status); }; }; then
126242 glibcxx_cv_func_hypotl_use=yes
126244 echo "$as_me: failed program was:" >&5
126245 sed 's/^/| /' conftest.$ac_ext >&5
126247 glibcxx_cv_func_hypotl_use=no
126249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126250 ac_ext=c
126251 ac_cpp='$CPP $CPPFLAGS'
126252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
126261 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
126263 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
126265 for ac_func in hypotl
126267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126268 echo "$as_me:$LINENO: checking for $ac_func" >&5
126269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126270 if eval "test \"\${$as_ac_var+set}\" = set"; then
126271 echo $ECHO_N "(cached) $ECHO_C" >&6
126273 if test x$gcc_no_link = xyes; then
126274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126276 { (exit 1); exit 1; }; }
126278 cat >conftest.$ac_ext <<_ACEOF
126279 /* confdefs.h. */
126280 _ACEOF
126281 cat confdefs.h >>conftest.$ac_ext
126282 cat >>conftest.$ac_ext <<_ACEOF
126283 /* end confdefs.h. */
126284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126286 #define $ac_func innocuous_$ac_func
126288 /* System header to define __stub macros and hopefully few prototypes,
126289 which can conflict with char $ac_func (); below.
126290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126291 <limits.h> exists even on freestanding compilers. */
126293 #ifdef __STDC__
126294 # include <limits.h>
126295 #else
126296 # include <assert.h>
126297 #endif
126299 #undef $ac_func
126301 /* Override any gcc2 internal prototype to avoid an error. */
126302 #ifdef __cplusplus
126303 extern "C"
126305 #endif
126306 /* We use char because int might match the return type of a gcc2
126307 builtin and then its argument prototype would still apply. */
126308 char $ac_func ();
126309 /* The GNU C library defines this for functions which it implements
126310 to always fail with ENOSYS. Some functions are actually named
126311 something starting with __ and the normal name is an alias. */
126312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126313 choke me
126314 #else
126315 char (*f) () = $ac_func;
126316 #endif
126317 #ifdef __cplusplus
126319 #endif
126322 main ()
126324 return f != $ac_func;
126326 return 0;
126328 _ACEOF
126329 rm -f conftest.$ac_objext conftest$ac_exeext
126330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126331 (eval $ac_link) 2>conftest.er1
126332 ac_status=$?
126333 grep -v '^ *+' conftest.er1 >conftest.err
126334 rm -f conftest.er1
126335 cat conftest.err >&5
126336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126337 (exit $ac_status); } &&
126338 { ac_try='test -z "$ac_c_werror_flag"
126339 || test ! -s conftest.err'
126340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126341 (eval $ac_try) 2>&5
126342 ac_status=$?
126343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126344 (exit $ac_status); }; } &&
126345 { ac_try='test -s conftest$ac_exeext'
126346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126347 (eval $ac_try) 2>&5
126348 ac_status=$?
126349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126350 (exit $ac_status); }; }; then
126351 eval "$as_ac_var=yes"
126353 echo "$as_me: failed program was:" >&5
126354 sed 's/^/| /' conftest.$ac_ext >&5
126356 eval "$as_ac_var=no"
126358 rm -f conftest.err conftest.$ac_objext \
126359 conftest$ac_exeext conftest.$ac_ext
126361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126363 if test `eval echo '${'$as_ac_var'}'` = yes; then
126364 cat >>confdefs.h <<_ACEOF
126365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126366 _ACEOF
126373 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
126374 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
126375 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
126376 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
126377 echo $ECHO_N "(cached) $ECHO_C" >&6
126382 ac_ext=cc
126383 ac_cpp='$CXXCPP $CPPFLAGS'
126384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126388 cat >conftest.$ac_ext <<_ACEOF
126389 /* confdefs.h. */
126390 _ACEOF
126391 cat confdefs.h >>conftest.$ac_ext
126392 cat >>conftest.$ac_ext <<_ACEOF
126393 /* end confdefs.h. */
126394 #include <math.h>
126396 main ()
126398 _hypotl(0, 0);
126400 return 0;
126402 _ACEOF
126403 rm -f conftest.$ac_objext
126404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126405 (eval $ac_compile) 2>conftest.er1
126406 ac_status=$?
126407 grep -v '^ *+' conftest.er1 >conftest.err
126408 rm -f conftest.er1
126409 cat conftest.err >&5
126410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126411 (exit $ac_status); } &&
126412 { ac_try='test -z "$ac_cxx_werror_flag"
126413 || test ! -s conftest.err'
126414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126415 (eval $ac_try) 2>&5
126416 ac_status=$?
126417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126418 (exit $ac_status); }; } &&
126419 { ac_try='test -s conftest.$ac_objext'
126420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126421 (eval $ac_try) 2>&5
126422 ac_status=$?
126423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126424 (exit $ac_status); }; }; then
126425 glibcxx_cv_func__hypotl_use=yes
126427 echo "$as_me: failed program was:" >&5
126428 sed 's/^/| /' conftest.$ac_ext >&5
126430 glibcxx_cv_func__hypotl_use=no
126432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126433 ac_ext=c
126434 ac_cpp='$CPP $CPPFLAGS'
126435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
126444 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
126446 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
126448 for ac_func in _hypotl
126450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126451 echo "$as_me:$LINENO: checking for $ac_func" >&5
126452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126453 if eval "test \"\${$as_ac_var+set}\" = set"; then
126454 echo $ECHO_N "(cached) $ECHO_C" >&6
126456 if test x$gcc_no_link = xyes; then
126457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126459 { (exit 1); exit 1; }; }
126461 cat >conftest.$ac_ext <<_ACEOF
126462 /* confdefs.h. */
126463 _ACEOF
126464 cat confdefs.h >>conftest.$ac_ext
126465 cat >>conftest.$ac_ext <<_ACEOF
126466 /* end confdefs.h. */
126467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126469 #define $ac_func innocuous_$ac_func
126471 /* System header to define __stub macros and hopefully few prototypes,
126472 which can conflict with char $ac_func (); below.
126473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126474 <limits.h> exists even on freestanding compilers. */
126476 #ifdef __STDC__
126477 # include <limits.h>
126478 #else
126479 # include <assert.h>
126480 #endif
126482 #undef $ac_func
126484 /* Override any gcc2 internal prototype to avoid an error. */
126485 #ifdef __cplusplus
126486 extern "C"
126488 #endif
126489 /* We use char because int might match the return type of a gcc2
126490 builtin and then its argument prototype would still apply. */
126491 char $ac_func ();
126492 /* The GNU C library defines this for functions which it implements
126493 to always fail with ENOSYS. Some functions are actually named
126494 something starting with __ and the normal name is an alias. */
126495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126496 choke me
126497 #else
126498 char (*f) () = $ac_func;
126499 #endif
126500 #ifdef __cplusplus
126502 #endif
126505 main ()
126507 return f != $ac_func;
126509 return 0;
126511 _ACEOF
126512 rm -f conftest.$ac_objext conftest$ac_exeext
126513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126514 (eval $ac_link) 2>conftest.er1
126515 ac_status=$?
126516 grep -v '^ *+' conftest.er1 >conftest.err
126517 rm -f conftest.er1
126518 cat conftest.err >&5
126519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126520 (exit $ac_status); } &&
126521 { ac_try='test -z "$ac_c_werror_flag"
126522 || test ! -s conftest.err'
126523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126524 (eval $ac_try) 2>&5
126525 ac_status=$?
126526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126527 (exit $ac_status); }; } &&
126528 { ac_try='test -s conftest$ac_exeext'
126529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126530 (eval $ac_try) 2>&5
126531 ac_status=$?
126532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126533 (exit $ac_status); }; }; then
126534 eval "$as_ac_var=yes"
126536 echo "$as_me: failed program was:" >&5
126537 sed 's/^/| /' conftest.$ac_ext >&5
126539 eval "$as_ac_var=no"
126541 rm -f conftest.err conftest.$ac_objext \
126542 conftest$ac_exeext conftest.$ac_ext
126544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126546 if test `eval echo '${'$as_ac_var'}'` = yes; then
126547 cat >>confdefs.h <<_ACEOF
126548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126549 _ACEOF
126562 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
126563 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
126564 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
126565 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
126566 echo $ECHO_N "(cached) $ECHO_C" >&6
126571 ac_ext=cc
126572 ac_cpp='$CXXCPP $CPPFLAGS'
126573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126577 cat >conftest.$ac_ext <<_ACEOF
126578 /* confdefs.h. */
126579 _ACEOF
126580 cat confdefs.h >>conftest.$ac_ext
126581 cat >>conftest.$ac_ext <<_ACEOF
126582 /* end confdefs.h. */
126583 #include <math.h>
126585 main ()
126587 ldexpl(0, 0);
126589 return 0;
126591 _ACEOF
126592 rm -f conftest.$ac_objext
126593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126594 (eval $ac_compile) 2>conftest.er1
126595 ac_status=$?
126596 grep -v '^ *+' conftest.er1 >conftest.err
126597 rm -f conftest.er1
126598 cat conftest.err >&5
126599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126600 (exit $ac_status); } &&
126601 { ac_try='test -z "$ac_cxx_werror_flag"
126602 || test ! -s conftest.err'
126603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126604 (eval $ac_try) 2>&5
126605 ac_status=$?
126606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126607 (exit $ac_status); }; } &&
126608 { ac_try='test -s conftest.$ac_objext'
126609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126610 (eval $ac_try) 2>&5
126611 ac_status=$?
126612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126613 (exit $ac_status); }; }; then
126614 glibcxx_cv_func_ldexpl_use=yes
126616 echo "$as_me: failed program was:" >&5
126617 sed 's/^/| /' conftest.$ac_ext >&5
126619 glibcxx_cv_func_ldexpl_use=no
126621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126622 ac_ext=c
126623 ac_cpp='$CPP $CPPFLAGS'
126624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
126633 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
126635 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
126637 for ac_func in ldexpl
126639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126640 echo "$as_me:$LINENO: checking for $ac_func" >&5
126641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126642 if eval "test \"\${$as_ac_var+set}\" = set"; then
126643 echo $ECHO_N "(cached) $ECHO_C" >&6
126645 if test x$gcc_no_link = xyes; then
126646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126648 { (exit 1); exit 1; }; }
126650 cat >conftest.$ac_ext <<_ACEOF
126651 /* confdefs.h. */
126652 _ACEOF
126653 cat confdefs.h >>conftest.$ac_ext
126654 cat >>conftest.$ac_ext <<_ACEOF
126655 /* end confdefs.h. */
126656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126658 #define $ac_func innocuous_$ac_func
126660 /* System header to define __stub macros and hopefully few prototypes,
126661 which can conflict with char $ac_func (); below.
126662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126663 <limits.h> exists even on freestanding compilers. */
126665 #ifdef __STDC__
126666 # include <limits.h>
126667 #else
126668 # include <assert.h>
126669 #endif
126671 #undef $ac_func
126673 /* Override any gcc2 internal prototype to avoid an error. */
126674 #ifdef __cplusplus
126675 extern "C"
126677 #endif
126678 /* We use char because int might match the return type of a gcc2
126679 builtin and then its argument prototype would still apply. */
126680 char $ac_func ();
126681 /* The GNU C library defines this for functions which it implements
126682 to always fail with ENOSYS. Some functions are actually named
126683 something starting with __ and the normal name is an alias. */
126684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126685 choke me
126686 #else
126687 char (*f) () = $ac_func;
126688 #endif
126689 #ifdef __cplusplus
126691 #endif
126694 main ()
126696 return f != $ac_func;
126698 return 0;
126700 _ACEOF
126701 rm -f conftest.$ac_objext conftest$ac_exeext
126702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126703 (eval $ac_link) 2>conftest.er1
126704 ac_status=$?
126705 grep -v '^ *+' conftest.er1 >conftest.err
126706 rm -f conftest.er1
126707 cat conftest.err >&5
126708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126709 (exit $ac_status); } &&
126710 { ac_try='test -z "$ac_c_werror_flag"
126711 || test ! -s conftest.err'
126712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126713 (eval $ac_try) 2>&5
126714 ac_status=$?
126715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126716 (exit $ac_status); }; } &&
126717 { ac_try='test -s conftest$ac_exeext'
126718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126719 (eval $ac_try) 2>&5
126720 ac_status=$?
126721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126722 (exit $ac_status); }; }; then
126723 eval "$as_ac_var=yes"
126725 echo "$as_me: failed program was:" >&5
126726 sed 's/^/| /' conftest.$ac_ext >&5
126728 eval "$as_ac_var=no"
126730 rm -f conftest.err conftest.$ac_objext \
126731 conftest$ac_exeext conftest.$ac_ext
126733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126735 if test `eval echo '${'$as_ac_var'}'` = yes; then
126736 cat >>confdefs.h <<_ACEOF
126737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126738 _ACEOF
126745 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
126746 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
126747 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
126748 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
126749 echo $ECHO_N "(cached) $ECHO_C" >&6
126754 ac_ext=cc
126755 ac_cpp='$CXXCPP $CPPFLAGS'
126756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126760 cat >conftest.$ac_ext <<_ACEOF
126761 /* confdefs.h. */
126762 _ACEOF
126763 cat confdefs.h >>conftest.$ac_ext
126764 cat >>conftest.$ac_ext <<_ACEOF
126765 /* end confdefs.h. */
126766 #include <math.h>
126768 main ()
126770 _ldexpl(0, 0);
126772 return 0;
126774 _ACEOF
126775 rm -f conftest.$ac_objext
126776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126777 (eval $ac_compile) 2>conftest.er1
126778 ac_status=$?
126779 grep -v '^ *+' conftest.er1 >conftest.err
126780 rm -f conftest.er1
126781 cat conftest.err >&5
126782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126783 (exit $ac_status); } &&
126784 { ac_try='test -z "$ac_cxx_werror_flag"
126785 || test ! -s conftest.err'
126786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126787 (eval $ac_try) 2>&5
126788 ac_status=$?
126789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126790 (exit $ac_status); }; } &&
126791 { ac_try='test -s conftest.$ac_objext'
126792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126793 (eval $ac_try) 2>&5
126794 ac_status=$?
126795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126796 (exit $ac_status); }; }; then
126797 glibcxx_cv_func__ldexpl_use=yes
126799 echo "$as_me: failed program was:" >&5
126800 sed 's/^/| /' conftest.$ac_ext >&5
126802 glibcxx_cv_func__ldexpl_use=no
126804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126805 ac_ext=c
126806 ac_cpp='$CPP $CPPFLAGS'
126807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
126815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
126816 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
126818 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
126820 for ac_func in _ldexpl
126822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
126823 echo "$as_me:$LINENO: checking for $ac_func" >&5
126824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
126825 if eval "test \"\${$as_ac_var+set}\" = set"; then
126826 echo $ECHO_N "(cached) $ECHO_C" >&6
126828 if test x$gcc_no_link = xyes; then
126829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
126830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
126831 { (exit 1); exit 1; }; }
126833 cat >conftest.$ac_ext <<_ACEOF
126834 /* confdefs.h. */
126835 _ACEOF
126836 cat confdefs.h >>conftest.$ac_ext
126837 cat >>conftest.$ac_ext <<_ACEOF
126838 /* end confdefs.h. */
126839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
126840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
126841 #define $ac_func innocuous_$ac_func
126843 /* System header to define __stub macros and hopefully few prototypes,
126844 which can conflict with char $ac_func (); below.
126845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
126846 <limits.h> exists even on freestanding compilers. */
126848 #ifdef __STDC__
126849 # include <limits.h>
126850 #else
126851 # include <assert.h>
126852 #endif
126854 #undef $ac_func
126856 /* Override any gcc2 internal prototype to avoid an error. */
126857 #ifdef __cplusplus
126858 extern "C"
126860 #endif
126861 /* We use char because int might match the return type of a gcc2
126862 builtin and then its argument prototype would still apply. */
126863 char $ac_func ();
126864 /* The GNU C library defines this for functions which it implements
126865 to always fail with ENOSYS. Some functions are actually named
126866 something starting with __ and the normal name is an alias. */
126867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
126868 choke me
126869 #else
126870 char (*f) () = $ac_func;
126871 #endif
126872 #ifdef __cplusplus
126874 #endif
126877 main ()
126879 return f != $ac_func;
126881 return 0;
126883 _ACEOF
126884 rm -f conftest.$ac_objext conftest$ac_exeext
126885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
126886 (eval $ac_link) 2>conftest.er1
126887 ac_status=$?
126888 grep -v '^ *+' conftest.er1 >conftest.err
126889 rm -f conftest.er1
126890 cat conftest.err >&5
126891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126892 (exit $ac_status); } &&
126893 { ac_try='test -z "$ac_c_werror_flag"
126894 || test ! -s conftest.err'
126895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126896 (eval $ac_try) 2>&5
126897 ac_status=$?
126898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126899 (exit $ac_status); }; } &&
126900 { ac_try='test -s conftest$ac_exeext'
126901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126902 (eval $ac_try) 2>&5
126903 ac_status=$?
126904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126905 (exit $ac_status); }; }; then
126906 eval "$as_ac_var=yes"
126908 echo "$as_me: failed program was:" >&5
126909 sed 's/^/| /' conftest.$ac_ext >&5
126911 eval "$as_ac_var=no"
126913 rm -f conftest.err conftest.$ac_objext \
126914 conftest$ac_exeext conftest.$ac_ext
126916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
126917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
126918 if test `eval echo '${'$as_ac_var'}'` = yes; then
126919 cat >>confdefs.h <<_ACEOF
126920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
126921 _ACEOF
126934 echo "$as_me:$LINENO: checking for logl declaration" >&5
126935 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
126936 if test x${glibcxx_cv_func_logl_use+set} != xset; then
126937 if test "${glibcxx_cv_func_logl_use+set}" = set; then
126938 echo $ECHO_N "(cached) $ECHO_C" >&6
126943 ac_ext=cc
126944 ac_cpp='$CXXCPP $CPPFLAGS'
126945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
126946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
126947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
126949 cat >conftest.$ac_ext <<_ACEOF
126950 /* confdefs.h. */
126951 _ACEOF
126952 cat confdefs.h >>conftest.$ac_ext
126953 cat >>conftest.$ac_ext <<_ACEOF
126954 /* end confdefs.h. */
126955 #include <math.h>
126956 #ifdef HAVE_IEEEFP_H
126957 #include <ieeefp.h>
126958 #endif
126961 main ()
126963 logl(0);
126965 return 0;
126967 _ACEOF
126968 rm -f conftest.$ac_objext
126969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
126970 (eval $ac_compile) 2>conftest.er1
126971 ac_status=$?
126972 grep -v '^ *+' conftest.er1 >conftest.err
126973 rm -f conftest.er1
126974 cat conftest.err >&5
126975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126976 (exit $ac_status); } &&
126977 { ac_try='test -z "$ac_cxx_werror_flag"
126978 || test ! -s conftest.err'
126979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126980 (eval $ac_try) 2>&5
126981 ac_status=$?
126982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126983 (exit $ac_status); }; } &&
126984 { ac_try='test -s conftest.$ac_objext'
126985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
126986 (eval $ac_try) 2>&5
126987 ac_status=$?
126988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
126989 (exit $ac_status); }; }; then
126990 glibcxx_cv_func_logl_use=yes
126992 echo "$as_me: failed program was:" >&5
126993 sed 's/^/| /' conftest.$ac_ext >&5
126995 glibcxx_cv_func_logl_use=no
126997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
126998 ac_ext=c
126999 ac_cpp='$CPP $CPPFLAGS'
127000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
127009 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
127011 if test x$glibcxx_cv_func_logl_use = x"yes"; then
127013 for ac_func in logl
127015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127016 echo "$as_me:$LINENO: checking for $ac_func" >&5
127017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127018 if eval "test \"\${$as_ac_var+set}\" = set"; then
127019 echo $ECHO_N "(cached) $ECHO_C" >&6
127021 if test x$gcc_no_link = xyes; then
127022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127024 { (exit 1); exit 1; }; }
127026 cat >conftest.$ac_ext <<_ACEOF
127027 /* confdefs.h. */
127028 _ACEOF
127029 cat confdefs.h >>conftest.$ac_ext
127030 cat >>conftest.$ac_ext <<_ACEOF
127031 /* end confdefs.h. */
127032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127034 #define $ac_func innocuous_$ac_func
127036 /* System header to define __stub macros and hopefully few prototypes,
127037 which can conflict with char $ac_func (); below.
127038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127039 <limits.h> exists even on freestanding compilers. */
127041 #ifdef __STDC__
127042 # include <limits.h>
127043 #else
127044 # include <assert.h>
127045 #endif
127047 #undef $ac_func
127049 /* Override any gcc2 internal prototype to avoid an error. */
127050 #ifdef __cplusplus
127051 extern "C"
127053 #endif
127054 /* We use char because int might match the return type of a gcc2
127055 builtin and then its argument prototype would still apply. */
127056 char $ac_func ();
127057 /* The GNU C library defines this for functions which it implements
127058 to always fail with ENOSYS. Some functions are actually named
127059 something starting with __ and the normal name is an alias. */
127060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127061 choke me
127062 #else
127063 char (*f) () = $ac_func;
127064 #endif
127065 #ifdef __cplusplus
127067 #endif
127070 main ()
127072 return f != $ac_func;
127074 return 0;
127076 _ACEOF
127077 rm -f conftest.$ac_objext conftest$ac_exeext
127078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127079 (eval $ac_link) 2>conftest.er1
127080 ac_status=$?
127081 grep -v '^ *+' conftest.er1 >conftest.err
127082 rm -f conftest.er1
127083 cat conftest.err >&5
127084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127085 (exit $ac_status); } &&
127086 { ac_try='test -z "$ac_c_werror_flag"
127087 || test ! -s conftest.err'
127088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127089 (eval $ac_try) 2>&5
127090 ac_status=$?
127091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127092 (exit $ac_status); }; } &&
127093 { ac_try='test -s conftest$ac_exeext'
127094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127095 (eval $ac_try) 2>&5
127096 ac_status=$?
127097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127098 (exit $ac_status); }; }; then
127099 eval "$as_ac_var=yes"
127101 echo "$as_me: failed program was:" >&5
127102 sed 's/^/| /' conftest.$ac_ext >&5
127104 eval "$as_ac_var=no"
127106 rm -f conftest.err conftest.$ac_objext \
127107 conftest$ac_exeext conftest.$ac_ext
127109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127111 if test `eval echo '${'$as_ac_var'}'` = yes; then
127112 cat >>confdefs.h <<_ACEOF
127113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127114 _ACEOF
127121 echo "$as_me:$LINENO: checking for _logl declaration" >&5
127122 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
127123 if test x${glibcxx_cv_func__logl_use+set} != xset; then
127124 if test "${glibcxx_cv_func__logl_use+set}" = set; then
127125 echo $ECHO_N "(cached) $ECHO_C" >&6
127130 ac_ext=cc
127131 ac_cpp='$CXXCPP $CPPFLAGS'
127132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127136 cat >conftest.$ac_ext <<_ACEOF
127137 /* confdefs.h. */
127138 _ACEOF
127139 cat confdefs.h >>conftest.$ac_ext
127140 cat >>conftest.$ac_ext <<_ACEOF
127141 /* end confdefs.h. */
127142 #include <math.h>
127143 #ifdef HAVE_IEEEFP_H
127144 #include <ieeefp.h>
127145 #endif
127148 main ()
127150 _logl(0);
127152 return 0;
127154 _ACEOF
127155 rm -f conftest.$ac_objext
127156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127157 (eval $ac_compile) 2>conftest.er1
127158 ac_status=$?
127159 grep -v '^ *+' conftest.er1 >conftest.err
127160 rm -f conftest.er1
127161 cat conftest.err >&5
127162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127163 (exit $ac_status); } &&
127164 { ac_try='test -z "$ac_cxx_werror_flag"
127165 || test ! -s conftest.err'
127166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127167 (eval $ac_try) 2>&5
127168 ac_status=$?
127169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127170 (exit $ac_status); }; } &&
127171 { ac_try='test -s conftest.$ac_objext'
127172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127173 (eval $ac_try) 2>&5
127174 ac_status=$?
127175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127176 (exit $ac_status); }; }; then
127177 glibcxx_cv_func__logl_use=yes
127179 echo "$as_me: failed program was:" >&5
127180 sed 's/^/| /' conftest.$ac_ext >&5
127182 glibcxx_cv_func__logl_use=no
127184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127185 ac_ext=c
127186 ac_cpp='$CPP $CPPFLAGS'
127187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
127196 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
127198 if test x$glibcxx_cv_func__logl_use = x"yes"; then
127200 for ac_func in _logl
127202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127203 echo "$as_me:$LINENO: checking for $ac_func" >&5
127204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127205 if eval "test \"\${$as_ac_var+set}\" = set"; then
127206 echo $ECHO_N "(cached) $ECHO_C" >&6
127208 if test x$gcc_no_link = xyes; then
127209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127211 { (exit 1); exit 1; }; }
127213 cat >conftest.$ac_ext <<_ACEOF
127214 /* confdefs.h. */
127215 _ACEOF
127216 cat confdefs.h >>conftest.$ac_ext
127217 cat >>conftest.$ac_ext <<_ACEOF
127218 /* end confdefs.h. */
127219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127221 #define $ac_func innocuous_$ac_func
127223 /* System header to define __stub macros and hopefully few prototypes,
127224 which can conflict with char $ac_func (); below.
127225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127226 <limits.h> exists even on freestanding compilers. */
127228 #ifdef __STDC__
127229 # include <limits.h>
127230 #else
127231 # include <assert.h>
127232 #endif
127234 #undef $ac_func
127236 /* Override any gcc2 internal prototype to avoid an error. */
127237 #ifdef __cplusplus
127238 extern "C"
127240 #endif
127241 /* We use char because int might match the return type of a gcc2
127242 builtin and then its argument prototype would still apply. */
127243 char $ac_func ();
127244 /* The GNU C library defines this for functions which it implements
127245 to always fail with ENOSYS. Some functions are actually named
127246 something starting with __ and the normal name is an alias. */
127247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127248 choke me
127249 #else
127250 char (*f) () = $ac_func;
127251 #endif
127252 #ifdef __cplusplus
127254 #endif
127257 main ()
127259 return f != $ac_func;
127261 return 0;
127263 _ACEOF
127264 rm -f conftest.$ac_objext conftest$ac_exeext
127265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127266 (eval $ac_link) 2>conftest.er1
127267 ac_status=$?
127268 grep -v '^ *+' conftest.er1 >conftest.err
127269 rm -f conftest.er1
127270 cat conftest.err >&5
127271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127272 (exit $ac_status); } &&
127273 { ac_try='test -z "$ac_c_werror_flag"
127274 || test ! -s conftest.err'
127275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127276 (eval $ac_try) 2>&5
127277 ac_status=$?
127278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127279 (exit $ac_status); }; } &&
127280 { ac_try='test -s conftest$ac_exeext'
127281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127282 (eval $ac_try) 2>&5
127283 ac_status=$?
127284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127285 (exit $ac_status); }; }; then
127286 eval "$as_ac_var=yes"
127288 echo "$as_me: failed program was:" >&5
127289 sed 's/^/| /' conftest.$ac_ext >&5
127291 eval "$as_ac_var=no"
127293 rm -f conftest.err conftest.$ac_objext \
127294 conftest$ac_exeext conftest.$ac_ext
127296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127298 if test `eval echo '${'$as_ac_var'}'` = yes; then
127299 cat >>confdefs.h <<_ACEOF
127300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127301 _ACEOF
127314 echo "$as_me:$LINENO: checking for log10l declaration" >&5
127315 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
127316 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
127317 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
127318 echo $ECHO_N "(cached) $ECHO_C" >&6
127323 ac_ext=cc
127324 ac_cpp='$CXXCPP $CPPFLAGS'
127325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127329 cat >conftest.$ac_ext <<_ACEOF
127330 /* confdefs.h. */
127331 _ACEOF
127332 cat confdefs.h >>conftest.$ac_ext
127333 cat >>conftest.$ac_ext <<_ACEOF
127334 /* end confdefs.h. */
127335 #include <math.h>
127336 #ifdef HAVE_IEEEFP_H
127337 #include <ieeefp.h>
127338 #endif
127341 main ()
127343 log10l(0);
127345 return 0;
127347 _ACEOF
127348 rm -f conftest.$ac_objext
127349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127350 (eval $ac_compile) 2>conftest.er1
127351 ac_status=$?
127352 grep -v '^ *+' conftest.er1 >conftest.err
127353 rm -f conftest.er1
127354 cat conftest.err >&5
127355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127356 (exit $ac_status); } &&
127357 { ac_try='test -z "$ac_cxx_werror_flag"
127358 || test ! -s conftest.err'
127359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127360 (eval $ac_try) 2>&5
127361 ac_status=$?
127362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127363 (exit $ac_status); }; } &&
127364 { ac_try='test -s conftest.$ac_objext'
127365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127366 (eval $ac_try) 2>&5
127367 ac_status=$?
127368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127369 (exit $ac_status); }; }; then
127370 glibcxx_cv_func_log10l_use=yes
127372 echo "$as_me: failed program was:" >&5
127373 sed 's/^/| /' conftest.$ac_ext >&5
127375 glibcxx_cv_func_log10l_use=no
127377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127378 ac_ext=c
127379 ac_cpp='$CPP $CPPFLAGS'
127380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
127389 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
127391 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
127393 for ac_func in log10l
127395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127396 echo "$as_me:$LINENO: checking for $ac_func" >&5
127397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127398 if eval "test \"\${$as_ac_var+set}\" = set"; then
127399 echo $ECHO_N "(cached) $ECHO_C" >&6
127401 if test x$gcc_no_link = xyes; then
127402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127404 { (exit 1); exit 1; }; }
127406 cat >conftest.$ac_ext <<_ACEOF
127407 /* confdefs.h. */
127408 _ACEOF
127409 cat confdefs.h >>conftest.$ac_ext
127410 cat >>conftest.$ac_ext <<_ACEOF
127411 /* end confdefs.h. */
127412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127414 #define $ac_func innocuous_$ac_func
127416 /* System header to define __stub macros and hopefully few prototypes,
127417 which can conflict with char $ac_func (); below.
127418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127419 <limits.h> exists even on freestanding compilers. */
127421 #ifdef __STDC__
127422 # include <limits.h>
127423 #else
127424 # include <assert.h>
127425 #endif
127427 #undef $ac_func
127429 /* Override any gcc2 internal prototype to avoid an error. */
127430 #ifdef __cplusplus
127431 extern "C"
127433 #endif
127434 /* We use char because int might match the return type of a gcc2
127435 builtin and then its argument prototype would still apply. */
127436 char $ac_func ();
127437 /* The GNU C library defines this for functions which it implements
127438 to always fail with ENOSYS. Some functions are actually named
127439 something starting with __ and the normal name is an alias. */
127440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127441 choke me
127442 #else
127443 char (*f) () = $ac_func;
127444 #endif
127445 #ifdef __cplusplus
127447 #endif
127450 main ()
127452 return f != $ac_func;
127454 return 0;
127456 _ACEOF
127457 rm -f conftest.$ac_objext conftest$ac_exeext
127458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127459 (eval $ac_link) 2>conftest.er1
127460 ac_status=$?
127461 grep -v '^ *+' conftest.er1 >conftest.err
127462 rm -f conftest.er1
127463 cat conftest.err >&5
127464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127465 (exit $ac_status); } &&
127466 { ac_try='test -z "$ac_c_werror_flag"
127467 || test ! -s conftest.err'
127468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127469 (eval $ac_try) 2>&5
127470 ac_status=$?
127471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127472 (exit $ac_status); }; } &&
127473 { ac_try='test -s conftest$ac_exeext'
127474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127475 (eval $ac_try) 2>&5
127476 ac_status=$?
127477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127478 (exit $ac_status); }; }; then
127479 eval "$as_ac_var=yes"
127481 echo "$as_me: failed program was:" >&5
127482 sed 's/^/| /' conftest.$ac_ext >&5
127484 eval "$as_ac_var=no"
127486 rm -f conftest.err conftest.$ac_objext \
127487 conftest$ac_exeext conftest.$ac_ext
127489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127491 if test `eval echo '${'$as_ac_var'}'` = yes; then
127492 cat >>confdefs.h <<_ACEOF
127493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127494 _ACEOF
127501 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
127502 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
127503 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
127504 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
127505 echo $ECHO_N "(cached) $ECHO_C" >&6
127510 ac_ext=cc
127511 ac_cpp='$CXXCPP $CPPFLAGS'
127512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127516 cat >conftest.$ac_ext <<_ACEOF
127517 /* confdefs.h. */
127518 _ACEOF
127519 cat confdefs.h >>conftest.$ac_ext
127520 cat >>conftest.$ac_ext <<_ACEOF
127521 /* end confdefs.h. */
127522 #include <math.h>
127523 #ifdef HAVE_IEEEFP_H
127524 #include <ieeefp.h>
127525 #endif
127528 main ()
127530 _log10l(0);
127532 return 0;
127534 _ACEOF
127535 rm -f conftest.$ac_objext
127536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127537 (eval $ac_compile) 2>conftest.er1
127538 ac_status=$?
127539 grep -v '^ *+' conftest.er1 >conftest.err
127540 rm -f conftest.er1
127541 cat conftest.err >&5
127542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127543 (exit $ac_status); } &&
127544 { ac_try='test -z "$ac_cxx_werror_flag"
127545 || test ! -s conftest.err'
127546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127547 (eval $ac_try) 2>&5
127548 ac_status=$?
127549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127550 (exit $ac_status); }; } &&
127551 { ac_try='test -s conftest.$ac_objext'
127552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127553 (eval $ac_try) 2>&5
127554 ac_status=$?
127555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127556 (exit $ac_status); }; }; then
127557 glibcxx_cv_func__log10l_use=yes
127559 echo "$as_me: failed program was:" >&5
127560 sed 's/^/| /' conftest.$ac_ext >&5
127562 glibcxx_cv_func__log10l_use=no
127564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127565 ac_ext=c
127566 ac_cpp='$CPP $CPPFLAGS'
127567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127575 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
127576 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
127578 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
127580 for ac_func in _log10l
127582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127583 echo "$as_me:$LINENO: checking for $ac_func" >&5
127584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127585 if eval "test \"\${$as_ac_var+set}\" = set"; then
127586 echo $ECHO_N "(cached) $ECHO_C" >&6
127588 if test x$gcc_no_link = xyes; then
127589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127591 { (exit 1); exit 1; }; }
127593 cat >conftest.$ac_ext <<_ACEOF
127594 /* confdefs.h. */
127595 _ACEOF
127596 cat confdefs.h >>conftest.$ac_ext
127597 cat >>conftest.$ac_ext <<_ACEOF
127598 /* end confdefs.h. */
127599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127601 #define $ac_func innocuous_$ac_func
127603 /* System header to define __stub macros and hopefully few prototypes,
127604 which can conflict with char $ac_func (); below.
127605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127606 <limits.h> exists even on freestanding compilers. */
127608 #ifdef __STDC__
127609 # include <limits.h>
127610 #else
127611 # include <assert.h>
127612 #endif
127614 #undef $ac_func
127616 /* Override any gcc2 internal prototype to avoid an error. */
127617 #ifdef __cplusplus
127618 extern "C"
127620 #endif
127621 /* We use char because int might match the return type of a gcc2
127622 builtin and then its argument prototype would still apply. */
127623 char $ac_func ();
127624 /* The GNU C library defines this for functions which it implements
127625 to always fail with ENOSYS. Some functions are actually named
127626 something starting with __ and the normal name is an alias. */
127627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127628 choke me
127629 #else
127630 char (*f) () = $ac_func;
127631 #endif
127632 #ifdef __cplusplus
127634 #endif
127637 main ()
127639 return f != $ac_func;
127641 return 0;
127643 _ACEOF
127644 rm -f conftest.$ac_objext conftest$ac_exeext
127645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127646 (eval $ac_link) 2>conftest.er1
127647 ac_status=$?
127648 grep -v '^ *+' conftest.er1 >conftest.err
127649 rm -f conftest.er1
127650 cat conftest.err >&5
127651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127652 (exit $ac_status); } &&
127653 { ac_try='test -z "$ac_c_werror_flag"
127654 || test ! -s conftest.err'
127655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127656 (eval $ac_try) 2>&5
127657 ac_status=$?
127658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127659 (exit $ac_status); }; } &&
127660 { ac_try='test -s conftest$ac_exeext'
127661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127662 (eval $ac_try) 2>&5
127663 ac_status=$?
127664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127665 (exit $ac_status); }; }; then
127666 eval "$as_ac_var=yes"
127668 echo "$as_me: failed program was:" >&5
127669 sed 's/^/| /' conftest.$ac_ext >&5
127671 eval "$as_ac_var=no"
127673 rm -f conftest.err conftest.$ac_objext \
127674 conftest$ac_exeext conftest.$ac_ext
127676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127678 if test `eval echo '${'$as_ac_var'}'` = yes; then
127679 cat >>confdefs.h <<_ACEOF
127680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127681 _ACEOF
127694 echo "$as_me:$LINENO: checking for modfl declaration" >&5
127695 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
127696 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
127697 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
127698 echo $ECHO_N "(cached) $ECHO_C" >&6
127703 ac_ext=cc
127704 ac_cpp='$CXXCPP $CPPFLAGS'
127705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127709 cat >conftest.$ac_ext <<_ACEOF
127710 /* confdefs.h. */
127711 _ACEOF
127712 cat confdefs.h >>conftest.$ac_ext
127713 cat >>conftest.$ac_ext <<_ACEOF
127714 /* end confdefs.h. */
127715 #include <math.h>
127717 main ()
127719 modfl(0, 0);
127721 return 0;
127723 _ACEOF
127724 rm -f conftest.$ac_objext
127725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127726 (eval $ac_compile) 2>conftest.er1
127727 ac_status=$?
127728 grep -v '^ *+' conftest.er1 >conftest.err
127729 rm -f conftest.er1
127730 cat conftest.err >&5
127731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127732 (exit $ac_status); } &&
127733 { ac_try='test -z "$ac_cxx_werror_flag"
127734 || test ! -s conftest.err'
127735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127736 (eval $ac_try) 2>&5
127737 ac_status=$?
127738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127739 (exit $ac_status); }; } &&
127740 { ac_try='test -s conftest.$ac_objext'
127741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127742 (eval $ac_try) 2>&5
127743 ac_status=$?
127744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127745 (exit $ac_status); }; }; then
127746 glibcxx_cv_func_modfl_use=yes
127748 echo "$as_me: failed program was:" >&5
127749 sed 's/^/| /' conftest.$ac_ext >&5
127751 glibcxx_cv_func_modfl_use=no
127753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127754 ac_ext=c
127755 ac_cpp='$CPP $CPPFLAGS'
127756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127764 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
127765 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
127767 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
127769 for ac_func in modfl
127771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127772 echo "$as_me:$LINENO: checking for $ac_func" >&5
127773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127774 if eval "test \"\${$as_ac_var+set}\" = set"; then
127775 echo $ECHO_N "(cached) $ECHO_C" >&6
127777 if test x$gcc_no_link = xyes; then
127778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127780 { (exit 1); exit 1; }; }
127782 cat >conftest.$ac_ext <<_ACEOF
127783 /* confdefs.h. */
127784 _ACEOF
127785 cat confdefs.h >>conftest.$ac_ext
127786 cat >>conftest.$ac_ext <<_ACEOF
127787 /* end confdefs.h. */
127788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127790 #define $ac_func innocuous_$ac_func
127792 /* System header to define __stub macros and hopefully few prototypes,
127793 which can conflict with char $ac_func (); below.
127794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127795 <limits.h> exists even on freestanding compilers. */
127797 #ifdef __STDC__
127798 # include <limits.h>
127799 #else
127800 # include <assert.h>
127801 #endif
127803 #undef $ac_func
127805 /* Override any gcc2 internal prototype to avoid an error. */
127806 #ifdef __cplusplus
127807 extern "C"
127809 #endif
127810 /* We use char because int might match the return type of a gcc2
127811 builtin and then its argument prototype would still apply. */
127812 char $ac_func ();
127813 /* The GNU C library defines this for functions which it implements
127814 to always fail with ENOSYS. Some functions are actually named
127815 something starting with __ and the normal name is an alias. */
127816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
127817 choke me
127818 #else
127819 char (*f) () = $ac_func;
127820 #endif
127821 #ifdef __cplusplus
127823 #endif
127826 main ()
127828 return f != $ac_func;
127830 return 0;
127832 _ACEOF
127833 rm -f conftest.$ac_objext conftest$ac_exeext
127834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
127835 (eval $ac_link) 2>conftest.er1
127836 ac_status=$?
127837 grep -v '^ *+' conftest.er1 >conftest.err
127838 rm -f conftest.er1
127839 cat conftest.err >&5
127840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127841 (exit $ac_status); } &&
127842 { ac_try='test -z "$ac_c_werror_flag"
127843 || test ! -s conftest.err'
127844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127845 (eval $ac_try) 2>&5
127846 ac_status=$?
127847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127848 (exit $ac_status); }; } &&
127849 { ac_try='test -s conftest$ac_exeext'
127850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127851 (eval $ac_try) 2>&5
127852 ac_status=$?
127853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127854 (exit $ac_status); }; }; then
127855 eval "$as_ac_var=yes"
127857 echo "$as_me: failed program was:" >&5
127858 sed 's/^/| /' conftest.$ac_ext >&5
127860 eval "$as_ac_var=no"
127862 rm -f conftest.err conftest.$ac_objext \
127863 conftest$ac_exeext conftest.$ac_ext
127865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
127866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
127867 if test `eval echo '${'$as_ac_var'}'` = yes; then
127868 cat >>confdefs.h <<_ACEOF
127869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
127870 _ACEOF
127877 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
127878 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
127879 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
127880 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
127881 echo $ECHO_N "(cached) $ECHO_C" >&6
127886 ac_ext=cc
127887 ac_cpp='$CXXCPP $CPPFLAGS'
127888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
127892 cat >conftest.$ac_ext <<_ACEOF
127893 /* confdefs.h. */
127894 _ACEOF
127895 cat confdefs.h >>conftest.$ac_ext
127896 cat >>conftest.$ac_ext <<_ACEOF
127897 /* end confdefs.h. */
127898 #include <math.h>
127900 main ()
127902 _modfl(0, 0);
127904 return 0;
127906 _ACEOF
127907 rm -f conftest.$ac_objext
127908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
127909 (eval $ac_compile) 2>conftest.er1
127910 ac_status=$?
127911 grep -v '^ *+' conftest.er1 >conftest.err
127912 rm -f conftest.er1
127913 cat conftest.err >&5
127914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127915 (exit $ac_status); } &&
127916 { ac_try='test -z "$ac_cxx_werror_flag"
127917 || test ! -s conftest.err'
127918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127919 (eval $ac_try) 2>&5
127920 ac_status=$?
127921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127922 (exit $ac_status); }; } &&
127923 { ac_try='test -s conftest.$ac_objext'
127924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
127925 (eval $ac_try) 2>&5
127926 ac_status=$?
127927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
127928 (exit $ac_status); }; }; then
127929 glibcxx_cv_func__modfl_use=yes
127931 echo "$as_me: failed program was:" >&5
127932 sed 's/^/| /' conftest.$ac_ext >&5
127934 glibcxx_cv_func__modfl_use=no
127936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
127937 ac_ext=c
127938 ac_cpp='$CPP $CPPFLAGS'
127939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
127940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
127941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
127947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
127948 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
127950 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
127952 for ac_func in _modfl
127954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
127955 echo "$as_me:$LINENO: checking for $ac_func" >&5
127956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
127957 if eval "test \"\${$as_ac_var+set}\" = set"; then
127958 echo $ECHO_N "(cached) $ECHO_C" >&6
127960 if test x$gcc_no_link = xyes; then
127961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
127962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
127963 { (exit 1); exit 1; }; }
127965 cat >conftest.$ac_ext <<_ACEOF
127966 /* confdefs.h. */
127967 _ACEOF
127968 cat confdefs.h >>conftest.$ac_ext
127969 cat >>conftest.$ac_ext <<_ACEOF
127970 /* end confdefs.h. */
127971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
127972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
127973 #define $ac_func innocuous_$ac_func
127975 /* System header to define __stub macros and hopefully few prototypes,
127976 which can conflict with char $ac_func (); below.
127977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
127978 <limits.h> exists even on freestanding compilers. */
127980 #ifdef __STDC__
127981 # include <limits.h>
127982 #else
127983 # include <assert.h>
127984 #endif
127986 #undef $ac_func
127988 /* Override any gcc2 internal prototype to avoid an error. */
127989 #ifdef __cplusplus
127990 extern "C"
127992 #endif
127993 /* We use char because int might match the return type of a gcc2
127994 builtin and then its argument prototype would still apply. */
127995 char $ac_func ();
127996 /* The GNU C library defines this for functions which it implements
127997 to always fail with ENOSYS. Some functions are actually named
127998 something starting with __ and the normal name is an alias. */
127999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128000 choke me
128001 #else
128002 char (*f) () = $ac_func;
128003 #endif
128004 #ifdef __cplusplus
128006 #endif
128009 main ()
128011 return f != $ac_func;
128013 return 0;
128015 _ACEOF
128016 rm -f conftest.$ac_objext conftest$ac_exeext
128017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128018 (eval $ac_link) 2>conftest.er1
128019 ac_status=$?
128020 grep -v '^ *+' conftest.er1 >conftest.err
128021 rm -f conftest.er1
128022 cat conftest.err >&5
128023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128024 (exit $ac_status); } &&
128025 { ac_try='test -z "$ac_c_werror_flag"
128026 || test ! -s conftest.err'
128027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128028 (eval $ac_try) 2>&5
128029 ac_status=$?
128030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128031 (exit $ac_status); }; } &&
128032 { ac_try='test -s conftest$ac_exeext'
128033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128034 (eval $ac_try) 2>&5
128035 ac_status=$?
128036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128037 (exit $ac_status); }; }; then
128038 eval "$as_ac_var=yes"
128040 echo "$as_me: failed program was:" >&5
128041 sed 's/^/| /' conftest.$ac_ext >&5
128043 eval "$as_ac_var=no"
128045 rm -f conftest.err conftest.$ac_objext \
128046 conftest$ac_exeext conftest.$ac_ext
128048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128050 if test `eval echo '${'$as_ac_var'}'` = yes; then
128051 cat >>confdefs.h <<_ACEOF
128052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128053 _ACEOF
128066 echo "$as_me:$LINENO: checking for powl declaration" >&5
128067 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
128068 if test x${glibcxx_cv_func_powl_use+set} != xset; then
128069 if test "${glibcxx_cv_func_powl_use+set}" = set; then
128070 echo $ECHO_N "(cached) $ECHO_C" >&6
128075 ac_ext=cc
128076 ac_cpp='$CXXCPP $CPPFLAGS'
128077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128081 cat >conftest.$ac_ext <<_ACEOF
128082 /* confdefs.h. */
128083 _ACEOF
128084 cat confdefs.h >>conftest.$ac_ext
128085 cat >>conftest.$ac_ext <<_ACEOF
128086 /* end confdefs.h. */
128087 #include <math.h>
128089 main ()
128091 powl(0, 0);
128093 return 0;
128095 _ACEOF
128096 rm -f conftest.$ac_objext
128097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128098 (eval $ac_compile) 2>conftest.er1
128099 ac_status=$?
128100 grep -v '^ *+' conftest.er1 >conftest.err
128101 rm -f conftest.er1
128102 cat conftest.err >&5
128103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128104 (exit $ac_status); } &&
128105 { ac_try='test -z "$ac_cxx_werror_flag"
128106 || test ! -s conftest.err'
128107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128108 (eval $ac_try) 2>&5
128109 ac_status=$?
128110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128111 (exit $ac_status); }; } &&
128112 { ac_try='test -s conftest.$ac_objext'
128113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128114 (eval $ac_try) 2>&5
128115 ac_status=$?
128116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128117 (exit $ac_status); }; }; then
128118 glibcxx_cv_func_powl_use=yes
128120 echo "$as_me: failed program was:" >&5
128121 sed 's/^/| /' conftest.$ac_ext >&5
128123 glibcxx_cv_func_powl_use=no
128125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128126 ac_ext=c
128127 ac_cpp='$CPP $CPPFLAGS'
128128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
128137 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
128139 if test x$glibcxx_cv_func_powl_use = x"yes"; then
128141 for ac_func in powl
128143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128144 echo "$as_me:$LINENO: checking for $ac_func" >&5
128145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128146 if eval "test \"\${$as_ac_var+set}\" = set"; then
128147 echo $ECHO_N "(cached) $ECHO_C" >&6
128149 if test x$gcc_no_link = xyes; then
128150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128152 { (exit 1); exit 1; }; }
128154 cat >conftest.$ac_ext <<_ACEOF
128155 /* confdefs.h. */
128156 _ACEOF
128157 cat confdefs.h >>conftest.$ac_ext
128158 cat >>conftest.$ac_ext <<_ACEOF
128159 /* end confdefs.h. */
128160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128162 #define $ac_func innocuous_$ac_func
128164 /* System header to define __stub macros and hopefully few prototypes,
128165 which can conflict with char $ac_func (); below.
128166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128167 <limits.h> exists even on freestanding compilers. */
128169 #ifdef __STDC__
128170 # include <limits.h>
128171 #else
128172 # include <assert.h>
128173 #endif
128175 #undef $ac_func
128177 /* Override any gcc2 internal prototype to avoid an error. */
128178 #ifdef __cplusplus
128179 extern "C"
128181 #endif
128182 /* We use char because int might match the return type of a gcc2
128183 builtin and then its argument prototype would still apply. */
128184 char $ac_func ();
128185 /* The GNU C library defines this for functions which it implements
128186 to always fail with ENOSYS. Some functions are actually named
128187 something starting with __ and the normal name is an alias. */
128188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128189 choke me
128190 #else
128191 char (*f) () = $ac_func;
128192 #endif
128193 #ifdef __cplusplus
128195 #endif
128198 main ()
128200 return f != $ac_func;
128202 return 0;
128204 _ACEOF
128205 rm -f conftest.$ac_objext conftest$ac_exeext
128206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128207 (eval $ac_link) 2>conftest.er1
128208 ac_status=$?
128209 grep -v '^ *+' conftest.er1 >conftest.err
128210 rm -f conftest.er1
128211 cat conftest.err >&5
128212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128213 (exit $ac_status); } &&
128214 { ac_try='test -z "$ac_c_werror_flag"
128215 || test ! -s conftest.err'
128216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128217 (eval $ac_try) 2>&5
128218 ac_status=$?
128219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128220 (exit $ac_status); }; } &&
128221 { ac_try='test -s conftest$ac_exeext'
128222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128223 (eval $ac_try) 2>&5
128224 ac_status=$?
128225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128226 (exit $ac_status); }; }; then
128227 eval "$as_ac_var=yes"
128229 echo "$as_me: failed program was:" >&5
128230 sed 's/^/| /' conftest.$ac_ext >&5
128232 eval "$as_ac_var=no"
128234 rm -f conftest.err conftest.$ac_objext \
128235 conftest$ac_exeext conftest.$ac_ext
128237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128239 if test `eval echo '${'$as_ac_var'}'` = yes; then
128240 cat >>confdefs.h <<_ACEOF
128241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128242 _ACEOF
128249 echo "$as_me:$LINENO: checking for _powl declaration" >&5
128250 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
128251 if test x${glibcxx_cv_func__powl_use+set} != xset; then
128252 if test "${glibcxx_cv_func__powl_use+set}" = set; then
128253 echo $ECHO_N "(cached) $ECHO_C" >&6
128258 ac_ext=cc
128259 ac_cpp='$CXXCPP $CPPFLAGS'
128260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128264 cat >conftest.$ac_ext <<_ACEOF
128265 /* confdefs.h. */
128266 _ACEOF
128267 cat confdefs.h >>conftest.$ac_ext
128268 cat >>conftest.$ac_ext <<_ACEOF
128269 /* end confdefs.h. */
128270 #include <math.h>
128272 main ()
128274 _powl(0, 0);
128276 return 0;
128278 _ACEOF
128279 rm -f conftest.$ac_objext
128280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128281 (eval $ac_compile) 2>conftest.er1
128282 ac_status=$?
128283 grep -v '^ *+' conftest.er1 >conftest.err
128284 rm -f conftest.er1
128285 cat conftest.err >&5
128286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128287 (exit $ac_status); } &&
128288 { ac_try='test -z "$ac_cxx_werror_flag"
128289 || test ! -s conftest.err'
128290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128291 (eval $ac_try) 2>&5
128292 ac_status=$?
128293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128294 (exit $ac_status); }; } &&
128295 { ac_try='test -s conftest.$ac_objext'
128296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128297 (eval $ac_try) 2>&5
128298 ac_status=$?
128299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128300 (exit $ac_status); }; }; then
128301 glibcxx_cv_func__powl_use=yes
128303 echo "$as_me: failed program was:" >&5
128304 sed 's/^/| /' conftest.$ac_ext >&5
128306 glibcxx_cv_func__powl_use=no
128308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128309 ac_ext=c
128310 ac_cpp='$CPP $CPPFLAGS'
128311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
128320 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
128322 if test x$glibcxx_cv_func__powl_use = x"yes"; then
128324 for ac_func in _powl
128326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128327 echo "$as_me:$LINENO: checking for $ac_func" >&5
128328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128329 if eval "test \"\${$as_ac_var+set}\" = set"; then
128330 echo $ECHO_N "(cached) $ECHO_C" >&6
128332 if test x$gcc_no_link = xyes; then
128333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128335 { (exit 1); exit 1; }; }
128337 cat >conftest.$ac_ext <<_ACEOF
128338 /* confdefs.h. */
128339 _ACEOF
128340 cat confdefs.h >>conftest.$ac_ext
128341 cat >>conftest.$ac_ext <<_ACEOF
128342 /* end confdefs.h. */
128343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128345 #define $ac_func innocuous_$ac_func
128347 /* System header to define __stub macros and hopefully few prototypes,
128348 which can conflict with char $ac_func (); below.
128349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128350 <limits.h> exists even on freestanding compilers. */
128352 #ifdef __STDC__
128353 # include <limits.h>
128354 #else
128355 # include <assert.h>
128356 #endif
128358 #undef $ac_func
128360 /* Override any gcc2 internal prototype to avoid an error. */
128361 #ifdef __cplusplus
128362 extern "C"
128364 #endif
128365 /* We use char because int might match the return type of a gcc2
128366 builtin and then its argument prototype would still apply. */
128367 char $ac_func ();
128368 /* The GNU C library defines this for functions which it implements
128369 to always fail with ENOSYS. Some functions are actually named
128370 something starting with __ and the normal name is an alias. */
128371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128372 choke me
128373 #else
128374 char (*f) () = $ac_func;
128375 #endif
128376 #ifdef __cplusplus
128378 #endif
128381 main ()
128383 return f != $ac_func;
128385 return 0;
128387 _ACEOF
128388 rm -f conftest.$ac_objext conftest$ac_exeext
128389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128390 (eval $ac_link) 2>conftest.er1
128391 ac_status=$?
128392 grep -v '^ *+' conftest.er1 >conftest.err
128393 rm -f conftest.er1
128394 cat conftest.err >&5
128395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128396 (exit $ac_status); } &&
128397 { ac_try='test -z "$ac_c_werror_flag"
128398 || test ! -s conftest.err'
128399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128400 (eval $ac_try) 2>&5
128401 ac_status=$?
128402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128403 (exit $ac_status); }; } &&
128404 { ac_try='test -s conftest$ac_exeext'
128405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128406 (eval $ac_try) 2>&5
128407 ac_status=$?
128408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128409 (exit $ac_status); }; }; then
128410 eval "$as_ac_var=yes"
128412 echo "$as_me: failed program was:" >&5
128413 sed 's/^/| /' conftest.$ac_ext >&5
128415 eval "$as_ac_var=no"
128417 rm -f conftest.err conftest.$ac_objext \
128418 conftest$ac_exeext conftest.$ac_ext
128420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128422 if test `eval echo '${'$as_ac_var'}'` = yes; then
128423 cat >>confdefs.h <<_ACEOF
128424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128425 _ACEOF
128438 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
128439 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
128440 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
128441 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
128442 echo $ECHO_N "(cached) $ECHO_C" >&6
128447 ac_ext=cc
128448 ac_cpp='$CXXCPP $CPPFLAGS'
128449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128453 cat >conftest.$ac_ext <<_ACEOF
128454 /* confdefs.h. */
128455 _ACEOF
128456 cat confdefs.h >>conftest.$ac_ext
128457 cat >>conftest.$ac_ext <<_ACEOF
128458 /* end confdefs.h. */
128459 #include <math.h>
128460 #ifdef HAVE_IEEEFP_H
128461 #include <ieeefp.h>
128462 #endif
128465 main ()
128467 sqrtl(0);
128469 return 0;
128471 _ACEOF
128472 rm -f conftest.$ac_objext
128473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128474 (eval $ac_compile) 2>conftest.er1
128475 ac_status=$?
128476 grep -v '^ *+' conftest.er1 >conftest.err
128477 rm -f conftest.er1
128478 cat conftest.err >&5
128479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128480 (exit $ac_status); } &&
128481 { ac_try='test -z "$ac_cxx_werror_flag"
128482 || test ! -s conftest.err'
128483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128484 (eval $ac_try) 2>&5
128485 ac_status=$?
128486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128487 (exit $ac_status); }; } &&
128488 { ac_try='test -s conftest.$ac_objext'
128489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128490 (eval $ac_try) 2>&5
128491 ac_status=$?
128492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128493 (exit $ac_status); }; }; then
128494 glibcxx_cv_func_sqrtl_use=yes
128496 echo "$as_me: failed program was:" >&5
128497 sed 's/^/| /' conftest.$ac_ext >&5
128499 glibcxx_cv_func_sqrtl_use=no
128501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128502 ac_ext=c
128503 ac_cpp='$CPP $CPPFLAGS'
128504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
128513 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
128515 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
128517 for ac_func in sqrtl
128519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128520 echo "$as_me:$LINENO: checking for $ac_func" >&5
128521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128522 if eval "test \"\${$as_ac_var+set}\" = set"; then
128523 echo $ECHO_N "(cached) $ECHO_C" >&6
128525 if test x$gcc_no_link = xyes; then
128526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128528 { (exit 1); exit 1; }; }
128530 cat >conftest.$ac_ext <<_ACEOF
128531 /* confdefs.h. */
128532 _ACEOF
128533 cat confdefs.h >>conftest.$ac_ext
128534 cat >>conftest.$ac_ext <<_ACEOF
128535 /* end confdefs.h. */
128536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128538 #define $ac_func innocuous_$ac_func
128540 /* System header to define __stub macros and hopefully few prototypes,
128541 which can conflict with char $ac_func (); below.
128542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128543 <limits.h> exists even on freestanding compilers. */
128545 #ifdef __STDC__
128546 # include <limits.h>
128547 #else
128548 # include <assert.h>
128549 #endif
128551 #undef $ac_func
128553 /* Override any gcc2 internal prototype to avoid an error. */
128554 #ifdef __cplusplus
128555 extern "C"
128557 #endif
128558 /* We use char because int might match the return type of a gcc2
128559 builtin and then its argument prototype would still apply. */
128560 char $ac_func ();
128561 /* The GNU C library defines this for functions which it implements
128562 to always fail with ENOSYS. Some functions are actually named
128563 something starting with __ and the normal name is an alias. */
128564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128565 choke me
128566 #else
128567 char (*f) () = $ac_func;
128568 #endif
128569 #ifdef __cplusplus
128571 #endif
128574 main ()
128576 return f != $ac_func;
128578 return 0;
128580 _ACEOF
128581 rm -f conftest.$ac_objext conftest$ac_exeext
128582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128583 (eval $ac_link) 2>conftest.er1
128584 ac_status=$?
128585 grep -v '^ *+' conftest.er1 >conftest.err
128586 rm -f conftest.er1
128587 cat conftest.err >&5
128588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128589 (exit $ac_status); } &&
128590 { ac_try='test -z "$ac_c_werror_flag"
128591 || test ! -s conftest.err'
128592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128593 (eval $ac_try) 2>&5
128594 ac_status=$?
128595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128596 (exit $ac_status); }; } &&
128597 { ac_try='test -s conftest$ac_exeext'
128598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128599 (eval $ac_try) 2>&5
128600 ac_status=$?
128601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128602 (exit $ac_status); }; }; then
128603 eval "$as_ac_var=yes"
128605 echo "$as_me: failed program was:" >&5
128606 sed 's/^/| /' conftest.$ac_ext >&5
128608 eval "$as_ac_var=no"
128610 rm -f conftest.err conftest.$ac_objext \
128611 conftest$ac_exeext conftest.$ac_ext
128613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128615 if test `eval echo '${'$as_ac_var'}'` = yes; then
128616 cat >>confdefs.h <<_ACEOF
128617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128618 _ACEOF
128625 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
128626 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
128627 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
128628 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
128629 echo $ECHO_N "(cached) $ECHO_C" >&6
128634 ac_ext=cc
128635 ac_cpp='$CXXCPP $CPPFLAGS'
128636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128640 cat >conftest.$ac_ext <<_ACEOF
128641 /* confdefs.h. */
128642 _ACEOF
128643 cat confdefs.h >>conftest.$ac_ext
128644 cat >>conftest.$ac_ext <<_ACEOF
128645 /* end confdefs.h. */
128646 #include <math.h>
128647 #ifdef HAVE_IEEEFP_H
128648 #include <ieeefp.h>
128649 #endif
128652 main ()
128654 _sqrtl(0);
128656 return 0;
128658 _ACEOF
128659 rm -f conftest.$ac_objext
128660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128661 (eval $ac_compile) 2>conftest.er1
128662 ac_status=$?
128663 grep -v '^ *+' conftest.er1 >conftest.err
128664 rm -f conftest.er1
128665 cat conftest.err >&5
128666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128667 (exit $ac_status); } &&
128668 { ac_try='test -z "$ac_cxx_werror_flag"
128669 || test ! -s conftest.err'
128670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128671 (eval $ac_try) 2>&5
128672 ac_status=$?
128673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128674 (exit $ac_status); }; } &&
128675 { ac_try='test -s conftest.$ac_objext'
128676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128677 (eval $ac_try) 2>&5
128678 ac_status=$?
128679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128680 (exit $ac_status); }; }; then
128681 glibcxx_cv_func__sqrtl_use=yes
128683 echo "$as_me: failed program was:" >&5
128684 sed 's/^/| /' conftest.$ac_ext >&5
128686 glibcxx_cv_func__sqrtl_use=no
128688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128689 ac_ext=c
128690 ac_cpp='$CPP $CPPFLAGS'
128691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
128700 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
128702 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
128704 for ac_func in _sqrtl
128706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128707 echo "$as_me:$LINENO: checking for $ac_func" >&5
128708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128709 if eval "test \"\${$as_ac_var+set}\" = set"; then
128710 echo $ECHO_N "(cached) $ECHO_C" >&6
128712 if test x$gcc_no_link = xyes; then
128713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128715 { (exit 1); exit 1; }; }
128717 cat >conftest.$ac_ext <<_ACEOF
128718 /* confdefs.h. */
128719 _ACEOF
128720 cat confdefs.h >>conftest.$ac_ext
128721 cat >>conftest.$ac_ext <<_ACEOF
128722 /* end confdefs.h. */
128723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128725 #define $ac_func innocuous_$ac_func
128727 /* System header to define __stub macros and hopefully few prototypes,
128728 which can conflict with char $ac_func (); below.
128729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128730 <limits.h> exists even on freestanding compilers. */
128732 #ifdef __STDC__
128733 # include <limits.h>
128734 #else
128735 # include <assert.h>
128736 #endif
128738 #undef $ac_func
128740 /* Override any gcc2 internal prototype to avoid an error. */
128741 #ifdef __cplusplus
128742 extern "C"
128744 #endif
128745 /* We use char because int might match the return type of a gcc2
128746 builtin and then its argument prototype would still apply. */
128747 char $ac_func ();
128748 /* The GNU C library defines this for functions which it implements
128749 to always fail with ENOSYS. Some functions are actually named
128750 something starting with __ and the normal name is an alias. */
128751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128752 choke me
128753 #else
128754 char (*f) () = $ac_func;
128755 #endif
128756 #ifdef __cplusplus
128758 #endif
128761 main ()
128763 return f != $ac_func;
128765 return 0;
128767 _ACEOF
128768 rm -f conftest.$ac_objext conftest$ac_exeext
128769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128770 (eval $ac_link) 2>conftest.er1
128771 ac_status=$?
128772 grep -v '^ *+' conftest.er1 >conftest.err
128773 rm -f conftest.er1
128774 cat conftest.err >&5
128775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128776 (exit $ac_status); } &&
128777 { ac_try='test -z "$ac_c_werror_flag"
128778 || test ! -s conftest.err'
128779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128780 (eval $ac_try) 2>&5
128781 ac_status=$?
128782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128783 (exit $ac_status); }; } &&
128784 { ac_try='test -s conftest$ac_exeext'
128785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128786 (eval $ac_try) 2>&5
128787 ac_status=$?
128788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128789 (exit $ac_status); }; }; then
128790 eval "$as_ac_var=yes"
128792 echo "$as_me: failed program was:" >&5
128793 sed 's/^/| /' conftest.$ac_ext >&5
128795 eval "$as_ac_var=no"
128797 rm -f conftest.err conftest.$ac_objext \
128798 conftest$ac_exeext conftest.$ac_ext
128800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128802 if test `eval echo '${'$as_ac_var'}'` = yes; then
128803 cat >>confdefs.h <<_ACEOF
128804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128805 _ACEOF
128818 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
128819 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
128820 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
128821 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
128822 echo $ECHO_N "(cached) $ECHO_C" >&6
128827 ac_ext=cc
128828 ac_cpp='$CXXCPP $CPPFLAGS'
128829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
128833 cat >conftest.$ac_ext <<_ACEOF
128834 /* confdefs.h. */
128835 _ACEOF
128836 cat confdefs.h >>conftest.$ac_ext
128837 cat >>conftest.$ac_ext <<_ACEOF
128838 /* end confdefs.h. */
128839 #include <math.h>
128841 main ()
128843 sincosl(0, 0, 0);
128845 return 0;
128847 _ACEOF
128848 rm -f conftest.$ac_objext
128849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
128850 (eval $ac_compile) 2>conftest.er1
128851 ac_status=$?
128852 grep -v '^ *+' conftest.er1 >conftest.err
128853 rm -f conftest.er1
128854 cat conftest.err >&5
128855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128856 (exit $ac_status); } &&
128857 { ac_try='test -z "$ac_cxx_werror_flag"
128858 || test ! -s conftest.err'
128859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128860 (eval $ac_try) 2>&5
128861 ac_status=$?
128862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128863 (exit $ac_status); }; } &&
128864 { ac_try='test -s conftest.$ac_objext'
128865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128866 (eval $ac_try) 2>&5
128867 ac_status=$?
128868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128869 (exit $ac_status); }; }; then
128870 glibcxx_cv_func_sincosl_use=yes
128872 echo "$as_me: failed program was:" >&5
128873 sed 's/^/| /' conftest.$ac_ext >&5
128875 glibcxx_cv_func_sincosl_use=no
128877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
128878 ac_ext=c
128879 ac_cpp='$CPP $CPPFLAGS'
128880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
128881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
128882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
128888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
128889 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
128891 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
128893 for ac_func in sincosl
128895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
128896 echo "$as_me:$LINENO: checking for $ac_func" >&5
128897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
128898 if eval "test \"\${$as_ac_var+set}\" = set"; then
128899 echo $ECHO_N "(cached) $ECHO_C" >&6
128901 if test x$gcc_no_link = xyes; then
128902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
128903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
128904 { (exit 1); exit 1; }; }
128906 cat >conftest.$ac_ext <<_ACEOF
128907 /* confdefs.h. */
128908 _ACEOF
128909 cat confdefs.h >>conftest.$ac_ext
128910 cat >>conftest.$ac_ext <<_ACEOF
128911 /* end confdefs.h. */
128912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
128913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
128914 #define $ac_func innocuous_$ac_func
128916 /* System header to define __stub macros and hopefully few prototypes,
128917 which can conflict with char $ac_func (); below.
128918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
128919 <limits.h> exists even on freestanding compilers. */
128921 #ifdef __STDC__
128922 # include <limits.h>
128923 #else
128924 # include <assert.h>
128925 #endif
128927 #undef $ac_func
128929 /* Override any gcc2 internal prototype to avoid an error. */
128930 #ifdef __cplusplus
128931 extern "C"
128933 #endif
128934 /* We use char because int might match the return type of a gcc2
128935 builtin and then its argument prototype would still apply. */
128936 char $ac_func ();
128937 /* The GNU C library defines this for functions which it implements
128938 to always fail with ENOSYS. Some functions are actually named
128939 something starting with __ and the normal name is an alias. */
128940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
128941 choke me
128942 #else
128943 char (*f) () = $ac_func;
128944 #endif
128945 #ifdef __cplusplus
128947 #endif
128950 main ()
128952 return f != $ac_func;
128954 return 0;
128956 _ACEOF
128957 rm -f conftest.$ac_objext conftest$ac_exeext
128958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
128959 (eval $ac_link) 2>conftest.er1
128960 ac_status=$?
128961 grep -v '^ *+' conftest.er1 >conftest.err
128962 rm -f conftest.er1
128963 cat conftest.err >&5
128964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128965 (exit $ac_status); } &&
128966 { ac_try='test -z "$ac_c_werror_flag"
128967 || test ! -s conftest.err'
128968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128969 (eval $ac_try) 2>&5
128970 ac_status=$?
128971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128972 (exit $ac_status); }; } &&
128973 { ac_try='test -s conftest$ac_exeext'
128974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
128975 (eval $ac_try) 2>&5
128976 ac_status=$?
128977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
128978 (exit $ac_status); }; }; then
128979 eval "$as_ac_var=yes"
128981 echo "$as_me: failed program was:" >&5
128982 sed 's/^/| /' conftest.$ac_ext >&5
128984 eval "$as_ac_var=no"
128986 rm -f conftest.err conftest.$ac_objext \
128987 conftest$ac_exeext conftest.$ac_ext
128989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
128990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
128991 if test `eval echo '${'$as_ac_var'}'` = yes; then
128992 cat >>confdefs.h <<_ACEOF
128993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
128994 _ACEOF
129001 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
129002 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
129003 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
129004 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
129005 echo $ECHO_N "(cached) $ECHO_C" >&6
129010 ac_ext=cc
129011 ac_cpp='$CXXCPP $CPPFLAGS'
129012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129016 cat >conftest.$ac_ext <<_ACEOF
129017 /* confdefs.h. */
129018 _ACEOF
129019 cat confdefs.h >>conftest.$ac_ext
129020 cat >>conftest.$ac_ext <<_ACEOF
129021 /* end confdefs.h. */
129022 #include <math.h>
129024 main ()
129026 _sincosl(0, 0, 0);
129028 return 0;
129030 _ACEOF
129031 rm -f conftest.$ac_objext
129032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129033 (eval $ac_compile) 2>conftest.er1
129034 ac_status=$?
129035 grep -v '^ *+' conftest.er1 >conftest.err
129036 rm -f conftest.er1
129037 cat conftest.err >&5
129038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129039 (exit $ac_status); } &&
129040 { ac_try='test -z "$ac_cxx_werror_flag"
129041 || test ! -s conftest.err'
129042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129043 (eval $ac_try) 2>&5
129044 ac_status=$?
129045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129046 (exit $ac_status); }; } &&
129047 { ac_try='test -s conftest.$ac_objext'
129048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129049 (eval $ac_try) 2>&5
129050 ac_status=$?
129051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129052 (exit $ac_status); }; }; then
129053 glibcxx_cv_func__sincosl_use=yes
129055 echo "$as_me: failed program was:" >&5
129056 sed 's/^/| /' conftest.$ac_ext >&5
129058 glibcxx_cv_func__sincosl_use=no
129060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129061 ac_ext=c
129062 ac_cpp='$CPP $CPPFLAGS'
129063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
129072 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
129074 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
129076 for ac_func in _sincosl
129078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129079 echo "$as_me:$LINENO: checking for $ac_func" >&5
129080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129081 if eval "test \"\${$as_ac_var+set}\" = set"; then
129082 echo $ECHO_N "(cached) $ECHO_C" >&6
129084 if test x$gcc_no_link = xyes; then
129085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129087 { (exit 1); exit 1; }; }
129089 cat >conftest.$ac_ext <<_ACEOF
129090 /* confdefs.h. */
129091 _ACEOF
129092 cat confdefs.h >>conftest.$ac_ext
129093 cat >>conftest.$ac_ext <<_ACEOF
129094 /* end confdefs.h. */
129095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129097 #define $ac_func innocuous_$ac_func
129099 /* System header to define __stub macros and hopefully few prototypes,
129100 which can conflict with char $ac_func (); below.
129101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129102 <limits.h> exists even on freestanding compilers. */
129104 #ifdef __STDC__
129105 # include <limits.h>
129106 #else
129107 # include <assert.h>
129108 #endif
129110 #undef $ac_func
129112 /* Override any gcc2 internal prototype to avoid an error. */
129113 #ifdef __cplusplus
129114 extern "C"
129116 #endif
129117 /* We use char because int might match the return type of a gcc2
129118 builtin and then its argument prototype would still apply. */
129119 char $ac_func ();
129120 /* The GNU C library defines this for functions which it implements
129121 to always fail with ENOSYS. Some functions are actually named
129122 something starting with __ and the normal name is an alias. */
129123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129124 choke me
129125 #else
129126 char (*f) () = $ac_func;
129127 #endif
129128 #ifdef __cplusplus
129130 #endif
129133 main ()
129135 return f != $ac_func;
129137 return 0;
129139 _ACEOF
129140 rm -f conftest.$ac_objext conftest$ac_exeext
129141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129142 (eval $ac_link) 2>conftest.er1
129143 ac_status=$?
129144 grep -v '^ *+' conftest.er1 >conftest.err
129145 rm -f conftest.er1
129146 cat conftest.err >&5
129147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129148 (exit $ac_status); } &&
129149 { ac_try='test -z "$ac_c_werror_flag"
129150 || test ! -s conftest.err'
129151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129152 (eval $ac_try) 2>&5
129153 ac_status=$?
129154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129155 (exit $ac_status); }; } &&
129156 { ac_try='test -s conftest$ac_exeext'
129157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129158 (eval $ac_try) 2>&5
129159 ac_status=$?
129160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129161 (exit $ac_status); }; }; then
129162 eval "$as_ac_var=yes"
129164 echo "$as_me: failed program was:" >&5
129165 sed 's/^/| /' conftest.$ac_ext >&5
129167 eval "$as_ac_var=no"
129169 rm -f conftest.err conftest.$ac_objext \
129170 conftest$ac_exeext conftest.$ac_ext
129172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129174 if test `eval echo '${'$as_ac_var'}'` = yes; then
129175 cat >>confdefs.h <<_ACEOF
129176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129177 _ACEOF
129190 echo "$as_me:$LINENO: checking for finitel declaration" >&5
129191 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
129192 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
129193 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
129194 echo $ECHO_N "(cached) $ECHO_C" >&6
129199 ac_ext=cc
129200 ac_cpp='$CXXCPP $CPPFLAGS'
129201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129205 cat >conftest.$ac_ext <<_ACEOF
129206 /* confdefs.h. */
129207 _ACEOF
129208 cat confdefs.h >>conftest.$ac_ext
129209 cat >>conftest.$ac_ext <<_ACEOF
129210 /* end confdefs.h. */
129211 #include <math.h>
129212 #ifdef HAVE_IEEEFP_H
129213 #include <ieeefp.h>
129214 #endif
129217 main ()
129219 finitel(0);
129221 return 0;
129223 _ACEOF
129224 rm -f conftest.$ac_objext
129225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129226 (eval $ac_compile) 2>conftest.er1
129227 ac_status=$?
129228 grep -v '^ *+' conftest.er1 >conftest.err
129229 rm -f conftest.er1
129230 cat conftest.err >&5
129231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129232 (exit $ac_status); } &&
129233 { ac_try='test -z "$ac_cxx_werror_flag"
129234 || test ! -s conftest.err'
129235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129236 (eval $ac_try) 2>&5
129237 ac_status=$?
129238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129239 (exit $ac_status); }; } &&
129240 { ac_try='test -s conftest.$ac_objext'
129241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129242 (eval $ac_try) 2>&5
129243 ac_status=$?
129244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129245 (exit $ac_status); }; }; then
129246 glibcxx_cv_func_finitel_use=yes
129248 echo "$as_me: failed program was:" >&5
129249 sed 's/^/| /' conftest.$ac_ext >&5
129251 glibcxx_cv_func_finitel_use=no
129253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129254 ac_ext=c
129255 ac_cpp='$CPP $CPPFLAGS'
129256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
129265 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
129267 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
129269 for ac_func in finitel
129271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129272 echo "$as_me:$LINENO: checking for $ac_func" >&5
129273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129274 if eval "test \"\${$as_ac_var+set}\" = set"; then
129275 echo $ECHO_N "(cached) $ECHO_C" >&6
129277 if test x$gcc_no_link = xyes; then
129278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129280 { (exit 1); exit 1; }; }
129282 cat >conftest.$ac_ext <<_ACEOF
129283 /* confdefs.h. */
129284 _ACEOF
129285 cat confdefs.h >>conftest.$ac_ext
129286 cat >>conftest.$ac_ext <<_ACEOF
129287 /* end confdefs.h. */
129288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129290 #define $ac_func innocuous_$ac_func
129292 /* System header to define __stub macros and hopefully few prototypes,
129293 which can conflict with char $ac_func (); below.
129294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129295 <limits.h> exists even on freestanding compilers. */
129297 #ifdef __STDC__
129298 # include <limits.h>
129299 #else
129300 # include <assert.h>
129301 #endif
129303 #undef $ac_func
129305 /* Override any gcc2 internal prototype to avoid an error. */
129306 #ifdef __cplusplus
129307 extern "C"
129309 #endif
129310 /* We use char because int might match the return type of a gcc2
129311 builtin and then its argument prototype would still apply. */
129312 char $ac_func ();
129313 /* The GNU C library defines this for functions which it implements
129314 to always fail with ENOSYS. Some functions are actually named
129315 something starting with __ and the normal name is an alias. */
129316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129317 choke me
129318 #else
129319 char (*f) () = $ac_func;
129320 #endif
129321 #ifdef __cplusplus
129323 #endif
129326 main ()
129328 return f != $ac_func;
129330 return 0;
129332 _ACEOF
129333 rm -f conftest.$ac_objext conftest$ac_exeext
129334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129335 (eval $ac_link) 2>conftest.er1
129336 ac_status=$?
129337 grep -v '^ *+' conftest.er1 >conftest.err
129338 rm -f conftest.er1
129339 cat conftest.err >&5
129340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129341 (exit $ac_status); } &&
129342 { ac_try='test -z "$ac_c_werror_flag"
129343 || test ! -s conftest.err'
129344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129345 (eval $ac_try) 2>&5
129346 ac_status=$?
129347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129348 (exit $ac_status); }; } &&
129349 { ac_try='test -s conftest$ac_exeext'
129350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129351 (eval $ac_try) 2>&5
129352 ac_status=$?
129353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129354 (exit $ac_status); }; }; then
129355 eval "$as_ac_var=yes"
129357 echo "$as_me: failed program was:" >&5
129358 sed 's/^/| /' conftest.$ac_ext >&5
129360 eval "$as_ac_var=no"
129362 rm -f conftest.err conftest.$ac_objext \
129363 conftest$ac_exeext conftest.$ac_ext
129365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129367 if test `eval echo '${'$as_ac_var'}'` = yes; then
129368 cat >>confdefs.h <<_ACEOF
129369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129370 _ACEOF
129377 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
129378 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
129379 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
129380 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
129381 echo $ECHO_N "(cached) $ECHO_C" >&6
129386 ac_ext=cc
129387 ac_cpp='$CXXCPP $CPPFLAGS'
129388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129392 cat >conftest.$ac_ext <<_ACEOF
129393 /* confdefs.h. */
129394 _ACEOF
129395 cat confdefs.h >>conftest.$ac_ext
129396 cat >>conftest.$ac_ext <<_ACEOF
129397 /* end confdefs.h. */
129398 #include <math.h>
129399 #ifdef HAVE_IEEEFP_H
129400 #include <ieeefp.h>
129401 #endif
129404 main ()
129406 _finitel(0);
129408 return 0;
129410 _ACEOF
129411 rm -f conftest.$ac_objext
129412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129413 (eval $ac_compile) 2>conftest.er1
129414 ac_status=$?
129415 grep -v '^ *+' conftest.er1 >conftest.err
129416 rm -f conftest.er1
129417 cat conftest.err >&5
129418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129419 (exit $ac_status); } &&
129420 { ac_try='test -z "$ac_cxx_werror_flag"
129421 || test ! -s conftest.err'
129422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129423 (eval $ac_try) 2>&5
129424 ac_status=$?
129425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129426 (exit $ac_status); }; } &&
129427 { ac_try='test -s conftest.$ac_objext'
129428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129429 (eval $ac_try) 2>&5
129430 ac_status=$?
129431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129432 (exit $ac_status); }; }; then
129433 glibcxx_cv_func__finitel_use=yes
129435 echo "$as_me: failed program was:" >&5
129436 sed 's/^/| /' conftest.$ac_ext >&5
129438 glibcxx_cv_func__finitel_use=no
129440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129441 ac_ext=c
129442 ac_cpp='$CPP $CPPFLAGS'
129443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129451 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
129452 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
129454 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
129456 for ac_func in _finitel
129458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129459 echo "$as_me:$LINENO: checking for $ac_func" >&5
129460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129461 if eval "test \"\${$as_ac_var+set}\" = set"; then
129462 echo $ECHO_N "(cached) $ECHO_C" >&6
129464 if test x$gcc_no_link = xyes; then
129465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129467 { (exit 1); exit 1; }; }
129469 cat >conftest.$ac_ext <<_ACEOF
129470 /* confdefs.h. */
129471 _ACEOF
129472 cat confdefs.h >>conftest.$ac_ext
129473 cat >>conftest.$ac_ext <<_ACEOF
129474 /* end confdefs.h. */
129475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129477 #define $ac_func innocuous_$ac_func
129479 /* System header to define __stub macros and hopefully few prototypes,
129480 which can conflict with char $ac_func (); below.
129481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129482 <limits.h> exists even on freestanding compilers. */
129484 #ifdef __STDC__
129485 # include <limits.h>
129486 #else
129487 # include <assert.h>
129488 #endif
129490 #undef $ac_func
129492 /* Override any gcc2 internal prototype to avoid an error. */
129493 #ifdef __cplusplus
129494 extern "C"
129496 #endif
129497 /* We use char because int might match the return type of a gcc2
129498 builtin and then its argument prototype would still apply. */
129499 char $ac_func ();
129500 /* The GNU C library defines this for functions which it implements
129501 to always fail with ENOSYS. Some functions are actually named
129502 something starting with __ and the normal name is an alias. */
129503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129504 choke me
129505 #else
129506 char (*f) () = $ac_func;
129507 #endif
129508 #ifdef __cplusplus
129510 #endif
129513 main ()
129515 return f != $ac_func;
129517 return 0;
129519 _ACEOF
129520 rm -f conftest.$ac_objext conftest$ac_exeext
129521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129522 (eval $ac_link) 2>conftest.er1
129523 ac_status=$?
129524 grep -v '^ *+' conftest.er1 >conftest.err
129525 rm -f conftest.er1
129526 cat conftest.err >&5
129527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129528 (exit $ac_status); } &&
129529 { ac_try='test -z "$ac_c_werror_flag"
129530 || test ! -s conftest.err'
129531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129532 (eval $ac_try) 2>&5
129533 ac_status=$?
129534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129535 (exit $ac_status); }; } &&
129536 { ac_try='test -s conftest$ac_exeext'
129537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129538 (eval $ac_try) 2>&5
129539 ac_status=$?
129540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129541 (exit $ac_status); }; }; then
129542 eval "$as_ac_var=yes"
129544 echo "$as_me: failed program was:" >&5
129545 sed 's/^/| /' conftest.$ac_ext >&5
129547 eval "$as_ac_var=no"
129549 rm -f conftest.err conftest.$ac_objext \
129550 conftest$ac_exeext conftest.$ac_ext
129552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129554 if test `eval echo '${'$as_ac_var'}'` = yes; then
129555 cat >>confdefs.h <<_ACEOF
129556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129557 _ACEOF
129569 LIBS="$ac_save_LIBS"
129570 CXXFLAGS="$ac_save_CXXFLAGS"
129573 ac_test_CXXFLAGS="${CXXFLAGS+set}"
129574 ac_save_CXXFLAGS="$CXXFLAGS"
129575 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
129578 echo "$as_me:$LINENO: checking for strtold declaration" >&5
129579 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
129580 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
129581 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
129582 echo $ECHO_N "(cached) $ECHO_C" >&6
129587 ac_ext=cc
129588 ac_cpp='$CXXCPP $CPPFLAGS'
129589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129593 cat >conftest.$ac_ext <<_ACEOF
129594 /* confdefs.h. */
129595 _ACEOF
129596 cat confdefs.h >>conftest.$ac_ext
129597 cat >>conftest.$ac_ext <<_ACEOF
129598 /* end confdefs.h. */
129599 #include <stdlib.h>
129601 main ()
129603 strtold(0, 0);
129605 return 0;
129607 _ACEOF
129608 rm -f conftest.$ac_objext
129609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129610 (eval $ac_compile) 2>conftest.er1
129611 ac_status=$?
129612 grep -v '^ *+' conftest.er1 >conftest.err
129613 rm -f conftest.er1
129614 cat conftest.err >&5
129615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129616 (exit $ac_status); } &&
129617 { ac_try='test -z "$ac_cxx_werror_flag"
129618 || test ! -s conftest.err'
129619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129620 (eval $ac_try) 2>&5
129621 ac_status=$?
129622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129623 (exit $ac_status); }; } &&
129624 { ac_try='test -s conftest.$ac_objext'
129625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129626 (eval $ac_try) 2>&5
129627 ac_status=$?
129628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129629 (exit $ac_status); }; }; then
129630 glibcxx_cv_func_strtold_use=yes
129632 echo "$as_me: failed program was:" >&5
129633 sed 's/^/| /' conftest.$ac_ext >&5
129635 glibcxx_cv_func_strtold_use=no
129637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129638 ac_ext=c
129639 ac_cpp='$CPP $CPPFLAGS'
129640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129648 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
129649 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
129650 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
129652 for ac_func in strtold
129654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129655 echo "$as_me:$LINENO: checking for $ac_func" >&5
129656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129657 if eval "test \"\${$as_ac_var+set}\" = set"; then
129658 echo $ECHO_N "(cached) $ECHO_C" >&6
129660 if test x$gcc_no_link = xyes; then
129661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129663 { (exit 1); exit 1; }; }
129665 cat >conftest.$ac_ext <<_ACEOF
129666 /* confdefs.h. */
129667 _ACEOF
129668 cat confdefs.h >>conftest.$ac_ext
129669 cat >>conftest.$ac_ext <<_ACEOF
129670 /* end confdefs.h. */
129671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129673 #define $ac_func innocuous_$ac_func
129675 /* System header to define __stub macros and hopefully few prototypes,
129676 which can conflict with char $ac_func (); below.
129677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129678 <limits.h> exists even on freestanding compilers. */
129680 #ifdef __STDC__
129681 # include <limits.h>
129682 #else
129683 # include <assert.h>
129684 #endif
129686 #undef $ac_func
129688 /* Override any gcc2 internal prototype to avoid an error. */
129689 #ifdef __cplusplus
129690 extern "C"
129692 #endif
129693 /* We use char because int might match the return type of a gcc2
129694 builtin and then its argument prototype would still apply. */
129695 char $ac_func ();
129696 /* The GNU C library defines this for functions which it implements
129697 to always fail with ENOSYS. Some functions are actually named
129698 something starting with __ and the normal name is an alias. */
129699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129700 choke me
129701 #else
129702 char (*f) () = $ac_func;
129703 #endif
129704 #ifdef __cplusplus
129706 #endif
129709 main ()
129711 return f != $ac_func;
129713 return 0;
129715 _ACEOF
129716 rm -f conftest.$ac_objext conftest$ac_exeext
129717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129718 (eval $ac_link) 2>conftest.er1
129719 ac_status=$?
129720 grep -v '^ *+' conftest.er1 >conftest.err
129721 rm -f conftest.er1
129722 cat conftest.err >&5
129723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129724 (exit $ac_status); } &&
129725 { ac_try='test -z "$ac_c_werror_flag"
129726 || test ! -s conftest.err'
129727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129728 (eval $ac_try) 2>&5
129729 ac_status=$?
129730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129731 (exit $ac_status); }; } &&
129732 { ac_try='test -s conftest$ac_exeext'
129733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129734 (eval $ac_try) 2>&5
129735 ac_status=$?
129736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129737 (exit $ac_status); }; }; then
129738 eval "$as_ac_var=yes"
129740 echo "$as_me: failed program was:" >&5
129741 sed 's/^/| /' conftest.$ac_ext >&5
129743 eval "$as_ac_var=no"
129745 rm -f conftest.err conftest.$ac_objext \
129746 conftest$ac_exeext conftest.$ac_ext
129748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129750 if test `eval echo '${'$as_ac_var'}'` = yes; then
129751 cat >>confdefs.h <<_ACEOF
129752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129753 _ACEOF
129764 echo "$as_me:$LINENO: checking for strtof declaration" >&5
129765 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
129766 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
129767 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
129768 echo $ECHO_N "(cached) $ECHO_C" >&6
129773 ac_ext=cc
129774 ac_cpp='$CXXCPP $CPPFLAGS'
129775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
129779 cat >conftest.$ac_ext <<_ACEOF
129780 /* confdefs.h. */
129781 _ACEOF
129782 cat confdefs.h >>conftest.$ac_ext
129783 cat >>conftest.$ac_ext <<_ACEOF
129784 /* end confdefs.h. */
129785 #include <stdlib.h>
129787 main ()
129789 strtof(0, 0);
129791 return 0;
129793 _ACEOF
129794 rm -f conftest.$ac_objext
129795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
129796 (eval $ac_compile) 2>conftest.er1
129797 ac_status=$?
129798 grep -v '^ *+' conftest.er1 >conftest.err
129799 rm -f conftest.er1
129800 cat conftest.err >&5
129801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129802 (exit $ac_status); } &&
129803 { ac_try='test -z "$ac_cxx_werror_flag"
129804 || test ! -s conftest.err'
129805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129806 (eval $ac_try) 2>&5
129807 ac_status=$?
129808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129809 (exit $ac_status); }; } &&
129810 { ac_try='test -s conftest.$ac_objext'
129811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129812 (eval $ac_try) 2>&5
129813 ac_status=$?
129814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129815 (exit $ac_status); }; }; then
129816 glibcxx_cv_func_strtof_use=yes
129818 echo "$as_me: failed program was:" >&5
129819 sed 's/^/| /' conftest.$ac_ext >&5
129821 glibcxx_cv_func_strtof_use=no
129823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
129824 ac_ext=c
129825 ac_cpp='$CPP $CPPFLAGS'
129826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
129827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
129828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
129834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
129835 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
129836 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
129838 for ac_func in strtof
129840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
129841 echo "$as_me:$LINENO: checking for $ac_func" >&5
129842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
129843 if eval "test \"\${$as_ac_var+set}\" = set"; then
129844 echo $ECHO_N "(cached) $ECHO_C" >&6
129846 if test x$gcc_no_link = xyes; then
129847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
129848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
129849 { (exit 1); exit 1; }; }
129851 cat >conftest.$ac_ext <<_ACEOF
129852 /* confdefs.h. */
129853 _ACEOF
129854 cat confdefs.h >>conftest.$ac_ext
129855 cat >>conftest.$ac_ext <<_ACEOF
129856 /* end confdefs.h. */
129857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
129858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
129859 #define $ac_func innocuous_$ac_func
129861 /* System header to define __stub macros and hopefully few prototypes,
129862 which can conflict with char $ac_func (); below.
129863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
129864 <limits.h> exists even on freestanding compilers. */
129866 #ifdef __STDC__
129867 # include <limits.h>
129868 #else
129869 # include <assert.h>
129870 #endif
129872 #undef $ac_func
129874 /* Override any gcc2 internal prototype to avoid an error. */
129875 #ifdef __cplusplus
129876 extern "C"
129878 #endif
129879 /* We use char because int might match the return type of a gcc2
129880 builtin and then its argument prototype would still apply. */
129881 char $ac_func ();
129882 /* The GNU C library defines this for functions which it implements
129883 to always fail with ENOSYS. Some functions are actually named
129884 something starting with __ and the normal name is an alias. */
129885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
129886 choke me
129887 #else
129888 char (*f) () = $ac_func;
129889 #endif
129890 #ifdef __cplusplus
129892 #endif
129895 main ()
129897 return f != $ac_func;
129899 return 0;
129901 _ACEOF
129902 rm -f conftest.$ac_objext conftest$ac_exeext
129903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
129904 (eval $ac_link) 2>conftest.er1
129905 ac_status=$?
129906 grep -v '^ *+' conftest.er1 >conftest.err
129907 rm -f conftest.er1
129908 cat conftest.err >&5
129909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129910 (exit $ac_status); } &&
129911 { ac_try='test -z "$ac_c_werror_flag"
129912 || test ! -s conftest.err'
129913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129914 (eval $ac_try) 2>&5
129915 ac_status=$?
129916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129917 (exit $ac_status); }; } &&
129918 { ac_try='test -s conftest$ac_exeext'
129919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
129920 (eval $ac_try) 2>&5
129921 ac_status=$?
129922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
129923 (exit $ac_status); }; }; then
129924 eval "$as_ac_var=yes"
129926 echo "$as_me: failed program was:" >&5
129927 sed 's/^/| /' conftest.$ac_ext >&5
129929 eval "$as_ac_var=no"
129931 rm -f conftest.err conftest.$ac_objext \
129932 conftest$ac_exeext conftest.$ac_ext
129934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
129935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
129936 if test `eval echo '${'$as_ac_var'}'` = yes; then
129937 cat >>confdefs.h <<_ACEOF
129938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
129939 _ACEOF
129950 CXXFLAGS="$ac_save_CXXFLAGS"
129953 *-netbsd*)
129954 SECTION_FLAGS='-ffunction-sections -fdata-sections'
129957 # If we're not using GNU ld, then there's no point in even trying these
129958 # tests. Check for that first. We should have already tested for gld
129959 # by now (in libtool), but require it now just to be safe...
129960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
129961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
129965 # The name set by libtool depends on the version of libtool. Shame on us
129966 # for depending on an impl detail, but c'est la vie. Older versions used
129967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
129968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
129969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
129970 # set (hence we're using an older libtool), then set it.
129971 if test x${with_gnu_ld+set} != xset; then
129972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
129973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
129974 with_gnu_ld=no
129976 with_gnu_ld=$ac_cv_prog_gnu_ld
129980 # Start by getting the version number. I think the libtool test already
129981 # does some of this, but throws away the result.
129982 glibcxx_ld_is_gold=no
129983 if test x"$with_gnu_ld" = x"yes"; then
129984 echo "$as_me:$LINENO: checking for ld version" >&5
129985 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
129987 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
129988 glibcxx_ld_is_gold=yes
129990 ldver=`$LD --version 2>/dev/null | head -1 | \
129991 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
129993 glibcxx_gnu_ld_version=`echo $ldver | \
129994 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
129995 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
129996 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
129999 # Set --gc-sections.
130000 glibcxx_have_gc_sections=no
130001 if test "$glibcxx_ld_is_gold" = "yes"; then
130002 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130003 glibcxx_have_gc_sections=yes
130006 glibcxx_gcsections_min_ld=21602
130007 if test x"$with_gnu_ld" = x"yes" &&
130008 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130009 glibcxx_have_gc_sections=yes
130012 if test "$glibcxx_have_gc_sections" = "yes"; then
130013 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130014 # NB: This flag only works reliably after 2.16.1. Configure tests
130015 # for this are difficult, so hard wire a value that should work.
130017 ac_test_CFLAGS="${CFLAGS+set}"
130018 ac_save_CFLAGS="$CFLAGS"
130019 CFLAGS='-Wl,--gc-sections'
130021 # Check for -Wl,--gc-sections
130022 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130023 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130024 if test x$gcc_no_link = xyes; then
130025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130027 { (exit 1); exit 1; }; }
130029 cat >conftest.$ac_ext <<_ACEOF
130030 /* confdefs.h. */
130031 _ACEOF
130032 cat confdefs.h >>conftest.$ac_ext
130033 cat >>conftest.$ac_ext <<_ACEOF
130034 /* end confdefs.h. */
130035 int one(void) { return 1; }
130036 int two(void) { return 2; }
130039 main ()
130041 two();
130043 return 0;
130045 _ACEOF
130046 rm -f conftest.$ac_objext conftest$ac_exeext
130047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130048 (eval $ac_link) 2>conftest.er1
130049 ac_status=$?
130050 grep -v '^ *+' conftest.er1 >conftest.err
130051 rm -f conftest.er1
130052 cat conftest.err >&5
130053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130054 (exit $ac_status); } &&
130055 { ac_try='test -z "$ac_c_werror_flag"
130056 || test ! -s conftest.err'
130057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130058 (eval $ac_try) 2>&5
130059 ac_status=$?
130060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130061 (exit $ac_status); }; } &&
130062 { ac_try='test -s conftest$ac_exeext'
130063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130064 (eval $ac_try) 2>&5
130065 ac_status=$?
130066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130067 (exit $ac_status); }; }; then
130068 ac_gcsections=yes
130070 echo "$as_me: failed program was:" >&5
130071 sed 's/^/| /' conftest.$ac_ext >&5
130073 ac_gcsections=no
130075 rm -f conftest.err conftest.$ac_objext \
130076 conftest$ac_exeext conftest.$ac_ext
130077 if test "$ac_gcsections" = "yes"; then
130078 rm -f conftest.c
130079 touch conftest.c
130080 if $CC -c conftest.c; then
130081 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130082 grep "Warning: gc-sections option ignored" > /dev/null; then
130083 ac_gcsections=no
130086 rm -f conftest.c conftest.o conftest
130088 if test "$ac_gcsections" = "yes"; then
130089 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130091 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130092 echo "${ECHO_T}$ac_gcsections" >&6
130094 if test "$ac_test_CFLAGS" = set; then
130095 CFLAGS="$ac_save_CFLAGS"
130097 # this is the suspicious part
130098 CFLAGS=''
130102 # Set -z,relro.
130103 # Note this is only for shared objects.
130104 ac_ld_relro=no
130105 if test x"$with_gnu_ld" = x"yes"; then
130106 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130107 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130108 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130109 if test -n "$cxx_z_relo"; then
130110 OPT_LDFLAGS="-Wl,-z,relro"
130111 ac_ld_relro=yes
130113 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130114 echo "${ECHO_T}$ac_ld_relro" >&6
130117 # Set linker optimization flags.
130118 if test x"$with_gnu_ld" = x"yes"; then
130119 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130125 cat >>confdefs.h <<\_ACEOF
130126 #define HAVE_FINITEF 1
130127 _ACEOF
130129 cat >>confdefs.h <<\_ACEOF
130130 #define HAVE_FINITE 1
130131 _ACEOF
130133 cat >>confdefs.h <<\_ACEOF
130134 #define HAVE_FREXPF 1
130135 _ACEOF
130137 cat >>confdefs.h <<\_ACEOF
130138 #define HAVE_HYPOTF 1
130139 _ACEOF
130141 cat >>confdefs.h <<\_ACEOF
130142 #define HAVE_ISINF 1
130143 _ACEOF
130145 cat >>confdefs.h <<\_ACEOF
130146 #define HAVE_ISINFF 1
130147 _ACEOF
130149 cat >>confdefs.h <<\_ACEOF
130150 #define HAVE_ISNAN 1
130151 _ACEOF
130153 cat >>confdefs.h <<\_ACEOF
130154 #define HAVE_ISNANF 1
130155 _ACEOF
130157 if test x"long_double_math_on_this_cpu" = x"yes"; then
130158 cat >>confdefs.h <<\_ACEOF
130159 #define HAVE_FINITEL 1
130160 _ACEOF
130162 cat >>confdefs.h <<\_ACEOF
130163 #define HAVE_ISINFL 1
130164 _ACEOF
130166 cat >>confdefs.h <<\_ACEOF
130167 #define HAVE_ISNANL 1
130168 _ACEOF
130172 *-netware)
130173 SECTION_FLAGS='-ffunction-sections -fdata-sections'
130176 # If we're not using GNU ld, then there's no point in even trying these
130177 # tests. Check for that first. We should have already tested for gld
130178 # by now (in libtool), but require it now just to be safe...
130179 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130180 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130184 # The name set by libtool depends on the version of libtool. Shame on us
130185 # for depending on an impl detail, but c'est la vie. Older versions used
130186 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130187 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130188 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130189 # set (hence we're using an older libtool), then set it.
130190 if test x${with_gnu_ld+set} != xset; then
130191 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130192 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130193 with_gnu_ld=no
130195 with_gnu_ld=$ac_cv_prog_gnu_ld
130199 # Start by getting the version number. I think the libtool test already
130200 # does some of this, but throws away the result.
130201 glibcxx_ld_is_gold=no
130202 if test x"$with_gnu_ld" = x"yes"; then
130203 echo "$as_me:$LINENO: checking for ld version" >&5
130204 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130206 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130207 glibcxx_ld_is_gold=yes
130209 ldver=`$LD --version 2>/dev/null | head -1 | \
130210 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130212 glibcxx_gnu_ld_version=`echo $ldver | \
130213 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130214 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130215 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130218 # Set --gc-sections.
130219 glibcxx_have_gc_sections=no
130220 if test "$glibcxx_ld_is_gold" = "yes"; then
130221 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130222 glibcxx_have_gc_sections=yes
130225 glibcxx_gcsections_min_ld=21602
130226 if test x"$with_gnu_ld" = x"yes" &&
130227 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130228 glibcxx_have_gc_sections=yes
130231 if test "$glibcxx_have_gc_sections" = "yes"; then
130232 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130233 # NB: This flag only works reliably after 2.16.1. Configure tests
130234 # for this are difficult, so hard wire a value that should work.
130236 ac_test_CFLAGS="${CFLAGS+set}"
130237 ac_save_CFLAGS="$CFLAGS"
130238 CFLAGS='-Wl,--gc-sections'
130240 # Check for -Wl,--gc-sections
130241 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130242 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130243 if test x$gcc_no_link = xyes; then
130244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130246 { (exit 1); exit 1; }; }
130248 cat >conftest.$ac_ext <<_ACEOF
130249 /* confdefs.h. */
130250 _ACEOF
130251 cat confdefs.h >>conftest.$ac_ext
130252 cat >>conftest.$ac_ext <<_ACEOF
130253 /* end confdefs.h. */
130254 int one(void) { return 1; }
130255 int two(void) { return 2; }
130258 main ()
130260 two();
130262 return 0;
130264 _ACEOF
130265 rm -f conftest.$ac_objext conftest$ac_exeext
130266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130267 (eval $ac_link) 2>conftest.er1
130268 ac_status=$?
130269 grep -v '^ *+' conftest.er1 >conftest.err
130270 rm -f conftest.er1
130271 cat conftest.err >&5
130272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130273 (exit $ac_status); } &&
130274 { ac_try='test -z "$ac_c_werror_flag"
130275 || test ! -s conftest.err'
130276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130277 (eval $ac_try) 2>&5
130278 ac_status=$?
130279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130280 (exit $ac_status); }; } &&
130281 { ac_try='test -s conftest$ac_exeext'
130282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130283 (eval $ac_try) 2>&5
130284 ac_status=$?
130285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130286 (exit $ac_status); }; }; then
130287 ac_gcsections=yes
130289 echo "$as_me: failed program was:" >&5
130290 sed 's/^/| /' conftest.$ac_ext >&5
130292 ac_gcsections=no
130294 rm -f conftest.err conftest.$ac_objext \
130295 conftest$ac_exeext conftest.$ac_ext
130296 if test "$ac_gcsections" = "yes"; then
130297 rm -f conftest.c
130298 touch conftest.c
130299 if $CC -c conftest.c; then
130300 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130301 grep "Warning: gc-sections option ignored" > /dev/null; then
130302 ac_gcsections=no
130305 rm -f conftest.c conftest.o conftest
130307 if test "$ac_gcsections" = "yes"; then
130308 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130310 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130311 echo "${ECHO_T}$ac_gcsections" >&6
130313 if test "$ac_test_CFLAGS" = set; then
130314 CFLAGS="$ac_save_CFLAGS"
130316 # this is the suspicious part
130317 CFLAGS=''
130321 # Set -z,relro.
130322 # Note this is only for shared objects.
130323 ac_ld_relro=no
130324 if test x"$with_gnu_ld" = x"yes"; then
130325 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130326 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130327 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130328 if test -n "$cxx_z_relo"; then
130329 OPT_LDFLAGS="-Wl,-z,relro"
130330 ac_ld_relro=yes
130332 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130333 echo "${ECHO_T}$ac_ld_relro" >&6
130336 # Set linker optimization flags.
130337 if test x"$with_gnu_ld" = x"yes"; then
130338 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130344 cat >>confdefs.h <<\_ACEOF
130345 #define HAVE_HYPOT 1
130346 _ACEOF
130348 cat >>confdefs.h <<\_ACEOF
130349 #define HAVE_ISINF 1
130350 _ACEOF
130352 cat >>confdefs.h <<\_ACEOF
130353 #define HAVE_ISNAN 1
130354 _ACEOF
130357 *-qnx6.1* | *-qnx6.2*)
130358 SECTION_FLAGS='-ffunction-sections -fdata-sections'
130361 # If we're not using GNU ld, then there's no point in even trying these
130362 # tests. Check for that first. We should have already tested for gld
130363 # by now (in libtool), but require it now just to be safe...
130364 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130365 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130369 # The name set by libtool depends on the version of libtool. Shame on us
130370 # for depending on an impl detail, but c'est la vie. Older versions used
130371 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130372 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130373 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130374 # set (hence we're using an older libtool), then set it.
130375 if test x${with_gnu_ld+set} != xset; then
130376 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130377 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130378 with_gnu_ld=no
130380 with_gnu_ld=$ac_cv_prog_gnu_ld
130384 # Start by getting the version number. I think the libtool test already
130385 # does some of this, but throws away the result.
130386 glibcxx_ld_is_gold=no
130387 if test x"$with_gnu_ld" = x"yes"; then
130388 echo "$as_me:$LINENO: checking for ld version" >&5
130389 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130391 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130392 glibcxx_ld_is_gold=yes
130394 ldver=`$LD --version 2>/dev/null | head -1 | \
130395 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130397 glibcxx_gnu_ld_version=`echo $ldver | \
130398 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130399 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130400 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130403 # Set --gc-sections.
130404 glibcxx_have_gc_sections=no
130405 if test "$glibcxx_ld_is_gold" = "yes"; then
130406 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130407 glibcxx_have_gc_sections=yes
130410 glibcxx_gcsections_min_ld=21602
130411 if test x"$with_gnu_ld" = x"yes" &&
130412 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130413 glibcxx_have_gc_sections=yes
130416 if test "$glibcxx_have_gc_sections" = "yes"; then
130417 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130418 # NB: This flag only works reliably after 2.16.1. Configure tests
130419 # for this are difficult, so hard wire a value that should work.
130421 ac_test_CFLAGS="${CFLAGS+set}"
130422 ac_save_CFLAGS="$CFLAGS"
130423 CFLAGS='-Wl,--gc-sections'
130425 # Check for -Wl,--gc-sections
130426 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130427 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130428 if test x$gcc_no_link = xyes; then
130429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130431 { (exit 1); exit 1; }; }
130433 cat >conftest.$ac_ext <<_ACEOF
130434 /* confdefs.h. */
130435 _ACEOF
130436 cat confdefs.h >>conftest.$ac_ext
130437 cat >>conftest.$ac_ext <<_ACEOF
130438 /* end confdefs.h. */
130439 int one(void) { return 1; }
130440 int two(void) { return 2; }
130443 main ()
130445 two();
130447 return 0;
130449 _ACEOF
130450 rm -f conftest.$ac_objext conftest$ac_exeext
130451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130452 (eval $ac_link) 2>conftest.er1
130453 ac_status=$?
130454 grep -v '^ *+' conftest.er1 >conftest.err
130455 rm -f conftest.er1
130456 cat conftest.err >&5
130457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130458 (exit $ac_status); } &&
130459 { ac_try='test -z "$ac_c_werror_flag"
130460 || test ! -s conftest.err'
130461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130462 (eval $ac_try) 2>&5
130463 ac_status=$?
130464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130465 (exit $ac_status); }; } &&
130466 { ac_try='test -s conftest$ac_exeext'
130467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130468 (eval $ac_try) 2>&5
130469 ac_status=$?
130470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130471 (exit $ac_status); }; }; then
130472 ac_gcsections=yes
130474 echo "$as_me: failed program was:" >&5
130475 sed 's/^/| /' conftest.$ac_ext >&5
130477 ac_gcsections=no
130479 rm -f conftest.err conftest.$ac_objext \
130480 conftest$ac_exeext conftest.$ac_ext
130481 if test "$ac_gcsections" = "yes"; then
130482 rm -f conftest.c
130483 touch conftest.c
130484 if $CC -c conftest.c; then
130485 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130486 grep "Warning: gc-sections option ignored" > /dev/null; then
130487 ac_gcsections=no
130490 rm -f conftest.c conftest.o conftest
130492 if test "$ac_gcsections" = "yes"; then
130493 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130495 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130496 echo "${ECHO_T}$ac_gcsections" >&6
130498 if test "$ac_test_CFLAGS" = set; then
130499 CFLAGS="$ac_save_CFLAGS"
130501 # this is the suspicious part
130502 CFLAGS=''
130506 # Set -z,relro.
130507 # Note this is only for shared objects.
130508 ac_ld_relro=no
130509 if test x"$with_gnu_ld" = x"yes"; then
130510 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130511 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130512 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130513 if test -n "$cxx_z_relo"; then
130514 OPT_LDFLAGS="-Wl,-z,relro"
130515 ac_ld_relro=yes
130517 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130518 echo "${ECHO_T}$ac_ld_relro" >&6
130521 # Set linker optimization flags.
130522 if test x"$with_gnu_ld" = x"yes"; then
130523 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130529 cat >>confdefs.h <<\_ACEOF
130530 #define HAVE_COSF 1
130531 _ACEOF
130533 cat >>confdefs.h <<\_ACEOF
130534 #define HAVE_COSL 1
130535 _ACEOF
130537 cat >>confdefs.h <<\_ACEOF
130538 #define HAVE_COSHF 1
130539 _ACEOF
130541 cat >>confdefs.h <<\_ACEOF
130542 #define HAVE_COSHL 1
130543 _ACEOF
130545 cat >>confdefs.h <<\_ACEOF
130546 #define HAVE_LOGF 1
130547 _ACEOF
130549 cat >>confdefs.h <<\_ACEOF
130550 #define HAVE_LOGL 1
130551 _ACEOF
130553 cat >>confdefs.h <<\_ACEOF
130554 #define HAVE_LOG10F 1
130555 _ACEOF
130557 cat >>confdefs.h <<\_ACEOF
130558 #define HAVE_LOG10L 1
130559 _ACEOF
130561 cat >>confdefs.h <<\_ACEOF
130562 #define HAVE_SINF 1
130563 _ACEOF
130565 cat >>confdefs.h <<\_ACEOF
130566 #define HAVE_SINL 1
130567 _ACEOF
130569 cat >>confdefs.h <<\_ACEOF
130570 #define HAVE_SINHF 1
130571 _ACEOF
130573 cat >>confdefs.h <<\_ACEOF
130574 #define HAVE_SINHL 1
130575 _ACEOF
130578 *-solaris*)
130579 case "$target" in
130580 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
130582 # If we're not using GNU ld, then there's no point in even trying these
130583 # tests. Check for that first. We should have already tested for gld
130584 # by now (in libtool), but require it now just to be safe...
130585 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130586 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130590 # The name set by libtool depends on the version of libtool. Shame on us
130591 # for depending on an impl detail, but c'est la vie. Older versions used
130592 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130593 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130594 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130595 # set (hence we're using an older libtool), then set it.
130596 if test x${with_gnu_ld+set} != xset; then
130597 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130598 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130599 with_gnu_ld=no
130601 with_gnu_ld=$ac_cv_prog_gnu_ld
130605 # Start by getting the version number. I think the libtool test already
130606 # does some of this, but throws away the result.
130607 glibcxx_ld_is_gold=no
130608 if test x"$with_gnu_ld" = x"yes"; then
130609 echo "$as_me:$LINENO: checking for ld version" >&5
130610 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130612 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130613 glibcxx_ld_is_gold=yes
130615 ldver=`$LD --version 2>/dev/null | head -1 | \
130616 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130618 glibcxx_gnu_ld_version=`echo $ldver | \
130619 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130620 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130621 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130624 # Set --gc-sections.
130625 glibcxx_have_gc_sections=no
130626 if test "$glibcxx_ld_is_gold" = "yes"; then
130627 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130628 glibcxx_have_gc_sections=yes
130631 glibcxx_gcsections_min_ld=21602
130632 if test x"$with_gnu_ld" = x"yes" &&
130633 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130634 glibcxx_have_gc_sections=yes
130637 if test "$glibcxx_have_gc_sections" = "yes"; then
130638 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130639 # NB: This flag only works reliably after 2.16.1. Configure tests
130640 # for this are difficult, so hard wire a value that should work.
130642 ac_test_CFLAGS="${CFLAGS+set}"
130643 ac_save_CFLAGS="$CFLAGS"
130644 CFLAGS='-Wl,--gc-sections'
130646 # Check for -Wl,--gc-sections
130647 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130648 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130649 if test x$gcc_no_link = xyes; then
130650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130652 { (exit 1); exit 1; }; }
130654 cat >conftest.$ac_ext <<_ACEOF
130655 /* confdefs.h. */
130656 _ACEOF
130657 cat confdefs.h >>conftest.$ac_ext
130658 cat >>conftest.$ac_ext <<_ACEOF
130659 /* end confdefs.h. */
130660 int one(void) { return 1; }
130661 int two(void) { return 2; }
130664 main ()
130666 two();
130668 return 0;
130670 _ACEOF
130671 rm -f conftest.$ac_objext conftest$ac_exeext
130672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130673 (eval $ac_link) 2>conftest.er1
130674 ac_status=$?
130675 grep -v '^ *+' conftest.er1 >conftest.err
130676 rm -f conftest.er1
130677 cat conftest.err >&5
130678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130679 (exit $ac_status); } &&
130680 { ac_try='test -z "$ac_c_werror_flag"
130681 || test ! -s conftest.err'
130682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130683 (eval $ac_try) 2>&5
130684 ac_status=$?
130685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130686 (exit $ac_status); }; } &&
130687 { ac_try='test -s conftest$ac_exeext'
130688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130689 (eval $ac_try) 2>&5
130690 ac_status=$?
130691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130692 (exit $ac_status); }; }; then
130693 ac_gcsections=yes
130695 echo "$as_me: failed program was:" >&5
130696 sed 's/^/| /' conftest.$ac_ext >&5
130698 ac_gcsections=no
130700 rm -f conftest.err conftest.$ac_objext \
130701 conftest$ac_exeext conftest.$ac_ext
130702 if test "$ac_gcsections" = "yes"; then
130703 rm -f conftest.c
130704 touch conftest.c
130705 if $CC -c conftest.c; then
130706 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130707 grep "Warning: gc-sections option ignored" > /dev/null; then
130708 ac_gcsections=no
130711 rm -f conftest.c conftest.o conftest
130713 if test "$ac_gcsections" = "yes"; then
130714 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130716 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130717 echo "${ECHO_T}$ac_gcsections" >&6
130719 if test "$ac_test_CFLAGS" = set; then
130720 CFLAGS="$ac_save_CFLAGS"
130722 # this is the suspicious part
130723 CFLAGS=''
130727 # Set -z,relro.
130728 # Note this is only for shared objects.
130729 ac_ld_relro=no
130730 if test x"$with_gnu_ld" = x"yes"; then
130731 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130732 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130733 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130734 if test -n "$cxx_z_relo"; then
130735 OPT_LDFLAGS="-Wl,-z,relro"
130736 ac_ld_relro=yes
130738 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130739 echo "${ECHO_T}$ac_ld_relro" >&6
130742 # Set linker optimization flags.
130743 if test x"$with_gnu_ld" = x"yes"; then
130744 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130750 cat >>confdefs.h <<\_ACEOF
130751 #define HAVE_MBSTATE_T 1
130752 _ACEOF
130754 cat >>confdefs.h <<\_ACEOF
130755 #define HAVE_FINITE 1
130756 _ACEOF
130758 cat >>confdefs.h <<\_ACEOF
130759 #define HAVE_FPCLASS 1
130760 _ACEOF
130762 # All of the dependencies for wide character support are here, so
130763 # turn it on.
130764 cat >>confdefs.h <<\_ACEOF
130765 #define _GLIBCXX_USE_WCHAR_T 1
130766 _ACEOF
130770 case "$target" in
130771 *-*-solaris2.10)
130772 # These two C99 functions are present only in Solaris >= 10
130773 cat >>confdefs.h <<\_ACEOF
130774 #define HAVE_STRTOF 1
130775 _ACEOF
130777 cat >>confdefs.h <<\_ACEOF
130778 #define HAVE_STRTOLD 1
130779 _ACEOF
130783 cat >>confdefs.h <<\_ACEOF
130784 #define HAVE_ISNAN 1
130785 _ACEOF
130787 cat >>confdefs.h <<\_ACEOF
130788 #define HAVE_ISNANF 1
130789 _ACEOF
130791 cat >>confdefs.h <<\_ACEOF
130792 #define HAVE_MODFF 1
130793 _ACEOF
130795 cat >>confdefs.h <<\_ACEOF
130796 #define HAVE_HYPOT 1
130797 _ACEOF
130800 *-tpf)
130801 SECTION_FLAGS='-ffunction-sections -fdata-sections'
130804 # If we're not using GNU ld, then there's no point in even trying these
130805 # tests. Check for that first. We should have already tested for gld
130806 # by now (in libtool), but require it now just to be safe...
130807 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
130808 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
130812 # The name set by libtool depends on the version of libtool. Shame on us
130813 # for depending on an impl detail, but c'est la vie. Older versions used
130814 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
130815 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
130816 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
130817 # set (hence we're using an older libtool), then set it.
130818 if test x${with_gnu_ld+set} != xset; then
130819 if test x${ac_cv_prog_gnu_ld+set} != xset; then
130820 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
130821 with_gnu_ld=no
130823 with_gnu_ld=$ac_cv_prog_gnu_ld
130827 # Start by getting the version number. I think the libtool test already
130828 # does some of this, but throws away the result.
130829 glibcxx_ld_is_gold=no
130830 if test x"$with_gnu_ld" = x"yes"; then
130831 echo "$as_me:$LINENO: checking for ld version" >&5
130832 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
130834 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
130835 glibcxx_ld_is_gold=yes
130837 ldver=`$LD --version 2>/dev/null | head -1 | \
130838 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
130840 glibcxx_gnu_ld_version=`echo $ldver | \
130841 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
130842 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
130843 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
130846 # Set --gc-sections.
130847 glibcxx_have_gc_sections=no
130848 if test "$glibcxx_ld_is_gold" = "yes"; then
130849 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
130850 glibcxx_have_gc_sections=yes
130853 glibcxx_gcsections_min_ld=21602
130854 if test x"$with_gnu_ld" = x"yes" &&
130855 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
130856 glibcxx_have_gc_sections=yes
130859 if test "$glibcxx_have_gc_sections" = "yes"; then
130860 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
130861 # NB: This flag only works reliably after 2.16.1. Configure tests
130862 # for this are difficult, so hard wire a value that should work.
130864 ac_test_CFLAGS="${CFLAGS+set}"
130865 ac_save_CFLAGS="$CFLAGS"
130866 CFLAGS='-Wl,--gc-sections'
130868 # Check for -Wl,--gc-sections
130869 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
130870 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
130871 if test x$gcc_no_link = xyes; then
130872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
130873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
130874 { (exit 1); exit 1; }; }
130876 cat >conftest.$ac_ext <<_ACEOF
130877 /* confdefs.h. */
130878 _ACEOF
130879 cat confdefs.h >>conftest.$ac_ext
130880 cat >>conftest.$ac_ext <<_ACEOF
130881 /* end confdefs.h. */
130882 int one(void) { return 1; }
130883 int two(void) { return 2; }
130886 main ()
130888 two();
130890 return 0;
130892 _ACEOF
130893 rm -f conftest.$ac_objext conftest$ac_exeext
130894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
130895 (eval $ac_link) 2>conftest.er1
130896 ac_status=$?
130897 grep -v '^ *+' conftest.er1 >conftest.err
130898 rm -f conftest.er1
130899 cat conftest.err >&5
130900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130901 (exit $ac_status); } &&
130902 { ac_try='test -z "$ac_c_werror_flag"
130903 || test ! -s conftest.err'
130904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130905 (eval $ac_try) 2>&5
130906 ac_status=$?
130907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130908 (exit $ac_status); }; } &&
130909 { ac_try='test -s conftest$ac_exeext'
130910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
130911 (eval $ac_try) 2>&5
130912 ac_status=$?
130913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
130914 (exit $ac_status); }; }; then
130915 ac_gcsections=yes
130917 echo "$as_me: failed program was:" >&5
130918 sed 's/^/| /' conftest.$ac_ext >&5
130920 ac_gcsections=no
130922 rm -f conftest.err conftest.$ac_objext \
130923 conftest$ac_exeext conftest.$ac_ext
130924 if test "$ac_gcsections" = "yes"; then
130925 rm -f conftest.c
130926 touch conftest.c
130927 if $CC -c conftest.c; then
130928 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
130929 grep "Warning: gc-sections option ignored" > /dev/null; then
130930 ac_gcsections=no
130933 rm -f conftest.c conftest.o conftest
130935 if test "$ac_gcsections" = "yes"; then
130936 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
130938 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
130939 echo "${ECHO_T}$ac_gcsections" >&6
130941 if test "$ac_test_CFLAGS" = set; then
130942 CFLAGS="$ac_save_CFLAGS"
130944 # this is the suspicious part
130945 CFLAGS=''
130949 # Set -z,relro.
130950 # Note this is only for shared objects.
130951 ac_ld_relro=no
130952 if test x"$with_gnu_ld" = x"yes"; then
130953 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
130954 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
130955 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
130956 if test -n "$cxx_z_relo"; then
130957 OPT_LDFLAGS="-Wl,-z,relro"
130958 ac_ld_relro=yes
130960 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
130961 echo "${ECHO_T}$ac_ld_relro" >&6
130964 # Set linker optimization flags.
130965 if test x"$with_gnu_ld" = x"yes"; then
130966 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
130972 cat >>confdefs.h <<\_ACEOF
130973 #define HAVE_FINITE 1
130974 _ACEOF
130976 cat >>confdefs.h <<\_ACEOF
130977 #define HAVE_FINITEF 1
130978 _ACEOF
130980 cat >>confdefs.h <<\_ACEOF
130981 #define HAVE_FREXPF 1
130982 _ACEOF
130984 cat >>confdefs.h <<\_ACEOF
130985 #define HAVE_HYPOTF 1
130986 _ACEOF
130988 cat >>confdefs.h <<\_ACEOF
130989 #define HAVE_ISINF 1
130990 _ACEOF
130992 cat >>confdefs.h <<\_ACEOF
130993 #define HAVE_ISINFF 1
130994 _ACEOF
130996 cat >>confdefs.h <<\_ACEOF
130997 #define HAVE_ISNAN 1
130998 _ACEOF
131000 cat >>confdefs.h <<\_ACEOF
131001 #define HAVE_ISNANF 1
131002 _ACEOF
131004 cat >>confdefs.h <<\_ACEOF
131005 #define HAVE_SINCOS 1
131006 _ACEOF
131008 cat >>confdefs.h <<\_ACEOF
131009 #define HAVE_SINCOSF 1
131010 _ACEOF
131012 if test x"long_double_math_on_this_cpu" = x"yes"; then
131013 cat >>confdefs.h <<\_ACEOF
131014 #define HAVE_FINITEL 1
131015 _ACEOF
131017 cat >>confdefs.h <<\_ACEOF
131018 #define HAVE_HYPOTL 1
131019 _ACEOF
131021 cat >>confdefs.h <<\_ACEOF
131022 #define HAVE_ISINFL 1
131023 _ACEOF
131025 cat >>confdefs.h <<\_ACEOF
131026 #define HAVE_ISNANL 1
131027 _ACEOF
131031 *-vxworks)
131032 cat >>confdefs.h <<\_ACEOF
131033 #define HAVE_ACOSF 1
131034 _ACEOF
131036 cat >>confdefs.h <<\_ACEOF
131037 #define HAVE_ASINF 1
131038 _ACEOF
131040 cat >>confdefs.h <<\_ACEOF
131041 #define HAVE_ATAN2F 1
131042 _ACEOF
131044 cat >>confdefs.h <<\_ACEOF
131045 #define HAVE_ATANF 1
131046 _ACEOF
131048 cat >>confdefs.h <<\_ACEOF
131049 #define HAVE_CEILF 1
131050 _ACEOF
131052 cat >>confdefs.h <<\_ACEOF
131053 #define HAVE_COSF 1
131054 _ACEOF
131056 cat >>confdefs.h <<\_ACEOF
131057 #define HAVE_COSHF 1
131058 _ACEOF
131060 cat >>confdefs.h <<\_ACEOF
131061 #define HAVE_EXPF 1
131062 _ACEOF
131064 cat >>confdefs.h <<\_ACEOF
131065 #define HAVE_FABSF 1
131066 _ACEOF
131068 cat >>confdefs.h <<\_ACEOF
131069 #define HAVE_FLOORF 1
131070 _ACEOF
131072 cat >>confdefs.h <<\_ACEOF
131073 #define HAVE_FMODF 1
131074 _ACEOF
131076 cat >>confdefs.h <<\_ACEOF
131077 #define HAVE_HYPOT 1
131078 _ACEOF
131080 cat >>confdefs.h <<\_ACEOF
131081 #define HAVE_LOG10F 1
131082 _ACEOF
131084 cat >>confdefs.h <<\_ACEOF
131085 #define HAVE_LOGF 1
131086 _ACEOF
131088 cat >>confdefs.h <<\_ACEOF
131089 #define HAVE_POWF 1
131090 _ACEOF
131092 cat >>confdefs.h <<\_ACEOF
131093 #define HAVE_SINF 1
131094 _ACEOF
131096 cat >>confdefs.h <<\_ACEOF
131097 #define HAVE_SINHF 1
131098 _ACEOF
131100 cat >>confdefs.h <<\_ACEOF
131101 #define HAVE_SQRTF 1
131102 _ACEOF
131104 cat >>confdefs.h <<\_ACEOF
131105 #define HAVE_TANF 1
131106 _ACEOF
131108 cat >>confdefs.h <<\_ACEOF
131109 #define HAVE_TANHF 1
131110 _ACEOF
131114 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
131115 echo "$as_me: error: No support for this host/target combination." >&2;}
131116 { (exit 1); exit 1; }; }
131122 # At some point, we should differentiate between architectures
131123 # like x86, which have long double versions, and alpha/powerpc/etc.,
131124 # which don't. For the time being, punt.
131125 if test x"long_double_math_on_this_cpu" = x"yes"; then
131126 cat >>confdefs.h <<\_ACEOF
131127 #define HAVE_ACOSL 1
131128 _ACEOF
131130 cat >>confdefs.h <<\_ACEOF
131131 #define HAVE_ASINL 1
131132 _ACEOF
131134 cat >>confdefs.h <<\_ACEOF
131135 #define HAVE_ATAN2L 1
131136 _ACEOF
131138 cat >>confdefs.h <<\_ACEOF
131139 #define HAVE_ATANL 1
131140 _ACEOF
131142 cat >>confdefs.h <<\_ACEOF
131143 #define HAVE_CEILL 1
131144 _ACEOF
131146 cat >>confdefs.h <<\_ACEOF
131147 #define HAVE_COSL 1
131148 _ACEOF
131150 cat >>confdefs.h <<\_ACEOF
131151 #define HAVE_COSHL 1
131152 _ACEOF
131154 cat >>confdefs.h <<\_ACEOF
131155 #define HAVE_EXPL 1
131156 _ACEOF
131158 cat >>confdefs.h <<\_ACEOF
131159 #define HAVE_FABSL 1
131160 _ACEOF
131162 cat >>confdefs.h <<\_ACEOF
131163 #define HAVE_FLOORL 1
131164 _ACEOF
131166 cat >>confdefs.h <<\_ACEOF
131167 #define HAVE_FMODL 1
131168 _ACEOF
131170 cat >>confdefs.h <<\_ACEOF
131171 #define HAVE_FREXPL 1
131172 _ACEOF
131174 cat >>confdefs.h <<\_ACEOF
131175 #define HAVE_LDEXPL 1
131176 _ACEOF
131178 cat >>confdefs.h <<\_ACEOF
131179 #define HAVE_LOG10L 1
131180 _ACEOF
131182 cat >>confdefs.h <<\_ACEOF
131183 #define HAVE_LOGL 1
131184 _ACEOF
131186 cat >>confdefs.h <<\_ACEOF
131187 #define HAVE_MODFL 1
131188 _ACEOF
131190 cat >>confdefs.h <<\_ACEOF
131191 #define HAVE_POWL 1
131192 _ACEOF
131194 cat >>confdefs.h <<\_ACEOF
131195 #define HAVE_SINCOSL 1
131196 _ACEOF
131198 cat >>confdefs.h <<\_ACEOF
131199 #define HAVE_SINL 1
131200 _ACEOF
131202 cat >>confdefs.h <<\_ACEOF
131203 #define HAVE_SINHL 1
131204 _ACEOF
131206 cat >>confdefs.h <<\_ACEOF
131207 #define HAVE_SQRTL 1
131208 _ACEOF
131210 cat >>confdefs.h <<\_ACEOF
131211 #define HAVE_TANL 1
131212 _ACEOF
131214 cat >>confdefs.h <<\_ACEOF
131215 #define HAVE_TANHL 1
131216 _ACEOF
131221 # Check for _Unwind_GetIPInfo.
131224 # Check whether --with-system-libunwind or --without-system-libunwind was given.
131225 if test "${with_system_libunwind+set}" = set; then
131226 withval="$with_system_libunwind"
131229 # If system-libunwind was not specifically set, pick a default setting.
131230 if test x$with_system_libunwind = x; then
131231 case ${target} in
131232 ia64-*-hpux*) with_system_libunwind=yes ;;
131233 *) with_system_libunwind=no ;;
131236 # Based on system-libunwind and target, do we have ipinfo?
131237 if test x$with_system_libunwind = xyes; then
131238 case ${target} in
131239 ia64-*-*) have_unwind_getipinfo=no ;;
131240 *) have_unwind_getipinfo=yes ;;
131243 # Darwin before version 9 does not have _Unwind_GetIPInfo.
131245 case ${target} in
131246 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
131247 *) have_unwind_getipinfo=yes ;;
131252 if test x$have_unwind_getipinfo = xyes; then
131254 cat >>confdefs.h <<\_ACEOF
131255 #define HAVE_GETIPINFO 1
131256 _ACEOF
131262 # Check whether --enable-linux-futex or --disable-linux-futex was given.
131263 if test "${enable_linux_futex+set}" = set; then
131264 enableval="$enable_linux_futex"
131266 case "$enableval" in
131267 yes|no|default) ;;
131268 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
131269 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
131270 { (exit 1); exit 1; }; } ;;
131274 enable_linux_futex=default
131277 case "$target" in
131278 *-linux*)
131279 case "$enable_linux_futex" in
131280 default)
131281 # If headers don't have gettid/futex syscalls definition, then
131282 # default to no, otherwise there will be compile time failures.
131283 # Otherwise, default to yes. If we don't detect we are
131284 # compiled/linked against NPTL and not cross-compiling, check
131285 # if programs are run by default against NPTL and if not, issue
131286 # a warning.
131287 enable_linux_futex=no
131288 if test x$gcc_no_link = xyes; then
131289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
131290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
131291 { (exit 1); exit 1; }; }
131293 cat >conftest.$ac_ext <<_ACEOF
131294 /* confdefs.h. */
131295 _ACEOF
131296 cat confdefs.h >>conftest.$ac_ext
131297 cat >>conftest.$ac_ext <<_ACEOF
131298 /* end confdefs.h. */
131299 #include <sys/syscall.h>
131300 int lk;
131302 main ()
131304 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
131306 return 0;
131308 _ACEOF
131309 rm -f conftest.$ac_objext conftest$ac_exeext
131310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
131311 (eval $ac_link) 2>conftest.er1
131312 ac_status=$?
131313 grep -v '^ *+' conftest.er1 >conftest.err
131314 rm -f conftest.er1
131315 cat conftest.err >&5
131316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131317 (exit $ac_status); } &&
131318 { ac_try='test -z "$ac_c_werror_flag"
131319 || test ! -s conftest.err'
131320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131321 (eval $ac_try) 2>&5
131322 ac_status=$?
131323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131324 (exit $ac_status); }; } &&
131325 { ac_try='test -s conftest$ac_exeext'
131326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131327 (eval $ac_try) 2>&5
131328 ac_status=$?
131329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131330 (exit $ac_status); }; }; then
131331 save_LIBS="$LIBS"
131332 LIBS="-lpthread $LIBS"
131333 if test x$gcc_no_link = xyes; then
131334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
131335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
131336 { (exit 1); exit 1; }; }
131338 cat >conftest.$ac_ext <<_ACEOF
131339 /* confdefs.h. */
131340 _ACEOF
131341 cat confdefs.h >>conftest.$ac_ext
131342 cat >>conftest.$ac_ext <<_ACEOF
131343 /* end confdefs.h. */
131344 #ifndef _GNU_SOURCE
131345 #define _GNU_SOURCE 1
131346 #endif
131347 #include <pthread.h>
131348 pthread_t th; void *status;
131350 main ()
131352 pthread_tryjoin_np (th, &status);
131354 return 0;
131356 _ACEOF
131357 rm -f conftest.$ac_objext conftest$ac_exeext
131358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
131359 (eval $ac_link) 2>conftest.er1
131360 ac_status=$?
131361 grep -v '^ *+' conftest.er1 >conftest.err
131362 rm -f conftest.er1
131363 cat conftest.err >&5
131364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131365 (exit $ac_status); } &&
131366 { ac_try='test -z "$ac_c_werror_flag"
131367 || test ! -s conftest.err'
131368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131369 (eval $ac_try) 2>&5
131370 ac_status=$?
131371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131372 (exit $ac_status); }; } &&
131373 { ac_try='test -s conftest$ac_exeext'
131374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131375 (eval $ac_try) 2>&5
131376 ac_status=$?
131377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131378 (exit $ac_status); }; }; then
131379 enable_linux_futex=yes
131381 echo "$as_me: failed program was:" >&5
131382 sed 's/^/| /' conftest.$ac_ext >&5
131384 if test x$cross_compiling = xno; then
131385 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
131386 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
131387 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
131388 If so, please configure with --disable-linux-futex" >&5
131389 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
131390 If so, please configure with --disable-linux-futex" >&2;}
131393 enable_linux_futex=yes
131395 rm -f conftest.err conftest.$ac_objext \
131396 conftest$ac_exeext conftest.$ac_ext
131397 LIBS="$save_LIBS"
131399 echo "$as_me: failed program was:" >&5
131400 sed 's/^/| /' conftest.$ac_ext >&5
131403 rm -f conftest.err conftest.$ac_objext \
131404 conftest$ac_exeext conftest.$ac_ext
131407 if test x$gcc_no_link = xyes; then
131408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
131409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
131410 { (exit 1); exit 1; }; }
131412 cat >conftest.$ac_ext <<_ACEOF
131413 /* confdefs.h. */
131414 _ACEOF
131415 cat confdefs.h >>conftest.$ac_ext
131416 cat >>conftest.$ac_ext <<_ACEOF
131417 /* end confdefs.h. */
131418 #include <sys/syscall.h>
131419 int lk;
131421 main ()
131423 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
131425 return 0;
131427 _ACEOF
131428 rm -f conftest.$ac_objext conftest$ac_exeext
131429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
131430 (eval $ac_link) 2>conftest.er1
131431 ac_status=$?
131432 grep -v '^ *+' conftest.er1 >conftest.err
131433 rm -f conftest.er1
131434 cat conftest.err >&5
131435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131436 (exit $ac_status); } &&
131437 { ac_try='test -z "$ac_c_werror_flag"
131438 || test ! -s conftest.err'
131439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131440 (eval $ac_try) 2>&5
131441 ac_status=$?
131442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131443 (exit $ac_status); }; } &&
131444 { ac_try='test -s conftest$ac_exeext'
131445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131446 (eval $ac_try) 2>&5
131447 ac_status=$?
131448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131449 (exit $ac_status); }; }; then
131452 echo "$as_me: failed program was:" >&5
131453 sed 's/^/| /' conftest.$ac_ext >&5
131455 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
131456 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
131457 { (exit 1); exit 1; }; }
131459 rm -f conftest.err conftest.$ac_objext \
131460 conftest$ac_exeext conftest.$ac_ext
131465 enable_linux_futex=no
131468 if test x$enable_linux_futex = xyes; then
131470 cat >>confdefs.h <<\_ACEOF
131471 #define HAVE_LINUX_FUTEX 1
131472 _ACEOF
131479 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
131481 acx_cv_header_stdint=stddef.h
131482 acx_cv_header_stdint_kind="(already complete)"
131483 for i in stdint.h $inttype_headers; do
131484 unset ac_cv_type_uintptr_t
131485 unset ac_cv_type_uintmax_t
131486 unset ac_cv_type_int_least32_t
131487 unset ac_cv_type_int_fast32_t
131488 unset ac_cv_type_uint64_t
131489 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
131490 echo "$as_me:$LINENO: checking for uintmax_t" >&5
131491 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
131492 if test "${ac_cv_type_uintmax_t+set}" = set; then
131493 echo $ECHO_N "(cached) $ECHO_C" >&6
131495 cat >conftest.$ac_ext <<_ACEOF
131496 /* confdefs.h. */
131497 _ACEOF
131498 cat confdefs.h >>conftest.$ac_ext
131499 cat >>conftest.$ac_ext <<_ACEOF
131500 /* end confdefs.h. */
131501 #include <sys/types.h>
131502 #include <$i>
131505 main ()
131507 if ((uintmax_t *) 0)
131508 return 0;
131509 if (sizeof (uintmax_t))
131510 return 0;
131512 return 0;
131514 _ACEOF
131515 rm -f conftest.$ac_objext
131516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131517 (eval $ac_compile) 2>conftest.er1
131518 ac_status=$?
131519 grep -v '^ *+' conftest.er1 >conftest.err
131520 rm -f conftest.er1
131521 cat conftest.err >&5
131522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131523 (exit $ac_status); } &&
131524 { ac_try='test -z "$ac_c_werror_flag"
131525 || test ! -s conftest.err'
131526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131527 (eval $ac_try) 2>&5
131528 ac_status=$?
131529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131530 (exit $ac_status); }; } &&
131531 { ac_try='test -s conftest.$ac_objext'
131532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131533 (eval $ac_try) 2>&5
131534 ac_status=$?
131535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131536 (exit $ac_status); }; }; then
131537 ac_cv_type_uintmax_t=yes
131539 echo "$as_me: failed program was:" >&5
131540 sed 's/^/| /' conftest.$ac_ext >&5
131542 ac_cv_type_uintmax_t=no
131544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131546 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
131547 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
131548 if test $ac_cv_type_uintmax_t = yes; then
131549 acx_cv_header_stdint=$i
131551 continue
131554 echo "$as_me:$LINENO: checking for uintptr_t" >&5
131555 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
131556 if test "${ac_cv_type_uintptr_t+set}" = set; then
131557 echo $ECHO_N "(cached) $ECHO_C" >&6
131559 cat >conftest.$ac_ext <<_ACEOF
131560 /* confdefs.h. */
131561 _ACEOF
131562 cat confdefs.h >>conftest.$ac_ext
131563 cat >>conftest.$ac_ext <<_ACEOF
131564 /* end confdefs.h. */
131565 #include <sys/types.h>
131566 #include <$i>
131569 main ()
131571 if ((uintptr_t *) 0)
131572 return 0;
131573 if (sizeof (uintptr_t))
131574 return 0;
131576 return 0;
131578 _ACEOF
131579 rm -f conftest.$ac_objext
131580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131581 (eval $ac_compile) 2>conftest.er1
131582 ac_status=$?
131583 grep -v '^ *+' conftest.er1 >conftest.err
131584 rm -f conftest.er1
131585 cat conftest.err >&5
131586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131587 (exit $ac_status); } &&
131588 { ac_try='test -z "$ac_c_werror_flag"
131589 || test ! -s conftest.err'
131590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131591 (eval $ac_try) 2>&5
131592 ac_status=$?
131593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131594 (exit $ac_status); }; } &&
131595 { ac_try='test -s conftest.$ac_objext'
131596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131597 (eval $ac_try) 2>&5
131598 ac_status=$?
131599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131600 (exit $ac_status); }; }; then
131601 ac_cv_type_uintptr_t=yes
131603 echo "$as_me: failed program was:" >&5
131604 sed 's/^/| /' conftest.$ac_ext >&5
131606 ac_cv_type_uintptr_t=no
131608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131610 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
131611 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
131612 if test $ac_cv_type_uintptr_t = yes; then
131615 acx_cv_header_stdint_kind="(mostly complete)"
131618 echo "$as_me:$LINENO: checking for int_least32_t" >&5
131619 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
131620 if test "${ac_cv_type_int_least32_t+set}" = set; then
131621 echo $ECHO_N "(cached) $ECHO_C" >&6
131623 cat >conftest.$ac_ext <<_ACEOF
131624 /* confdefs.h. */
131625 _ACEOF
131626 cat confdefs.h >>conftest.$ac_ext
131627 cat >>conftest.$ac_ext <<_ACEOF
131628 /* end confdefs.h. */
131629 #include <sys/types.h>
131630 #include <$i>
131633 main ()
131635 if ((int_least32_t *) 0)
131636 return 0;
131637 if (sizeof (int_least32_t))
131638 return 0;
131640 return 0;
131642 _ACEOF
131643 rm -f conftest.$ac_objext
131644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131645 (eval $ac_compile) 2>conftest.er1
131646 ac_status=$?
131647 grep -v '^ *+' conftest.er1 >conftest.err
131648 rm -f conftest.er1
131649 cat conftest.err >&5
131650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131651 (exit $ac_status); } &&
131652 { ac_try='test -z "$ac_c_werror_flag"
131653 || test ! -s conftest.err'
131654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131655 (eval $ac_try) 2>&5
131656 ac_status=$?
131657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131658 (exit $ac_status); }; } &&
131659 { ac_try='test -s conftest.$ac_objext'
131660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131661 (eval $ac_try) 2>&5
131662 ac_status=$?
131663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131664 (exit $ac_status); }; }; then
131665 ac_cv_type_int_least32_t=yes
131667 echo "$as_me: failed program was:" >&5
131668 sed 's/^/| /' conftest.$ac_ext >&5
131670 ac_cv_type_int_least32_t=no
131672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131674 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
131675 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
131676 if test $ac_cv_type_int_least32_t = yes; then
131679 acx_cv_header_stdint_kind="(mostly complete)"
131682 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
131683 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
131684 if test "${ac_cv_type_int_fast32_t+set}" = set; then
131685 echo $ECHO_N "(cached) $ECHO_C" >&6
131687 cat >conftest.$ac_ext <<_ACEOF
131688 /* confdefs.h. */
131689 _ACEOF
131690 cat confdefs.h >>conftest.$ac_ext
131691 cat >>conftest.$ac_ext <<_ACEOF
131692 /* end confdefs.h. */
131693 #include <sys/types.h>
131694 #include <$i>
131697 main ()
131699 if ((int_fast32_t *) 0)
131700 return 0;
131701 if (sizeof (int_fast32_t))
131702 return 0;
131704 return 0;
131706 _ACEOF
131707 rm -f conftest.$ac_objext
131708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131709 (eval $ac_compile) 2>conftest.er1
131710 ac_status=$?
131711 grep -v '^ *+' conftest.er1 >conftest.err
131712 rm -f conftest.er1
131713 cat conftest.err >&5
131714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131715 (exit $ac_status); } &&
131716 { ac_try='test -z "$ac_c_werror_flag"
131717 || test ! -s conftest.err'
131718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131719 (eval $ac_try) 2>&5
131720 ac_status=$?
131721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131722 (exit $ac_status); }; } &&
131723 { ac_try='test -s conftest.$ac_objext'
131724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131725 (eval $ac_try) 2>&5
131726 ac_status=$?
131727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131728 (exit $ac_status); }; }; then
131729 ac_cv_type_int_fast32_t=yes
131731 echo "$as_me: failed program was:" >&5
131732 sed 's/^/| /' conftest.$ac_ext >&5
131734 ac_cv_type_int_fast32_t=no
131736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131738 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
131739 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
131740 if test $ac_cv_type_int_fast32_t = yes; then
131743 acx_cv_header_stdint_kind="(mostly complete)"
131746 echo "$as_me:$LINENO: checking for uint64_t" >&5
131747 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
131748 if test "${ac_cv_type_uint64_t+set}" = set; then
131749 echo $ECHO_N "(cached) $ECHO_C" >&6
131751 cat >conftest.$ac_ext <<_ACEOF
131752 /* confdefs.h. */
131753 _ACEOF
131754 cat confdefs.h >>conftest.$ac_ext
131755 cat >>conftest.$ac_ext <<_ACEOF
131756 /* end confdefs.h. */
131757 #include <sys/types.h>
131758 #include <$i>
131761 main ()
131763 if ((uint64_t *) 0)
131764 return 0;
131765 if (sizeof (uint64_t))
131766 return 0;
131768 return 0;
131770 _ACEOF
131771 rm -f conftest.$ac_objext
131772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131773 (eval $ac_compile) 2>conftest.er1
131774 ac_status=$?
131775 grep -v '^ *+' conftest.er1 >conftest.err
131776 rm -f conftest.er1
131777 cat conftest.err >&5
131778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131779 (exit $ac_status); } &&
131780 { ac_try='test -z "$ac_c_werror_flag"
131781 || test ! -s conftest.err'
131782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131783 (eval $ac_try) 2>&5
131784 ac_status=$?
131785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131786 (exit $ac_status); }; } &&
131787 { ac_try='test -s conftest.$ac_objext'
131788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131789 (eval $ac_try) 2>&5
131790 ac_status=$?
131791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131792 (exit $ac_status); }; }; then
131793 ac_cv_type_uint64_t=yes
131795 echo "$as_me: failed program was:" >&5
131796 sed 's/^/| /' conftest.$ac_ext >&5
131798 ac_cv_type_uint64_t=no
131800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131802 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
131803 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
131804 if test $ac_cv_type_uint64_t = yes; then
131807 acx_cv_header_stdint_kind="(lacks uint64_t)"
131810 break
131812 if test "$acx_cv_header_stdint" = stddef.h; then
131813 acx_cv_header_stdint_kind="(lacks uintmax_t)"
131814 for i in stdint.h $inttype_headers; do
131815 unset ac_cv_type_uintptr_t
131816 unset ac_cv_type_uint32_t
131817 unset ac_cv_type_uint64_t
131818 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
131819 echo "$as_me:$LINENO: checking for uint32_t" >&5
131820 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
131821 if test "${ac_cv_type_uint32_t+set}" = set; then
131822 echo $ECHO_N "(cached) $ECHO_C" >&6
131824 cat >conftest.$ac_ext <<_ACEOF
131825 /* confdefs.h. */
131826 _ACEOF
131827 cat confdefs.h >>conftest.$ac_ext
131828 cat >>conftest.$ac_ext <<_ACEOF
131829 /* end confdefs.h. */
131830 #include <sys/types.h>
131831 #include <$i>
131834 main ()
131836 if ((uint32_t *) 0)
131837 return 0;
131838 if (sizeof (uint32_t))
131839 return 0;
131841 return 0;
131843 _ACEOF
131844 rm -f conftest.$ac_objext
131845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131846 (eval $ac_compile) 2>conftest.er1
131847 ac_status=$?
131848 grep -v '^ *+' conftest.er1 >conftest.err
131849 rm -f conftest.er1
131850 cat conftest.err >&5
131851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131852 (exit $ac_status); } &&
131853 { ac_try='test -z "$ac_c_werror_flag"
131854 || test ! -s conftest.err'
131855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131856 (eval $ac_try) 2>&5
131857 ac_status=$?
131858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131859 (exit $ac_status); }; } &&
131860 { ac_try='test -s conftest.$ac_objext'
131861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131862 (eval $ac_try) 2>&5
131863 ac_status=$?
131864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131865 (exit $ac_status); }; }; then
131866 ac_cv_type_uint32_t=yes
131868 echo "$as_me: failed program was:" >&5
131869 sed 's/^/| /' conftest.$ac_ext >&5
131871 ac_cv_type_uint32_t=no
131873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131875 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
131876 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
131877 if test $ac_cv_type_uint32_t = yes; then
131878 acx_cv_header_stdint=$i
131880 continue
131883 echo "$as_me:$LINENO: checking for uint64_t" >&5
131884 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
131885 if test "${ac_cv_type_uint64_t+set}" = set; then
131886 echo $ECHO_N "(cached) $ECHO_C" >&6
131888 cat >conftest.$ac_ext <<_ACEOF
131889 /* confdefs.h. */
131890 _ACEOF
131891 cat confdefs.h >>conftest.$ac_ext
131892 cat >>conftest.$ac_ext <<_ACEOF
131893 /* end confdefs.h. */
131894 #include <sys/types.h>
131895 #include <$i>
131898 main ()
131900 if ((uint64_t *) 0)
131901 return 0;
131902 if (sizeof (uint64_t))
131903 return 0;
131905 return 0;
131907 _ACEOF
131908 rm -f conftest.$ac_objext
131909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131910 (eval $ac_compile) 2>conftest.er1
131911 ac_status=$?
131912 grep -v '^ *+' conftest.er1 >conftest.err
131913 rm -f conftest.er1
131914 cat conftest.err >&5
131915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131916 (exit $ac_status); } &&
131917 { ac_try='test -z "$ac_c_werror_flag"
131918 || test ! -s conftest.err'
131919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131920 (eval $ac_try) 2>&5
131921 ac_status=$?
131922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131923 (exit $ac_status); }; } &&
131924 { ac_try='test -s conftest.$ac_objext'
131925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131926 (eval $ac_try) 2>&5
131927 ac_status=$?
131928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131929 (exit $ac_status); }; }; then
131930 ac_cv_type_uint64_t=yes
131932 echo "$as_me: failed program was:" >&5
131933 sed 's/^/| /' conftest.$ac_ext >&5
131935 ac_cv_type_uint64_t=no
131937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131939 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
131940 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
131942 echo "$as_me:$LINENO: checking for uintptr_t" >&5
131943 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
131944 if test "${ac_cv_type_uintptr_t+set}" = set; then
131945 echo $ECHO_N "(cached) $ECHO_C" >&6
131947 cat >conftest.$ac_ext <<_ACEOF
131948 /* confdefs.h. */
131949 _ACEOF
131950 cat confdefs.h >>conftest.$ac_ext
131951 cat >>conftest.$ac_ext <<_ACEOF
131952 /* end confdefs.h. */
131953 #include <sys/types.h>
131954 #include <$i>
131957 main ()
131959 if ((uintptr_t *) 0)
131960 return 0;
131961 if (sizeof (uintptr_t))
131962 return 0;
131964 return 0;
131966 _ACEOF
131967 rm -f conftest.$ac_objext
131968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
131969 (eval $ac_compile) 2>conftest.er1
131970 ac_status=$?
131971 grep -v '^ *+' conftest.er1 >conftest.err
131972 rm -f conftest.er1
131973 cat conftest.err >&5
131974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131975 (exit $ac_status); } &&
131976 { ac_try='test -z "$ac_c_werror_flag"
131977 || test ! -s conftest.err'
131978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131979 (eval $ac_try) 2>&5
131980 ac_status=$?
131981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131982 (exit $ac_status); }; } &&
131983 { ac_try='test -s conftest.$ac_objext'
131984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
131985 (eval $ac_try) 2>&5
131986 ac_status=$?
131987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
131988 (exit $ac_status); }; }; then
131989 ac_cv_type_uintptr_t=yes
131991 echo "$as_me: failed program was:" >&5
131992 sed 's/^/| /' conftest.$ac_ext >&5
131994 ac_cv_type_uintptr_t=no
131996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
131998 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
131999 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
132001 break
132004 if test "$acx_cv_header_stdint" = stddef.h; then
132005 acx_cv_header_stdint_kind="(u_intXX_t style)"
132006 for i in sys/types.h $inttype_headers; do
132007 unset ac_cv_type_u_int32_t
132008 unset ac_cv_type_u_int64_t
132009 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
132010 echo "$as_me:$LINENO: checking for u_int32_t" >&5
132011 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
132012 if test "${ac_cv_type_u_int32_t+set}" = set; then
132013 echo $ECHO_N "(cached) $ECHO_C" >&6
132015 cat >conftest.$ac_ext <<_ACEOF
132016 /* confdefs.h. */
132017 _ACEOF
132018 cat confdefs.h >>conftest.$ac_ext
132019 cat >>conftest.$ac_ext <<_ACEOF
132020 /* end confdefs.h. */
132021 #include <sys/types.h>
132022 #include <$i>
132025 main ()
132027 if ((u_int32_t *) 0)
132028 return 0;
132029 if (sizeof (u_int32_t))
132030 return 0;
132032 return 0;
132034 _ACEOF
132035 rm -f conftest.$ac_objext
132036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132037 (eval $ac_compile) 2>conftest.er1
132038 ac_status=$?
132039 grep -v '^ *+' conftest.er1 >conftest.err
132040 rm -f conftest.er1
132041 cat conftest.err >&5
132042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132043 (exit $ac_status); } &&
132044 { ac_try='test -z "$ac_c_werror_flag"
132045 || test ! -s conftest.err'
132046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132047 (eval $ac_try) 2>&5
132048 ac_status=$?
132049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132050 (exit $ac_status); }; } &&
132051 { ac_try='test -s conftest.$ac_objext'
132052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132053 (eval $ac_try) 2>&5
132054 ac_status=$?
132055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132056 (exit $ac_status); }; }; then
132057 ac_cv_type_u_int32_t=yes
132059 echo "$as_me: failed program was:" >&5
132060 sed 's/^/| /' conftest.$ac_ext >&5
132062 ac_cv_type_u_int32_t=no
132064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132066 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
132067 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
132068 if test $ac_cv_type_u_int32_t = yes; then
132069 acx_cv_header_stdint=$i
132071 continue
132074 echo "$as_me:$LINENO: checking for u_int64_t" >&5
132075 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
132076 if test "${ac_cv_type_u_int64_t+set}" = set; then
132077 echo $ECHO_N "(cached) $ECHO_C" >&6
132079 cat >conftest.$ac_ext <<_ACEOF
132080 /* confdefs.h. */
132081 _ACEOF
132082 cat confdefs.h >>conftest.$ac_ext
132083 cat >>conftest.$ac_ext <<_ACEOF
132084 /* end confdefs.h. */
132085 #include <sys/types.h>
132086 #include <$i>
132089 main ()
132091 if ((u_int64_t *) 0)
132092 return 0;
132093 if (sizeof (u_int64_t))
132094 return 0;
132096 return 0;
132098 _ACEOF
132099 rm -f conftest.$ac_objext
132100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132101 (eval $ac_compile) 2>conftest.er1
132102 ac_status=$?
132103 grep -v '^ *+' conftest.er1 >conftest.err
132104 rm -f conftest.er1
132105 cat conftest.err >&5
132106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132107 (exit $ac_status); } &&
132108 { ac_try='test -z "$ac_c_werror_flag"
132109 || test ! -s conftest.err'
132110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132111 (eval $ac_try) 2>&5
132112 ac_status=$?
132113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132114 (exit $ac_status); }; } &&
132115 { ac_try='test -s conftest.$ac_objext'
132116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132117 (eval $ac_try) 2>&5
132118 ac_status=$?
132119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132120 (exit $ac_status); }; }; then
132121 ac_cv_type_u_int64_t=yes
132123 echo "$as_me: failed program was:" >&5
132124 sed 's/^/| /' conftest.$ac_ext >&5
132126 ac_cv_type_u_int64_t=no
132128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132130 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
132131 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
132133 break
132136 if test "$acx_cv_header_stdint" = stddef.h; then
132137 acx_cv_header_stdint_kind="(using manual detection)"
132140 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
132141 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
132142 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
132143 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
132144 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
132146 # ----------------- Summarize what we found so far
132148 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
132149 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
132151 case `$as_basename include/gstdint.h ||
132152 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
132153 Xinclude/gstdint.h : 'X\(//\)$' \| \
132154 Xinclude/gstdint.h : 'X\(/\)$' \| \
132155 . : '\(.\)' 2>/dev/null ||
132156 echo X/include/gstdint.h |
132157 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
132158 /^X\/\(\/\/\)$/{ s//\1/; q; }
132159 /^X\/\(\/\).*/{ s//\1/; q; }
132160 s/.*/./; q'` in
132161 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
132162 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
132163 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
132164 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
132165 *) ;;
132168 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
132169 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
132171 # ----------------- done included file, check C basic types --------
132173 # Lacking an uintptr_t? Test size of void *
132174 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
132175 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
132176 echo $ECHO_N "checking for void *... $ECHO_C" >&6
132177 if test "${ac_cv_type_void_p+set}" = set; then
132178 echo $ECHO_N "(cached) $ECHO_C" >&6
132180 cat >conftest.$ac_ext <<_ACEOF
132181 /* confdefs.h. */
132182 _ACEOF
132183 cat confdefs.h >>conftest.$ac_ext
132184 cat >>conftest.$ac_ext <<_ACEOF
132185 /* end confdefs.h. */
132186 $ac_includes_default
132188 main ()
132190 if ((void * *) 0)
132191 return 0;
132192 if (sizeof (void *))
132193 return 0;
132195 return 0;
132197 _ACEOF
132198 rm -f conftest.$ac_objext
132199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132200 (eval $ac_compile) 2>conftest.er1
132201 ac_status=$?
132202 grep -v '^ *+' conftest.er1 >conftest.err
132203 rm -f conftest.er1
132204 cat conftest.err >&5
132205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132206 (exit $ac_status); } &&
132207 { ac_try='test -z "$ac_c_werror_flag"
132208 || test ! -s conftest.err'
132209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132210 (eval $ac_try) 2>&5
132211 ac_status=$?
132212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132213 (exit $ac_status); }; } &&
132214 { ac_try='test -s conftest.$ac_objext'
132215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132216 (eval $ac_try) 2>&5
132217 ac_status=$?
132218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132219 (exit $ac_status); }; }; then
132220 ac_cv_type_void_p=yes
132222 echo "$as_me: failed program was:" >&5
132223 sed 's/^/| /' conftest.$ac_ext >&5
132225 ac_cv_type_void_p=no
132227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132229 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
132230 echo "${ECHO_T}$ac_cv_type_void_p" >&6
132232 echo "$as_me:$LINENO: checking size of void *" >&5
132233 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
132234 if test "${ac_cv_sizeof_void_p+set}" = set; then
132235 echo $ECHO_N "(cached) $ECHO_C" >&6
132237 if test "$ac_cv_type_void_p" = yes; then
132238 # The cast to unsigned long works around a bug in the HP C Compiler
132239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132241 # This bug is HP SR number 8606223364.
132242 if test "$cross_compiling" = yes; then
132243 # Depending upon the size, compute the lo and hi bounds.
132244 cat >conftest.$ac_ext <<_ACEOF
132245 /* confdefs.h. */
132246 _ACEOF
132247 cat confdefs.h >>conftest.$ac_ext
132248 cat >>conftest.$ac_ext <<_ACEOF
132249 /* end confdefs.h. */
132250 $ac_includes_default
132252 main ()
132254 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
132255 test_array [0] = 0
132258 return 0;
132260 _ACEOF
132261 rm -f conftest.$ac_objext
132262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132263 (eval $ac_compile) 2>conftest.er1
132264 ac_status=$?
132265 grep -v '^ *+' conftest.er1 >conftest.err
132266 rm -f conftest.er1
132267 cat conftest.err >&5
132268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132269 (exit $ac_status); } &&
132270 { ac_try='test -z "$ac_c_werror_flag"
132271 || test ! -s conftest.err'
132272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132273 (eval $ac_try) 2>&5
132274 ac_status=$?
132275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132276 (exit $ac_status); }; } &&
132277 { ac_try='test -s conftest.$ac_objext'
132278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132279 (eval $ac_try) 2>&5
132280 ac_status=$?
132281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132282 (exit $ac_status); }; }; then
132283 ac_lo=0 ac_mid=0
132284 while :; do
132285 cat >conftest.$ac_ext <<_ACEOF
132286 /* confdefs.h. */
132287 _ACEOF
132288 cat confdefs.h >>conftest.$ac_ext
132289 cat >>conftest.$ac_ext <<_ACEOF
132290 /* end confdefs.h. */
132291 $ac_includes_default
132293 main ()
132295 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
132296 test_array [0] = 0
132299 return 0;
132301 _ACEOF
132302 rm -f conftest.$ac_objext
132303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132304 (eval $ac_compile) 2>conftest.er1
132305 ac_status=$?
132306 grep -v '^ *+' conftest.er1 >conftest.err
132307 rm -f conftest.er1
132308 cat conftest.err >&5
132309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132310 (exit $ac_status); } &&
132311 { ac_try='test -z "$ac_c_werror_flag"
132312 || test ! -s conftest.err'
132313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132314 (eval $ac_try) 2>&5
132315 ac_status=$?
132316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132317 (exit $ac_status); }; } &&
132318 { ac_try='test -s conftest.$ac_objext'
132319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132320 (eval $ac_try) 2>&5
132321 ac_status=$?
132322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132323 (exit $ac_status); }; }; then
132324 ac_hi=$ac_mid; break
132326 echo "$as_me: failed program was:" >&5
132327 sed 's/^/| /' conftest.$ac_ext >&5
132329 ac_lo=`expr $ac_mid + 1`
132330 if test $ac_lo -le $ac_mid; then
132331 ac_lo= ac_hi=
132332 break
132334 ac_mid=`expr 2 '*' $ac_mid + 1`
132336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132339 echo "$as_me: failed program was:" >&5
132340 sed 's/^/| /' conftest.$ac_ext >&5
132342 cat >conftest.$ac_ext <<_ACEOF
132343 /* confdefs.h. */
132344 _ACEOF
132345 cat confdefs.h >>conftest.$ac_ext
132346 cat >>conftest.$ac_ext <<_ACEOF
132347 /* end confdefs.h. */
132348 $ac_includes_default
132350 main ()
132352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
132353 test_array [0] = 0
132356 return 0;
132358 _ACEOF
132359 rm -f conftest.$ac_objext
132360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132361 (eval $ac_compile) 2>conftest.er1
132362 ac_status=$?
132363 grep -v '^ *+' conftest.er1 >conftest.err
132364 rm -f conftest.er1
132365 cat conftest.err >&5
132366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132367 (exit $ac_status); } &&
132368 { ac_try='test -z "$ac_c_werror_flag"
132369 || test ! -s conftest.err'
132370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132371 (eval $ac_try) 2>&5
132372 ac_status=$?
132373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132374 (exit $ac_status); }; } &&
132375 { ac_try='test -s conftest.$ac_objext'
132376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132377 (eval $ac_try) 2>&5
132378 ac_status=$?
132379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132380 (exit $ac_status); }; }; then
132381 ac_hi=-1 ac_mid=-1
132382 while :; do
132383 cat >conftest.$ac_ext <<_ACEOF
132384 /* confdefs.h. */
132385 _ACEOF
132386 cat confdefs.h >>conftest.$ac_ext
132387 cat >>conftest.$ac_ext <<_ACEOF
132388 /* end confdefs.h. */
132389 $ac_includes_default
132391 main ()
132393 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
132394 test_array [0] = 0
132397 return 0;
132399 _ACEOF
132400 rm -f conftest.$ac_objext
132401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132402 (eval $ac_compile) 2>conftest.er1
132403 ac_status=$?
132404 grep -v '^ *+' conftest.er1 >conftest.err
132405 rm -f conftest.er1
132406 cat conftest.err >&5
132407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132408 (exit $ac_status); } &&
132409 { ac_try='test -z "$ac_c_werror_flag"
132410 || test ! -s conftest.err'
132411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132412 (eval $ac_try) 2>&5
132413 ac_status=$?
132414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132415 (exit $ac_status); }; } &&
132416 { ac_try='test -s conftest.$ac_objext'
132417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132418 (eval $ac_try) 2>&5
132419 ac_status=$?
132420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132421 (exit $ac_status); }; }; then
132422 ac_lo=$ac_mid; break
132424 echo "$as_me: failed program was:" >&5
132425 sed 's/^/| /' conftest.$ac_ext >&5
132427 ac_hi=`expr '(' $ac_mid ')' - 1`
132428 if test $ac_mid -le $ac_hi; then
132429 ac_lo= ac_hi=
132430 break
132432 ac_mid=`expr 2 '*' $ac_mid`
132434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132437 echo "$as_me: failed program was:" >&5
132438 sed 's/^/| /' conftest.$ac_ext >&5
132440 ac_lo= ac_hi=
132442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132445 # Binary search between lo and hi bounds.
132446 while test "x$ac_lo" != "x$ac_hi"; do
132447 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
132448 cat >conftest.$ac_ext <<_ACEOF
132449 /* confdefs.h. */
132450 _ACEOF
132451 cat confdefs.h >>conftest.$ac_ext
132452 cat >>conftest.$ac_ext <<_ACEOF
132453 /* end confdefs.h. */
132454 $ac_includes_default
132456 main ()
132458 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
132459 test_array [0] = 0
132462 return 0;
132464 _ACEOF
132465 rm -f conftest.$ac_objext
132466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132467 (eval $ac_compile) 2>conftest.er1
132468 ac_status=$?
132469 grep -v '^ *+' conftest.er1 >conftest.err
132470 rm -f conftest.er1
132471 cat conftest.err >&5
132472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132473 (exit $ac_status); } &&
132474 { ac_try='test -z "$ac_c_werror_flag"
132475 || test ! -s conftest.err'
132476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132477 (eval $ac_try) 2>&5
132478 ac_status=$?
132479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132480 (exit $ac_status); }; } &&
132481 { ac_try='test -s conftest.$ac_objext'
132482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132483 (eval $ac_try) 2>&5
132484 ac_status=$?
132485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132486 (exit $ac_status); }; }; then
132487 ac_hi=$ac_mid
132489 echo "$as_me: failed program was:" >&5
132490 sed 's/^/| /' conftest.$ac_ext >&5
132492 ac_lo=`expr '(' $ac_mid ')' + 1`
132494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132496 case $ac_lo in
132497 ?*) ac_cv_sizeof_void_p=$ac_lo;;
132498 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132499 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
132501 See \`config.log' for more details." >&5
132502 echo "$as_me: error: cannot compute sizeof (void *), 77
132503 See \`config.log' for more details." >&2;}
132504 { (exit 1); exit 1; }; }; } ;;
132507 if test "$cross_compiling" = yes; then
132508 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132509 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132510 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
132511 See \`config.log' for more details." >&5
132512 echo "$as_me: error: cannot run test program while cross compiling
132513 See \`config.log' for more details." >&2;}
132514 { (exit 1); exit 1; }; }; }
132516 cat >conftest.$ac_ext <<_ACEOF
132517 /* confdefs.h. */
132518 _ACEOF
132519 cat confdefs.h >>conftest.$ac_ext
132520 cat >>conftest.$ac_ext <<_ACEOF
132521 /* end confdefs.h. */
132522 $ac_includes_default
132523 long longval () { return (long) (sizeof (void *)); }
132524 unsigned long ulongval () { return (long) (sizeof (void *)); }
132525 #include <stdio.h>
132526 #include <stdlib.h>
132528 main ()
132531 FILE *f = fopen ("conftest.val", "w");
132532 if (! f)
132533 exit (1);
132534 if (((long) (sizeof (void *))) < 0)
132536 long i = longval ();
132537 if (i != ((long) (sizeof (void *))))
132538 exit (1);
132539 fprintf (f, "%ld\n", i);
132543 unsigned long i = ulongval ();
132544 if (i != ((long) (sizeof (void *))))
132545 exit (1);
132546 fprintf (f, "%lu\n", i);
132548 exit (ferror (f) || fclose (f) != 0);
132551 return 0;
132553 _ACEOF
132554 rm -f conftest$ac_exeext
132555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
132556 (eval $ac_link) 2>&5
132557 ac_status=$?
132558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
132560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132561 (eval $ac_try) 2>&5
132562 ac_status=$?
132563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132564 (exit $ac_status); }; }; then
132565 ac_cv_sizeof_void_p=`cat conftest.val`
132567 echo "$as_me: program exited with status $ac_status" >&5
132568 echo "$as_me: failed program was:" >&5
132569 sed 's/^/| /' conftest.$ac_ext >&5
132571 ( exit $ac_status )
132572 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
132575 See \`config.log' for more details." >&5
132576 echo "$as_me: error: cannot compute sizeof (void *), 77
132577 See \`config.log' for more details." >&2;}
132578 { (exit 1); exit 1; }; }; }
132580 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
132583 rm -f conftest.val
132585 ac_cv_sizeof_void_p=0
132588 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
132589 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
132590 cat >>confdefs.h <<_ACEOF
132591 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
132592 _ACEOF
132597 # Lacking an uint64_t? Test size of long
132598 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
132599 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
132600 echo $ECHO_N "checking for long... $ECHO_C" >&6
132601 if test "${ac_cv_type_long+set}" = set; then
132602 echo $ECHO_N "(cached) $ECHO_C" >&6
132604 cat >conftest.$ac_ext <<_ACEOF
132605 /* confdefs.h. */
132606 _ACEOF
132607 cat confdefs.h >>conftest.$ac_ext
132608 cat >>conftest.$ac_ext <<_ACEOF
132609 /* end confdefs.h. */
132610 $ac_includes_default
132612 main ()
132614 if ((long *) 0)
132615 return 0;
132616 if (sizeof (long))
132617 return 0;
132619 return 0;
132621 _ACEOF
132622 rm -f conftest.$ac_objext
132623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132624 (eval $ac_compile) 2>conftest.er1
132625 ac_status=$?
132626 grep -v '^ *+' conftest.er1 >conftest.err
132627 rm -f conftest.er1
132628 cat conftest.err >&5
132629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132630 (exit $ac_status); } &&
132631 { ac_try='test -z "$ac_c_werror_flag"
132632 || test ! -s conftest.err'
132633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132634 (eval $ac_try) 2>&5
132635 ac_status=$?
132636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132637 (exit $ac_status); }; } &&
132638 { ac_try='test -s conftest.$ac_objext'
132639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132640 (eval $ac_try) 2>&5
132641 ac_status=$?
132642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132643 (exit $ac_status); }; }; then
132644 ac_cv_type_long=yes
132646 echo "$as_me: failed program was:" >&5
132647 sed 's/^/| /' conftest.$ac_ext >&5
132649 ac_cv_type_long=no
132651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132653 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
132654 echo "${ECHO_T}$ac_cv_type_long" >&6
132656 echo "$as_me:$LINENO: checking size of long" >&5
132657 echo $ECHO_N "checking size of long... $ECHO_C" >&6
132658 if test "${ac_cv_sizeof_long+set}" = set; then
132659 echo $ECHO_N "(cached) $ECHO_C" >&6
132661 if test "$ac_cv_type_long" = yes; then
132662 # The cast to unsigned long works around a bug in the HP C Compiler
132663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132665 # This bug is HP SR number 8606223364.
132666 if test "$cross_compiling" = yes; then
132667 # Depending upon the size, compute the lo and hi bounds.
132668 cat >conftest.$ac_ext <<_ACEOF
132669 /* confdefs.h. */
132670 _ACEOF
132671 cat confdefs.h >>conftest.$ac_ext
132672 cat >>conftest.$ac_ext <<_ACEOF
132673 /* end confdefs.h. */
132674 $ac_includes_default
132676 main ()
132678 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
132679 test_array [0] = 0
132682 return 0;
132684 _ACEOF
132685 rm -f conftest.$ac_objext
132686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132687 (eval $ac_compile) 2>conftest.er1
132688 ac_status=$?
132689 grep -v '^ *+' conftest.er1 >conftest.err
132690 rm -f conftest.er1
132691 cat conftest.err >&5
132692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132693 (exit $ac_status); } &&
132694 { ac_try='test -z "$ac_c_werror_flag"
132695 || test ! -s conftest.err'
132696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132697 (eval $ac_try) 2>&5
132698 ac_status=$?
132699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132700 (exit $ac_status); }; } &&
132701 { ac_try='test -s conftest.$ac_objext'
132702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132703 (eval $ac_try) 2>&5
132704 ac_status=$?
132705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132706 (exit $ac_status); }; }; then
132707 ac_lo=0 ac_mid=0
132708 while :; do
132709 cat >conftest.$ac_ext <<_ACEOF
132710 /* confdefs.h. */
132711 _ACEOF
132712 cat confdefs.h >>conftest.$ac_ext
132713 cat >>conftest.$ac_ext <<_ACEOF
132714 /* end confdefs.h. */
132715 $ac_includes_default
132717 main ()
132719 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
132720 test_array [0] = 0
132723 return 0;
132725 _ACEOF
132726 rm -f conftest.$ac_objext
132727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132728 (eval $ac_compile) 2>conftest.er1
132729 ac_status=$?
132730 grep -v '^ *+' conftest.er1 >conftest.err
132731 rm -f conftest.er1
132732 cat conftest.err >&5
132733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132734 (exit $ac_status); } &&
132735 { ac_try='test -z "$ac_c_werror_flag"
132736 || test ! -s conftest.err'
132737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132738 (eval $ac_try) 2>&5
132739 ac_status=$?
132740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132741 (exit $ac_status); }; } &&
132742 { ac_try='test -s conftest.$ac_objext'
132743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132744 (eval $ac_try) 2>&5
132745 ac_status=$?
132746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132747 (exit $ac_status); }; }; then
132748 ac_hi=$ac_mid; break
132750 echo "$as_me: failed program was:" >&5
132751 sed 's/^/| /' conftest.$ac_ext >&5
132753 ac_lo=`expr $ac_mid + 1`
132754 if test $ac_lo -le $ac_mid; then
132755 ac_lo= ac_hi=
132756 break
132758 ac_mid=`expr 2 '*' $ac_mid + 1`
132760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132763 echo "$as_me: failed program was:" >&5
132764 sed 's/^/| /' conftest.$ac_ext >&5
132766 cat >conftest.$ac_ext <<_ACEOF
132767 /* confdefs.h. */
132768 _ACEOF
132769 cat confdefs.h >>conftest.$ac_ext
132770 cat >>conftest.$ac_ext <<_ACEOF
132771 /* end confdefs.h. */
132772 $ac_includes_default
132774 main ()
132776 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
132777 test_array [0] = 0
132780 return 0;
132782 _ACEOF
132783 rm -f conftest.$ac_objext
132784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132785 (eval $ac_compile) 2>conftest.er1
132786 ac_status=$?
132787 grep -v '^ *+' conftest.er1 >conftest.err
132788 rm -f conftest.er1
132789 cat conftest.err >&5
132790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132791 (exit $ac_status); } &&
132792 { ac_try='test -z "$ac_c_werror_flag"
132793 || test ! -s conftest.err'
132794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132795 (eval $ac_try) 2>&5
132796 ac_status=$?
132797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132798 (exit $ac_status); }; } &&
132799 { ac_try='test -s conftest.$ac_objext'
132800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132801 (eval $ac_try) 2>&5
132802 ac_status=$?
132803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132804 (exit $ac_status); }; }; then
132805 ac_hi=-1 ac_mid=-1
132806 while :; do
132807 cat >conftest.$ac_ext <<_ACEOF
132808 /* confdefs.h. */
132809 _ACEOF
132810 cat confdefs.h >>conftest.$ac_ext
132811 cat >>conftest.$ac_ext <<_ACEOF
132812 /* end confdefs.h. */
132813 $ac_includes_default
132815 main ()
132817 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
132818 test_array [0] = 0
132821 return 0;
132823 _ACEOF
132824 rm -f conftest.$ac_objext
132825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132826 (eval $ac_compile) 2>conftest.er1
132827 ac_status=$?
132828 grep -v '^ *+' conftest.er1 >conftest.err
132829 rm -f conftest.er1
132830 cat conftest.err >&5
132831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132832 (exit $ac_status); } &&
132833 { ac_try='test -z "$ac_c_werror_flag"
132834 || test ! -s conftest.err'
132835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132836 (eval $ac_try) 2>&5
132837 ac_status=$?
132838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132839 (exit $ac_status); }; } &&
132840 { ac_try='test -s conftest.$ac_objext'
132841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132842 (eval $ac_try) 2>&5
132843 ac_status=$?
132844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132845 (exit $ac_status); }; }; then
132846 ac_lo=$ac_mid; break
132848 echo "$as_me: failed program was:" >&5
132849 sed 's/^/| /' conftest.$ac_ext >&5
132851 ac_hi=`expr '(' $ac_mid ')' - 1`
132852 if test $ac_mid -le $ac_hi; then
132853 ac_lo= ac_hi=
132854 break
132856 ac_mid=`expr 2 '*' $ac_mid`
132858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132861 echo "$as_me: failed program was:" >&5
132862 sed 's/^/| /' conftest.$ac_ext >&5
132864 ac_lo= ac_hi=
132866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132869 # Binary search between lo and hi bounds.
132870 while test "x$ac_lo" != "x$ac_hi"; do
132871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
132872 cat >conftest.$ac_ext <<_ACEOF
132873 /* confdefs.h. */
132874 _ACEOF
132875 cat confdefs.h >>conftest.$ac_ext
132876 cat >>conftest.$ac_ext <<_ACEOF
132877 /* end confdefs.h. */
132878 $ac_includes_default
132880 main ()
132882 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
132883 test_array [0] = 0
132886 return 0;
132888 _ACEOF
132889 rm -f conftest.$ac_objext
132890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
132891 (eval $ac_compile) 2>conftest.er1
132892 ac_status=$?
132893 grep -v '^ *+' conftest.er1 >conftest.err
132894 rm -f conftest.er1
132895 cat conftest.err >&5
132896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132897 (exit $ac_status); } &&
132898 { ac_try='test -z "$ac_c_werror_flag"
132899 || test ! -s conftest.err'
132900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132901 (eval $ac_try) 2>&5
132902 ac_status=$?
132903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132904 (exit $ac_status); }; } &&
132905 { ac_try='test -s conftest.$ac_objext'
132906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132907 (eval $ac_try) 2>&5
132908 ac_status=$?
132909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132910 (exit $ac_status); }; }; then
132911 ac_hi=$ac_mid
132913 echo "$as_me: failed program was:" >&5
132914 sed 's/^/| /' conftest.$ac_ext >&5
132916 ac_lo=`expr '(' $ac_mid ')' + 1`
132918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
132920 case $ac_lo in
132921 ?*) ac_cv_sizeof_long=$ac_lo;;
132922 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132923 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132924 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
132925 See \`config.log' for more details." >&5
132926 echo "$as_me: error: cannot compute sizeof (long), 77
132927 See \`config.log' for more details." >&2;}
132928 { (exit 1); exit 1; }; }; } ;;
132931 if test "$cross_compiling" = yes; then
132932 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132933 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132934 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
132935 See \`config.log' for more details." >&5
132936 echo "$as_me: error: cannot run test program while cross compiling
132937 See \`config.log' for more details." >&2;}
132938 { (exit 1); exit 1; }; }; }
132940 cat >conftest.$ac_ext <<_ACEOF
132941 /* confdefs.h. */
132942 _ACEOF
132943 cat confdefs.h >>conftest.$ac_ext
132944 cat >>conftest.$ac_ext <<_ACEOF
132945 /* end confdefs.h. */
132946 $ac_includes_default
132947 long longval () { return (long) (sizeof (long)); }
132948 unsigned long ulongval () { return (long) (sizeof (long)); }
132949 #include <stdio.h>
132950 #include <stdlib.h>
132952 main ()
132955 FILE *f = fopen ("conftest.val", "w");
132956 if (! f)
132957 exit (1);
132958 if (((long) (sizeof (long))) < 0)
132960 long i = longval ();
132961 if (i != ((long) (sizeof (long))))
132962 exit (1);
132963 fprintf (f, "%ld\n", i);
132967 unsigned long i = ulongval ();
132968 if (i != ((long) (sizeof (long))))
132969 exit (1);
132970 fprintf (f, "%lu\n", i);
132972 exit (ferror (f) || fclose (f) != 0);
132975 return 0;
132977 _ACEOF
132978 rm -f conftest$ac_exeext
132979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
132980 (eval $ac_link) 2>&5
132981 ac_status=$?
132982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
132984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
132985 (eval $ac_try) 2>&5
132986 ac_status=$?
132987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
132988 (exit $ac_status); }; }; then
132989 ac_cv_sizeof_long=`cat conftest.val`
132991 echo "$as_me: program exited with status $ac_status" >&5
132992 echo "$as_me: failed program was:" >&5
132993 sed 's/^/| /' conftest.$ac_ext >&5
132995 ( exit $ac_status )
132996 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
132997 echo "$as_me: error: in \`$ac_pwd':" >&2;}
132998 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
132999 See \`config.log' for more details." >&5
133000 echo "$as_me: error: cannot compute sizeof (long), 77
133001 See \`config.log' for more details." >&2;}
133002 { (exit 1); exit 1; }; }; }
133004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
133007 rm -f conftest.val
133009 ac_cv_sizeof_long=0
133012 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
133013 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
133014 cat >>confdefs.h <<_ACEOF
133015 #define SIZEOF_LONG $ac_cv_sizeof_long
133016 _ACEOF
133021 if test $acx_cv_header_stdint = stddef.h; then
133022 # Lacking a good header? Test size of everything and deduce all types.
133023 echo "$as_me:$LINENO: checking for int" >&5
133024 echo $ECHO_N "checking for int... $ECHO_C" >&6
133025 if test "${ac_cv_type_int+set}" = set; then
133026 echo $ECHO_N "(cached) $ECHO_C" >&6
133028 cat >conftest.$ac_ext <<_ACEOF
133029 /* confdefs.h. */
133030 _ACEOF
133031 cat confdefs.h >>conftest.$ac_ext
133032 cat >>conftest.$ac_ext <<_ACEOF
133033 /* end confdefs.h. */
133034 $ac_includes_default
133036 main ()
133038 if ((int *) 0)
133039 return 0;
133040 if (sizeof (int))
133041 return 0;
133043 return 0;
133045 _ACEOF
133046 rm -f conftest.$ac_objext
133047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133048 (eval $ac_compile) 2>conftest.er1
133049 ac_status=$?
133050 grep -v '^ *+' conftest.er1 >conftest.err
133051 rm -f conftest.er1
133052 cat conftest.err >&5
133053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133054 (exit $ac_status); } &&
133055 { ac_try='test -z "$ac_c_werror_flag"
133056 || test ! -s conftest.err'
133057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133058 (eval $ac_try) 2>&5
133059 ac_status=$?
133060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133061 (exit $ac_status); }; } &&
133062 { ac_try='test -s conftest.$ac_objext'
133063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133064 (eval $ac_try) 2>&5
133065 ac_status=$?
133066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133067 (exit $ac_status); }; }; then
133068 ac_cv_type_int=yes
133070 echo "$as_me: failed program was:" >&5
133071 sed 's/^/| /' conftest.$ac_ext >&5
133073 ac_cv_type_int=no
133075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133077 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
133078 echo "${ECHO_T}$ac_cv_type_int" >&6
133080 echo "$as_me:$LINENO: checking size of int" >&5
133081 echo $ECHO_N "checking size of int... $ECHO_C" >&6
133082 if test "${ac_cv_sizeof_int+set}" = set; then
133083 echo $ECHO_N "(cached) $ECHO_C" >&6
133085 if test "$ac_cv_type_int" = yes; then
133086 # The cast to unsigned long works around a bug in the HP C Compiler
133087 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
133088 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
133089 # This bug is HP SR number 8606223364.
133090 if test "$cross_compiling" = yes; then
133091 # Depending upon the size, compute the lo and hi bounds.
133092 cat >conftest.$ac_ext <<_ACEOF
133093 /* confdefs.h. */
133094 _ACEOF
133095 cat confdefs.h >>conftest.$ac_ext
133096 cat >>conftest.$ac_ext <<_ACEOF
133097 /* end confdefs.h. */
133098 $ac_includes_default
133100 main ()
133102 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
133103 test_array [0] = 0
133106 return 0;
133108 _ACEOF
133109 rm -f conftest.$ac_objext
133110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133111 (eval $ac_compile) 2>conftest.er1
133112 ac_status=$?
133113 grep -v '^ *+' conftest.er1 >conftest.err
133114 rm -f conftest.er1
133115 cat conftest.err >&5
133116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133117 (exit $ac_status); } &&
133118 { ac_try='test -z "$ac_c_werror_flag"
133119 || test ! -s conftest.err'
133120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133121 (eval $ac_try) 2>&5
133122 ac_status=$?
133123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133124 (exit $ac_status); }; } &&
133125 { ac_try='test -s conftest.$ac_objext'
133126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133127 (eval $ac_try) 2>&5
133128 ac_status=$?
133129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133130 (exit $ac_status); }; }; then
133131 ac_lo=0 ac_mid=0
133132 while :; do
133133 cat >conftest.$ac_ext <<_ACEOF
133134 /* confdefs.h. */
133135 _ACEOF
133136 cat confdefs.h >>conftest.$ac_ext
133137 cat >>conftest.$ac_ext <<_ACEOF
133138 /* end confdefs.h. */
133139 $ac_includes_default
133141 main ()
133143 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
133144 test_array [0] = 0
133147 return 0;
133149 _ACEOF
133150 rm -f conftest.$ac_objext
133151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133152 (eval $ac_compile) 2>conftest.er1
133153 ac_status=$?
133154 grep -v '^ *+' conftest.er1 >conftest.err
133155 rm -f conftest.er1
133156 cat conftest.err >&5
133157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133158 (exit $ac_status); } &&
133159 { ac_try='test -z "$ac_c_werror_flag"
133160 || test ! -s conftest.err'
133161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133162 (eval $ac_try) 2>&5
133163 ac_status=$?
133164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133165 (exit $ac_status); }; } &&
133166 { ac_try='test -s conftest.$ac_objext'
133167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133168 (eval $ac_try) 2>&5
133169 ac_status=$?
133170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133171 (exit $ac_status); }; }; then
133172 ac_hi=$ac_mid; break
133174 echo "$as_me: failed program was:" >&5
133175 sed 's/^/| /' conftest.$ac_ext >&5
133177 ac_lo=`expr $ac_mid + 1`
133178 if test $ac_lo -le $ac_mid; then
133179 ac_lo= ac_hi=
133180 break
133182 ac_mid=`expr 2 '*' $ac_mid + 1`
133184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133187 echo "$as_me: failed program was:" >&5
133188 sed 's/^/| /' conftest.$ac_ext >&5
133190 cat >conftest.$ac_ext <<_ACEOF
133191 /* confdefs.h. */
133192 _ACEOF
133193 cat confdefs.h >>conftest.$ac_ext
133194 cat >>conftest.$ac_ext <<_ACEOF
133195 /* end confdefs.h. */
133196 $ac_includes_default
133198 main ()
133200 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
133201 test_array [0] = 0
133204 return 0;
133206 _ACEOF
133207 rm -f conftest.$ac_objext
133208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133209 (eval $ac_compile) 2>conftest.er1
133210 ac_status=$?
133211 grep -v '^ *+' conftest.er1 >conftest.err
133212 rm -f conftest.er1
133213 cat conftest.err >&5
133214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133215 (exit $ac_status); } &&
133216 { ac_try='test -z "$ac_c_werror_flag"
133217 || test ! -s conftest.err'
133218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133219 (eval $ac_try) 2>&5
133220 ac_status=$?
133221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133222 (exit $ac_status); }; } &&
133223 { ac_try='test -s conftest.$ac_objext'
133224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133225 (eval $ac_try) 2>&5
133226 ac_status=$?
133227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133228 (exit $ac_status); }; }; then
133229 ac_hi=-1 ac_mid=-1
133230 while :; do
133231 cat >conftest.$ac_ext <<_ACEOF
133232 /* confdefs.h. */
133233 _ACEOF
133234 cat confdefs.h >>conftest.$ac_ext
133235 cat >>conftest.$ac_ext <<_ACEOF
133236 /* end confdefs.h. */
133237 $ac_includes_default
133239 main ()
133241 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
133242 test_array [0] = 0
133245 return 0;
133247 _ACEOF
133248 rm -f conftest.$ac_objext
133249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133250 (eval $ac_compile) 2>conftest.er1
133251 ac_status=$?
133252 grep -v '^ *+' conftest.er1 >conftest.err
133253 rm -f conftest.er1
133254 cat conftest.err >&5
133255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133256 (exit $ac_status); } &&
133257 { ac_try='test -z "$ac_c_werror_flag"
133258 || test ! -s conftest.err'
133259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133260 (eval $ac_try) 2>&5
133261 ac_status=$?
133262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133263 (exit $ac_status); }; } &&
133264 { ac_try='test -s conftest.$ac_objext'
133265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133266 (eval $ac_try) 2>&5
133267 ac_status=$?
133268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133269 (exit $ac_status); }; }; then
133270 ac_lo=$ac_mid; break
133272 echo "$as_me: failed program was:" >&5
133273 sed 's/^/| /' conftest.$ac_ext >&5
133275 ac_hi=`expr '(' $ac_mid ')' - 1`
133276 if test $ac_mid -le $ac_hi; then
133277 ac_lo= ac_hi=
133278 break
133280 ac_mid=`expr 2 '*' $ac_mid`
133282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133285 echo "$as_me: failed program was:" >&5
133286 sed 's/^/| /' conftest.$ac_ext >&5
133288 ac_lo= ac_hi=
133290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133293 # Binary search between lo and hi bounds.
133294 while test "x$ac_lo" != "x$ac_hi"; do
133295 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
133296 cat >conftest.$ac_ext <<_ACEOF
133297 /* confdefs.h. */
133298 _ACEOF
133299 cat confdefs.h >>conftest.$ac_ext
133300 cat >>conftest.$ac_ext <<_ACEOF
133301 /* end confdefs.h. */
133302 $ac_includes_default
133304 main ()
133306 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
133307 test_array [0] = 0
133310 return 0;
133312 _ACEOF
133313 rm -f conftest.$ac_objext
133314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133315 (eval $ac_compile) 2>conftest.er1
133316 ac_status=$?
133317 grep -v '^ *+' conftest.er1 >conftest.err
133318 rm -f conftest.er1
133319 cat conftest.err >&5
133320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133321 (exit $ac_status); } &&
133322 { ac_try='test -z "$ac_c_werror_flag"
133323 || test ! -s conftest.err'
133324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133325 (eval $ac_try) 2>&5
133326 ac_status=$?
133327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133328 (exit $ac_status); }; } &&
133329 { ac_try='test -s conftest.$ac_objext'
133330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133331 (eval $ac_try) 2>&5
133332 ac_status=$?
133333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133334 (exit $ac_status); }; }; then
133335 ac_hi=$ac_mid
133337 echo "$as_me: failed program was:" >&5
133338 sed 's/^/| /' conftest.$ac_ext >&5
133340 ac_lo=`expr '(' $ac_mid ')' + 1`
133342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133344 case $ac_lo in
133345 ?*) ac_cv_sizeof_int=$ac_lo;;
133346 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133347 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133348 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
133349 See \`config.log' for more details." >&5
133350 echo "$as_me: error: cannot compute sizeof (int), 77
133351 See \`config.log' for more details." >&2;}
133352 { (exit 1); exit 1; }; }; } ;;
133355 if test "$cross_compiling" = yes; then
133356 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133357 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133358 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
133359 See \`config.log' for more details." >&5
133360 echo "$as_me: error: cannot run test program while cross compiling
133361 See \`config.log' for more details." >&2;}
133362 { (exit 1); exit 1; }; }; }
133364 cat >conftest.$ac_ext <<_ACEOF
133365 /* confdefs.h. */
133366 _ACEOF
133367 cat confdefs.h >>conftest.$ac_ext
133368 cat >>conftest.$ac_ext <<_ACEOF
133369 /* end confdefs.h. */
133370 $ac_includes_default
133371 long longval () { return (long) (sizeof (int)); }
133372 unsigned long ulongval () { return (long) (sizeof (int)); }
133373 #include <stdio.h>
133374 #include <stdlib.h>
133376 main ()
133379 FILE *f = fopen ("conftest.val", "w");
133380 if (! f)
133381 exit (1);
133382 if (((long) (sizeof (int))) < 0)
133384 long i = longval ();
133385 if (i != ((long) (sizeof (int))))
133386 exit (1);
133387 fprintf (f, "%ld\n", i);
133391 unsigned long i = ulongval ();
133392 if (i != ((long) (sizeof (int))))
133393 exit (1);
133394 fprintf (f, "%lu\n", i);
133396 exit (ferror (f) || fclose (f) != 0);
133399 return 0;
133401 _ACEOF
133402 rm -f conftest$ac_exeext
133403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
133404 (eval $ac_link) 2>&5
133405 ac_status=$?
133406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133407 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
133408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133409 (eval $ac_try) 2>&5
133410 ac_status=$?
133411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133412 (exit $ac_status); }; }; then
133413 ac_cv_sizeof_int=`cat conftest.val`
133415 echo "$as_me: program exited with status $ac_status" >&5
133416 echo "$as_me: failed program was:" >&5
133417 sed 's/^/| /' conftest.$ac_ext >&5
133419 ( exit $ac_status )
133420 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133422 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
133423 See \`config.log' for more details." >&5
133424 echo "$as_me: error: cannot compute sizeof (int), 77
133425 See \`config.log' for more details." >&2;}
133426 { (exit 1); exit 1; }; }; }
133428 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
133431 rm -f conftest.val
133433 ac_cv_sizeof_int=0
133436 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
133437 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
133438 cat >>confdefs.h <<_ACEOF
133439 #define SIZEOF_INT $ac_cv_sizeof_int
133440 _ACEOF
133443 echo "$as_me:$LINENO: checking for short" >&5
133444 echo $ECHO_N "checking for short... $ECHO_C" >&6
133445 if test "${ac_cv_type_short+set}" = set; then
133446 echo $ECHO_N "(cached) $ECHO_C" >&6
133448 cat >conftest.$ac_ext <<_ACEOF
133449 /* confdefs.h. */
133450 _ACEOF
133451 cat confdefs.h >>conftest.$ac_ext
133452 cat >>conftest.$ac_ext <<_ACEOF
133453 /* end confdefs.h. */
133454 $ac_includes_default
133456 main ()
133458 if ((short *) 0)
133459 return 0;
133460 if (sizeof (short))
133461 return 0;
133463 return 0;
133465 _ACEOF
133466 rm -f conftest.$ac_objext
133467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133468 (eval $ac_compile) 2>conftest.er1
133469 ac_status=$?
133470 grep -v '^ *+' conftest.er1 >conftest.err
133471 rm -f conftest.er1
133472 cat conftest.err >&5
133473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133474 (exit $ac_status); } &&
133475 { ac_try='test -z "$ac_c_werror_flag"
133476 || test ! -s conftest.err'
133477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133478 (eval $ac_try) 2>&5
133479 ac_status=$?
133480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133481 (exit $ac_status); }; } &&
133482 { ac_try='test -s conftest.$ac_objext'
133483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133484 (eval $ac_try) 2>&5
133485 ac_status=$?
133486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133487 (exit $ac_status); }; }; then
133488 ac_cv_type_short=yes
133490 echo "$as_me: failed program was:" >&5
133491 sed 's/^/| /' conftest.$ac_ext >&5
133493 ac_cv_type_short=no
133495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133497 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
133498 echo "${ECHO_T}$ac_cv_type_short" >&6
133500 echo "$as_me:$LINENO: checking size of short" >&5
133501 echo $ECHO_N "checking size of short... $ECHO_C" >&6
133502 if test "${ac_cv_sizeof_short+set}" = set; then
133503 echo $ECHO_N "(cached) $ECHO_C" >&6
133505 if test "$ac_cv_type_short" = yes; then
133506 # The cast to unsigned long works around a bug in the HP C Compiler
133507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
133508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
133509 # This bug is HP SR number 8606223364.
133510 if test "$cross_compiling" = yes; then
133511 # Depending upon the size, compute the lo and hi bounds.
133512 cat >conftest.$ac_ext <<_ACEOF
133513 /* confdefs.h. */
133514 _ACEOF
133515 cat confdefs.h >>conftest.$ac_ext
133516 cat >>conftest.$ac_ext <<_ACEOF
133517 /* end confdefs.h. */
133518 $ac_includes_default
133520 main ()
133522 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
133523 test_array [0] = 0
133526 return 0;
133528 _ACEOF
133529 rm -f conftest.$ac_objext
133530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133531 (eval $ac_compile) 2>conftest.er1
133532 ac_status=$?
133533 grep -v '^ *+' conftest.er1 >conftest.err
133534 rm -f conftest.er1
133535 cat conftest.err >&5
133536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133537 (exit $ac_status); } &&
133538 { ac_try='test -z "$ac_c_werror_flag"
133539 || test ! -s conftest.err'
133540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133541 (eval $ac_try) 2>&5
133542 ac_status=$?
133543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133544 (exit $ac_status); }; } &&
133545 { ac_try='test -s conftest.$ac_objext'
133546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133547 (eval $ac_try) 2>&5
133548 ac_status=$?
133549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133550 (exit $ac_status); }; }; then
133551 ac_lo=0 ac_mid=0
133552 while :; do
133553 cat >conftest.$ac_ext <<_ACEOF
133554 /* confdefs.h. */
133555 _ACEOF
133556 cat confdefs.h >>conftest.$ac_ext
133557 cat >>conftest.$ac_ext <<_ACEOF
133558 /* end confdefs.h. */
133559 $ac_includes_default
133561 main ()
133563 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
133564 test_array [0] = 0
133567 return 0;
133569 _ACEOF
133570 rm -f conftest.$ac_objext
133571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133572 (eval $ac_compile) 2>conftest.er1
133573 ac_status=$?
133574 grep -v '^ *+' conftest.er1 >conftest.err
133575 rm -f conftest.er1
133576 cat conftest.err >&5
133577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133578 (exit $ac_status); } &&
133579 { ac_try='test -z "$ac_c_werror_flag"
133580 || test ! -s conftest.err'
133581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133582 (eval $ac_try) 2>&5
133583 ac_status=$?
133584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133585 (exit $ac_status); }; } &&
133586 { ac_try='test -s conftest.$ac_objext'
133587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133588 (eval $ac_try) 2>&5
133589 ac_status=$?
133590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133591 (exit $ac_status); }; }; then
133592 ac_hi=$ac_mid; break
133594 echo "$as_me: failed program was:" >&5
133595 sed 's/^/| /' conftest.$ac_ext >&5
133597 ac_lo=`expr $ac_mid + 1`
133598 if test $ac_lo -le $ac_mid; then
133599 ac_lo= ac_hi=
133600 break
133602 ac_mid=`expr 2 '*' $ac_mid + 1`
133604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133607 echo "$as_me: failed program was:" >&5
133608 sed 's/^/| /' conftest.$ac_ext >&5
133610 cat >conftest.$ac_ext <<_ACEOF
133611 /* confdefs.h. */
133612 _ACEOF
133613 cat confdefs.h >>conftest.$ac_ext
133614 cat >>conftest.$ac_ext <<_ACEOF
133615 /* end confdefs.h. */
133616 $ac_includes_default
133618 main ()
133620 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
133621 test_array [0] = 0
133624 return 0;
133626 _ACEOF
133627 rm -f conftest.$ac_objext
133628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133629 (eval $ac_compile) 2>conftest.er1
133630 ac_status=$?
133631 grep -v '^ *+' conftest.er1 >conftest.err
133632 rm -f conftest.er1
133633 cat conftest.err >&5
133634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133635 (exit $ac_status); } &&
133636 { ac_try='test -z "$ac_c_werror_flag"
133637 || test ! -s conftest.err'
133638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133639 (eval $ac_try) 2>&5
133640 ac_status=$?
133641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133642 (exit $ac_status); }; } &&
133643 { ac_try='test -s conftest.$ac_objext'
133644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133645 (eval $ac_try) 2>&5
133646 ac_status=$?
133647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133648 (exit $ac_status); }; }; then
133649 ac_hi=-1 ac_mid=-1
133650 while :; do
133651 cat >conftest.$ac_ext <<_ACEOF
133652 /* confdefs.h. */
133653 _ACEOF
133654 cat confdefs.h >>conftest.$ac_ext
133655 cat >>conftest.$ac_ext <<_ACEOF
133656 /* end confdefs.h. */
133657 $ac_includes_default
133659 main ()
133661 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
133662 test_array [0] = 0
133665 return 0;
133667 _ACEOF
133668 rm -f conftest.$ac_objext
133669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133670 (eval $ac_compile) 2>conftest.er1
133671 ac_status=$?
133672 grep -v '^ *+' conftest.er1 >conftest.err
133673 rm -f conftest.er1
133674 cat conftest.err >&5
133675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133676 (exit $ac_status); } &&
133677 { ac_try='test -z "$ac_c_werror_flag"
133678 || test ! -s conftest.err'
133679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133680 (eval $ac_try) 2>&5
133681 ac_status=$?
133682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133683 (exit $ac_status); }; } &&
133684 { ac_try='test -s conftest.$ac_objext'
133685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133686 (eval $ac_try) 2>&5
133687 ac_status=$?
133688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133689 (exit $ac_status); }; }; then
133690 ac_lo=$ac_mid; break
133692 echo "$as_me: failed program was:" >&5
133693 sed 's/^/| /' conftest.$ac_ext >&5
133695 ac_hi=`expr '(' $ac_mid ')' - 1`
133696 if test $ac_mid -le $ac_hi; then
133697 ac_lo= ac_hi=
133698 break
133700 ac_mid=`expr 2 '*' $ac_mid`
133702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133705 echo "$as_me: failed program was:" >&5
133706 sed 's/^/| /' conftest.$ac_ext >&5
133708 ac_lo= ac_hi=
133710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133713 # Binary search between lo and hi bounds.
133714 while test "x$ac_lo" != "x$ac_hi"; do
133715 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
133716 cat >conftest.$ac_ext <<_ACEOF
133717 /* confdefs.h. */
133718 _ACEOF
133719 cat confdefs.h >>conftest.$ac_ext
133720 cat >>conftest.$ac_ext <<_ACEOF
133721 /* end confdefs.h. */
133722 $ac_includes_default
133724 main ()
133726 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
133727 test_array [0] = 0
133730 return 0;
133732 _ACEOF
133733 rm -f conftest.$ac_objext
133734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133735 (eval $ac_compile) 2>conftest.er1
133736 ac_status=$?
133737 grep -v '^ *+' conftest.er1 >conftest.err
133738 rm -f conftest.er1
133739 cat conftest.err >&5
133740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133741 (exit $ac_status); } &&
133742 { ac_try='test -z "$ac_c_werror_flag"
133743 || test ! -s conftest.err'
133744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133745 (eval $ac_try) 2>&5
133746 ac_status=$?
133747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133748 (exit $ac_status); }; } &&
133749 { ac_try='test -s conftest.$ac_objext'
133750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133751 (eval $ac_try) 2>&5
133752 ac_status=$?
133753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133754 (exit $ac_status); }; }; then
133755 ac_hi=$ac_mid
133757 echo "$as_me: failed program was:" >&5
133758 sed 's/^/| /' conftest.$ac_ext >&5
133760 ac_lo=`expr '(' $ac_mid ')' + 1`
133762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133764 case $ac_lo in
133765 ?*) ac_cv_sizeof_short=$ac_lo;;
133766 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133767 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
133769 See \`config.log' for more details." >&5
133770 echo "$as_me: error: cannot compute sizeof (short), 77
133771 See \`config.log' for more details." >&2;}
133772 { (exit 1); exit 1; }; }; } ;;
133775 if test "$cross_compiling" = yes; then
133776 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133777 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133778 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
133779 See \`config.log' for more details." >&5
133780 echo "$as_me: error: cannot run test program while cross compiling
133781 See \`config.log' for more details." >&2;}
133782 { (exit 1); exit 1; }; }; }
133784 cat >conftest.$ac_ext <<_ACEOF
133785 /* confdefs.h. */
133786 _ACEOF
133787 cat confdefs.h >>conftest.$ac_ext
133788 cat >>conftest.$ac_ext <<_ACEOF
133789 /* end confdefs.h. */
133790 $ac_includes_default
133791 long longval () { return (long) (sizeof (short)); }
133792 unsigned long ulongval () { return (long) (sizeof (short)); }
133793 #include <stdio.h>
133794 #include <stdlib.h>
133796 main ()
133799 FILE *f = fopen ("conftest.val", "w");
133800 if (! f)
133801 exit (1);
133802 if (((long) (sizeof (short))) < 0)
133804 long i = longval ();
133805 if (i != ((long) (sizeof (short))))
133806 exit (1);
133807 fprintf (f, "%ld\n", i);
133811 unsigned long i = ulongval ();
133812 if (i != ((long) (sizeof (short))))
133813 exit (1);
133814 fprintf (f, "%lu\n", i);
133816 exit (ferror (f) || fclose (f) != 0);
133819 return 0;
133821 _ACEOF
133822 rm -f conftest$ac_exeext
133823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
133824 (eval $ac_link) 2>&5
133825 ac_status=$?
133826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
133828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133829 (eval $ac_try) 2>&5
133830 ac_status=$?
133831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133832 (exit $ac_status); }; }; then
133833 ac_cv_sizeof_short=`cat conftest.val`
133835 echo "$as_me: program exited with status $ac_status" >&5
133836 echo "$as_me: failed program was:" >&5
133837 sed 's/^/| /' conftest.$ac_ext >&5
133839 ( exit $ac_status )
133840 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
133841 echo "$as_me: error: in \`$ac_pwd':" >&2;}
133842 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
133843 See \`config.log' for more details." >&5
133844 echo "$as_me: error: cannot compute sizeof (short), 77
133845 See \`config.log' for more details." >&2;}
133846 { (exit 1); exit 1; }; }; }
133848 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
133851 rm -f conftest.val
133853 ac_cv_sizeof_short=0
133856 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
133857 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
133858 cat >>confdefs.h <<_ACEOF
133859 #define SIZEOF_SHORT $ac_cv_sizeof_short
133860 _ACEOF
133863 echo "$as_me:$LINENO: checking for char" >&5
133864 echo $ECHO_N "checking for char... $ECHO_C" >&6
133865 if test "${ac_cv_type_char+set}" = set; then
133866 echo $ECHO_N "(cached) $ECHO_C" >&6
133868 cat >conftest.$ac_ext <<_ACEOF
133869 /* confdefs.h. */
133870 _ACEOF
133871 cat confdefs.h >>conftest.$ac_ext
133872 cat >>conftest.$ac_ext <<_ACEOF
133873 /* end confdefs.h. */
133874 $ac_includes_default
133876 main ()
133878 if ((char *) 0)
133879 return 0;
133880 if (sizeof (char))
133881 return 0;
133883 return 0;
133885 _ACEOF
133886 rm -f conftest.$ac_objext
133887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133888 (eval $ac_compile) 2>conftest.er1
133889 ac_status=$?
133890 grep -v '^ *+' conftest.er1 >conftest.err
133891 rm -f conftest.er1
133892 cat conftest.err >&5
133893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133894 (exit $ac_status); } &&
133895 { ac_try='test -z "$ac_c_werror_flag"
133896 || test ! -s conftest.err'
133897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133898 (eval $ac_try) 2>&5
133899 ac_status=$?
133900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133901 (exit $ac_status); }; } &&
133902 { ac_try='test -s conftest.$ac_objext'
133903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133904 (eval $ac_try) 2>&5
133905 ac_status=$?
133906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133907 (exit $ac_status); }; }; then
133908 ac_cv_type_char=yes
133910 echo "$as_me: failed program was:" >&5
133911 sed 's/^/| /' conftest.$ac_ext >&5
133913 ac_cv_type_char=no
133915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
133917 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
133918 echo "${ECHO_T}$ac_cv_type_char" >&6
133920 echo "$as_me:$LINENO: checking size of char" >&5
133921 echo $ECHO_N "checking size of char... $ECHO_C" >&6
133922 if test "${ac_cv_sizeof_char+set}" = set; then
133923 echo $ECHO_N "(cached) $ECHO_C" >&6
133925 if test "$ac_cv_type_char" = yes; then
133926 # The cast to unsigned long works around a bug in the HP C Compiler
133927 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
133928 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
133929 # This bug is HP SR number 8606223364.
133930 if test "$cross_compiling" = yes; then
133931 # Depending upon the size, compute the lo and hi bounds.
133932 cat >conftest.$ac_ext <<_ACEOF
133933 /* confdefs.h. */
133934 _ACEOF
133935 cat confdefs.h >>conftest.$ac_ext
133936 cat >>conftest.$ac_ext <<_ACEOF
133937 /* end confdefs.h. */
133938 $ac_includes_default
133940 main ()
133942 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
133943 test_array [0] = 0
133946 return 0;
133948 _ACEOF
133949 rm -f conftest.$ac_objext
133950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133951 (eval $ac_compile) 2>conftest.er1
133952 ac_status=$?
133953 grep -v '^ *+' conftest.er1 >conftest.err
133954 rm -f conftest.er1
133955 cat conftest.err >&5
133956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133957 (exit $ac_status); } &&
133958 { ac_try='test -z "$ac_c_werror_flag"
133959 || test ! -s conftest.err'
133960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133961 (eval $ac_try) 2>&5
133962 ac_status=$?
133963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133964 (exit $ac_status); }; } &&
133965 { ac_try='test -s conftest.$ac_objext'
133966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
133967 (eval $ac_try) 2>&5
133968 ac_status=$?
133969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133970 (exit $ac_status); }; }; then
133971 ac_lo=0 ac_mid=0
133972 while :; do
133973 cat >conftest.$ac_ext <<_ACEOF
133974 /* confdefs.h. */
133975 _ACEOF
133976 cat confdefs.h >>conftest.$ac_ext
133977 cat >>conftest.$ac_ext <<_ACEOF
133978 /* end confdefs.h. */
133979 $ac_includes_default
133981 main ()
133983 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
133984 test_array [0] = 0
133987 return 0;
133989 _ACEOF
133990 rm -f conftest.$ac_objext
133991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
133992 (eval $ac_compile) 2>conftest.er1
133993 ac_status=$?
133994 grep -v '^ *+' conftest.er1 >conftest.err
133995 rm -f conftest.er1
133996 cat conftest.err >&5
133997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
133998 (exit $ac_status); } &&
133999 { ac_try='test -z "$ac_c_werror_flag"
134000 || test ! -s conftest.err'
134001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134002 (eval $ac_try) 2>&5
134003 ac_status=$?
134004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134005 (exit $ac_status); }; } &&
134006 { ac_try='test -s conftest.$ac_objext'
134007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134008 (eval $ac_try) 2>&5
134009 ac_status=$?
134010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134011 (exit $ac_status); }; }; then
134012 ac_hi=$ac_mid; break
134014 echo "$as_me: failed program was:" >&5
134015 sed 's/^/| /' conftest.$ac_ext >&5
134017 ac_lo=`expr $ac_mid + 1`
134018 if test $ac_lo -le $ac_mid; then
134019 ac_lo= ac_hi=
134020 break
134022 ac_mid=`expr 2 '*' $ac_mid + 1`
134024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134027 echo "$as_me: failed program was:" >&5
134028 sed 's/^/| /' conftest.$ac_ext >&5
134030 cat >conftest.$ac_ext <<_ACEOF
134031 /* confdefs.h. */
134032 _ACEOF
134033 cat confdefs.h >>conftest.$ac_ext
134034 cat >>conftest.$ac_ext <<_ACEOF
134035 /* end confdefs.h. */
134036 $ac_includes_default
134038 main ()
134040 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
134041 test_array [0] = 0
134044 return 0;
134046 _ACEOF
134047 rm -f conftest.$ac_objext
134048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134049 (eval $ac_compile) 2>conftest.er1
134050 ac_status=$?
134051 grep -v '^ *+' conftest.er1 >conftest.err
134052 rm -f conftest.er1
134053 cat conftest.err >&5
134054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134055 (exit $ac_status); } &&
134056 { ac_try='test -z "$ac_c_werror_flag"
134057 || test ! -s conftest.err'
134058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134059 (eval $ac_try) 2>&5
134060 ac_status=$?
134061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134062 (exit $ac_status); }; } &&
134063 { ac_try='test -s conftest.$ac_objext'
134064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134065 (eval $ac_try) 2>&5
134066 ac_status=$?
134067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134068 (exit $ac_status); }; }; then
134069 ac_hi=-1 ac_mid=-1
134070 while :; do
134071 cat >conftest.$ac_ext <<_ACEOF
134072 /* confdefs.h. */
134073 _ACEOF
134074 cat confdefs.h >>conftest.$ac_ext
134075 cat >>conftest.$ac_ext <<_ACEOF
134076 /* end confdefs.h. */
134077 $ac_includes_default
134079 main ()
134081 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
134082 test_array [0] = 0
134085 return 0;
134087 _ACEOF
134088 rm -f conftest.$ac_objext
134089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134090 (eval $ac_compile) 2>conftest.er1
134091 ac_status=$?
134092 grep -v '^ *+' conftest.er1 >conftest.err
134093 rm -f conftest.er1
134094 cat conftest.err >&5
134095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134096 (exit $ac_status); } &&
134097 { ac_try='test -z "$ac_c_werror_flag"
134098 || test ! -s conftest.err'
134099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134100 (eval $ac_try) 2>&5
134101 ac_status=$?
134102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134103 (exit $ac_status); }; } &&
134104 { ac_try='test -s conftest.$ac_objext'
134105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134106 (eval $ac_try) 2>&5
134107 ac_status=$?
134108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134109 (exit $ac_status); }; }; then
134110 ac_lo=$ac_mid; break
134112 echo "$as_me: failed program was:" >&5
134113 sed 's/^/| /' conftest.$ac_ext >&5
134115 ac_hi=`expr '(' $ac_mid ')' - 1`
134116 if test $ac_mid -le $ac_hi; then
134117 ac_lo= ac_hi=
134118 break
134120 ac_mid=`expr 2 '*' $ac_mid`
134122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134125 echo "$as_me: failed program was:" >&5
134126 sed 's/^/| /' conftest.$ac_ext >&5
134128 ac_lo= ac_hi=
134130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134133 # Binary search between lo and hi bounds.
134134 while test "x$ac_lo" != "x$ac_hi"; do
134135 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
134136 cat >conftest.$ac_ext <<_ACEOF
134137 /* confdefs.h. */
134138 _ACEOF
134139 cat confdefs.h >>conftest.$ac_ext
134140 cat >>conftest.$ac_ext <<_ACEOF
134141 /* end confdefs.h. */
134142 $ac_includes_default
134144 main ()
134146 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
134147 test_array [0] = 0
134150 return 0;
134152 _ACEOF
134153 rm -f conftest.$ac_objext
134154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134155 (eval $ac_compile) 2>conftest.er1
134156 ac_status=$?
134157 grep -v '^ *+' conftest.er1 >conftest.err
134158 rm -f conftest.er1
134159 cat conftest.err >&5
134160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134161 (exit $ac_status); } &&
134162 { ac_try='test -z "$ac_c_werror_flag"
134163 || test ! -s conftest.err'
134164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134165 (eval $ac_try) 2>&5
134166 ac_status=$?
134167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134168 (exit $ac_status); }; } &&
134169 { ac_try='test -s conftest.$ac_objext'
134170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134171 (eval $ac_try) 2>&5
134172 ac_status=$?
134173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134174 (exit $ac_status); }; }; then
134175 ac_hi=$ac_mid
134177 echo "$as_me: failed program was:" >&5
134178 sed 's/^/| /' conftest.$ac_ext >&5
134180 ac_lo=`expr '(' $ac_mid ')' + 1`
134182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134184 case $ac_lo in
134185 ?*) ac_cv_sizeof_char=$ac_lo;;
134186 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
134187 echo "$as_me: error: in \`$ac_pwd':" >&2;}
134188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
134189 See \`config.log' for more details." >&5
134190 echo "$as_me: error: cannot compute sizeof (char), 77
134191 See \`config.log' for more details." >&2;}
134192 { (exit 1); exit 1; }; }; } ;;
134195 if test "$cross_compiling" = yes; then
134196 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
134197 echo "$as_me: error: in \`$ac_pwd':" >&2;}
134198 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
134199 See \`config.log' for more details." >&5
134200 echo "$as_me: error: cannot run test program while cross compiling
134201 See \`config.log' for more details." >&2;}
134202 { (exit 1); exit 1; }; }; }
134204 cat >conftest.$ac_ext <<_ACEOF
134205 /* confdefs.h. */
134206 _ACEOF
134207 cat confdefs.h >>conftest.$ac_ext
134208 cat >>conftest.$ac_ext <<_ACEOF
134209 /* end confdefs.h. */
134210 $ac_includes_default
134211 long longval () { return (long) (sizeof (char)); }
134212 unsigned long ulongval () { return (long) (sizeof (char)); }
134213 #include <stdio.h>
134214 #include <stdlib.h>
134216 main ()
134219 FILE *f = fopen ("conftest.val", "w");
134220 if (! f)
134221 exit (1);
134222 if (((long) (sizeof (char))) < 0)
134224 long i = longval ();
134225 if (i != ((long) (sizeof (char))))
134226 exit (1);
134227 fprintf (f, "%ld\n", i);
134231 unsigned long i = ulongval ();
134232 if (i != ((long) (sizeof (char))))
134233 exit (1);
134234 fprintf (f, "%lu\n", i);
134236 exit (ferror (f) || fclose (f) != 0);
134239 return 0;
134241 _ACEOF
134242 rm -f conftest$ac_exeext
134243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
134244 (eval $ac_link) 2>&5
134245 ac_status=$?
134246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
134248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134249 (eval $ac_try) 2>&5
134250 ac_status=$?
134251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134252 (exit $ac_status); }; }; then
134253 ac_cv_sizeof_char=`cat conftest.val`
134255 echo "$as_me: program exited with status $ac_status" >&5
134256 echo "$as_me: failed program was:" >&5
134257 sed 's/^/| /' conftest.$ac_ext >&5
134259 ( exit $ac_status )
134260 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
134261 echo "$as_me: error: in \`$ac_pwd':" >&2;}
134262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
134263 See \`config.log' for more details." >&5
134264 echo "$as_me: error: cannot compute sizeof (char), 77
134265 See \`config.log' for more details." >&2;}
134266 { (exit 1); exit 1; }; }; }
134268 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
134271 rm -f conftest.val
134273 ac_cv_sizeof_char=0
134276 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
134277 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
134278 cat >>confdefs.h <<_ACEOF
134279 #define SIZEOF_CHAR $ac_cv_sizeof_char
134280 _ACEOF
134284 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
134285 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
134286 case "$ac_cv_sizeof_char" in
134287 1) acx_cv_type_int8_t=char ;;
134288 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
134289 echo "$as_me: error: no 8-bit type" >&2;}
134290 { (exit please report a bug); exit please report a bug; }; }
134292 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
134293 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
134295 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
134296 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
134297 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
134298 2:*) acx_cv_type_int16_t=int ;;
134299 *:2) acx_cv_type_int16_t=short ;;
134300 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
134301 echo "$as_me: error: no 16-bit type" >&2;}
134302 { (exit please report a bug); exit please report a bug; }; }
134304 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
134305 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
134307 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
134308 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
134309 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
134310 4:*) acx_cv_type_int32_t=int ;;
134311 *:4) acx_cv_type_int32_t=long ;;
134312 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
134313 echo "$as_me: error: no 32-bit type" >&2;}
134314 { (exit please report a bug); exit please report a bug; }; }
134316 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
134317 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
134320 # These tests are here to make the output prettier
134322 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
134323 case "$ac_cv_sizeof_long" in
134324 8) acx_cv_type_int64_t=long ;;
134326 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
134327 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
134328 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
134329 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
134332 # Now we can use the above types
134334 if test "$ac_cv_type_uintptr_t" != yes; then
134335 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
134336 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
134337 case $ac_cv_sizeof_void_p in
134338 2) acx_cv_type_intptr_t=int16_t ;;
134339 4) acx_cv_type_intptr_t=int32_t ;;
134340 8) acx_cv_type_intptr_t=int64_t ;;
134341 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
134342 echo "$as_me: error: no equivalent for intptr_t" >&2;}
134343 { (exit please report a bug); exit please report a bug; }; }
134345 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
134346 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
134349 # ----------------- done all checks, emit header -------------
134350 ac_config_commands="$ac_config_commands include/gstdint.h"
134355 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
134358 # Check whether --enable-symvers or --disable-symvers was given.
134359 if test "${enable_symvers+set}" = set; then
134360 enableval="$enable_symvers"
134362 case "$enableval" in
134363 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
134364 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
134365 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
134366 { (exit 1); exit 1; }; } ;;
134370 enable_symvers=yes
134374 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
134375 # don't know enough about $LD to do tricks...
134378 # Turn a 'yes' into a suitable default.
134379 if test x$enable_symvers = xyes ; then
134380 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
134381 enable_symvers=no
134383 if test $with_gnu_ld = yes ; then
134384 case ${target_os} in
134385 cygwin* | pe | mingw32* | hpux*)
134386 enable_symvers=no ;;
134388 enable_symvers=gnu ;;
134391 case ${target_os} in
134392 darwin*)
134393 enable_symvers=darwin ;;
134395 enable_symvers=no ;;
134401 # Check to see if 'darwin' or 'darwin-export' can win.
134402 if test x$enable_symvers = xdarwin-export ; then
134403 enable_symvers=darwin
134406 # Check to see if 'gnu' can win.
134407 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
134408 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
134409 echo "$as_me:$LINENO: checking for shared libgcc" >&5
134410 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
134411 ac_save_CFLAGS="$CFLAGS"
134412 CFLAGS=' -lgcc_s'
134413 if test x$gcc_no_link = xyes; then
134414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
134415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
134416 { (exit 1); exit 1; }; }
134418 cat >conftest.$ac_ext <<_ACEOF
134419 /* confdefs.h. */
134420 _ACEOF
134421 cat confdefs.h >>conftest.$ac_ext
134422 cat >>conftest.$ac_ext <<_ACEOF
134423 /* end confdefs.h. */
134426 main ()
134428 return 0;
134430 return 0;
134432 _ACEOF
134433 rm -f conftest.$ac_objext conftest$ac_exeext
134434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
134435 (eval $ac_link) 2>conftest.er1
134436 ac_status=$?
134437 grep -v '^ *+' conftest.er1 >conftest.err
134438 rm -f conftest.er1
134439 cat conftest.err >&5
134440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134441 (exit $ac_status); } &&
134442 { ac_try='test -z "$ac_c_werror_flag"
134443 || test ! -s conftest.err'
134444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134445 (eval $ac_try) 2>&5
134446 ac_status=$?
134447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134448 (exit $ac_status); }; } &&
134449 { ac_try='test -s conftest$ac_exeext'
134450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134451 (eval $ac_try) 2>&5
134452 ac_status=$?
134453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134454 (exit $ac_status); }; }; then
134455 glibcxx_shared_libgcc=yes
134457 echo "$as_me: failed program was:" >&5
134458 sed 's/^/| /' conftest.$ac_ext >&5
134460 glibcxx_shared_libgcc=no
134462 rm -f conftest.err conftest.$ac_objext \
134463 conftest$ac_exeext conftest.$ac_ext
134464 CFLAGS="$ac_save_CFLAGS"
134465 if test $glibcxx_shared_libgcc = no; then
134466 cat > conftest.c <<EOF
134467 int main (void) { return 0; }
134469 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
134470 -shared -shared-libgcc -o conftest.so \
134471 conftest.c -v 2>&1 >/dev/null \
134472 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
134473 rm -f conftest.c conftest.so
134474 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
134475 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
134476 if test x$gcc_no_link = xyes; then
134477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
134478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
134479 { (exit 1); exit 1; }; }
134481 cat >conftest.$ac_ext <<_ACEOF
134482 /* confdefs.h. */
134483 _ACEOF
134484 cat confdefs.h >>conftest.$ac_ext
134485 cat >>conftest.$ac_ext <<_ACEOF
134486 /* end confdefs.h. */
134489 main ()
134491 return 0;
134493 return 0;
134495 _ACEOF
134496 rm -f conftest.$ac_objext conftest$ac_exeext
134497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
134498 (eval $ac_link) 2>conftest.er1
134499 ac_status=$?
134500 grep -v '^ *+' conftest.er1 >conftest.err
134501 rm -f conftest.er1
134502 cat conftest.err >&5
134503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134504 (exit $ac_status); } &&
134505 { ac_try='test -z "$ac_c_werror_flag"
134506 || test ! -s conftest.err'
134507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134508 (eval $ac_try) 2>&5
134509 ac_status=$?
134510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134511 (exit $ac_status); }; } &&
134512 { ac_try='test -s conftest$ac_exeext'
134513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134514 (eval $ac_try) 2>&5
134515 ac_status=$?
134516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134517 (exit $ac_status); }; }; then
134518 glibcxx_shared_libgcc=yes
134520 echo "$as_me: failed program was:" >&5
134521 sed 's/^/| /' conftest.$ac_ext >&5
134524 rm -f conftest.err conftest.$ac_objext \
134525 conftest$ac_exeext conftest.$ac_ext
134526 CFLAGS="$ac_save_CFLAGS"
134529 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
134530 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
134532 # For GNU ld, we need at least this version. The format is described in
134533 # GLIBCXX_CHECK_LINKER_FEATURES above.
134534 glibcxx_min_gnu_ld_version=21400
134536 # If no shared libgcc, can't win.
134537 if test $glibcxx_shared_libgcc != yes; then
134538 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
134539 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
134540 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
134541 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
134542 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
134543 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
134544 enable_symvers=no
134545 elif test $with_gnu_ld != yes ; then
134546 # just fail for now
134547 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
134548 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
134549 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
134550 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
134551 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
134552 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
134553 enable_symvers=no
134554 elif test $glibcxx_ld_is_gold = yes ; then
134555 : All versions of gold support symbol versioning.
134556 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
134557 # The right tools, the right setup, but too old. Fallbacks?
134558 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
134559 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
134560 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
134561 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
134562 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
134563 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
134564 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
134565 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
134566 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
134567 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
134568 enable_symvers=no
134572 # Everything parsed; figure out what file to use.
134573 case $enable_symvers in
134575 SYMVER_FILE=config/abi/pre/none.ver
134578 SYMVER_FILE=config/abi/pre/gnu.ver
134580 cat >>confdefs.h <<\_ACEOF
134581 #define _GLIBCXX_SYMVER_GNU 1
134582 _ACEOF
134585 gnu-versioned-namespace)
134586 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
134588 cat >>confdefs.h <<\_ACEOF
134589 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
134590 _ACEOF
134593 darwin)
134594 SYMVER_FILE=config/abi/pre/gnu.ver
134596 cat >>confdefs.h <<\_ACEOF
134597 #define _GLIBCXX_SYMVER_DARWIN 1
134598 _ACEOF
134603 if test x$enable_symvers != xno ; then
134605 cat >>confdefs.h <<\_ACEOF
134606 #define _GLIBCXX_SYMVER 1
134607 _ACEOF
134611 echo "$as_me:$LINENO: checking whether the target supports .symver directive" >&5
134612 echo $ECHO_N "checking whether the target supports .symver directive... $ECHO_C" >&6
134613 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then
134614 echo $ECHO_N "(cached) $ECHO_C" >&6
134617 cat >conftest.$ac_ext <<_ACEOF
134618 /* confdefs.h. */
134619 _ACEOF
134620 cat confdefs.h >>conftest.$ac_ext
134621 cat >>conftest.$ac_ext <<_ACEOF
134622 /* end confdefs.h. */
134623 void foo (void); __asm (".symver foo, bar@SYMVER");
134625 main ()
134629 return 0;
134631 _ACEOF
134632 rm -f conftest.$ac_objext
134633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134634 (eval $ac_compile) 2>conftest.er1
134635 ac_status=$?
134636 grep -v '^ *+' conftest.er1 >conftest.err
134637 rm -f conftest.er1
134638 cat conftest.err >&5
134639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134640 (exit $ac_status); } &&
134641 { ac_try='test -z "$ac_c_werror_flag"
134642 || test ! -s conftest.err'
134643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134644 (eval $ac_try) 2>&5
134645 ac_status=$?
134646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134647 (exit $ac_status); }; } &&
134648 { ac_try='test -s conftest.$ac_objext'
134649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134650 (eval $ac_try) 2>&5
134651 ac_status=$?
134652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134653 (exit $ac_status); }; }; then
134654 glibcxx_cv_have_as_symver_directive=yes
134656 echo "$as_me: failed program was:" >&5
134657 sed 's/^/| /' conftest.$ac_ext >&5
134659 glibcxx_cv_have_as_symver_directive=no
134661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134663 echo "$as_me:$LINENO: result: $glibcxx_cv_have_as_symver_directive" >&5
134664 echo "${ECHO_T}$glibcxx_cv_have_as_symver_directive" >&6
134665 if test $glibcxx_cv_have_as_symver_directive = yes; then
134667 cat >>confdefs.h <<\_ACEOF
134668 #define HAVE_AS_SYMVER_DIRECTIVE 1
134669 _ACEOF
134679 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
134680 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
134682 # Now, set up compatibility support, if any.
134683 # In addition, need this to deal with std::size_t mangling in
134684 # src/compatibility.cc. In a perfect world, could use
134685 # typeid(std::size_t).name()[0] to do direct substitution.
134686 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
134687 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
134688 ac_save_CFLAGS="$CFLAGS"
134689 CFLAGS="-Werror"
134690 cat >conftest.$ac_ext <<_ACEOF
134691 /* confdefs.h. */
134692 _ACEOF
134693 cat confdefs.h >>conftest.$ac_ext
134694 cat >>conftest.$ac_ext <<_ACEOF
134695 /* end confdefs.h. */
134698 main ()
134700 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
134702 return 0;
134704 _ACEOF
134705 rm -f conftest.$ac_objext
134706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134707 (eval $ac_compile) 2>conftest.er1
134708 ac_status=$?
134709 grep -v '^ *+' conftest.er1 >conftest.err
134710 rm -f conftest.er1
134711 cat conftest.err >&5
134712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134713 (exit $ac_status); } &&
134714 { ac_try='test -z "$ac_c_werror_flag"
134715 || test ! -s conftest.err'
134716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134717 (eval $ac_try) 2>&5
134718 ac_status=$?
134719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134720 (exit $ac_status); }; } &&
134721 { ac_try='test -s conftest.$ac_objext'
134722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134723 (eval $ac_try) 2>&5
134724 ac_status=$?
134725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134726 (exit $ac_status); }; }; then
134727 glibcxx_size_t_is_i=yes
134729 echo "$as_me: failed program was:" >&5
134730 sed 's/^/| /' conftest.$ac_ext >&5
134732 glibcxx_size_t_is_i=no
134734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134735 CFLAGS=$ac_save_CFLAGS
134736 if test "$glibcxx_size_t_is_i" = yes; then
134738 cat >>confdefs.h <<\_ACEOF
134739 #define _GLIBCXX_SIZE_T_IS_UINT 1
134740 _ACEOF
134743 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
134744 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
134746 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
134747 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
134748 ac_save_CFLAGS="$CFLAGS"
134749 CFLAGS="-Werror"
134750 cat >conftest.$ac_ext <<_ACEOF
134751 /* confdefs.h. */
134752 _ACEOF
134753 cat confdefs.h >>conftest.$ac_ext
134754 cat >>conftest.$ac_ext <<_ACEOF
134755 /* end confdefs.h. */
134758 main ()
134760 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
134762 return 0;
134764 _ACEOF
134765 rm -f conftest.$ac_objext
134766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134767 (eval $ac_compile) 2>conftest.er1
134768 ac_status=$?
134769 grep -v '^ *+' conftest.er1 >conftest.err
134770 rm -f conftest.er1
134771 cat conftest.err >&5
134772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134773 (exit $ac_status); } &&
134774 { ac_try='test -z "$ac_c_werror_flag"
134775 || test ! -s conftest.err'
134776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134777 (eval $ac_try) 2>&5
134778 ac_status=$?
134779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134780 (exit $ac_status); }; } &&
134781 { ac_try='test -s conftest.$ac_objext'
134782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134783 (eval $ac_try) 2>&5
134784 ac_status=$?
134785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134786 (exit $ac_status); }; }; then
134787 glibcxx_ptrdiff_t_is_i=yes
134789 echo "$as_me: failed program was:" >&5
134790 sed 's/^/| /' conftest.$ac_ext >&5
134792 glibcxx_ptrdiff_t_is_i=no
134794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134795 CFLAGS=$ac_save_CFLAGS
134796 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
134798 cat >>confdefs.h <<\_ACEOF
134799 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
134800 _ACEOF
134803 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
134804 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
134807 # Check whether --enable-visibility or --disable-visibility was given.
134808 if test "${enable_visibility+set}" = set; then
134809 enableval="$enable_visibility"
134811 case "$enableval" in
134812 yes|no) ;;
134813 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
134814 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
134815 { (exit 1); exit 1; }; } ;;
134819 enable_visibility=yes
134823 if test x$enable_visibility = xyes ; then
134824 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
134825 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
134826 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
134827 echo $ECHO_N "(cached) $ECHO_C" >&6
134830 save_CFLAGS="$CFLAGS"
134831 CFLAGS="$CFLAGS -Werror"
134832 cat >conftest.$ac_ext <<_ACEOF
134833 /* confdefs.h. */
134834 _ACEOF
134835 cat confdefs.h >>conftest.$ac_ext
134836 cat >>conftest.$ac_ext <<_ACEOF
134837 /* end confdefs.h. */
134838 void __attribute__((visibility("hidden"))) foo(void) { }
134840 main ()
134844 return 0;
134846 _ACEOF
134847 rm -f conftest.$ac_objext
134848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134849 (eval $ac_compile) 2>conftest.er1
134850 ac_status=$?
134851 grep -v '^ *+' conftest.er1 >conftest.err
134852 rm -f conftest.er1
134853 cat conftest.err >&5
134854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134855 (exit $ac_status); } &&
134856 { ac_try='test -z "$ac_c_werror_flag"
134857 || test ! -s conftest.err'
134858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134859 (eval $ac_try) 2>&5
134860 ac_status=$?
134861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134862 (exit $ac_status); }; } &&
134863 { ac_try='test -s conftest.$ac_objext'
134864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134865 (eval $ac_try) 2>&5
134866 ac_status=$?
134867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134868 (exit $ac_status); }; }; then
134869 glibcxx_cv_have_attribute_visibility=yes
134871 echo "$as_me: failed program was:" >&5
134872 sed 's/^/| /' conftest.$ac_ext >&5
134874 glibcxx_cv_have_attribute_visibility=no
134876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134877 CFLAGS="$save_CFLAGS"
134879 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
134880 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
134881 if test $glibcxx_cv_have_attribute_visibility = no; then
134882 enable_visibility=no
134887 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
134888 echo "$as_me: visibility supported: $enable_visibility" >&6;}
134891 ac_ldbl_compat=no
134892 case "$target" in
134893 powerpc*-*-linux* | \
134894 powerpc*-*-gnu* | \
134895 sparc*-*-linux* | \
134896 s390*-*-linux* | \
134897 alpha*-*-linux*)
134898 cat >conftest.$ac_ext <<_ACEOF
134899 /* confdefs.h. */
134900 _ACEOF
134901 cat confdefs.h >>conftest.$ac_ext
134902 cat >>conftest.$ac_ext <<_ACEOF
134903 /* end confdefs.h. */
134906 main ()
134909 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
134910 #error no need for long double compatibility
134911 #endif
134914 return 0;
134916 _ACEOF
134917 rm -f conftest.$ac_objext
134918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134919 (eval $ac_compile) 2>conftest.er1
134920 ac_status=$?
134921 grep -v '^ *+' conftest.er1 >conftest.err
134922 rm -f conftest.er1
134923 cat conftest.err >&5
134924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134925 (exit $ac_status); } &&
134926 { ac_try='test -z "$ac_c_werror_flag"
134927 || test ! -s conftest.err'
134928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134929 (eval $ac_try) 2>&5
134930 ac_status=$?
134931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134932 (exit $ac_status); }; } &&
134933 { ac_try='test -s conftest.$ac_objext'
134934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
134935 (eval $ac_try) 2>&5
134936 ac_status=$?
134937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134938 (exit $ac_status); }; }; then
134939 ac_ldbl_compat=yes
134941 echo "$as_me: failed program was:" >&5
134942 sed 's/^/| /' conftest.$ac_ext >&5
134944 ac_ldbl_compat=no
134946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
134947 if test "$ac_ldbl_compat" = yes; then
134949 cat >>confdefs.h <<\_ACEOF
134950 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
134951 _ACEOF
134953 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
134958 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
134960 if $GLIBCXX_IS_NATIVE ; then
134961 # Do checks for resource limit functions.
134963 setrlimit_have_headers=yes
134967 for ac_header in unistd.h sys/time.h sys/resource.h
134969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
134970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
134971 echo "$as_me:$LINENO: checking for $ac_header" >&5
134972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
134973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
134974 echo $ECHO_N "(cached) $ECHO_C" >&6
134976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
134977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
134979 # Is the header compilable?
134980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
134981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
134982 cat >conftest.$ac_ext <<_ACEOF
134983 /* confdefs.h. */
134984 _ACEOF
134985 cat confdefs.h >>conftest.$ac_ext
134986 cat >>conftest.$ac_ext <<_ACEOF
134987 /* end confdefs.h. */
134988 $ac_includes_default
134989 #include <$ac_header>
134990 _ACEOF
134991 rm -f conftest.$ac_objext
134992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
134993 (eval $ac_compile) 2>conftest.er1
134994 ac_status=$?
134995 grep -v '^ *+' conftest.er1 >conftest.err
134996 rm -f conftest.er1
134997 cat conftest.err >&5
134998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
134999 (exit $ac_status); } &&
135000 { ac_try='test -z "$ac_c_werror_flag"
135001 || test ! -s conftest.err'
135002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135003 (eval $ac_try) 2>&5
135004 ac_status=$?
135005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135006 (exit $ac_status); }; } &&
135007 { ac_try='test -s conftest.$ac_objext'
135008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135009 (eval $ac_try) 2>&5
135010 ac_status=$?
135011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135012 (exit $ac_status); }; }; then
135013 ac_header_compiler=yes
135015 echo "$as_me: failed program was:" >&5
135016 sed 's/^/| /' conftest.$ac_ext >&5
135018 ac_header_compiler=no
135020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
135022 echo "${ECHO_T}$ac_header_compiler" >&6
135024 # Is the header present?
135025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
135026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
135027 cat >conftest.$ac_ext <<_ACEOF
135028 /* confdefs.h. */
135029 _ACEOF
135030 cat confdefs.h >>conftest.$ac_ext
135031 cat >>conftest.$ac_ext <<_ACEOF
135032 /* end confdefs.h. */
135033 #include <$ac_header>
135034 _ACEOF
135035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
135036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
135037 ac_status=$?
135038 grep -v '^ *+' conftest.er1 >conftest.err
135039 rm -f conftest.er1
135040 cat conftest.err >&5
135041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135042 (exit $ac_status); } >/dev/null; then
135043 if test -s conftest.err; then
135044 ac_cpp_err=$ac_c_preproc_warn_flag
135045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
135047 ac_cpp_err=
135050 ac_cpp_err=yes
135052 if test -z "$ac_cpp_err"; then
135053 ac_header_preproc=yes
135055 echo "$as_me: failed program was:" >&5
135056 sed 's/^/| /' conftest.$ac_ext >&5
135058 ac_header_preproc=no
135060 rm -f conftest.err conftest.$ac_ext
135061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
135062 echo "${ECHO_T}$ac_header_preproc" >&6
135064 # So? What about this header?
135065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
135066 yes:no: )
135067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
135068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
135069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
135070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
135071 ac_header_preproc=yes
135073 no:yes:* )
135074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
135075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
135076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
135077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
135078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
135079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
135080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
135081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
135082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
135083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
135084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
135085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
135087 cat <<\_ASBOX
135088 ## ----------------------------------------- ##
135089 ## Report this to the package-unused lists. ##
135090 ## ----------------------------------------- ##
135091 _ASBOX
135093 sed "s/^/$as_me: WARNING: /" >&2
135096 echo "$as_me:$LINENO: checking for $ac_header" >&5
135097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
135098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
135099 echo $ECHO_N "(cached) $ECHO_C" >&6
135101 eval "$as_ac_Header=\$ac_header_preproc"
135103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
135104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
135107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
135108 cat >>confdefs.h <<_ACEOF
135109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
135110 _ACEOF
135113 setrlimit_have_headers=no
135118 # If don't have the headers, then we can't run the tests now, and we
135119 # won't be seeing any of these during testsuite compilation.
135120 if test $setrlimit_have_headers = yes; then
135121 # Can't do these in a loop, else the resulting syntax is wrong.
135123 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
135124 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
135125 cat >conftest.$ac_ext <<_ACEOF
135126 /* confdefs.h. */
135127 _ACEOF
135128 cat confdefs.h >>conftest.$ac_ext
135129 cat >>conftest.$ac_ext <<_ACEOF
135130 /* end confdefs.h. */
135131 #include <unistd.h>
135132 #include <sys/time.h>
135133 #include <sys/resource.h>
135136 main ()
135138 int f = RLIMIT_DATA ;
135140 return 0;
135142 _ACEOF
135143 rm -f conftest.$ac_objext
135144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135145 (eval $ac_compile) 2>conftest.er1
135146 ac_status=$?
135147 grep -v '^ *+' conftest.er1 >conftest.err
135148 rm -f conftest.er1
135149 cat conftest.err >&5
135150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135151 (exit $ac_status); } &&
135152 { ac_try='test -z "$ac_c_werror_flag"
135153 || test ! -s conftest.err'
135154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135155 (eval $ac_try) 2>&5
135156 ac_status=$?
135157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135158 (exit $ac_status); }; } &&
135159 { ac_try='test -s conftest.$ac_objext'
135160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135161 (eval $ac_try) 2>&5
135162 ac_status=$?
135163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135164 (exit $ac_status); }; }; then
135165 glibcxx_mresult=1
135167 echo "$as_me: failed program was:" >&5
135168 sed 's/^/| /' conftest.$ac_ext >&5
135170 glibcxx_mresult=0
135172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135174 cat >>confdefs.h <<_ACEOF
135175 #define HAVE_LIMIT_DATA $glibcxx_mresult
135176 _ACEOF
135178 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135179 echo "$as_me:$LINENO: result: $res" >&5
135180 echo "${ECHO_T}$res" >&6
135183 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
135184 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
135185 cat >conftest.$ac_ext <<_ACEOF
135186 /* confdefs.h. */
135187 _ACEOF
135188 cat confdefs.h >>conftest.$ac_ext
135189 cat >>conftest.$ac_ext <<_ACEOF
135190 /* end confdefs.h. */
135191 #include <unistd.h>
135192 #include <sys/time.h>
135193 #include <sys/resource.h>
135196 main ()
135198 int f = RLIMIT_RSS ;
135200 return 0;
135202 _ACEOF
135203 rm -f conftest.$ac_objext
135204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135205 (eval $ac_compile) 2>conftest.er1
135206 ac_status=$?
135207 grep -v '^ *+' conftest.er1 >conftest.err
135208 rm -f conftest.er1
135209 cat conftest.err >&5
135210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135211 (exit $ac_status); } &&
135212 { ac_try='test -z "$ac_c_werror_flag"
135213 || test ! -s conftest.err'
135214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135215 (eval $ac_try) 2>&5
135216 ac_status=$?
135217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135218 (exit $ac_status); }; } &&
135219 { ac_try='test -s conftest.$ac_objext'
135220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135221 (eval $ac_try) 2>&5
135222 ac_status=$?
135223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135224 (exit $ac_status); }; }; then
135225 glibcxx_mresult=1
135227 echo "$as_me: failed program was:" >&5
135228 sed 's/^/| /' conftest.$ac_ext >&5
135230 glibcxx_mresult=0
135232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135234 cat >>confdefs.h <<_ACEOF
135235 #define HAVE_LIMIT_RSS $glibcxx_mresult
135236 _ACEOF
135238 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135239 echo "$as_me:$LINENO: result: $res" >&5
135240 echo "${ECHO_T}$res" >&6
135243 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
135244 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
135245 cat >conftest.$ac_ext <<_ACEOF
135246 /* confdefs.h. */
135247 _ACEOF
135248 cat confdefs.h >>conftest.$ac_ext
135249 cat >>conftest.$ac_ext <<_ACEOF
135250 /* end confdefs.h. */
135251 #include <unistd.h>
135252 #include <sys/time.h>
135253 #include <sys/resource.h>
135256 main ()
135258 int f = RLIMIT_VMEM ;
135260 return 0;
135262 _ACEOF
135263 rm -f conftest.$ac_objext
135264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135265 (eval $ac_compile) 2>conftest.er1
135266 ac_status=$?
135267 grep -v '^ *+' conftest.er1 >conftest.err
135268 rm -f conftest.er1
135269 cat conftest.err >&5
135270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135271 (exit $ac_status); } &&
135272 { ac_try='test -z "$ac_c_werror_flag"
135273 || test ! -s conftest.err'
135274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135275 (eval $ac_try) 2>&5
135276 ac_status=$?
135277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135278 (exit $ac_status); }; } &&
135279 { ac_try='test -s conftest.$ac_objext'
135280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135281 (eval $ac_try) 2>&5
135282 ac_status=$?
135283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135284 (exit $ac_status); }; }; then
135285 glibcxx_mresult=1
135287 echo "$as_me: failed program was:" >&5
135288 sed 's/^/| /' conftest.$ac_ext >&5
135290 glibcxx_mresult=0
135292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135294 cat >>confdefs.h <<_ACEOF
135295 #define HAVE_LIMIT_VMEM $glibcxx_mresult
135296 _ACEOF
135298 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135299 echo "$as_me:$LINENO: result: $res" >&5
135300 echo "${ECHO_T}$res" >&6
135303 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
135304 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
135305 cat >conftest.$ac_ext <<_ACEOF
135306 /* confdefs.h. */
135307 _ACEOF
135308 cat confdefs.h >>conftest.$ac_ext
135309 cat >>conftest.$ac_ext <<_ACEOF
135310 /* end confdefs.h. */
135311 #include <unistd.h>
135312 #include <sys/time.h>
135313 #include <sys/resource.h>
135316 main ()
135318 int f = RLIMIT_AS ;
135320 return 0;
135322 _ACEOF
135323 rm -f conftest.$ac_objext
135324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135325 (eval $ac_compile) 2>conftest.er1
135326 ac_status=$?
135327 grep -v '^ *+' conftest.er1 >conftest.err
135328 rm -f conftest.er1
135329 cat conftest.err >&5
135330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135331 (exit $ac_status); } &&
135332 { ac_try='test -z "$ac_c_werror_flag"
135333 || test ! -s conftest.err'
135334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135335 (eval $ac_try) 2>&5
135336 ac_status=$?
135337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135338 (exit $ac_status); }; } &&
135339 { ac_try='test -s conftest.$ac_objext'
135340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135341 (eval $ac_try) 2>&5
135342 ac_status=$?
135343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135344 (exit $ac_status); }; }; then
135345 glibcxx_mresult=1
135347 echo "$as_me: failed program was:" >&5
135348 sed 's/^/| /' conftest.$ac_ext >&5
135350 glibcxx_mresult=0
135352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135354 cat >>confdefs.h <<_ACEOF
135355 #define HAVE_LIMIT_AS $glibcxx_mresult
135356 _ACEOF
135358 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135359 echo "$as_me:$LINENO: result: $res" >&5
135360 echo "${ECHO_T}$res" >&6
135363 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
135364 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
135365 cat >conftest.$ac_ext <<_ACEOF
135366 /* confdefs.h. */
135367 _ACEOF
135368 cat confdefs.h >>conftest.$ac_ext
135369 cat >>conftest.$ac_ext <<_ACEOF
135370 /* end confdefs.h. */
135371 #include <unistd.h>
135372 #include <sys/time.h>
135373 #include <sys/resource.h>
135376 main ()
135378 int f = RLIMIT_FSIZE ;
135380 return 0;
135382 _ACEOF
135383 rm -f conftest.$ac_objext
135384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135385 (eval $ac_compile) 2>conftest.er1
135386 ac_status=$?
135387 grep -v '^ *+' conftest.er1 >conftest.err
135388 rm -f conftest.er1
135389 cat conftest.err >&5
135390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135391 (exit $ac_status); } &&
135392 { ac_try='test -z "$ac_c_werror_flag"
135393 || test ! -s conftest.err'
135394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135395 (eval $ac_try) 2>&5
135396 ac_status=$?
135397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135398 (exit $ac_status); }; } &&
135399 { ac_try='test -s conftest.$ac_objext'
135400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135401 (eval $ac_try) 2>&5
135402 ac_status=$?
135403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135404 (exit $ac_status); }; }; then
135405 glibcxx_mresult=1
135407 echo "$as_me: failed program was:" >&5
135408 sed 's/^/| /' conftest.$ac_ext >&5
135410 glibcxx_mresult=0
135412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135414 cat >>confdefs.h <<_ACEOF
135415 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
135416 _ACEOF
135418 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
135419 echo "$as_me:$LINENO: result: $res" >&5
135420 echo "${ECHO_T}$res" >&6
135423 # Check for rlimit, setrlimit.
135424 if test "${glibcxx_cv_setrlimit+set}" = set; then
135425 echo $ECHO_N "(cached) $ECHO_C" >&6
135428 cat >conftest.$ac_ext <<_ACEOF
135429 /* confdefs.h. */
135430 _ACEOF
135431 cat confdefs.h >>conftest.$ac_ext
135432 cat >>conftest.$ac_ext <<_ACEOF
135433 /* end confdefs.h. */
135434 #include <unistd.h>
135435 #include <sys/time.h>
135436 #include <sys/resource.h>
135439 main ()
135441 struct rlimit r;
135442 setrlimit(0, &r);
135444 return 0;
135446 _ACEOF
135447 rm -f conftest.$ac_objext
135448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135449 (eval $ac_compile) 2>conftest.er1
135450 ac_status=$?
135451 grep -v '^ *+' conftest.er1 >conftest.err
135452 rm -f conftest.er1
135453 cat conftest.err >&5
135454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135455 (exit $ac_status); } &&
135456 { ac_try='test -z "$ac_c_werror_flag"
135457 || test ! -s conftest.err'
135458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135459 (eval $ac_try) 2>&5
135460 ac_status=$?
135461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135462 (exit $ac_status); }; } &&
135463 { ac_try='test -s conftest.$ac_objext'
135464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135465 (eval $ac_try) 2>&5
135466 ac_status=$?
135467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135468 (exit $ac_status); }; }; then
135469 glibcxx_cv_setrlimit=yes
135471 echo "$as_me: failed program was:" >&5
135472 sed 's/^/| /' conftest.$ac_ext >&5
135474 glibcxx_cv_setrlimit=no
135476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135482 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
135483 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
135484 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
135485 ac_res_limits=yes
135487 cat >>confdefs.h <<\_ACEOF
135488 #define _GLIBCXX_RES_LIMITS 1
135489 _ACEOF
135492 ac_res_limits=no
135494 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
135495 echo "${ECHO_T}$ac_res_limits" >&6
135498 # Look for setenv, so that extended locale tests can be performed.
135500 echo "$as_me:$LINENO: checking for setenv declaration" >&5
135501 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
135502 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
135503 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
135504 echo $ECHO_N "(cached) $ECHO_C" >&6
135509 ac_ext=cc
135510 ac_cpp='$CXXCPP $CPPFLAGS'
135511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
135512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
135513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
135515 cat >conftest.$ac_ext <<_ACEOF
135516 /* confdefs.h. */
135517 _ACEOF
135518 cat confdefs.h >>conftest.$ac_ext
135519 cat >>conftest.$ac_ext <<_ACEOF
135520 /* end confdefs.h. */
135521 #include <stdlib.h>
135523 main ()
135525 setenv(0, 0, 0);
135527 return 0;
135529 _ACEOF
135530 rm -f conftest.$ac_objext
135531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
135532 (eval $ac_compile) 2>conftest.er1
135533 ac_status=$?
135534 grep -v '^ *+' conftest.er1 >conftest.err
135535 rm -f conftest.er1
135536 cat conftest.err >&5
135537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135538 (exit $ac_status); } &&
135539 { ac_try='test -z "$ac_cxx_werror_flag"
135540 || test ! -s conftest.err'
135541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135542 (eval $ac_try) 2>&5
135543 ac_status=$?
135544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135545 (exit $ac_status); }; } &&
135546 { ac_try='test -s conftest.$ac_objext'
135547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135548 (eval $ac_try) 2>&5
135549 ac_status=$?
135550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135551 (exit $ac_status); }; }; then
135552 glibcxx_cv_func_setenv_use=yes
135554 echo "$as_me: failed program was:" >&5
135555 sed 's/^/| /' conftest.$ac_ext >&5
135557 glibcxx_cv_func_setenv_use=no
135559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
135560 ac_ext=c
135561 ac_cpp='$CPP $CPPFLAGS'
135562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
135563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
135564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
135570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
135571 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
135572 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
135574 for ac_func in setenv
135576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
135577 echo "$as_me:$LINENO: checking for $ac_func" >&5
135578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
135579 if eval "test \"\${$as_ac_var+set}\" = set"; then
135580 echo $ECHO_N "(cached) $ECHO_C" >&6
135582 if test x$gcc_no_link = xyes; then
135583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
135584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
135585 { (exit 1); exit 1; }; }
135587 cat >conftest.$ac_ext <<_ACEOF
135588 /* confdefs.h. */
135589 _ACEOF
135590 cat confdefs.h >>conftest.$ac_ext
135591 cat >>conftest.$ac_ext <<_ACEOF
135592 /* end confdefs.h. */
135593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
135594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
135595 #define $ac_func innocuous_$ac_func
135597 /* System header to define __stub macros and hopefully few prototypes,
135598 which can conflict with char $ac_func (); below.
135599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
135600 <limits.h> exists even on freestanding compilers. */
135602 #ifdef __STDC__
135603 # include <limits.h>
135604 #else
135605 # include <assert.h>
135606 #endif
135608 #undef $ac_func
135610 /* Override any gcc2 internal prototype to avoid an error. */
135611 #ifdef __cplusplus
135612 extern "C"
135614 #endif
135615 /* We use char because int might match the return type of a gcc2
135616 builtin and then its argument prototype would still apply. */
135617 char $ac_func ();
135618 /* The GNU C library defines this for functions which it implements
135619 to always fail with ENOSYS. Some functions are actually named
135620 something starting with __ and the normal name is an alias. */
135621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
135622 choke me
135623 #else
135624 char (*f) () = $ac_func;
135625 #endif
135626 #ifdef __cplusplus
135628 #endif
135631 main ()
135633 return f != $ac_func;
135635 return 0;
135637 _ACEOF
135638 rm -f conftest.$ac_objext conftest$ac_exeext
135639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
135640 (eval $ac_link) 2>conftest.er1
135641 ac_status=$?
135642 grep -v '^ *+' conftest.er1 >conftest.err
135643 rm -f conftest.er1
135644 cat conftest.err >&5
135645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135646 (exit $ac_status); } &&
135647 { ac_try='test -z "$ac_c_werror_flag"
135648 || test ! -s conftest.err'
135649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135650 (eval $ac_try) 2>&5
135651 ac_status=$?
135652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135653 (exit $ac_status); }; } &&
135654 { ac_try='test -s conftest$ac_exeext'
135655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
135656 (eval $ac_try) 2>&5
135657 ac_status=$?
135658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
135659 (exit $ac_status); }; }; then
135660 eval "$as_ac_var=yes"
135662 echo "$as_me: failed program was:" >&5
135663 sed 's/^/| /' conftest.$ac_ext >&5
135665 eval "$as_ac_var=no"
135667 rm -f conftest.err conftest.$ac_objext \
135668 conftest$ac_exeext conftest.$ac_ext
135670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
135671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
135672 if test `eval echo '${'$as_ac_var'}'` = yes; then
135673 cat >>confdefs.h <<_ACEOF
135674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
135675 _ACEOF
135684 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
135685 test $enable_symvers != no; then
135686 case "$host" in
135687 *-*-cygwin*)
135688 enable_abi_check=no ;;
135690 enable_abi_check=yes ;;
135693 # Only build this as native, since automake does not understand
135694 # CXX_FOR_BUILD.
135695 enable_abi_check=no
135698 # Export file names for ABI checking.
135699 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
135703 # Propagate the target-specific source directories through the build chain.
135704 ATOMICITY_SRCDIR=config/${atomicity_dir}
135705 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
135706 ATOMIC_FLAGS=${atomic_flags}
135707 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
135708 OS_INC_SRCDIR=config/${os_include_dir}
135709 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
135710 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
135720 # Determine cross-compile flags and AM_CONDITIONALs.
135721 #AC_SUBST(GLIBCXX_IS_NATIVE)
135722 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
135725 if test $is_hosted = yes; then
135726 GLIBCXX_HOSTED_TRUE=
135727 GLIBCXX_HOSTED_FALSE='#'
135729 GLIBCXX_HOSTED_TRUE='#'
135730 GLIBCXX_HOSTED_FALSE=
135736 if test $enable_libstdcxx_pch = yes; then
135737 GLIBCXX_BUILD_PCH_TRUE=
135738 GLIBCXX_BUILD_PCH_FALSE='#'
135740 GLIBCXX_BUILD_PCH_TRUE='#'
135741 GLIBCXX_BUILD_PCH_FALSE=
135747 if test $enable_cheaders = c; then
135748 GLIBCXX_C_HEADERS_C_TRUE=
135749 GLIBCXX_C_HEADERS_C_FALSE='#'
135751 GLIBCXX_C_HEADERS_C_TRUE='#'
135752 GLIBCXX_C_HEADERS_C_FALSE=
135758 if test $enable_cheaders = c_std; then
135759 GLIBCXX_C_HEADERS_C_STD_TRUE=
135760 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
135762 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
135763 GLIBCXX_C_HEADERS_C_STD_FALSE=
135769 if test $enable_cheaders = c_global; then
135770 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
135771 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
135773 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
135774 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
135780 if test $c_compatibility = yes; then
135781 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
135782 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
135784 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
135785 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
135791 if test $c_extra = yes; then
135792 GLIBCXX_C_HEADERS_EXTRA_TRUE=
135793 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
135795 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
135796 GLIBCXX_C_HEADERS_EXTRA_FALSE=
135802 if test $enable_libstdcxx_debug = yes; then
135803 GLIBCXX_BUILD_DEBUG_TRUE=
135804 GLIBCXX_BUILD_DEBUG_FALSE='#'
135806 GLIBCXX_BUILD_DEBUG_TRUE='#'
135807 GLIBCXX_BUILD_DEBUG_FALSE=
135813 if test $enable_parallel = yes; then
135814 ENABLE_PARALLEL_TRUE=
135815 ENABLE_PARALLEL_FALSE='#'
135817 ENABLE_PARALLEL_TRUE='#'
135818 ENABLE_PARALLEL_FALSE=
135824 if test $enable_symvers != no; then
135825 ENABLE_SYMVERS_TRUE=
135826 ENABLE_SYMVERS_FALSE='#'
135828 ENABLE_SYMVERS_TRUE='#'
135829 ENABLE_SYMVERS_FALSE=
135835 if test $enable_symvers = gnu; then
135836 ENABLE_SYMVERS_GNU_TRUE=
135837 ENABLE_SYMVERS_GNU_FALSE='#'
135839 ENABLE_SYMVERS_GNU_TRUE='#'
135840 ENABLE_SYMVERS_GNU_FALSE=
135846 if test $enable_symvers = gnu-versioned-namespace; then
135847 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
135848 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
135850 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
135851 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
135857 if test $enable_symvers = darwin; then
135858 ENABLE_SYMVERS_DARWIN_TRUE=
135859 ENABLE_SYMVERS_DARWIN_FALSE='#'
135861 ENABLE_SYMVERS_DARWIN_TRUE='#'
135862 ENABLE_SYMVERS_DARWIN_FALSE=
135868 if test $enable_visibility = yes; then
135869 ENABLE_VISIBILITY_TRUE=
135870 ENABLE_VISIBILITY_FALSE='#'
135872 ENABLE_VISIBILITY_TRUE='#'
135873 ENABLE_VISIBILITY_FALSE=
135879 if test $ac_ldbl_compat = yes; then
135880 GLIBCXX_LDBL_COMPAT_TRUE=
135881 GLIBCXX_LDBL_COMPAT_FALSE='#'
135883 GLIBCXX_LDBL_COMPAT_TRUE='#'
135884 GLIBCXX_LDBL_COMPAT_FALSE=
135890 cat >confcache <<\_ACEOF
135891 # This file is a shell script that caches the results of configure
135892 # tests run on this system so they can be shared between configure
135893 # scripts and configure runs, see configure's option --config-cache.
135894 # It is not useful on other systems. If it contains results you don't
135895 # want to keep, you may remove or edit it.
135897 # config.status only pays attention to the cache file if you give it
135898 # the --recheck option to rerun configure.
135900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
135901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
135902 # following values.
135904 _ACEOF
135906 # The following way of writing the cache mishandles newlines in values,
135907 # but we know of no workaround that is simple, portable, and efficient.
135908 # So, don't put newlines in cache variables' values.
135909 # Ultrix sh set writes to stderr and can't be redirected directly,
135910 # and sets the high bit in the cache file unless we assign to the vars.
135912 (set) 2>&1 |
135913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
135914 *ac_space=\ *)
135915 # `set' does not quote correctly, so add quotes (double-quote
135916 # substitution turns \\\\ into \\, and sed turns \\ into \).
135917 sed -n \
135918 "s/'/'\\\\''/g;
135919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
135922 # `set' quotes correctly as required by POSIX, so do not add quotes.
135923 sed -n \
135924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
135926 esac;
135928 sed '
135929 t clear
135930 : clear
135931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
135932 t end
135933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
135934 : end' >>confcache
135935 if diff $cache_file confcache >/dev/null 2>&1; then :; else
135936 if test -w $cache_file; then
135937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
135938 cat confcache >$cache_file
135940 echo "not updating unwritable cache $cache_file"
135943 rm -f confcache
135945 if test ${multilib} = yes; then
135946 multilib_arg="--enable-multilib"
135948 multilib_arg=
135951 # Export all the install information.
135953 glibcxx_toolexecdir=no
135954 glibcxx_toolexeclibdir=no
135955 glibcxx_prefixdir=$prefix
135957 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
135958 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
135960 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
135961 if test "${with_gxx_include_dir+set}" = set; then
135962 withval="$with_gxx_include_dir"
135963 case "$withval" in
135964 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
135965 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
135966 { (exit 1); exit 1; }; } ;;
135967 no) gxx_include_dir=no ;;
135968 *) gxx_include_dir=$withval ;;
135971 gxx_include_dir=no
135973 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
135974 echo "${ECHO_T}$gxx_include_dir" >&6
135976 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
135977 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
135978 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
135979 if test "${enable_version_specific_runtime_libs+set}" = set; then
135980 enableval="$enable_version_specific_runtime_libs"
135981 case "$enableval" in
135982 yes) version_specific_libs=yes ;;
135983 no) version_specific_libs=no ;;
135984 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
135985 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
135986 { (exit 1); exit 1; }; };;
135989 version_specific_libs=no
135991 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
135992 echo "${ECHO_T}$version_specific_libs" >&6
135994 # Default case for install directory for include files.
135995 if test $version_specific_libs = no && test $gxx_include_dir = no; then
135996 gxx_include_dir='include/c++/${gcc_version}'
135997 if test -n "$with_cross_host" &&
135998 test x"$with_cross_host" != x"no"; then
135999 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
136001 gxx_include_dir='${prefix}/'"$gxx_include_dir"
136005 # Version-specific runtime libs processing.
136006 if test $version_specific_libs = yes; then
136007 # Need the gcc compiler version to know where to install libraries
136008 # and header files if --enable-version-specific-runtime-libs option
136009 # is selected. FIXME: these variables are misnamed, there are
136010 # no executables installed in _toolexecdir or _toolexeclibdir.
136011 if test x"$gxx_include_dir" = x"no"; then
136012 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
136014 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
136015 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
136018 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
136019 # Install a library built with a cross compiler in tooldir, not libdir.
136020 if test x"$glibcxx_toolexecdir" = x"no"; then
136021 if test -n "$with_cross_host" &&
136022 test x"$with_cross_host" != x"no"; then
136023 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
136024 glibcxx_toolexeclibdir='${toolexecdir}/lib'
136026 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
136027 glibcxx_toolexeclibdir='${libdir}'
136029 multi_os_directory=`$CXX -print-multi-os-directory`
136030 case $multi_os_directory in
136031 .) ;; # Avoid trailing /.
136032 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
136036 echo "$as_me:$LINENO: checking for install location" >&5
136037 echo $ECHO_N "checking for install location... $ECHO_C" >&6
136038 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
136039 echo "${ECHO_T}$gxx_include_dir" >&6
136047 # Export all the include and flag information to Makefiles.
136049 # Used for every C++ compile we perform.
136050 GLIBCXX_INCLUDES="\
136051 -I$glibcxx_builddir/include/$host_alias \
136052 -I$glibcxx_builddir/include \
136053 -I$glibcxx_srcdir/libsupc++"
136055 # For Canadian crosses, pick this up too.
136056 if test $CANADIAN = yes; then
136057 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
136060 # Stuff in the actual top level. Currently only used by libsupc++ to
136061 # get unwind* headers from the gcc dir.
136062 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
136063 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
136065 # Now, export this to all the little Makefiles....
136070 # Optimization flags that are probably a good idea for thrill-seekers. Just
136071 # uncomment the lines below and make, everything else is ready to go...
136072 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
136073 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
136076 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
136080 if test "$enable_shared" = yes; then
136081 LIBSUPCXX_PICFLAGS="-prefer-pic"
136083 LIBSUPCXX_PICFLAGS=
136087 ac_config_files="$ac_config_files Makefile include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
136089 ac_config_files="$ac_config_files scripts/testsuite_flags"
136092 ac_config_commands="$ac_config_commands default"
136095 cat >confcache <<\_ACEOF
136096 # This file is a shell script that caches the results of configure
136097 # tests run on this system so they can be shared between configure
136098 # scripts and configure runs, see configure's option --config-cache.
136099 # It is not useful on other systems. If it contains results you don't
136100 # want to keep, you may remove or edit it.
136102 # config.status only pays attention to the cache file if you give it
136103 # the --recheck option to rerun configure.
136105 # `ac_cv_env_foo' variables (set or unset) will be overridden when
136106 # loading this file, other *unset* `ac_cv_foo' will be assigned the
136107 # following values.
136109 _ACEOF
136111 # The following way of writing the cache mishandles newlines in values,
136112 # but we know of no workaround that is simple, portable, and efficient.
136113 # So, don't put newlines in cache variables' values.
136114 # Ultrix sh set writes to stderr and can't be redirected directly,
136115 # and sets the high bit in the cache file unless we assign to the vars.
136117 (set) 2>&1 |
136118 case `(ac_space=' '; set | grep ac_space) 2>&1` in
136119 *ac_space=\ *)
136120 # `set' does not quote correctly, so add quotes (double-quote
136121 # substitution turns \\\\ into \\, and sed turns \\ into \).
136122 sed -n \
136123 "s/'/'\\\\''/g;
136124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
136127 # `set' quotes correctly as required by POSIX, so do not add quotes.
136128 sed -n \
136129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
136131 esac;
136133 sed '
136134 t clear
136135 : clear
136136 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
136137 t end
136138 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
136139 : end' >>confcache
136140 if diff $cache_file confcache >/dev/null 2>&1; then :; else
136141 if test -w $cache_file; then
136142 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
136143 cat confcache >$cache_file
136145 echo "not updating unwritable cache $cache_file"
136148 rm -f confcache
136150 test "x$prefix" = xNONE && prefix=$ac_default_prefix
136151 # Let make expand exec_prefix.
136152 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
136154 # VPATH may cause trouble with some makes, so we remove $(srcdir),
136155 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
136156 # trailing colons and then remove the whole line if VPATH becomes empty
136157 # (actually we leave an empty line to preserve line numbers).
136158 if test "x$srcdir" = x.; then
136159 ac_vpsub='/^[ ]*VPATH[ ]*=/{
136160 s/:*\$(srcdir):*/:/;
136161 s/:*\${srcdir}:*/:/;
136162 s/:*@srcdir@:*/:/;
136163 s/^\([^=]*=[ ]*\):*/\1/;
136164 s/:*$//;
136165 s/^[^=]*=[ ]*$//;
136169 DEFS=-DHAVE_CONFIG_H
136171 ac_libobjs=
136172 ac_ltlibobjs=
136173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
136174 # 1. Remove the extension, and $U if already installed.
136175 ac_i=`echo "$ac_i" |
136176 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
136177 # 2. Add them.
136178 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
136179 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
136181 LIBOBJS=$ac_libobjs
136183 LTLIBOBJS=$ac_ltlibobjs
136186 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
136187 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
136188 Usually this means the macro was only invoked conditionally." >&5
136189 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
136190 Usually this means the macro was only invoked conditionally." >&2;}
136191 { (exit 1); exit 1; }; }
136193 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
136194 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
136195 Usually this means the macro was only invoked conditionally." >&5
136196 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
136197 Usually this means the macro was only invoked conditionally." >&2;}
136198 { (exit 1); exit 1; }; }
136200 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
136201 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
136202 Usually this means the macro was only invoked conditionally." >&5
136203 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
136204 Usually this means the macro was only invoked conditionally." >&2;}
136205 { (exit 1); exit 1; }; }
136207 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
136208 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
136209 Usually this means the macro was only invoked conditionally." >&5
136210 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
136211 Usually this means the macro was only invoked conditionally." >&2;}
136212 { (exit 1); exit 1; }; }
136214 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
136215 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
136216 Usually this means the macro was only invoked conditionally." >&5
136217 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
136218 Usually this means the macro was only invoked conditionally." >&2;}
136219 { (exit 1); exit 1; }; }
136221 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
136222 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
136223 Usually this means the macro was only invoked conditionally." >&5
136224 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
136225 Usually this means the macro was only invoked conditionally." >&2;}
136226 { (exit 1); exit 1; }; }
136228 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
136229 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
136230 Usually this means the macro was only invoked conditionally." >&5
136231 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
136232 Usually this means the macro was only invoked conditionally." >&2;}
136233 { (exit 1); exit 1; }; }
136235 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
136236 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
136237 Usually this means the macro was only invoked conditionally." >&5
136238 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
136239 Usually this means the macro was only invoked conditionally." >&2;}
136240 { (exit 1); exit 1; }; }
136242 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
136243 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
136244 Usually this means the macro was only invoked conditionally." >&5
136245 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
136246 Usually this means the macro was only invoked conditionally." >&2;}
136247 { (exit 1); exit 1; }; }
136249 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
136250 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
136251 Usually this means the macro was only invoked conditionally." >&5
136252 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
136253 Usually this means the macro was only invoked conditionally." >&2;}
136254 { (exit 1); exit 1; }; }
136256 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
136257 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
136258 Usually this means the macro was only invoked conditionally." >&5
136259 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
136260 Usually this means the macro was only invoked conditionally." >&2;}
136261 { (exit 1); exit 1; }; }
136263 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
136264 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
136265 Usually this means the macro was only invoked conditionally." >&5
136266 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
136267 Usually this means the macro was only invoked conditionally." >&2;}
136268 { (exit 1); exit 1; }; }
136270 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
136271 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
136272 Usually this means the macro was only invoked conditionally." >&5
136273 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
136274 Usually this means the macro was only invoked conditionally." >&2;}
136275 { (exit 1); exit 1; }; }
136277 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
136278 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
136279 Usually this means the macro was only invoked conditionally." >&5
136280 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
136281 Usually this means the macro was only invoked conditionally." >&2;}
136282 { (exit 1); exit 1; }; }
136284 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
136285 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
136286 Usually this means the macro was only invoked conditionally." >&5
136287 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
136288 Usually this means the macro was only invoked conditionally." >&2;}
136289 { (exit 1); exit 1; }; }
136291 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
136292 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
136293 Usually this means the macro was only invoked conditionally." >&5
136294 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
136295 Usually this means the macro was only invoked conditionally." >&2;}
136296 { (exit 1); exit 1; }; }
136299 : ${CONFIG_STATUS=./config.status}
136300 ac_clean_files_save=$ac_clean_files
136301 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
136302 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
136303 echo "$as_me: creating $CONFIG_STATUS" >&6;}
136304 cat >$CONFIG_STATUS <<_ACEOF
136305 #! $SHELL
136306 # Generated by $as_me.
136307 # Run this file to recreate the current configuration.
136308 # Compiler output produced by configure, useful for debugging
136309 # configure, is in config.log if it exists.
136311 debug=false
136312 ac_cs_recheck=false
136313 ac_cs_silent=false
136314 SHELL=\${CONFIG_SHELL-$SHELL}
136315 _ACEOF
136317 cat >>$CONFIG_STATUS <<\_ACEOF
136318 ## --------------------- ##
136319 ## M4sh Initialization. ##
136320 ## --------------------- ##
136322 # Be Bourne compatible
136323 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
136324 emulate sh
136325 NULLCMD=:
136326 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
136327 # is contrary to our usage. Disable this feature.
136328 alias -g '${1+"$@"}'='"$@"'
136329 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
136330 set -o posix
136332 DUALCASE=1; export DUALCASE # for MKS sh
136334 # Support unset when possible.
136335 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
136336 as_unset=unset
136338 as_unset=false
136342 # Work around bugs in pre-3.0 UWIN ksh.
136343 $as_unset ENV MAIL MAILPATH
136344 PS1='$ '
136345 PS2='> '
136346 PS4='+ '
136348 # NLS nuisances.
136349 for as_var in \
136350 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
136351 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
136352 LC_TELEPHONE LC_TIME
136354 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
136355 eval $as_var=C; export $as_var
136357 $as_unset $as_var
136361 # Required to use basename.
136362 if expr a : '\(a\)' >/dev/null 2>&1; then
136363 as_expr=expr
136365 as_expr=false
136368 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
136369 as_basename=basename
136371 as_basename=false
136375 # Name of the executable.
136376 as_me=`$as_basename "$0" ||
136377 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136378 X"$0" : 'X\(//\)$' \| \
136379 X"$0" : 'X\(/\)$' \| \
136380 . : '\(.\)' 2>/dev/null ||
136381 echo X/"$0" |
136382 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
136383 /^X\/\(\/\/\)$/{ s//\1/; q; }
136384 /^X\/\(\/\).*/{ s//\1/; q; }
136385 s/.*/./; q'`
136388 # PATH needs CR, and LINENO needs CR and PATH.
136389 # Avoid depending upon Character Ranges.
136390 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
136391 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
136392 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
136393 as_cr_digits='0123456789'
136394 as_cr_alnum=$as_cr_Letters$as_cr_digits
136396 # The user is always right.
136397 if test "${PATH_SEPARATOR+set}" != set; then
136398 echo "#! /bin/sh" >conf$$.sh
136399 echo "exit 0" >>conf$$.sh
136400 chmod +x conf$$.sh
136401 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
136402 PATH_SEPARATOR=';'
136404 PATH_SEPARATOR=:
136406 rm -f conf$$.sh
136410 as_lineno_1=$LINENO
136411 as_lineno_2=$LINENO
136412 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
136413 test "x$as_lineno_1" != "x$as_lineno_2" &&
136414 test "x$as_lineno_3" = "x$as_lineno_2" || {
136415 # Find who we are. Look in the path if we contain no path at all
136416 # relative or not.
136417 case $0 in
136418 *[\\/]* ) as_myself=$0 ;;
136419 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
136420 for as_dir in $PATH
136422 IFS=$as_save_IFS
136423 test -z "$as_dir" && as_dir=.
136424 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
136429 # We did not find ourselves, most probably we were run as `sh COMMAND'
136430 # in which case we are not to be found in the path.
136431 if test "x$as_myself" = x; then
136432 as_myself=$0
136434 if test ! -f "$as_myself"; then
136435 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
136436 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
136437 { (exit 1); exit 1; }; }
136439 case $CONFIG_SHELL in
136441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
136442 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136444 IFS=$as_save_IFS
136445 test -z "$as_dir" && as_dir=.
136446 for as_base in sh bash ksh sh5; do
136447 case $as_dir in
136449 if ("$as_dir/$as_base" -c '
136450 as_lineno_1=$LINENO
136451 as_lineno_2=$LINENO
136452 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
136453 test "x$as_lineno_1" != "x$as_lineno_2" &&
136454 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
136455 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
136456 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
136457 CONFIG_SHELL=$as_dir/$as_base
136458 export CONFIG_SHELL
136459 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
136467 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
136468 # uniformly replaced by the line number. The first 'sed' inserts a
136469 # line-number line before each line; the second 'sed' does the real
136470 # work. The second script uses 'N' to pair each line-number line
136471 # with the numbered line, and appends trailing '-' during
136472 # substitution so that $LINENO is not a special case at line end.
136473 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
136474 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
136475 sed '=' <$as_myself |
136476 sed '
136478 s,$,-,
136479 : loop
136480 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
136481 t loop
136482 s,-$,,
136483 s,^['$as_cr_digits']*\n,,
136484 ' >$as_me.lineno &&
136485 chmod +x $as_me.lineno ||
136486 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
136487 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
136488 { (exit 1); exit 1; }; }
136490 # Don't try to exec as it changes $[0], causing all sort of problems
136491 # (the dirname of $[0] is not the place where we might find the
136492 # original and so on. Autoconf is especially sensible to this).
136493 . ./$as_me.lineno
136494 # Exit status is that of the last command.
136499 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
136500 *c*,-n*) ECHO_N= ECHO_C='
136501 ' ECHO_T=' ' ;;
136502 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
136503 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
136506 if expr a : '\(a\)' >/dev/null 2>&1; then
136507 as_expr=expr
136509 as_expr=false
136512 rm -f conf$$ conf$$.exe conf$$.file
136513 echo >conf$$.file
136514 if ln -s conf$$.file conf$$ 2>/dev/null; then
136515 # We could just check for DJGPP; but this test a) works b) is more generic
136516 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
136517 if test -f conf$$.exe; then
136518 # Don't use ln at all; we don't have any links
136519 as_ln_s='cp -p'
136521 as_ln_s='ln -s'
136523 elif ln conf$$.file conf$$ 2>/dev/null; then
136524 as_ln_s=ln
136526 as_ln_s='cp -p'
136528 rm -f conf$$ conf$$.exe conf$$.file
136530 if mkdir -p . 2>/dev/null; then
136531 as_mkdir_p=:
136533 test -d ./-p && rmdir ./-p
136534 as_mkdir_p=false
136537 as_executable_p="test -f"
136539 # Sed expression to map a string onto a valid CPP name.
136540 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
136542 # Sed expression to map a string onto a valid variable name.
136543 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
136546 # IFS
136547 # We need space, tab and new line, in precisely that order.
136548 as_nl='
136550 IFS=" $as_nl"
136552 # CDPATH.
136553 $as_unset CDPATH
136555 exec 6>&1
136557 # Open the log real soon, to keep \$[0] and so on meaningful, and to
136558 # report actual input values of CONFIG_FILES etc. instead of their
136559 # values after options handling. Logging --version etc. is OK.
136560 exec 5>>config.log
136563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
136564 ## Running $as_me. ##
136565 _ASBOX
136566 } >&5
136567 cat >&5 <<_CSEOF
136569 This file was extended by package-unused $as_me version-unused, which was
136570 generated by GNU Autoconf 2.59. Invocation command line was
136572 CONFIG_FILES = $CONFIG_FILES
136573 CONFIG_HEADERS = $CONFIG_HEADERS
136574 CONFIG_LINKS = $CONFIG_LINKS
136575 CONFIG_COMMANDS = $CONFIG_COMMANDS
136576 $ $0 $@
136578 _CSEOF
136579 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
136580 echo >&5
136581 _ACEOF
136583 # Files that config.status was made for.
136584 if test -n "$ac_config_files"; then
136585 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
136588 if test -n "$ac_config_headers"; then
136589 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
136592 if test -n "$ac_config_links"; then
136593 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
136596 if test -n "$ac_config_commands"; then
136597 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
136600 cat >>$CONFIG_STATUS <<\_ACEOF
136602 ac_cs_usage="\
136603 \`$as_me' instantiates files from templates according to the
136604 current configuration.
136606 Usage: $0 [OPTIONS] [FILE]...
136608 -h, --help print this help, then exit
136609 -V, --version print version number, then exit
136610 -q, --quiet do not print progress messages
136611 -d, --debug don't remove temporary files
136612 --recheck update $as_me by reconfiguring in the same conditions
136613 --file=FILE[:TEMPLATE]
136614 instantiate the configuration file FILE
136615 --header=FILE[:TEMPLATE]
136616 instantiate the configuration header FILE
136618 Configuration files:
136619 $config_files
136621 Configuration headers:
136622 $config_headers
136624 Configuration commands:
136625 $config_commands
136627 Report bugs to <bug-autoconf@gnu.org>."
136628 _ACEOF
136630 cat >>$CONFIG_STATUS <<_ACEOF
136631 ac_cs_version="\\
136632 package-unused config.status version-unused
136633 configured by $0, generated by GNU Autoconf 2.59,
136634 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
136636 Copyright (C) 2003 Free Software Foundation, Inc.
136637 This config.status script is free software; the Free Software Foundation
136638 gives unlimited permission to copy, distribute and modify it."
136639 srcdir=$srcdir
136640 INSTALL="$INSTALL"
136641 _ACEOF
136643 cat >>$CONFIG_STATUS <<\_ACEOF
136644 # If no file are specified by the user, then we need to provide default
136645 # value. By we need to know if files were specified by the user.
136646 ac_need_defaults=:
136647 while test $# != 0
136649 case $1 in
136650 --*=*)
136651 ac_option=`expr "x$1" : 'x\([^=]*\)='`
136652 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
136653 ac_shift=:
136656 ac_option=$1
136657 ac_optarg=$2
136658 ac_shift=shift
136660 *) # This is not an option, so the user has probably given explicit
136661 # arguments.
136662 ac_option=$1
136663 ac_need_defaults=false;;
136666 case $ac_option in
136667 # Handling of the options.
136668 _ACEOF
136669 cat >>$CONFIG_STATUS <<\_ACEOF
136670 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
136671 ac_cs_recheck=: ;;
136672 --version | --vers* | -V )
136673 echo "$ac_cs_version"; exit 0 ;;
136674 --he | --h)
136675 # Conflict between --help and --header
136676 { { echo "$as_me:$LINENO: error: ambiguous option: $1
136677 Try \`$0 --help' for more information." >&5
136678 echo "$as_me: error: ambiguous option: $1
136679 Try \`$0 --help' for more information." >&2;}
136680 { (exit 1); exit 1; }; };;
136681 --help | --hel | -h )
136682 echo "$ac_cs_usage"; exit 0 ;;
136683 --debug | --d* | -d )
136684 debug=: ;;
136685 --file | --fil | --fi | --f )
136686 $ac_shift
136687 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
136688 ac_need_defaults=false;;
136689 --header | --heade | --head | --hea )
136690 $ac_shift
136691 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
136692 ac_need_defaults=false;;
136693 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
136694 | -silent | --silent | --silen | --sile | --sil | --si | --s)
136695 ac_cs_silent=: ;;
136697 # This is an error.
136698 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
136699 Try \`$0 --help' for more information." >&5
136700 echo "$as_me: error: unrecognized option: $1
136701 Try \`$0 --help' for more information." >&2;}
136702 { (exit 1); exit 1; }; } ;;
136704 *) ac_config_targets="$ac_config_targets $1" ;;
136707 shift
136710 ac_configure_extra_args=
136712 if $ac_cs_silent; then
136713 exec 6>/dev/null
136714 ac_configure_extra_args="$ac_configure_extra_args --silent"
136717 _ACEOF
136718 cat >>$CONFIG_STATUS <<_ACEOF
136719 if \$ac_cs_recheck; then
136720 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
136721 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
136724 _ACEOF
136726 cat >>$CONFIG_STATUS <<_ACEOF
136728 # INIT-COMMANDS section.
136732 srcdir="$srcdir"
136733 host="$host"
136734 target="$target"
136735 with_multisubdir="$with_multisubdir"
136736 with_multisrctop="$with_multisrctop"
136737 with_target_subdir="$with_target_subdir"
136738 ac_configure_args="${multilib_arg} ${ac_configure_args}"
136739 multi_basedir="$multi_basedir"
136740 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
136741 CC="$CC"
136742 CXX="$CXX"
136743 GFORTRAN="$GFORTRAN"
136744 GCJ="$GCJ"
136747 # The HP-UX ksh and POSIX shell print the target directory to stdout
136748 # if CDPATH is set.
136749 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136751 sed_quote_subst='$sed_quote_subst'
136752 double_quote_subst='$double_quote_subst'
136753 delay_variable_subst='$delay_variable_subst'
136754 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
136755 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
136756 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
136757 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
136758 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
136759 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
136760 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
136761 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
136762 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
136763 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
136764 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
136765 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
136766 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
136767 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
136768 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
136769 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
136770 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
136771 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
136772 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
136773 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
136774 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
136775 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
136776 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
136777 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
136778 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
136779 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
136780 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
136781 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136782 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
136783 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
136784 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
136785 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
136786 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
136787 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
136788 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
136789 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136790 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136791 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136792 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
136793 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
136794 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
136795 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
136796 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
136797 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
136798 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"`'
136799 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
136800 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
136801 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
136802 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
136803 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
136804 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
136805 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
136806 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
136807 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
136808 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
136809 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
136810 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
136811 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
136812 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
136813 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
136814 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
136815 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
136816 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136817 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136818 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
136819 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
136820 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
136821 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
136822 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
136823 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136824 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136825 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136826 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136827 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136828 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136829 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
136830 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
136831 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
136832 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
136833 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
136834 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
136835 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
136836 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
136837 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
136838 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
136839 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
136840 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
136841 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
136842 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
136843 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
136844 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136845 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
136846 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
136847 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136848 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
136849 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
136850 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
136851 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
136852 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
136853 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
136854 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
136855 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
136856 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
136857 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
136858 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
136859 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136860 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136861 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
136862 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
136863 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
136864 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
136865 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
136866 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
136867 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
136868 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
136869 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
136870 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
136871 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
136872 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
136873 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
136874 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
136875 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
136876 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
136877 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
136878 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136879 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136880 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136881 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136882 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136883 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136884 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136885 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136886 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136887 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136888 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136889 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136890 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136891 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136892 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136893 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136894 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136895 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136896 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136897 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136898 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136899 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136900 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136901 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136902 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136903 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136904 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136905 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136906 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136907 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136908 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136909 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136910 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136911 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136912 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136913 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136914 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136915 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136916 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136917 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136918 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136919 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136920 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136921 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136922 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136923 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136924 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
136926 LTCC='$LTCC'
136927 LTCFLAGS='$LTCFLAGS'
136928 compiler='$compiler_DEFAULT'
136930 # Quote evaled strings.
136931 for var in SED \
136932 GREP \
136933 EGREP \
136934 FGREP \
136937 LN_S \
136938 lt_SP2NL \
136939 lt_NL2SP \
136940 reload_flag \
136941 OBJDUMP \
136942 deplibs_check_method \
136943 file_magic_cmd \
136945 AR_FLAGS \
136946 STRIP \
136947 RANLIB \
136949 CFLAGS \
136950 compiler \
136951 lt_cv_sys_global_symbol_pipe \
136952 lt_cv_sys_global_symbol_to_cdecl \
136953 lt_cv_sys_global_symbol_to_c_name_address \
136954 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
136955 SHELL \
136956 ECHO \
136957 lt_prog_compiler_no_builtin_flag \
136958 lt_prog_compiler_wl \
136959 lt_prog_compiler_pic \
136960 lt_prog_compiler_static \
136961 lt_cv_prog_compiler_c_o \
136962 need_locks \
136963 DSYMUTIL \
136964 NMEDIT \
136965 LIPO \
136966 OTOOL \
136967 OTOOL64 \
136968 shrext_cmds \
136969 export_dynamic_flag_spec \
136970 whole_archive_flag_spec \
136971 compiler_needs_object \
136972 with_gnu_ld \
136973 allow_undefined_flag \
136974 no_undefined_flag \
136975 hardcode_libdir_flag_spec \
136976 hardcode_libdir_flag_spec_ld \
136977 hardcode_libdir_separator \
136978 fix_srcfile_path \
136979 exclude_expsyms \
136980 include_expsyms \
136981 file_list_spec \
136982 variables_saved_for_relink \
136983 libname_spec \
136984 library_names_spec \
136985 soname_spec \
136986 finish_eval \
136987 old_striplib \
136988 striplib \
136989 compiler_lib_search_dirs \
136990 predep_objects \
136991 postdep_objects \
136992 predeps \
136993 postdeps \
136994 compiler_lib_search_path \
136995 LD_CXX \
136996 compiler_CXX \
136997 lt_prog_compiler_no_builtin_flag_CXX \
136998 lt_prog_compiler_wl_CXX \
136999 lt_prog_compiler_pic_CXX \
137000 lt_prog_compiler_static_CXX \
137001 lt_cv_prog_compiler_c_o_CXX \
137002 export_dynamic_flag_spec_CXX \
137003 whole_archive_flag_spec_CXX \
137004 compiler_needs_object_CXX \
137005 with_gnu_ld_CXX \
137006 allow_undefined_flag_CXX \
137007 no_undefined_flag_CXX \
137008 hardcode_libdir_flag_spec_CXX \
137009 hardcode_libdir_flag_spec_ld_CXX \
137010 hardcode_libdir_separator_CXX \
137011 fix_srcfile_path_CXX \
137012 exclude_expsyms_CXX \
137013 include_expsyms_CXX \
137014 file_list_spec_CXX \
137015 compiler_lib_search_dirs_CXX \
137016 predep_objects_CXX \
137017 postdep_objects_CXX \
137018 predeps_CXX \
137019 postdeps_CXX \
137020 compiler_lib_search_path_CXX; do
137021 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
137022 *[\\\\\\\`\\"\\\$]*)
137023 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
137026 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
137031 # Double-quote double-evaled strings.
137032 for var in reload_cmds \
137033 old_postinstall_cmds \
137034 old_postuninstall_cmds \
137035 old_archive_cmds \
137036 extract_expsyms_cmds \
137037 old_archive_from_new_cmds \
137038 old_archive_from_expsyms_cmds \
137039 archive_cmds \
137040 archive_expsym_cmds \
137041 module_cmds \
137042 module_expsym_cmds \
137043 export_symbols_cmds \
137044 prelink_cmds \
137045 postinstall_cmds \
137046 postuninstall_cmds \
137047 finish_cmds \
137048 sys_lib_search_path_spec \
137049 sys_lib_dlsearch_path_spec \
137050 old_archive_cmds_CXX \
137051 old_archive_from_new_cmds_CXX \
137052 old_archive_from_expsyms_cmds_CXX \
137053 archive_cmds_CXX \
137054 archive_expsym_cmds_CXX \
137055 module_cmds_CXX \
137056 module_expsym_cmds_CXX \
137057 export_symbols_cmds_CXX \
137058 prelink_cmds_CXX; do
137059 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
137060 *[\\\\\\\`\\"\\\$]*)
137061 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
137064 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
137069 # Fix-up fallback echo if it was mangled by the above quoting rules.
137070 case \$lt_ECHO in
137071 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
137075 ac_aux_dir='$ac_aux_dir'
137076 xsi_shell='$xsi_shell'
137077 lt_shell_append='$lt_shell_append'
137079 # See if we are running on zsh, and set the options which allow our
137080 # commands through without removal of \ escapes INIT.
137081 if test -n "\${ZSH_VERSION+set}" ; then
137082 setopt NO_GLOB_SUBST
137086 PACKAGE='$PACKAGE'
137087 VERSION='$VERSION'
137088 TIMESTAMP='$TIMESTAMP'
137089 RM='$RM'
137090 ofile='$ofile'
137097 GCC="$GCC"
137098 CC="$CC"
137099 acx_cv_header_stdint="$acx_cv_header_stdint"
137100 acx_cv_type_int8_t="$acx_cv_type_int8_t"
137101 acx_cv_type_int16_t="$acx_cv_type_int16_t"
137102 acx_cv_type_int32_t="$acx_cv_type_int32_t"
137103 acx_cv_type_int64_t="$acx_cv_type_int64_t"
137104 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
137105 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
137106 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
137107 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
137108 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
137109 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
137110 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
137111 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
137112 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
137115 # Variables needed in config.status (file generation) which aren't already
137116 # passed by autoconf.
137117 SUBDIRS="$SUBDIRS"
137120 _ACEOF
137124 cat >>$CONFIG_STATUS <<\_ACEOF
137125 for ac_config_target in $ac_config_targets
137127 case "$ac_config_target" in
137128 # Handling of arguments.
137129 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
137130 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
137131 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
137132 "python/Makefile" ) CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
137133 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
137134 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
137135 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
137136 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
137137 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
137138 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
137139 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
137140 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
137141 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
137142 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
137143 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
137144 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
137145 { (exit 1); exit 1; }; };;
137149 # If the user did not use the arguments to specify the items to instantiate,
137150 # then the envvar interface is used. Set only those that are not.
137151 # We use the long form for the default assignment because of an extremely
137152 # bizarre bug on SunOS 4.1.3.
137153 if $ac_need_defaults; then
137154 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
137155 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
137156 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
137159 # Have a temporary directory for convenience. Make it in the build tree
137160 # simply because there is no reason to put it here, and in addition,
137161 # creating and moving files from /tmp can sometimes cause problems.
137162 # Create a temporary directory, and hook for its removal unless debugging.
137163 $debug ||
137165 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
137166 trap '{ (exit 1); exit 1; }' 1 2 13 15
137169 # Create a (secure) tmp directory for tmp files.
137172 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
137173 test -n "$tmp" && test -d "$tmp"
137176 tmp=./confstat$$-$RANDOM
137177 (umask 077 && mkdir $tmp)
137180 echo "$me: cannot create a temporary directory in ." >&2
137181 { (exit 1); exit 1; }
137184 _ACEOF
137186 cat >>$CONFIG_STATUS <<_ACEOF
137189 # CONFIG_FILES section.
137192 # No need to generate the scripts if there are no CONFIG_FILES.
137193 # This happens for instance when ./config.status config.h
137194 if test -n "\$CONFIG_FILES"; then
137195 # Protect against being on the right side of a sed subst in config.status.
137196 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
137197 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
137198 s,@SHELL@,$SHELL,;t t
137199 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
137200 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
137201 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
137202 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
137203 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
137204 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
137205 s,@exec_prefix@,$exec_prefix,;t t
137206 s,@prefix@,$prefix,;t t
137207 s,@program_transform_name@,$program_transform_name,;t t
137208 s,@bindir@,$bindir,;t t
137209 s,@sbindir@,$sbindir,;t t
137210 s,@libexecdir@,$libexecdir,;t t
137211 s,@datadir@,$datadir,;t t
137212 s,@sysconfdir@,$sysconfdir,;t t
137213 s,@sharedstatedir@,$sharedstatedir,;t t
137214 s,@localstatedir@,$localstatedir,;t t
137215 s,@libdir@,$libdir,;t t
137216 s,@includedir@,$includedir,;t t
137217 s,@oldincludedir@,$oldincludedir,;t t
137218 s,@infodir@,$infodir,;t t
137219 s,@mandir@,$mandir,;t t
137220 s,@build_alias@,$build_alias,;t t
137221 s,@host_alias@,$host_alias,;t t
137222 s,@target_alias@,$target_alias,;t t
137223 s,@DEFS@,$DEFS,;t t
137224 s,@ECHO_C@,$ECHO_C,;t t
137225 s,@ECHO_N@,$ECHO_N,;t t
137226 s,@ECHO_T@,$ECHO_T,;t t
137227 s,@LIBS@,$LIBS,;t t
137228 s,@libtool_VERSION@,$libtool_VERSION,;t t
137229 s,@multi_basedir@,$multi_basedir,;t t
137230 s,@build@,$build,;t t
137231 s,@build_cpu@,$build_cpu,;t t
137232 s,@build_vendor@,$build_vendor,;t t
137233 s,@build_os@,$build_os,;t t
137234 s,@host@,$host,;t t
137235 s,@host_cpu@,$host_cpu,;t t
137236 s,@host_vendor@,$host_vendor,;t t
137237 s,@host_os@,$host_os,;t t
137238 s,@target@,$target,;t t
137239 s,@target_cpu@,$target_cpu,;t t
137240 s,@target_vendor@,$target_vendor,;t t
137241 s,@target_os@,$target_os,;t t
137242 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
137243 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
137244 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
137245 s,@CYGPATH_W@,$CYGPATH_W,;t t
137246 s,@PACKAGE@,$PACKAGE,;t t
137247 s,@VERSION@,$VERSION,;t t
137248 s,@ACLOCAL@,$ACLOCAL,;t t
137249 s,@AUTOCONF@,$AUTOCONF,;t t
137250 s,@AUTOMAKE@,$AUTOMAKE,;t t
137251 s,@AUTOHEADER@,$AUTOHEADER,;t t
137252 s,@MAKEINFO@,$MAKEINFO,;t t
137253 s,@install_sh@,$install_sh,;t t
137254 s,@STRIP@,$STRIP,;t t
137255 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
137256 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
137257 s,@mkdir_p@,$mkdir_p,;t t
137258 s,@AWK@,$AWK,;t t
137259 s,@SET_MAKE@,$SET_MAKE,;t t
137260 s,@am__leading_dot@,$am__leading_dot,;t t
137261 s,@AMTAR@,$AMTAR,;t t
137262 s,@am__tar@,$am__tar,;t t
137263 s,@am__untar@,$am__untar,;t t
137264 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
137265 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
137266 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
137267 s,@CC@,$CC,;t t
137268 s,@ac_ct_CC@,$ac_ct_CC,;t t
137269 s,@EXEEXT@,$EXEEXT,;t t
137270 s,@OBJEXT@,$OBJEXT,;t t
137271 s,@CXX@,$CXX,;t t
137272 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
137273 s,@CFLAGS@,$CFLAGS,;t t
137274 s,@CXXFLAGS@,$CXXFLAGS,;t t
137275 s,@LN_S@,$LN_S,;t t
137276 s,@AS@,$AS,;t t
137277 s,@ac_ct_AS@,$ac_ct_AS,;t t
137278 s,@AR@,$AR,;t t
137279 s,@ac_ct_AR@,$ac_ct_AR,;t t
137280 s,@RANLIB@,$RANLIB,;t t
137281 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
137282 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
137283 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
137284 s,@MAINT@,$MAINT,;t t
137285 s,@CPP@,$CPP,;t t
137286 s,@CPPFLAGS@,$CPPFLAGS,;t t
137287 s,@EGREP@,$EGREP,;t t
137288 s,@LIBTOOL@,$LIBTOOL,;t t
137289 s,@SED@,$SED,;t t
137290 s,@FGREP@,$FGREP,;t t
137291 s,@GREP@,$GREP,;t t
137292 s,@LD@,$LD,;t t
137293 s,@DUMPBIN@,$DUMPBIN,;t t
137294 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
137295 s,@NM@,$NM,;t t
137296 s,@OBJDUMP@,$OBJDUMP,;t t
137297 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
137298 s,@lt_ECHO@,$lt_ECHO,;t t
137299 s,@DSYMUTIL@,$DSYMUTIL,;t t
137300 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
137301 s,@NMEDIT@,$NMEDIT,;t t
137302 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
137303 s,@LIPO@,$LIPO,;t t
137304 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
137305 s,@OTOOL@,$OTOOL,;t t
137306 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
137307 s,@OTOOL64@,$OTOOL64,;t t
137308 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
137309 s,@LDFLAGS@,$LDFLAGS,;t t
137310 s,@CXXCPP@,$CXXCPP,;t t
137311 s,@enable_shared@,$enable_shared,;t t
137312 s,@enable_static@,$enable_static,;t t
137313 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
137314 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
137315 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
137316 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
137317 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
137318 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
137319 s,@WERROR@,$WERROR,;t t
137320 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
137321 s,@CSTDIO_H@,$CSTDIO_H,;t t
137322 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
137323 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
137324 s,@check_msgfmt@,$check_msgfmt,;t t
137325 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
137326 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
137327 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
137328 s,@USE_NLS@,$USE_NLS,;t t
137329 s,@CLOCALE_H@,$CLOCALE_H,;t t
137330 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
137331 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
137332 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
137333 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
137334 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
137335 s,@CMONEY_CC@,$CMONEY_CC,;t t
137336 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
137337 s,@CTIME_H@,$CTIME_H,;t t
137338 s,@CTIME_CC@,$CTIME_CC,;t t
137339 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
137340 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
137341 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
137342 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
137343 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
137344 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
137345 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
137346 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
137347 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
137348 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
137349 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
137350 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
137351 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
137352 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
137353 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
137354 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
137355 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
137356 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
137357 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
137358 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
137359 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
137360 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
137361 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
137362 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
137363 s,@LIBICONV@,$LIBICONV,;t t
137364 s,@LTLIBICONV@,$LTLIBICONV,;t t
137365 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
137366 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
137367 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
137368 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
137369 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
137370 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
137371 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
137372 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
137373 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
137374 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
137375 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
137376 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
137377 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
137378 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
137379 s,@baseline_dir@,$baseline_dir,;t t
137380 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
137381 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
137382 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
137383 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
137384 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
137385 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
137386 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
137387 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
137388 s,@gxx_include_dir@,$gxx_include_dir,;t t
137389 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
137390 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
137391 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
137392 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
137393 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
137394 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
137395 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
137396 s,@LIBOBJS@,$LIBOBJS,;t t
137397 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
137400 _ACEOF
137402 cat >>$CONFIG_STATUS <<\_ACEOF
137403 # Split the substitutions into bite-sized pieces for seds with
137404 # small command number limits, like on Digital OSF/1 and HP-UX.
137405 ac_max_sed_lines=48
137406 ac_sed_frag=1 # Number of current file.
137407 ac_beg=1 # First line for current file.
137408 ac_end=$ac_max_sed_lines # Line after last line for current file.
137409 ac_more_lines=:
137410 ac_sed_cmds=
137411 while $ac_more_lines; do
137412 if test $ac_beg -gt 1; then
137413 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
137415 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
137417 if test ! -s $tmp/subs.frag; then
137418 ac_more_lines=false
137420 # The purpose of the label and of the branching condition is to
137421 # speed up the sed processing (if there are no `@' at all, there
137422 # is no need to browse any of the substitutions).
137423 # These are the two extra sed commands mentioned above.
137424 (echo ':t
137425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
137426 if test -z "$ac_sed_cmds"; then
137427 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
137429 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
137431 ac_sed_frag=`expr $ac_sed_frag + 1`
137432 ac_beg=$ac_end
137433 ac_end=`expr $ac_end + $ac_max_sed_lines`
137436 if test -z "$ac_sed_cmds"; then
137437 ac_sed_cmds=cat
137439 fi # test -n "$CONFIG_FILES"
137441 _ACEOF
137442 cat >>$CONFIG_STATUS <<\_ACEOF
137443 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
137444 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
137445 case $ac_file in
137446 - | *:- | *:-:* ) # input from stdin
137447 cat >$tmp/stdin
137448 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137449 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137450 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137451 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137452 * ) ac_file_in=$ac_file.in ;;
137455 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
137456 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
137457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137458 X"$ac_file" : 'X\(//\)[^/]' \| \
137459 X"$ac_file" : 'X\(//\)$' \| \
137460 X"$ac_file" : 'X\(/\)' \| \
137461 . : '\(.\)' 2>/dev/null ||
137462 echo X"$ac_file" |
137463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137464 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137465 /^X\(\/\/\)$/{ s//\1/; q; }
137466 /^X\(\/\).*/{ s//\1/; q; }
137467 s/.*/./; q'`
137468 { if $as_mkdir_p; then
137469 mkdir -p "$ac_dir"
137471 as_dir="$ac_dir"
137472 as_dirs=
137473 while test ! -d "$as_dir"; do
137474 as_dirs="$as_dir $as_dirs"
137475 as_dir=`(dirname "$as_dir") 2>/dev/null ||
137476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137477 X"$as_dir" : 'X\(//\)[^/]' \| \
137478 X"$as_dir" : 'X\(//\)$' \| \
137479 X"$as_dir" : 'X\(/\)' \| \
137480 . : '\(.\)' 2>/dev/null ||
137481 echo X"$as_dir" |
137482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137483 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137484 /^X\(\/\/\)$/{ s//\1/; q; }
137485 /^X\(\/\).*/{ s//\1/; q; }
137486 s/.*/./; q'`
137488 test ! -n "$as_dirs" || mkdir $as_dirs
137489 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
137490 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
137491 { (exit 1); exit 1; }; }; }
137493 ac_builddir=.
137495 if test "$ac_dir" != .; then
137496 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
137497 # A "../" for each directory in $ac_dir_suffix.
137498 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
137500 ac_dir_suffix= ac_top_builddir=
137503 case $srcdir in
137504 .) # No --srcdir option. We are building in place.
137505 ac_srcdir=.
137506 if test -z "$ac_top_builddir"; then
137507 ac_top_srcdir=.
137509 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
137510 fi ;;
137511 [\\/]* | ?:[\\/]* ) # Absolute path.
137512 ac_srcdir=$srcdir$ac_dir_suffix;
137513 ac_top_srcdir=$srcdir ;;
137514 *) # Relative path.
137515 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
137516 ac_top_srcdir=$ac_top_builddir$srcdir ;;
137519 # Do not use `cd foo && pwd` to compute absolute paths, because
137520 # the directories may not exist.
137521 case `pwd` in
137522 .) ac_abs_builddir="$ac_dir";;
137524 case "$ac_dir" in
137525 .) ac_abs_builddir=`pwd`;;
137526 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
137527 *) ac_abs_builddir=`pwd`/"$ac_dir";;
137528 esac;;
137530 case $ac_abs_builddir in
137531 .) ac_abs_top_builddir=${ac_top_builddir}.;;
137533 case ${ac_top_builddir}. in
137534 .) ac_abs_top_builddir=$ac_abs_builddir;;
137535 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
137536 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
137537 esac;;
137539 case $ac_abs_builddir in
137540 .) ac_abs_srcdir=$ac_srcdir;;
137542 case $ac_srcdir in
137543 .) ac_abs_srcdir=$ac_abs_builddir;;
137544 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
137545 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
137546 esac;;
137548 case $ac_abs_builddir in
137549 .) ac_abs_top_srcdir=$ac_top_srcdir;;
137551 case $ac_top_srcdir in
137552 .) ac_abs_top_srcdir=$ac_abs_builddir;;
137553 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
137554 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
137555 esac;;
137559 case $INSTALL in
137560 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
137561 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
137564 if test x"$ac_file" != x-; then
137565 { echo "$as_me:$LINENO: creating $ac_file" >&5
137566 echo "$as_me: creating $ac_file" >&6;}
137567 rm -f "$ac_file"
137569 # Let's still pretend it is `configure' which instantiates (i.e., don't
137570 # use $as_me), people would be surprised to read:
137571 # /* config.h. Generated by config.status. */
137572 if test x"$ac_file" = x-; then
137573 configure_input=
137575 configure_input="$ac_file. "
137577 configure_input=$configure_input"Generated from `echo $ac_file_in |
137578 sed 's,.*/,,'` by configure."
137580 # First look for the input files in the build tree, otherwise in the
137581 # src tree.
137582 ac_file_inputs=`IFS=:
137583 for f in $ac_file_in; do
137584 case $f in
137585 -) echo $tmp/stdin ;;
137586 [\\/$]*)
137587 # Absolute (can't be DOS-style, as IFS=:)
137588 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137589 echo "$as_me: error: cannot find input file: $f" >&2;}
137590 { (exit 1); exit 1; }; }
137591 echo "$f";;
137592 *) # Relative
137593 if test -f "$f"; then
137594 # Build tree
137595 echo "$f"
137596 elif test -f "$srcdir/$f"; then
137597 # Source tree
137598 echo "$srcdir/$f"
137600 # /dev/null tree
137601 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137602 echo "$as_me: error: cannot find input file: $f" >&2;}
137603 { (exit 1); exit 1; }; }
137606 done` || { (exit 1); exit 1; }
137607 _ACEOF
137608 cat >>$CONFIG_STATUS <<_ACEOF
137609 sed "$ac_vpsub
137610 $extrasub
137611 _ACEOF
137612 cat >>$CONFIG_STATUS <<\_ACEOF
137614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
137615 s,@configure_input@,$configure_input,;t t
137616 s,@srcdir@,$ac_srcdir,;t t
137617 s,@abs_srcdir@,$ac_abs_srcdir,;t t
137618 s,@top_srcdir@,$ac_top_srcdir,;t t
137619 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
137620 s,@builddir@,$ac_builddir,;t t
137621 s,@abs_builddir@,$ac_abs_builddir,;t t
137622 s,@top_builddir@,$ac_top_builddir,;t t
137623 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
137624 s,@INSTALL@,$ac_INSTALL,;t t
137625 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
137626 rm -f $tmp/stdin
137627 if test x"$ac_file" != x-; then
137628 mv $tmp/out $ac_file
137630 cat $tmp/out
137631 rm -f $tmp/out
137634 # Run the commands associated with the file.
137635 case $ac_file in
137636 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
137639 _ACEOF
137640 cat >>$CONFIG_STATUS <<\_ACEOF
137643 # CONFIG_HEADER section.
137646 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
137647 # NAME is the cpp macro being defined and VALUE is the value it is being given.
137649 # ac_d sets the value in "#define NAME VALUE" lines.
137650 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
137651 ac_dB='[ ].*$,\1#\2'
137652 ac_dC=' '
137653 ac_dD=',;t'
137654 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
137655 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
137656 ac_uB='$,\1#\2define\3'
137657 ac_uC=' '
137658 ac_uD=',;t'
137660 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
137661 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
137662 case $ac_file in
137663 - | *:- | *:-:* ) # input from stdin
137664 cat >$tmp/stdin
137665 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137666 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137667 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
137668 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
137669 * ) ac_file_in=$ac_file.in ;;
137672 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
137673 echo "$as_me: creating $ac_file" >&6;}
137675 # First look for the input files in the build tree, otherwise in the
137676 # src tree.
137677 ac_file_inputs=`IFS=:
137678 for f in $ac_file_in; do
137679 case $f in
137680 -) echo $tmp/stdin ;;
137681 [\\/$]*)
137682 # Absolute (can't be DOS-style, as IFS=:)
137683 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137684 echo "$as_me: error: cannot find input file: $f" >&2;}
137685 { (exit 1); exit 1; }; }
137686 # Do quote $f, to prevent DOS paths from being IFS'd.
137687 echo "$f";;
137688 *) # Relative
137689 if test -f "$f"; then
137690 # Build tree
137691 echo "$f"
137692 elif test -f "$srcdir/$f"; then
137693 # Source tree
137694 echo "$srcdir/$f"
137696 # /dev/null tree
137697 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
137698 echo "$as_me: error: cannot find input file: $f" >&2;}
137699 { (exit 1); exit 1; }; }
137702 done` || { (exit 1); exit 1; }
137703 # Remove the trailing spaces.
137704 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
137706 _ACEOF
137708 # Transform confdefs.h into two sed scripts, `conftest.defines' and
137709 # `conftest.undefs', that substitutes the proper values into
137710 # config.h.in to produce config.h. The first handles `#define'
137711 # templates, and the second `#undef' templates.
137712 # And first: Protect against being on the right side of a sed subst in
137713 # config.status. Protect against being in an unquoted here document
137714 # in config.status.
137715 rm -f conftest.defines conftest.undefs
137716 # Using a here document instead of a string reduces the quoting nightmare.
137717 # Putting comments in sed scripts is not portable.
137719 # `end' is used to avoid that the second main sed command (meant for
137720 # 0-ary CPP macros) applies to n-ary macro definitions.
137721 # See the Autoconf documentation for `clear'.
137722 cat >confdef2sed.sed <<\_ACEOF
137723 s/[\\&,]/\\&/g
137724 s,[\\$`],\\&,g
137725 t clear
137726 : clear
137727 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
137728 t end
137729 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
137730 : end
137731 _ACEOF
137732 # If some macros were called several times there might be several times
137733 # the same #defines, which is useless. Nevertheless, we may not want to
137734 # sort them, since we want the *last* AC-DEFINE to be honored.
137735 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
137736 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
137737 rm -f confdef2sed.sed
137739 # This sed command replaces #undef with comments. This is necessary, for
137740 # example, in the case of _POSIX_SOURCE, which is predefined and required
137741 # on some systems where configure will not decide to define it.
137742 cat >>conftest.undefs <<\_ACEOF
137743 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
137744 _ACEOF
137746 # Break up conftest.defines because some shells have a limit on the size
137747 # of here documents, and old seds have small limits too (100 cmds).
137748 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
137749 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
137750 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
137751 echo ' :' >>$CONFIG_STATUS
137752 rm -f conftest.tail
137753 while grep . conftest.defines >/dev/null
137755 # Write a limited-size here document to $tmp/defines.sed.
137756 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
137757 # Speed up: don't consider the non `#define' lines.
137758 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
137759 # Work around the forget-to-reset-the-flag bug.
137760 echo 't clr' >>$CONFIG_STATUS
137761 echo ': clr' >>$CONFIG_STATUS
137762 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
137763 echo 'CEOF
137764 sed -f $tmp/defines.sed $tmp/in >$tmp/out
137765 rm -f $tmp/in
137766 mv $tmp/out $tmp/in
137767 ' >>$CONFIG_STATUS
137768 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
137769 rm -f conftest.defines
137770 mv conftest.tail conftest.defines
137772 rm -f conftest.defines
137773 echo ' fi # grep' >>$CONFIG_STATUS
137774 echo >>$CONFIG_STATUS
137776 # Break up conftest.undefs because some shells have a limit on the size
137777 # of here documents, and old seds have small limits too (100 cmds).
137778 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
137779 rm -f conftest.tail
137780 while grep . conftest.undefs >/dev/null
137782 # Write a limited-size here document to $tmp/undefs.sed.
137783 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
137784 # Speed up: don't consider the non `#undef'
137785 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
137786 # Work around the forget-to-reset-the-flag bug.
137787 echo 't clr' >>$CONFIG_STATUS
137788 echo ': clr' >>$CONFIG_STATUS
137789 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
137790 echo 'CEOF
137791 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
137792 rm -f $tmp/in
137793 mv $tmp/out $tmp/in
137794 ' >>$CONFIG_STATUS
137795 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
137796 rm -f conftest.undefs
137797 mv conftest.tail conftest.undefs
137799 rm -f conftest.undefs
137801 cat >>$CONFIG_STATUS <<\_ACEOF
137802 # Let's still pretend it is `configure' which instantiates (i.e., don't
137803 # use $as_me), people would be surprised to read:
137804 # /* config.h. Generated by config.status. */
137805 if test x"$ac_file" = x-; then
137806 echo "/* Generated by configure. */" >$tmp/config.h
137808 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
137810 cat $tmp/in >>$tmp/config.h
137811 rm -f $tmp/in
137812 if test x"$ac_file" != x-; then
137813 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
137814 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
137815 echo "$as_me: $ac_file is unchanged" >&6;}
137817 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
137818 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137819 X"$ac_file" : 'X\(//\)[^/]' \| \
137820 X"$ac_file" : 'X\(//\)$' \| \
137821 X"$ac_file" : 'X\(/\)' \| \
137822 . : '\(.\)' 2>/dev/null ||
137823 echo X"$ac_file" |
137824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137825 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137826 /^X\(\/\/\)$/{ s//\1/; q; }
137827 /^X\(\/\).*/{ s//\1/; q; }
137828 s/.*/./; q'`
137829 { if $as_mkdir_p; then
137830 mkdir -p "$ac_dir"
137832 as_dir="$ac_dir"
137833 as_dirs=
137834 while test ! -d "$as_dir"; do
137835 as_dirs="$as_dir $as_dirs"
137836 as_dir=`(dirname "$as_dir") 2>/dev/null ||
137837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137838 X"$as_dir" : 'X\(//\)[^/]' \| \
137839 X"$as_dir" : 'X\(//\)$' \| \
137840 X"$as_dir" : 'X\(/\)' \| \
137841 . : '\(.\)' 2>/dev/null ||
137842 echo X"$as_dir" |
137843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137845 /^X\(\/\/\)$/{ s//\1/; q; }
137846 /^X\(\/\).*/{ s//\1/; q; }
137847 s/.*/./; q'`
137849 test ! -n "$as_dirs" || mkdir $as_dirs
137850 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
137851 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
137852 { (exit 1); exit 1; }; }; }
137854 rm -f $ac_file
137855 mv $tmp/config.h $ac_file
137858 cat $tmp/config.h
137859 rm -f $tmp/config.h
137861 # Compute $ac_file's index in $config_headers.
137862 _am_stamp_count=1
137863 for _am_header in $config_headers :; do
137864 case $_am_header in
137865 $ac_file | $ac_file:* )
137866 break ;;
137868 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
137871 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
137872 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137873 X$ac_file : 'X\(//\)[^/]' \| \
137874 X$ac_file : 'X\(//\)$' \| \
137875 X$ac_file : 'X\(/\)' \| \
137876 . : '\(.\)' 2>/dev/null ||
137877 echo X$ac_file |
137878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137879 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137880 /^X\(\/\/\)$/{ s//\1/; q; }
137881 /^X\(\/\).*/{ s//\1/; q; }
137882 s/.*/./; q'`/stamp-h$_am_stamp_count
137884 _ACEOF
137885 cat >>$CONFIG_STATUS <<\_ACEOF
137888 # CONFIG_COMMANDS section.
137890 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
137891 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
137892 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
137893 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
137894 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137895 X"$ac_dest" : 'X\(//\)[^/]' \| \
137896 X"$ac_dest" : 'X\(//\)$' \| \
137897 X"$ac_dest" : 'X\(/\)' \| \
137898 . : '\(.\)' 2>/dev/null ||
137899 echo X"$ac_dest" |
137900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137902 /^X\(\/\/\)$/{ s//\1/; q; }
137903 /^X\(\/\).*/{ s//\1/; q; }
137904 s/.*/./; q'`
137905 { if $as_mkdir_p; then
137906 mkdir -p "$ac_dir"
137908 as_dir="$ac_dir"
137909 as_dirs=
137910 while test ! -d "$as_dir"; do
137911 as_dirs="$as_dir $as_dirs"
137912 as_dir=`(dirname "$as_dir") 2>/dev/null ||
137913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
137914 X"$as_dir" : 'X\(//\)[^/]' \| \
137915 X"$as_dir" : 'X\(//\)$' \| \
137916 X"$as_dir" : 'X\(/\)' \| \
137917 . : '\(.\)' 2>/dev/null ||
137918 echo X"$as_dir" |
137919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
137920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
137921 /^X\(\/\/\)$/{ s//\1/; q; }
137922 /^X\(\/\).*/{ s//\1/; q; }
137923 s/.*/./; q'`
137925 test ! -n "$as_dirs" || mkdir $as_dirs
137926 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
137927 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
137928 { (exit 1); exit 1; }; }; }
137930 ac_builddir=.
137932 if test "$ac_dir" != .; then
137933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
137934 # A "../" for each directory in $ac_dir_suffix.
137935 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
137937 ac_dir_suffix= ac_top_builddir=
137940 case $srcdir in
137941 .) # No --srcdir option. We are building in place.
137942 ac_srcdir=.
137943 if test -z "$ac_top_builddir"; then
137944 ac_top_srcdir=.
137946 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
137947 fi ;;
137948 [\\/]* | ?:[\\/]* ) # Absolute path.
137949 ac_srcdir=$srcdir$ac_dir_suffix;
137950 ac_top_srcdir=$srcdir ;;
137951 *) # Relative path.
137952 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
137953 ac_top_srcdir=$ac_top_builddir$srcdir ;;
137956 # Do not use `cd foo && pwd` to compute absolute paths, because
137957 # the directories may not exist.
137958 case `pwd` in
137959 .) ac_abs_builddir="$ac_dir";;
137961 case "$ac_dir" in
137962 .) ac_abs_builddir=`pwd`;;
137963 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
137964 *) ac_abs_builddir=`pwd`/"$ac_dir";;
137965 esac;;
137967 case $ac_abs_builddir in
137968 .) ac_abs_top_builddir=${ac_top_builddir}.;;
137970 case ${ac_top_builddir}. in
137971 .) ac_abs_top_builddir=$ac_abs_builddir;;
137972 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
137973 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
137974 esac;;
137976 case $ac_abs_builddir in
137977 .) ac_abs_srcdir=$ac_srcdir;;
137979 case $ac_srcdir in
137980 .) ac_abs_srcdir=$ac_abs_builddir;;
137981 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
137982 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
137983 esac;;
137985 case $ac_abs_builddir in
137986 .) ac_abs_top_srcdir=$ac_top_srcdir;;
137988 case $ac_top_srcdir in
137989 .) ac_abs_top_srcdir=$ac_abs_builddir;;
137990 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
137991 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
137992 esac;;
137996 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
137997 echo "$as_me: executing $ac_dest commands" >&6;}
137998 case $ac_dest in
137999 default-1 )
138000 # Only add multilib support code if we just rebuilt the top-level
138001 # Makefile.
138002 case " $CONFIG_FILES " in
138003 *" Makefile "*)
138004 ac_file=Makefile . ${multi_basedir}/config-ml.in
138006 esac ;;
138007 libtool )
138009 # See if we are running on zsh, and set the options which allow our
138010 # commands through without removal of \ escapes.
138011 if test -n "${ZSH_VERSION+set}" ; then
138012 setopt NO_GLOB_SUBST
138015 cfgfile="${ofile}T"
138016 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
138017 $RM "$cfgfile"
138019 cat <<_LT_EOF >> "$cfgfile"
138020 #! $SHELL
138022 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
138023 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
138024 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
138025 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
138027 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
138028 # 2006, 2007, 2008 Free Software Foundation, Inc.
138029 # Written by Gordon Matzigkeit, 1996
138031 # This file is part of GNU Libtool.
138033 # GNU Libtool is free software; you can redistribute it and/or
138034 # modify it under the terms of the GNU General Public License as
138035 # published by the Free Software Foundation; either version 2 of
138036 # the License, or (at your option) any later version.
138038 # As a special exception to the GNU General Public License,
138039 # if you distribute this file as part of a program or library that
138040 # is built using GNU Libtool, you may include this file under the
138041 # same distribution terms that you use for the rest of that program.
138043 # GNU Libtool is distributed in the hope that it will be useful,
138044 # but WITHOUT ANY WARRANTY; without even the implied warranty of
138045 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
138046 # GNU General Public License for more details.
138048 # You should have received a copy of the GNU General Public License
138049 # along with GNU Libtool; see the file COPYING. If not, a copy
138050 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
138051 # obtained by writing to the Free Software Foundation, Inc.,
138052 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
138055 # The names of the tagged configurations supported by this script.
138056 available_tags="CXX "
138058 # ### BEGIN LIBTOOL CONFIG
138060 # Which release of libtool.m4 was used?
138061 macro_version=$macro_version
138062 macro_revision=$macro_revision
138064 # Whether or not to build shared libraries.
138065 build_libtool_libs=$enable_shared
138067 # Whether or not to build static libraries.
138068 build_old_libs=$enable_static
138070 # What type of objects to build.
138071 pic_mode=$pic_mode
138073 # Whether or not to optimize for fast installation.
138074 fast_install=$enable_fast_install
138076 # The host system.
138077 host_alias=$host_alias
138078 host=$host
138079 host_os=$host_os
138081 # The build system.
138082 build_alias=$build_alias
138083 build=$build
138084 build_os=$build_os
138086 # A sed program that does not truncate output.
138087 SED=$lt_SED
138089 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
138090 Xsed="\$SED -e 1s/^X//"
138092 # A grep program that handles long lines.
138093 GREP=$lt_GREP
138095 # An ERE matcher.
138096 EGREP=$lt_EGREP
138098 # A literal string matcher.
138099 FGREP=$lt_FGREP
138101 # A BSD- or MS-compatible name lister.
138102 NM=$lt_NM
138104 # Whether we need soft or hard links.
138105 LN_S=$lt_LN_S
138107 # What is the maximum length of a command?
138108 max_cmd_len=$max_cmd_len
138110 # Object file suffix (normally "o").
138111 objext=$ac_objext
138113 # Executable file suffix (normally "").
138114 exeext=$exeext
138116 # whether the shell understands "unset".
138117 lt_unset=$lt_unset
138119 # turn spaces into newlines.
138120 SP2NL=$lt_lt_SP2NL
138122 # turn newlines into spaces.
138123 NL2SP=$lt_lt_NL2SP
138125 # How to create reloadable object files.
138126 reload_flag=$lt_reload_flag
138127 reload_cmds=$lt_reload_cmds
138129 # An object symbol dumper.
138130 OBJDUMP=$lt_OBJDUMP
138132 # Method to check whether dependent libraries are shared objects.
138133 deplibs_check_method=$lt_deplibs_check_method
138135 # Command to use when deplibs_check_method == "file_magic".
138136 file_magic_cmd=$lt_file_magic_cmd
138138 # The archiver.
138139 AR=$lt_AR
138140 AR_FLAGS=$lt_AR_FLAGS
138142 # A symbol stripping program.
138143 STRIP=$lt_STRIP
138145 # Commands used to install an old-style archive.
138146 RANLIB=$lt_RANLIB
138147 old_postinstall_cmds=$lt_old_postinstall_cmds
138148 old_postuninstall_cmds=$lt_old_postuninstall_cmds
138150 # A C compiler.
138151 LTCC=$lt_CC
138153 # LTCC compiler flags.
138154 LTCFLAGS=$lt_CFLAGS
138156 # Take the output of nm and produce a listing of raw symbols and C names.
138157 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
138159 # Transform the output of nm in a proper C declaration.
138160 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
138162 # Transform the output of nm in a C name address pair.
138163 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
138165 # Transform the output of nm in a C name address pair when lib prefix is needed.
138166 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
138168 # The name of the directory that contains temporary libtool files.
138169 objdir=$objdir
138171 # Shell to use when invoking shell scripts.
138172 SHELL=$lt_SHELL
138174 # An echo program that does not interpret backslashes.
138175 ECHO=$lt_ECHO
138177 # Used to examine libraries when file_magic_cmd begins with "file".
138178 MAGIC_CMD=$MAGIC_CMD
138180 # Must we lock files when doing compilation?
138181 need_locks=$lt_need_locks
138183 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
138184 DSYMUTIL=$lt_DSYMUTIL
138186 # Tool to change global to local symbols on Mac OS X.
138187 NMEDIT=$lt_NMEDIT
138189 # Tool to manipulate fat objects and archives on Mac OS X.
138190 LIPO=$lt_LIPO
138192 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
138193 OTOOL=$lt_OTOOL
138195 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
138196 OTOOL64=$lt_OTOOL64
138198 # Old archive suffix (normally "a").
138199 libext=$libext
138201 # Shared library suffix (normally ".so").
138202 shrext_cmds=$lt_shrext_cmds
138204 # The commands to extract the exported symbol list from a shared archive.
138205 extract_expsyms_cmds=$lt_extract_expsyms_cmds
138207 # Variables whose values should be saved in libtool wrapper scripts and
138208 # restored at link time.
138209 variables_saved_for_relink=$lt_variables_saved_for_relink
138211 # Do we need the "lib" prefix for modules?
138212 need_lib_prefix=$need_lib_prefix
138214 # Do we need a version for libraries?
138215 need_version=$need_version
138217 # Library versioning type.
138218 version_type=$version_type
138220 # Shared library runtime path variable.
138221 runpath_var=$runpath_var
138223 # Shared library path variable.
138224 shlibpath_var=$shlibpath_var
138226 # Is shlibpath searched before the hard-coded library search path?
138227 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
138229 # Format of library name prefix.
138230 libname_spec=$lt_libname_spec
138232 # List of archive names. First name is the real one, the rest are links.
138233 # The last name is the one that the linker finds with -lNAME
138234 library_names_spec=$lt_library_names_spec
138236 # The coded name of the library, if different from the real name.
138237 soname_spec=$lt_soname_spec
138239 # Command to use after installation of a shared archive.
138240 postinstall_cmds=$lt_postinstall_cmds
138242 # Command to use after uninstallation of a shared archive.
138243 postuninstall_cmds=$lt_postuninstall_cmds
138245 # Commands used to finish a libtool library installation in a directory.
138246 finish_cmds=$lt_finish_cmds
138248 # As "finish_cmds", except a single script fragment to be evaled but
138249 # not shown.
138250 finish_eval=$lt_finish_eval
138252 # Whether we should hardcode library paths into libraries.
138253 hardcode_into_libs=$hardcode_into_libs
138255 # Compile-time system search path for libraries.
138256 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
138258 # Run-time system search path for libraries.
138259 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
138261 # Whether dlopen is supported.
138262 dlopen_support=$enable_dlopen
138264 # Whether dlopen of programs is supported.
138265 dlopen_self=$enable_dlopen_self
138267 # Whether dlopen of statically linked programs is supported.
138268 dlopen_self_static=$enable_dlopen_self_static
138270 # Commands to strip libraries.
138271 old_striplib=$lt_old_striplib
138272 striplib=$lt_striplib
138275 # The linker used to build libraries.
138276 LD=$lt_LD
138278 # Commands used to build an old-style archive.
138279 old_archive_cmds=$lt_old_archive_cmds
138281 # A language specific compiler.
138282 CC=$lt_compiler
138284 # Is the compiler the GNU compiler?
138285 with_gcc=$GCC
138287 # Compiler flag to turn off builtin functions.
138288 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
138290 # How to pass a linker flag through the compiler.
138291 wl=$lt_lt_prog_compiler_wl
138293 # Additional compiler flags for building library objects.
138294 pic_flag=$lt_lt_prog_compiler_pic
138296 # Compiler flag to prevent dynamic linking.
138297 link_static_flag=$lt_lt_prog_compiler_static
138299 # Does compiler simultaneously support -c and -o options?
138300 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
138302 # Whether or not to add -lc for building shared libraries.
138303 build_libtool_need_lc=$archive_cmds_need_lc
138305 # Whether or not to disallow shared libs when runtime libs are static.
138306 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
138308 # Compiler flag to allow reflexive dlopens.
138309 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
138311 # Compiler flag to generate shared objects directly from archives.
138312 whole_archive_flag_spec=$lt_whole_archive_flag_spec
138314 # Whether the compiler copes with passing no objects directly.
138315 compiler_needs_object=$lt_compiler_needs_object
138317 # Create an old-style archive from a shared archive.
138318 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
138320 # Create a temporary old-style archive to link instead of a shared archive.
138321 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
138323 # Commands used to build a shared archive.
138324 archive_cmds=$lt_archive_cmds
138325 archive_expsym_cmds=$lt_archive_expsym_cmds
138327 # Commands used to build a loadable module if different from building
138328 # a shared archive.
138329 module_cmds=$lt_module_cmds
138330 module_expsym_cmds=$lt_module_expsym_cmds
138332 # Whether we are building with GNU ld or not.
138333 with_gnu_ld=$lt_with_gnu_ld
138335 # Flag that allows shared libraries with undefined symbols to be built.
138336 allow_undefined_flag=$lt_allow_undefined_flag
138338 # Flag that enforces no undefined symbols.
138339 no_undefined_flag=$lt_no_undefined_flag
138341 # Flag to hardcode \$libdir into a binary during linking.
138342 # This must work even if \$libdir does not exist
138343 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
138345 # If ld is used when linking, flag to hardcode \$libdir into a binary
138346 # during linking. This must work even if \$libdir does not exist.
138347 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
138349 # Whether we need a single "-rpath" flag with a separated argument.
138350 hardcode_libdir_separator=$lt_hardcode_libdir_separator
138352 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138353 # DIR into the resulting binary.
138354 hardcode_direct=$hardcode_direct
138356 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138357 # DIR into the resulting binary and the resulting library dependency is
138358 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
138359 # library is relocated.
138360 hardcode_direct_absolute=$hardcode_direct_absolute
138362 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
138363 # into the resulting binary.
138364 hardcode_minus_L=$hardcode_minus_L
138366 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
138367 # into the resulting binary.
138368 hardcode_shlibpath_var=$hardcode_shlibpath_var
138370 # Set to "yes" if building a shared library automatically hardcodes DIR
138371 # into the library and all subsequent libraries and executables linked
138372 # against it.
138373 hardcode_automatic=$hardcode_automatic
138375 # Set to yes if linker adds runtime paths of dependent libraries
138376 # to runtime path list.
138377 inherit_rpath=$inherit_rpath
138379 # Whether libtool must link a program against all its dependency libraries.
138380 link_all_deplibs=$link_all_deplibs
138382 # Fix the shell variable \$srcfile for the compiler.
138383 fix_srcfile_path=$lt_fix_srcfile_path
138385 # Set to "yes" if exported symbols are required.
138386 always_export_symbols=$always_export_symbols
138388 # The commands to list exported symbols.
138389 export_symbols_cmds=$lt_export_symbols_cmds
138391 # Symbols that should not be listed in the preloaded symbols.
138392 exclude_expsyms=$lt_exclude_expsyms
138394 # Symbols that must always be exported.
138395 include_expsyms=$lt_include_expsyms
138397 # Commands necessary for linking programs (against libraries) with templates.
138398 prelink_cmds=$lt_prelink_cmds
138400 # Specify filename containing input files.
138401 file_list_spec=$lt_file_list_spec
138403 # How to hardcode a shared library path into an executable.
138404 hardcode_action=$hardcode_action
138406 # The directories searched by this compiler when creating a shared library.
138407 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
138409 # Dependencies to place before and after the objects being linked to
138410 # create a shared library.
138411 predep_objects=$lt_predep_objects
138412 postdep_objects=$lt_postdep_objects
138413 predeps=$lt_predeps
138414 postdeps=$lt_postdeps
138416 # The library search path used internally by the compiler when linking
138417 # a shared library.
138418 compiler_lib_search_path=$lt_compiler_lib_search_path
138420 # ### END LIBTOOL CONFIG
138422 _LT_EOF
138424 case $host_os in
138425 aix3*)
138426 cat <<\_LT_EOF >> "$cfgfile"
138427 # AIX sometimes has problems with the GCC collect2 program. For some
138428 # reason, if we set the COLLECT_NAMES environment variable, the problems
138429 # vanish in a puff of smoke.
138430 if test "X${COLLECT_NAMES+set}" != Xset; then
138431 COLLECT_NAMES=
138432 export COLLECT_NAMES
138434 _LT_EOF
138439 ltmain="$ac_aux_dir/ltmain.sh"
138442 # We use sed instead of cat because bash on DJGPP gets confused if
138443 # if finds mixed CR/LF and LF-only lines. Since sed operates in
138444 # text mode, it properly converts lines to CR/LF. This bash problem
138445 # is reportedly fixed, but why not run on old versions too?
138446 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
138447 || (rm -f "$cfgfile"; exit 1)
138449 case $xsi_shell in
138451 cat << \_LT_EOF >> "$cfgfile"
138453 # func_dirname file append nondir_replacement
138454 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
138455 # otherwise set result to NONDIR_REPLACEMENT.
138456 func_dirname ()
138458 case ${1} in
138459 */*) func_dirname_result="${1%/*}${2}" ;;
138460 * ) func_dirname_result="${3}" ;;
138464 # func_basename file
138465 func_basename ()
138467 func_basename_result="${1##*/}"
138470 # func_dirname_and_basename file append nondir_replacement
138471 # perform func_basename and func_dirname in a single function
138472 # call:
138473 # dirname: Compute the dirname of FILE. If nonempty,
138474 # add APPEND to the result, otherwise set result
138475 # to NONDIR_REPLACEMENT.
138476 # value returned in "$func_dirname_result"
138477 # basename: Compute filename of FILE.
138478 # value retuned in "$func_basename_result"
138479 # Implementation must be kept synchronized with func_dirname
138480 # and func_basename. For efficiency, we do not delegate to
138481 # those functions but instead duplicate the functionality here.
138482 func_dirname_and_basename ()
138484 case ${1} in
138485 */*) func_dirname_result="${1%/*}${2}" ;;
138486 * ) func_dirname_result="${3}" ;;
138488 func_basename_result="${1##*/}"
138491 # func_stripname prefix suffix name
138492 # strip PREFIX and SUFFIX off of NAME.
138493 # PREFIX and SUFFIX must not contain globbing or regex special
138494 # characters, hashes, percent signs, but SUFFIX may contain a leading
138495 # dot (in which case that matches only a dot).
138496 func_stripname ()
138498 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
138499 # positional parameters, so assign one to ordinary parameter first.
138500 func_stripname_result=${3}
138501 func_stripname_result=${func_stripname_result#"${1}"}
138502 func_stripname_result=${func_stripname_result%"${2}"}
138505 # func_opt_split
138506 func_opt_split ()
138508 func_opt_split_opt=${1%%=*}
138509 func_opt_split_arg=${1#*=}
138512 # func_lo2o object
138513 func_lo2o ()
138515 case ${1} in
138516 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
138517 *) func_lo2o_result=${1} ;;
138521 # func_xform libobj-or-source
138522 func_xform ()
138524 func_xform_result=${1%.*}.lo
138527 # func_arith arithmetic-term...
138528 func_arith ()
138530 func_arith_result=$(( $* ))
138533 # func_len string
138534 # STRING may not start with a hyphen.
138535 func_len ()
138537 func_len_result=${#1}
138540 _LT_EOF
138542 *) # Bourne compatible functions.
138543 cat << \_LT_EOF >> "$cfgfile"
138545 # func_dirname file append nondir_replacement
138546 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
138547 # otherwise set result to NONDIR_REPLACEMENT.
138548 func_dirname ()
138550 # Extract subdirectory from the argument.
138551 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
138552 if test "X$func_dirname_result" = "X${1}"; then
138553 func_dirname_result="${3}"
138555 func_dirname_result="$func_dirname_result${2}"
138559 # func_basename file
138560 func_basename ()
138562 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
138566 # func_stripname prefix suffix name
138567 # strip PREFIX and SUFFIX off of NAME.
138568 # PREFIX and SUFFIX must not contain globbing or regex special
138569 # characters, hashes, percent signs, but SUFFIX may contain a leading
138570 # dot (in which case that matches only a dot).
138571 # func_strip_suffix prefix name
138572 func_stripname ()
138574 case ${2} in
138575 .*) func_stripname_result=`$ECHO "X${3}" \
138576 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
138577 *) func_stripname_result=`$ECHO "X${3}" \
138578 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
138582 # sed scripts:
138583 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
138584 my_sed_long_arg='1s/^-[^=]*=//'
138586 # func_opt_split
138587 func_opt_split ()
138589 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
138590 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
138593 # func_lo2o object
138594 func_lo2o ()
138596 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
138599 # func_xform libobj-or-source
138600 func_xform ()
138602 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
138605 # func_arith arithmetic-term...
138606 func_arith ()
138608 func_arith_result=`expr "$@"`
138611 # func_len string
138612 # STRING may not start with a hyphen.
138613 func_len ()
138615 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
138618 _LT_EOF
138621 case $lt_shell_append in
138623 cat << \_LT_EOF >> "$cfgfile"
138625 # func_append var value
138626 # Append VALUE to the end of shell variable VAR.
138627 func_append ()
138629 eval "$1+=\$2"
138631 _LT_EOF
138634 cat << \_LT_EOF >> "$cfgfile"
138636 # func_append var value
138637 # Append VALUE to the end of shell variable VAR.
138638 func_append ()
138640 eval "$1=\$$1\$2"
138643 _LT_EOF
138648 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
138649 || (rm -f "$cfgfile"; exit 1)
138651 mv -f "$cfgfile" "$ofile" ||
138652 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
138653 chmod +x "$ofile"
138656 cat <<_LT_EOF >> "$ofile"
138658 # ### BEGIN LIBTOOL TAG CONFIG: CXX
138660 # The linker used to build libraries.
138661 LD=$lt_LD_CXX
138663 # Commands used to build an old-style archive.
138664 old_archive_cmds=$lt_old_archive_cmds_CXX
138666 # A language specific compiler.
138667 CC=$lt_compiler_CXX
138669 # Is the compiler the GNU compiler?
138670 with_gcc=$GCC_CXX
138672 # Compiler flag to turn off builtin functions.
138673 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
138675 # How to pass a linker flag through the compiler.
138676 wl=$lt_lt_prog_compiler_wl_CXX
138678 # Additional compiler flags for building library objects.
138679 pic_flag=$lt_lt_prog_compiler_pic_CXX
138681 # Compiler flag to prevent dynamic linking.
138682 link_static_flag=$lt_lt_prog_compiler_static_CXX
138684 # Does compiler simultaneously support -c and -o options?
138685 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
138687 # Whether or not to add -lc for building shared libraries.
138688 build_libtool_need_lc=$archive_cmds_need_lc_CXX
138690 # Whether or not to disallow shared libs when runtime libs are static.
138691 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
138693 # Compiler flag to allow reflexive dlopens.
138694 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
138696 # Compiler flag to generate shared objects directly from archives.
138697 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
138699 # Whether the compiler copes with passing no objects directly.
138700 compiler_needs_object=$lt_compiler_needs_object_CXX
138702 # Create an old-style archive from a shared archive.
138703 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
138705 # Create a temporary old-style archive to link instead of a shared archive.
138706 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
138708 # Commands used to build a shared archive.
138709 archive_cmds=$lt_archive_cmds_CXX
138710 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
138712 # Commands used to build a loadable module if different from building
138713 # a shared archive.
138714 module_cmds=$lt_module_cmds_CXX
138715 module_expsym_cmds=$lt_module_expsym_cmds_CXX
138717 # Whether we are building with GNU ld or not.
138718 with_gnu_ld=$lt_with_gnu_ld_CXX
138720 # Flag that allows shared libraries with undefined symbols to be built.
138721 allow_undefined_flag=$lt_allow_undefined_flag_CXX
138723 # Flag that enforces no undefined symbols.
138724 no_undefined_flag=$lt_no_undefined_flag_CXX
138726 # Flag to hardcode \$libdir into a binary during linking.
138727 # This must work even if \$libdir does not exist
138728 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
138730 # If ld is used when linking, flag to hardcode \$libdir into a binary
138731 # during linking. This must work even if \$libdir does not exist.
138732 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
138734 # Whether we need a single "-rpath" flag with a separated argument.
138735 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
138737 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138738 # DIR into the resulting binary.
138739 hardcode_direct=$hardcode_direct_CXX
138741 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
138742 # DIR into the resulting binary and the resulting library dependency is
138743 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
138744 # library is relocated.
138745 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
138747 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
138748 # into the resulting binary.
138749 hardcode_minus_L=$hardcode_minus_L_CXX
138751 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
138752 # into the resulting binary.
138753 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
138755 # Set to "yes" if building a shared library automatically hardcodes DIR
138756 # into the library and all subsequent libraries and executables linked
138757 # against it.
138758 hardcode_automatic=$hardcode_automatic_CXX
138760 # Set to yes if linker adds runtime paths of dependent libraries
138761 # to runtime path list.
138762 inherit_rpath=$inherit_rpath_CXX
138764 # Whether libtool must link a program against all its dependency libraries.
138765 link_all_deplibs=$link_all_deplibs_CXX
138767 # Fix the shell variable \$srcfile for the compiler.
138768 fix_srcfile_path=$lt_fix_srcfile_path_CXX
138770 # Set to "yes" if exported symbols are required.
138771 always_export_symbols=$always_export_symbols_CXX
138773 # The commands to list exported symbols.
138774 export_symbols_cmds=$lt_export_symbols_cmds_CXX
138776 # Symbols that should not be listed in the preloaded symbols.
138777 exclude_expsyms=$lt_exclude_expsyms_CXX
138779 # Symbols that must always be exported.
138780 include_expsyms=$lt_include_expsyms_CXX
138782 # Commands necessary for linking programs (against libraries) with templates.
138783 prelink_cmds=$lt_prelink_cmds_CXX
138785 # Specify filename containing input files.
138786 file_list_spec=$lt_file_list_spec_CXX
138788 # How to hardcode a shared library path into an executable.
138789 hardcode_action=$hardcode_action_CXX
138791 # The directories searched by this compiler when creating a shared library.
138792 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
138794 # Dependencies to place before and after the objects being linked to
138795 # create a shared library.
138796 predep_objects=$lt_predep_objects_CXX
138797 postdep_objects=$lt_postdep_objects_CXX
138798 predeps=$lt_predeps_CXX
138799 postdeps=$lt_postdeps_CXX
138801 # The library search path used internally by the compiler when linking
138802 # a shared library.
138803 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
138805 # ### END LIBTOOL TAG CONFIG: CXX
138806 _LT_EOF
138809 include/gstdint.h )
138810 if test "$GCC" = yes; then
138811 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
138813 echo "/* generated for $CC */" > tmp-stdint.h
138816 sed 's/^ *//' >> tmp-stdint.h <<EOF
138818 #ifndef GCC_GENERATED_STDINT_H
138819 #define GCC_GENERATED_STDINT_H 1
138821 #include <sys/types.h>
138824 if test "$acx_cv_header_stdint" != stdint.h; then
138825 echo "#include <stddef.h>" >> tmp-stdint.h
138827 if test "$acx_cv_header_stdint" != stddef.h; then
138828 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
138831 sed 's/^ *//' >> tmp-stdint.h <<EOF
138832 /* glibc uses these symbols as guards to prevent redefinitions. */
138833 #ifdef __int8_t_defined
138834 #define _INT8_T
138835 #define _INT16_T
138836 #define _INT32_T
138837 #endif
138838 #ifdef __uint32_t_defined
138839 #define _UINT32_T
138840 #endif
138844 # ----------------- done header, emit basic int types -------------
138845 if test "$acx_cv_header_stdint" = stddef.h; then
138846 sed 's/^ *//' >> tmp-stdint.h <<EOF
138848 #ifndef _UINT8_T
138849 #define _UINT8_T
138850 #ifndef __uint8_t_defined
138851 #define __uint8_t_defined
138852 typedef unsigned $acx_cv_type_int8_t uint8_t;
138853 #endif
138854 #endif
138856 #ifndef _UINT16_T
138857 #define _UINT16_T
138858 #ifndef __uint16_t_defined
138859 #define __uint16_t_defined
138860 typedef unsigned $acx_cv_type_int16_t uint16_t;
138861 #endif
138862 #endif
138864 #ifndef _UINT32_T
138865 #define _UINT32_T
138866 #ifndef __uint32_t_defined
138867 #define __uint32_t_defined
138868 typedef unsigned $acx_cv_type_int32_t uint32_t;
138869 #endif
138870 #endif
138872 #ifndef _INT8_T
138873 #define _INT8_T
138874 #ifndef __int8_t_defined
138875 #define __int8_t_defined
138876 typedef $acx_cv_type_int8_t int8_t;
138877 #endif
138878 #endif
138880 #ifndef _INT16_T
138881 #define _INT16_T
138882 #ifndef __int16_t_defined
138883 #define __int16_t_defined
138884 typedef $acx_cv_type_int16_t int16_t;
138885 #endif
138886 #endif
138888 #ifndef _INT32_T
138889 #define _INT32_T
138890 #ifndef __int32_t_defined
138891 #define __int32_t_defined
138892 typedef $acx_cv_type_int32_t int32_t;
138893 #endif
138894 #endif
138896 elif test "$ac_cv_type_u_int32_t" = yes; then
138897 sed 's/^ *//' >> tmp-stdint.h <<EOF
138899 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
138900 #ifndef _INT8_T
138901 #define _INT8_T
138902 #endif
138903 #ifndef _INT16_T
138904 #define _INT16_T
138905 #endif
138906 #ifndef _INT32_T
138907 #define _INT32_T
138908 #endif
138910 #ifndef _UINT8_T
138911 #define _UINT8_T
138912 #ifndef __uint8_t_defined
138913 #define __uint8_t_defined
138914 typedef u_int8_t uint8_t;
138915 #endif
138916 #endif
138918 #ifndef _UINT16_T
138919 #define _UINT16_T
138920 #ifndef __uint16_t_defined
138921 #define __uint16_t_defined
138922 typedef u_int16_t uint16_t;
138923 #endif
138924 #endif
138926 #ifndef _UINT32_T
138927 #define _UINT32_T
138928 #ifndef __uint32_t_defined
138929 #define __uint32_t_defined
138930 typedef u_int32_t uint32_t;
138931 #endif
138932 #endif
138935 sed 's/^ *//' >> tmp-stdint.h <<EOF
138937 /* Some systems have guard macros to prevent redefinitions, define them. */
138938 #ifndef _INT8_T
138939 #define _INT8_T
138940 #endif
138941 #ifndef _INT16_T
138942 #define _INT16_T
138943 #endif
138944 #ifndef _INT32_T
138945 #define _INT32_T
138946 #endif
138947 #ifndef _UINT8_T
138948 #define _UINT8_T
138949 #endif
138950 #ifndef _UINT16_T
138951 #define _UINT16_T
138952 #endif
138953 #ifndef _UINT32_T
138954 #define _UINT32_T
138955 #endif
138959 # ------------- done basic int types, emit int64_t types ------------
138960 if test "$ac_cv_type_uint64_t" = yes; then
138961 sed 's/^ *//' >> tmp-stdint.h <<EOF
138963 /* system headers have good uint64_t and int64_t */
138964 #ifndef _INT64_T
138965 #define _INT64_T
138966 #endif
138967 #ifndef _UINT64_T
138968 #define _UINT64_T
138969 #endif
138971 elif test "$ac_cv_type_u_int64_t" = yes; then
138972 sed 's/^ *//' >> tmp-stdint.h <<EOF
138974 /* system headers have an u_int64_t (and int64_t) */
138975 #ifndef _INT64_T
138976 #define _INT64_T
138977 #endif
138978 #ifndef _UINT64_T
138979 #define _UINT64_T
138980 #ifndef __uint64_t_defined
138981 #define __uint64_t_defined
138982 typedef u_int64_t uint64_t;
138983 #endif
138984 #endif
138986 elif test -n "$acx_cv_type_int64_t"; then
138987 sed 's/^ *//' >> tmp-stdint.h <<EOF
138989 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
138990 #ifndef _INT64_T
138991 #define _INT64_T
138992 typedef $acx_cv_type_int64_t int64_t;
138993 #endif
138994 #ifndef _UINT64_T
138995 #define _UINT64_T
138996 #ifndef __uint64_t_defined
138997 #define __uint64_t_defined
138998 typedef unsigned $acx_cv_type_int64_t uint64_t;
138999 #endif
139000 #endif
139003 sed 's/^ *//' >> tmp-stdint.h <<EOF
139005 /* some common heuristics for int64_t, using compiler-specific tests */
139006 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
139007 #ifndef _INT64_T
139008 #define _INT64_T
139009 #ifndef __int64_t_defined
139010 typedef long long int64_t;
139011 #endif
139012 #endif
139013 #ifndef _UINT64_T
139014 #define _UINT64_T
139015 typedef unsigned long long uint64_t;
139016 #endif
139018 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
139019 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
139020 does not implement __extension__. But that compiler doesn't define
139021 __GNUC_MINOR__. */
139022 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
139023 # define __extension__
139024 # endif
139026 # ifndef _INT64_T
139027 # define _INT64_T
139028 __extension__ typedef long long int64_t;
139029 # endif
139030 # ifndef _UINT64_T
139031 # define _UINT64_T
139032 __extension__ typedef unsigned long long uint64_t;
139033 # endif
139035 #elif !defined __STRICT_ANSI__
139036 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
139038 # ifndef _INT64_T
139039 # define _INT64_T
139040 typedef __int64 int64_t;
139041 # endif
139042 # ifndef _UINT64_T
139043 # define _UINT64_T
139044 typedef unsigned __int64 uint64_t;
139045 # endif
139046 # endif /* compiler */
139048 #endif /* ANSI version */
139052 # ------------- done int64_t types, emit intptr types ------------
139053 if test "$ac_cv_type_uintptr_t" != yes; then
139054 sed 's/^ *//' >> tmp-stdint.h <<EOF
139056 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
139057 #ifndef __uintptr_t_defined
139058 typedef u$acx_cv_type_intptr_t uintptr_t;
139059 #endif
139060 #ifndef __intptr_t_defined
139061 typedef $acx_cv_type_intptr_t intptr_t;
139062 #endif
139066 # ------------- done intptr types, emit int_least types ------------
139067 if test "$ac_cv_type_int_least32_t" != yes; then
139068 sed 's/^ *//' >> tmp-stdint.h <<EOF
139070 /* Define int_least types */
139071 typedef int8_t int_least8_t;
139072 typedef int16_t int_least16_t;
139073 typedef int32_t int_least32_t;
139074 #ifdef _INT64_T
139075 typedef int64_t int_least64_t;
139076 #endif
139078 typedef uint8_t uint_least8_t;
139079 typedef uint16_t uint_least16_t;
139080 typedef uint32_t uint_least32_t;
139081 #ifdef _UINT64_T
139082 typedef uint64_t uint_least64_t;
139083 #endif
139087 # ------------- done intptr types, emit int_fast types ------------
139088 if test "$ac_cv_type_int_fast32_t" != yes; then
139089 sed 's/^ *//' >> tmp-stdint.h <<EOF
139091 /* Define int_fast types. short is often slow */
139092 typedef int8_t int_fast8_t;
139093 typedef int int_fast16_t;
139094 typedef int32_t int_fast32_t;
139095 #ifdef _INT64_T
139096 typedef int64_t int_fast64_t;
139097 #endif
139099 typedef uint8_t uint_fast8_t;
139100 typedef unsigned int uint_fast16_t;
139101 typedef uint32_t uint_fast32_t;
139102 #ifdef _UINT64_T
139103 typedef uint64_t uint_fast64_t;
139104 #endif
139108 if test "$ac_cv_type_uintmax_t" != yes; then
139109 sed 's/^ *//' >> tmp-stdint.h <<EOF
139111 /* Define intmax based on what we found */
139112 #ifdef _INT64_T
139113 typedef int64_t intmax_t;
139114 #else
139115 typedef long intmax_t;
139116 #endif
139117 #ifdef _UINT64_T
139118 typedef uint64_t uintmax_t;
139119 #else
139120 typedef unsigned long uintmax_t;
139121 #endif
139125 sed 's/^ *//' >> tmp-stdint.h <<EOF
139127 #endif /* GCC_GENERATED_STDINT_H */
139130 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
139131 rm -f tmp-stdint.h
139133 mv -f tmp-stdint.h include/gstdint.h
139137 default ) if test -n "$CONFIG_FILES"; then
139138 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
139139 # that multilib installs will end up installed in the correct place.
139140 # The testsuite needs it for multilib-aware ABI baseline files.
139141 # To work around this not being passed down from config-ml.in ->
139142 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
139143 # append it here. Only modify Makefiles that have just been created.
139145 # Also, get rid of this simulated-VPATH thing that automake does.
139146 cat > vpsed << \_EOF
139147 s!`test -f '$<' || echo '$(srcdir)/'`!!
139149 for i in $SUBDIRS; do
139150 case $CONFIG_FILES in
139151 *${i}/Makefile*)
139152 #echo "Adding MULTISUBDIR to $i/Makefile"
139153 sed -f vpsed $i/Makefile > tmp
139154 grep '^MULTISUBDIR =' Makefile >> tmp
139155 mv tmp $i/Makefile
139159 rm vpsed
139161 (cd include && ${MAKE-make})
139165 _ACEOF
139167 cat >>$CONFIG_STATUS <<\_ACEOF
139169 { (exit 0); exit 0; }
139170 _ACEOF
139171 chmod +x $CONFIG_STATUS
139172 ac_clean_files=$ac_clean_files_save
139175 # configure is writing to config.log, and then calls config.status.
139176 # config.status does its own redirection, appending to config.log.
139177 # Unfortunately, on DOS this fails, as config.log is still kept open
139178 # by configure, so config.status won't be able to write to it; its
139179 # output is simply discarded. So we exec the FD to /dev/null,
139180 # effectively closing config.log, so it can be properly (re)opened and
139181 # appended to by config.status. When coming back to configure, we
139182 # need to make the FD available again.
139183 if test "$no_create" != yes; then
139184 ac_cs_success=:
139185 ac_config_status_args=
139186 test "$silent" = yes &&
139187 ac_config_status_args="$ac_config_status_args --quiet"
139188 exec 5>/dev/null
139189 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
139190 exec 5>>config.log
139191 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
139192 # would make configure fail if this is the last instruction.
139193 $ac_cs_success || { (exit 1); exit 1; }